diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-07-21 22:24:39 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-07-28 15:50:59 +0200 |
commit | 780cd39e422943f7c46be84de5494ae7045e1a5e (patch) | |
tree | 0ed259ee9c6e5f2106fae19fd4013281a98f1e09 /gui | |
parent | Only disable recovery flash if it is truly "stock" recovery (diff) | |
download | android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.gz android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.bz2 android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.lz android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.xz android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.zst android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/Android.mk | 7 | ||||
-rw-r--r-- | gui/devices/1024x600/res/ui.xml | 3871 | ||||
-rw-r--r-- | gui/devices/1024x768/res/ui.xml | 3871 | ||||
-rw-r--r-- | gui/devices/1080x1920/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/1200x1920/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/1280x800/res/ui.xml | 3871 | ||||
-rw-r--r-- | gui/devices/1600x2560/res/ui.xml | 3890 | ||||
-rw-r--r-- | gui/devices/1920x1200/res/ui.xml | 3871 | ||||
-rw-r--r-- | gui/devices/2560x1600/res/ui.xml | 3871 | ||||
-rw-r--r-- | gui/devices/320x480/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/480x800/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/480x854/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/540x960/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/720x1280/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/800x1280/res/ui.xml | 3888 | ||||
-rw-r--r-- | gui/devices/800x480/res/ui.xml | 3871 | ||||
-rw-r--r-- | gui/devices/landscape/res/landscape.xml | 3870 | ||||
-rw-r--r-- | gui/devices/portrait/res/portrait.xml | 3887 | ||||
-rw-r--r-- | gui/pages.cpp | 174 | ||||
-rw-r--r-- | gui/pages.hpp | 8 | ||||
-rw-r--r-- | gui/resources.cpp | 5 | ||||
-rw-r--r-- | gui/resources.hpp | 1 |
22 files changed, 7988 insertions, 58184 deletions
diff --git a/gui/Android.mk b/gui/Android.mk index d8edead88..fa40e0fae 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -93,9 +93,15 @@ LOCAL_MODULE_TAGS := eng LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res TWRP_RES_LOC := $(commands_recovery_local_path)/gui/devices/common/res +TWRP_COMMON_XML := $(hide) echo "No common TWRP XML resources" ifeq ($(TW_CUSTOM_THEME),) TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION)/res + ifneq ($(filter $(DEVICE_RESOLUTION), 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1600x2560),) + TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ + else ifneq ($(filter $(DEVICE_RESOLUTION), 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600),) + TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ + endif else TWRP_THEME_LOC := $(TW_CUSTOM_THEME) endif @@ -110,6 +116,7 @@ $(TWRP_RES_GEN): mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/res/ cp -fr $(TWRP_RES_LOC)/* $(TARGET_RECOVERY_ROOT_OUT)/res/ cp -fr $(TWRP_THEME_LOC)/* $(TARGET_RECOVERY_ROOT_OUT)/res/ + $(TWRP_COMMON_XML) mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin/ ln -sf $(TWRP_SH_TARGET) $(TARGET_RECOVERY_ROOT_OUT)/sbin/sh ln -sf /sbin/pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gzip diff --git a/gui/devices/1024x600/res/ui.xml b/gui/devices/1024x600/res/ui.xml index 5c9c63b68..87248a686 100644 --- a/gui/devices/1024x600/res/ui.xml +++ b/gui/devices/1024x600/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="landscape.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-20" /> <resource name="base" type="image" filename="background.jpg" /> @@ -423,3871 +427,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="select" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="0" files="1" /> - <path name="tw_zip_location" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>WARNING: This operation may install incompatible software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col2_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col2_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="mediumwide_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Queue</text> - <image resource="mediumwide_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row16_text_y%" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row17_text_y%" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe Cache/Dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col3_x%" y="row1_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="button"> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text></text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Most of the time this is the only wipe that you need.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <action function="page">advancedwipe</action> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%col3_x%" y="%backup_storage_y%" /> - <text>Invalid partition selection</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Format Data will wipe all of your apps, backups, pictures,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>videos, media, and removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col3_x%" y="%row4_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col4_x%" y="%row4_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Back Up Device</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>Backup Name: %tw_backup_name%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <image resource="main_button" /> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Backup Name</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable Compression (Requires more time)</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row7%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_operation_state=0</action> - <action function="page">backup_run</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel / Clear</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please enter a password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row2_text_y%" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Backup encrypted. Please enter your password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Package to Restore: %tw_restore_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Restore:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting?</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate most actions for theme testing</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_medium_x%" y="%row11_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>0</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row8_text_y%" placement="5" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col3_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery->Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location1" default="/sdcard" /> - <data name="select" /> - <selection name="tw_selection1" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="0" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/sdcard" /> - <data name="tw_filename2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <background color="#000000FF" /> - - <object type="console"> - <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%home_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="home_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">home</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%back_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="back_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">back</action> - </object> - - <object type="action"> - <touch key="power" /> - <action function="overlay">lock</action> - </object> - - <object type="action"> - <touch key="power+voldown" /> - <action function="screenshot" /> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now? This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/1024x768/res/ui.xml b/gui/devices/1024x768/res/ui.xml index f3e0a8e14..407e18b31 100644 --- a/gui/devices/1024x768/res/ui.xml +++ b/gui/devices/1024x768/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="landscape.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-20" /> <resource name="base" type="image" filename="background.jpg" /> @@ -423,3871 +427,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="select" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="0" files="1" /> - <path name="tw_zip_location" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>WARNING: This operation may install incompatible software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col2_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col2_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="mediumwide_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Queue</text> - <image resource="mediumwide_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row16_text_y%" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row17_text_y%" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe Cache/Dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col3_x%" y="row1_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="button"> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text></text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Most of the time this is the only wipe that you need.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <action function="page">advancedwipe</action> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%col3_x%" y="%backup_storage_y%" /> - <text>Invalid partition selection</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Format Data will wipe all of your apps, backups, pictures,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>videos, media, and removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col3_x%" y="%row4_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col4_x%" y="%row4_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Back Up Device</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>Backup Name: %tw_backup_name%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <image resource="main_button" /> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Backup Name</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable Compression (Requires more time)</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row7%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_operation_state=0</action> - <action function="page">backup_run</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel / Clear</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please enter a password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row2_text_y%" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Backup encrypted. Please enter your password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Package to Restore: %tw_restore_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Restore:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting?</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate most actions for theme testing</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_medium_x%" y="%row11_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>0</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row8_text_y%" placement="5" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col3_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery->Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location1" default="/sdcard" /> - <data name="select" /> - <selection name="tw_selection1" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="0" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/sdcard" /> - <data name="tw_filename2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <background color="#000000FF" /> - - <object type="console"> - <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%home_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="home_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">home</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%back_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="back_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">back</action> - </object> - - <object type="action"> - <touch key="power" /> - <action function="overlay">lock</action> - </object> - - <object type="action"> - <touch key="power+voldown" /> - <action function="screenshot" /> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now? This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/1080x1920/res/ui.xml b/gui/devices/1080x1920/res/ui.xml index 5801f20c8..0d547a6e9 100644 --- a/gui/devices/1080x1920/res/ui.xml +++ b/gui/devices/1080x1920/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-40" /> <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" /> @@ -410,3888 +414,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/1200x1920/res/ui.xml b/gui/devices/1200x1920/res/ui.xml index d0c8b4ed8..0778692c7 100644 --- a/gui/devices/1200x1920/res/ui.xml +++ b/gui/devices/1200x1920/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-40" /> <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" /> @@ -413,3888 +417,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/1280x800/res/ui.xml b/gui/devices/1280x800/res/ui.xml index b76060ad0..bfb1a3a3a 100644 --- a/gui/devices/1280x800/res/ui.xml +++ b/gui/devices/1280x800/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="landscape.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-20" /> <resource name="base" type="image" filename="background.jpg" /> @@ -423,3871 +427,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="select" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="0" files="1" /> - <path name="tw_zip_location" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>WARNING: This operation may install incompatible software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col2_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col2_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="mediumwide_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Queue</text> - <image resource="mediumwide_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row16_text_y%" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row17_text_y%" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe Cache/Dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col3_x%" y="row1_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="button"> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text></text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Most of the time this is the only wipe that you need.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <action function="page">advancedwipe</action> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%col3_x%" y="%backup_storage_y%" /> - <text>Invalid partition selection</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Format Data will wipe all of your apps, backups, pictures,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>videos, media, and removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col3_x%" y="%row4_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col4_x%" y="%row4_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Back Up Device</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>Backup Name: %tw_backup_name%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <image resource="main_button" /> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Backup Name</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable Compression (Requires more time)</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row7%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_operation_state=0</action> - <action function="page">backup_run</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel / Clear</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please enter a password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row2_text_y%" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Backup encrypted. Please enter your password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Package to Restore: %tw_restore_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Restore:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting?</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate most actions for theme testing</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_medium_x%" y="%row11_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>0</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row8_text_y%" placement="5" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col3_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery->Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location1" default="/sdcard" /> - <data name="select" /> - <selection name="tw_selection1" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="0" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/sdcard" /> - <data name="tw_filename2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <background color="#000000FF" /> - - <object type="console"> - <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%home_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="home_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">home</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%back_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="back_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">back</action> - </object> - - <object type="action"> - <touch key="power" /> - <action function="overlay">lock</action> - </object> - - <object type="action"> - <touch key="power+voldown" /> - <action function="screenshot" /> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now? This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/1600x2560/res/ui.xml b/gui/devices/1600x2560/res/ui.xml index 95ef1d1bf..9703881e3 100644 --- a/gui/devices/1600x2560/res/ui.xml +++ b/gui/devices/1600x2560/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-40" /> <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" /> @@ -407,3891 +411,5 @@ </layout4> </object> </template> - - </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/1920x1200/res/ui.xml b/gui/devices/1920x1200/res/ui.xml index 0841c96ef..d8d8a7d5b 100644 --- a/gui/devices/1920x1200/res/ui.xml +++ b/gui/devices/1920x1200/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="landscape.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-30" /> <resource name="base" type="image" filename="background.jpg" /> @@ -423,3871 +427,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="select" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="0" files="1" /> - <path name="tw_zip_location" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>WARNING: This operation may install incompatible software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col2_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col2_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="mediumwide_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Queue</text> - <image resource="mediumwide_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row16_text_y%" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row17_text_y%" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe Cache/Dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col3_x%" y="row1_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="button"> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text></text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Most of the time this is the only wipe that you need.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <action function="page">advancedwipe</action> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%col3_x%" y="%backup_storage_y%" /> - <text>Invalid partition selection</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Format Data will wipe all of your apps, backups, pictures,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>videos, media, and removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col3_x%" y="%row4_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col4_x%" y="%row4_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Back Up Device</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>Backup Name: %tw_backup_name%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <image resource="main_button" /> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Backup Name</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable Compression (Requires more time)</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row7%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_operation_state=0</action> - <action function="page">backup_run</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel / Clear</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please enter a password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row2_text_y%" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Backup encrypted. Please enter your password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Package to Restore: %tw_restore_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Restore:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting?</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate most actions for theme testing</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_medium_x%" y="%row11_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>0</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row8_text_y%" placement="5" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col3_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery->Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location1" default="/sdcard" /> - <data name="select" /> - <selection name="tw_selection1" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="0" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/sdcard" /> - <data name="tw_filename2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <background color="#000000FF" /> - - <object type="console"> - <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%home_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="home_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">home</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%back_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="back_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">back</action> - </object> - - <object type="action"> - <touch key="power" /> - <action function="overlay">lock</action> - </object> - - <object type="action"> - <touch key="power+voldown" /> - <action function="screenshot" /> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now? This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/2560x1600/res/ui.xml b/gui/devices/2560x1600/res/ui.xml index 28a9b81b3..ca0d8838e 100644 --- a/gui/devices/2560x1600/res/ui.xml +++ b/gui/devices/2560x1600/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="landscape.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-40" /> <resource name="base" type="image" filename="background.jpg" /> @@ -423,3871 +427,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="select" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="0" files="1" /> - <path name="tw_zip_location" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>WARNING: This operation may install incompatible software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col2_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col2_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="mediumwide_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Queue</text> - <image resource="mediumwide_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row16_text_y%" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row17_text_y%" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe Cache/Dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col3_x%" y="row1_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="button"> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text></text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Most of the time this is the only wipe that you need.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <action function="page">advancedwipe</action> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%col3_x%" y="%backup_storage_y%" /> - <text>Invalid partition selection</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Format Data will wipe all of your apps, backups, pictures,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>videos, media, and removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col3_x%" y="%row4_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col4_x%" y="%row4_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Back Up Device</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>Backup Name: %tw_backup_name%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <image resource="main_button" /> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Backup Name</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable Compression (Requires more time)</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row7%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_operation_state=0</action> - <action function="page">backup_run</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel / Clear</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please enter a password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row2_text_y%" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Backup encrypted. Please enter your password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Package to Restore: %tw_restore_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Restore:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting?</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate most actions for theme testing</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_medium_x%" y="%row11_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>0</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row8_text_y%" placement="5" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col3_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery->Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location1" default="/sdcard" /> - <data name="select" /> - <selection name="tw_selection1" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="0" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/sdcard" /> - <data name="tw_filename2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <background color="#000000FF" /> - - <object type="console"> - <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%home_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="home_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">home</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%back_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="back_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">back</action> - </object> - - <object type="action"> - <touch key="power" /> - <action function="overlay">lock</action> - </object> - - <object type="action"> - <touch key="power+voldown" /> - <action function="screenshot" /> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now? This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/320x480/res/ui.xml b/gui/devices/320x480/res/ui.xml index 82273cee8..57baf5ff3 100644 --- a/gui/devices/320x480/res/ui.xml +++ b/gui/devices/320x480/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-16" /> <resource name="mediumfont" type="font" filename="Roboto-Condensed-14" /> @@ -397,3888 +401,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/480x800/res/ui.xml b/gui/devices/480x800/res/ui.xml index 53d630feb..aad982291 100644 --- a/gui/devices/480x800/res/ui.xml +++ b/gui/devices/480x800/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-20" /> <resource name="mediumfont" type="font" filename="Roboto-Regular-20" /> @@ -397,3888 +401,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml index ce79ebf39..ea0cf77cd 100644 --- a/gui/devices/480x854/res/ui.xml +++ b/gui/devices/480x854/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-20" /> <resource name="mediumfont" type="font" filename="Roboto-Regular-20" /> @@ -396,3888 +400,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml index 5e2807fbd..58d6c9df6 100644 --- a/gui/devices/540x960/res/ui.xml +++ b/gui/devices/540x960/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Regular-20" /> <resource name="mediumfont" type="font" filename="Roboto-Regular-20" /> @@ -397,3888 +401,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/720x1280/res/ui.xml b/gui/devices/720x1280/res/ui.xml index 4db6e22ae..f44998f66 100644 --- a/gui/devices/720x1280/res/ui.xml +++ b/gui/devices/720x1280/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-30" /> <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" /> @@ -410,3888 +414,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/800x1280/res/ui.xml b/gui/devices/800x1280/res/ui.xml index 718074e0f..328b31f69 100644 --- a/gui/devices/800x1280/res/ui.xml +++ b/gui/devices/800x1280/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="portrait.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-30" /> <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" /> @@ -398,3888 +402,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="1" files="1" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>This operation may install incompatible</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row7_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col1_x%" y="%row10_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Inject TWRP after install.</text> - <data variable="tw_inject_after_zip" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row11_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" placement="5" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col1_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="main_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row_queue_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Zip Queue</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="mediumfont" /> - <placement x="%center_x%" y="%row18_text_y%" placement="5" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Zip Install Complete</text> - </object> - - <object type="console"> - <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe cache/dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%zip_status_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row15_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col_center_medium_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="medium_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>Most of the time this is</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>the only wipe that you need.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">advancedwipe</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="action"> - <action function="set">tw_wipe_list=</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Wipe Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> - <text>Invalid partition selection</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Format Data will wipe all of your apps,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>backups, pictures, videos, media, and</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col1_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row5_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row5_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup Name: %tw_backup_name%</text> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="set">tw_password_not_match=0</action> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable compression.</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row16_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="slider_y" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">backup_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter A Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Encrypt your backup?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Backup Encrypted</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Please Enter Your Password:</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Restoring: %tw_restore_name%</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row15_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row16_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col1_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col2_x%" y="row4_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>USB Storage Mounted</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" /> - <text>Be sure to safely remove your device</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text>from your computer before unmounting!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row1_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification.</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting.</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation during backup.</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 verification of backup files.</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time.</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate actions for theme testing.</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions.</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row_dst_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>None</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%tz_set_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%tz_current_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_injecttwrp" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Re-Inject TWRP</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1=Re-Inject TWRP?</action> - <action function="set">tw_action_text1=Re-Injecting TWRP...</action> - <action function="set">tw_complete_text1=TWRP Injection Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdext_text_x%" y="%sdext_text_y%" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row12_text_y%" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row13_text_y%" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">partsdcardaction</action> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <folders="1" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col2_x%" y="%row4_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/" /> - <data name="tw_filename2" /> - <selection name="tw_selection2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select</text> - <image resource="medium_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <object type="template" name="header" /> - - <object type="console"> - <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row3_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml index 9c56ca381..0ee0e94fc 100644 --- a/gui/devices/800x480/res/ui.xml +++ b/gui/devices/800x480/res/ui.xml @@ -9,6 +9,10 @@ <preview>preview.jpg</preview> </details> + <include> + <xmlfile name="landscape.xml" /> + </include> + <resources> <resource name="font" type="font" filename="Roboto-Condensed-16" /> <resource name="base" type="image" filename="background.jpg" /> @@ -431,3871 +435,4 @@ </object> </template> </templates> - - <pages> - <page name="main"> - <object type="action"> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="main2"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install</text> - <image resource="main_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Backup</text> - <image resource="main_button" /> - <action function="page">backup</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore</text> - <image resource="main_button" /> - <action function="page">restore</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe</text> - <image resource="main_button" /> - <action function="page">wipe</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount</text> - <image resource="main_button" /> - <action function="page">mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Settings</text> - <image resource="main_button" /> - <action function="page">settings</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced</text> - <image resource="main_button" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot</text> - <image resource="main_button" /> - <action function="page">reboot</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="install"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Zip to Install</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=install</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_zip_location" default="/sdcard" /> - <data name="select" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_zip_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter extn=".zip" folders="0" files="1" /> - <path name="tw_zip_location" /> - <data name="tw_filename" /> - <selection name="tw_file" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_filename" op="modified" /> - <actions> - <action function="queuezip"></action> - <action function="page">flash_confirm</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_confirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>WARNING: This operation may install incompatible software and render your device unusable.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Folder:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_zip_location%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>File to flash:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <text>%tw_file%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row6_text_y%" placement="5" /> - <text>Press back to cancel adding this zip.</text> - </object> - - <object type="checkbox"> - <placement x="%col2_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5" /> - <text>File %tw_zip_queue_count% of max of 10</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> - <placement x="%col2_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Add More Zips</text> - <image resource="mediumwide_button" /> - <action function="page">install</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row5_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Clear Queue</text> - <image resource="mediumwide_button" /> - <actions> - <action function="queueclear"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="flash">flash_zip</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Flash</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="cancelzip"></action> - <action function="page">install</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="flash_zip"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row16_text_y%" /> - <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row17_text_y%" /> - <text>%tw_filename%</text> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <action function="page">flash_done</action> - </object> - </page> - - <page name="flash_done"> - <object type="template" name="header" /> - - <object type="template" name="flash_zip_console" /> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Wipe Cache/Dalvik</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=flash_done</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=/cache</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=wipe</action> - <action function="set">tw_action2_param=dalvik</action> - <action function="set">tw_text1=Wipe Cache & Dalvik?</action> - <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> - <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> - <action function="set">tw_slider_text=Swipe to Wipe</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Home</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=install</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="clear_vars"> - <object type="action"> - <action function="set">tw_operation_state=0</action> - <action function="set">tw_text1=</action> - <action function="set">tw_text2=</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_action_param=</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_action2=</action> - <action function="set">tw_action2_param=</action> - <action function="set">tw_has_cancel=0</action> - <action function="set">tw_cancel_action=</action> - <action function="set">tw_cancel_param=</action> - <action function="set">tw_show_exclamation=0</action> - <action function="set">tw_show_reboot=0</action> - <action function="page">%tw_clear_destination%</action> - </object> - </page> - - <page name="confirm_action"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>%tw_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>%tw_text4%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">action_page</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>%tw_slider_text%</text> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="action_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_has_cancel" var2="1" /> - <placement x="%col4_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="%tw_cancel_action%">%tw_cancel_param%</action> - </object> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="singleaction_page"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_action_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_action_text2%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_page_done=1</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="0" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_has_action2" var2="1" /> - <actions> - <action function="%tw_action%">%tw_action_param%</action> - <action function="%tw_action2%">%tw_action2_param%</action> - </actions> - </object> - </page> - - <page name="action_complete"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_complete_text1%</text> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_operation_status" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Failed</text> - </object> - - <object type="text" color="%text_success_color%"> - <condition var1="tw_operation_status" var2="0" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Successful</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="0" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Back</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_reboot" var2="1" /> - <placement x="%col_center_x%" y="%slider_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reboot System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=main2</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_text3=</action> - <action function="set">tw_text4=</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_action_text2=</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_clear_destination=main2</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - </page> - - <page name="filecheck"> - <object type="action"> - <action function="fileexists">%tw_filecheck%</action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_fileexists=1</action> - <action function="page">%tw_existpage%</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="1" /> - </conditions> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">%tw_notexistpage%</action> - </actions> - </object> - </page> - - <page name="rebootcheck"> - <object type="action"> - <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> - <action function="reboot">%tw_action_param%</action> - </object> - - <object type="action"> - <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> - <action function="page">confirm_action</action> - </object> - </page> - - <page name="reboot"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Reboot Menu</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_system" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>System</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=system</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_poweroff" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Power Off</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=poweroff</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to power off?</action> - <action function="set">tw_action_text1=Turning Off...</action> - <action function="set">tw_complete_text1=Turning Off...</action> - <action function="set">tw_slider_text=Swipe to Power Off</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_recovery" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Recovery</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=recovery</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_reboot_bootloader" var2="1" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Bootloader</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=bootloader</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_download_mode" var2="1" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Download</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=reboot</action> - <action function="set">tw_action=reboot</action> - <action function="set">tw_action_param=download</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=No OS Installed! Are you</action> - <action function="set">tw_text2=sure you wish to reboot?</action> - <action function="set">tw_action_text1=Rebooting...</action> - <action function="set">tw_complete_text1=Rebooting...</action> - <action function="set">tw_slider_text=Swipe to Reboot</action> - <action function="page">rebootcheck</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectstorage"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Storage:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_storage_path" /> - <listtype name="storage" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>OK</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_clear_destination=%tw_back%</action> - <action function="page">clear_vars</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="page">%tw_back%</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Mount Menu</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Mount:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <listtype name="mount" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <conditions> - <condition var1="tw_is_encrypted" var2="1" /> - <condition var1="tw_is_decrypted" var2="0" /> - </conditions> - <placement x="%col3_x%" y="row1_y" /> - <font resource="font" color="%button_text_color%" /> - <text>Decrypt Data</text> - <image resource="main_button" /> - <action function="page">decrypt</action> - </object> - - <object type="button"> - <condition var1="tw_has_usb_storage" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Mount USB Storage</text> - <image resource="main_button" /> - <action function="page">usb_mount</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=mount</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_mount"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> - </object> - - <object type="text" color="%text_color%"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" /> - <text></text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Unmount</text> - <image resource="main_button" /> - <action function="page">usb_umount</action> - </object> - - <object type="action"> - <action function="mount">usb</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="usb_umount"> - <object type="action"> - <action function="unmount">usb</action> - </object> - - <object type="action"> - <action function="page">mount</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="wipe"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> - </object> - - <object type="text" color="%text_color%"> - <conditions> - <condition var1="tw_has_android_secure" var2="1" /> - <condition var1="fileexists" var2="/and-sec" /> - </conditions> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>.android_secure</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_data_media" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>(not including internal storage)</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_has_sdext_partition" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>SD-EXT</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Most of the time this is the only wipe that you need.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Advanced Wipe</text> - <image resource="main_button" /> - <action function="page">advancedwipe</action> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_has_internal" var2="1" /> - <condition var1="tw_has_data_media" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%wipe_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Format Data</text> - <image resource="main_button" /> - <actions> - <action function="page">formatdata</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=wipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=data</action> - <action function="set">tw_action_text1=Factory Reset...</action> - <action function="set">tw_complete_text1=Factory Reset Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Factory Reset</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advancedwipe"> - <object type="template" name="header" /> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Wipe:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_wipe_list" /> - <listtype name="wipe" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair or Change File System</text> - <actions> - <action function="checkpartitionlist"></action> - <action function="page">checkpartitionlist</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="partitionlisterror" var2="1" /> - <font resource="font" /> - <placement x="%col3_x%" y="%backup_storage_y%" /> - <text>Invalid partition selection</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advancedwipe</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=LIST</action> - <action function="set">tw_text1=Wipe Selected Partition(s)?</action> - <action function="set">tw_action_text1=Wiping Partition(s)...</action> - <action function="set">tw_complete_text1=Wipe Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Wipe</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Format Data will wipe all of your apps, backups, pictures,</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>videos, media, and removes encryption on internal storage.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5" /> - <text>This cannot be undone. Press back to cancel.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Type yes to continue.</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_confirm_formatdata%</text> - <data name="tw_confirm_formatdata" /> - <restrict minlen="3" maxlen="3" allow="yes" /> - <action function="page">formatdata_confirm</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">wipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="formatdata_confirm"> - <object type="action"> - <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> - <actions> - <action function="set">tw_back=formatdata</action> - <action function="set">tw_action=wipe</action> - <action function="set">tw_action_param=DATAMEDIA</action> - <action function="set">tw_action_text1=Formatting Data...</action> - <action function="set">tw_complete_text1=Data Format Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> - <action function="page">formatdata</function> - </object> - </page> - - <page name="checkpartitionlist"> - <object type="action"> - <condition var1="tw_check_partition_list" op="=" var2="1" /> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="getpartitiondetails"></action> - <action function="page">partitionoptions</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_check_partition_list" op="!=" var2="1" /> - <actions> - <action function="set">partitionlisterror=1</action> - <action function="set">tw_wipe_list=</action> - <action function="page">advancedwipe</action> - </actions> - </object> - </page> - - <page name="partitionoptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Partition Options for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_is_present" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col2_x%" y="%row3_text_y%" /> - <text>Present: No</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="!=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: Yes</text> - </object> - - <object type="text" color="%text_color%"> - <condition var1="tw_partition_removable" op="=" var2="0" /> - <font resource="font" /> - <placement x="%col3_x%" y="%row3_text_y%" /> - <text>Removable: No</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row4_text_y%" /> - <text>Size: %tw_partition_size%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col2_x%" y="%row4_text_y%" /> - <text>Used: %tw_partition_used%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col3_x%" y="%row4_text_y%" /> - <text>Free: %tw_partition_free%MB</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col4_x%" y="%row4_text_y%" /> - <text>Backup Size: %tw_partition_backup_size%MB</text> - </object> - - <object type="button"> - <condition var1="tw_partition_can_repair" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Repair</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=partitionoptions</action> - <action function="set">tw_action=repair</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Repair %tw_partition_name%?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Repairing...</action> - <action function="set">tw_complete_text1=Repair Complete</action> - <action function="set">tw_slider_text=Swipe to Repair</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Change File System</text> - <image resource="main_button" /> - <action function="page">selectfilesystem</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advancedwipe</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="selectfilesystem"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row1_text_y%" /> - <text>Change file system for: %tw_partition_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> - <text>Mount Point: %tw_partition_mount_point%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Current file system: %tw_partition_file_system%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT2</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext2</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext3</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_ext" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=ext4</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_f2fs" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>F2FS</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=f2fs</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_vfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>FAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=vfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <condition var1="tw_partition_exfat" op="=" var2="1" /> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>exFAT</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=selectfilesystem</action> - <action function="set">tw_action=changefilesystem</action> - <action function="set">tw_action_param=%tw_partition_mount_point%</action> - <action function="set">tw_action_new_file_system=exfat</action> - <action function="set">tw_has_action2=0</action> - <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> - <action function="set">tw_text2=</action> - <action function="set">tw_action_text1=Formatting...</action> - <action function="set">tw_complete_text1=Format Complete</action> - <action function="set">tw_slider_text=Swipe to Change</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">partitionoptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Back Up Device</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Back Up:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_backup_list" /> - <listtype name="backup" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>Backup Name: %tw_backup_name%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Refresh Sizes</text> - <image resource="main_button" /> - <actions> - <action function="refreshsizes"></action> - <action function="page">backup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Backup Name</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fileexists=0</action> - <action function="page">backupname1</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=backup</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="0" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>No Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="button"> - <conditions> - <condition var1="tw_include_encrypted_backup" var2="1" /> - <condition var1="tw_encrypt_backup" var2="1" /> - </conditions> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Using Encryption</text> - <actions> - <action function="page">backupencryption</action> - </actions> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable Compression (Requires more time)</text> - <data variable="tw_use_compression" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row7%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_operation_state=0</action> - <action function="page">backup_run</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Back Up</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupname1"> - <object type="action"> - <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> - <action function="generatebackupname"></function> - </object> - - <object type="action"> - <action function="page">backupname2</function> - </object> - </page> - - <page name="backupname2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_name%</text> - <data name="tw_backup_name" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> - <action function="set">tw_existpage=backupname2</action> - <action function="set">tw_notexistpage=backup</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Append Date</text> - <image resource="main_button" /> - <action function="appenddatetobackupname"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel / Clear</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">main</action> - </actions> - </object> - - <object type="action"> - <touch key="back" /> - <actions> - <action function="set">tw_backup_name=(Auto Generate)</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please enter a password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display%</text> - <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <action function="page">backupencryption2</action> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_not_match" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Passwords Do Not Match</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="backupencryption2"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Encrypt your backup? Please Enter Password Again:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_encrypt_display2%</text> - <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">checkbackuppassword</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">backup</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="checkbackuppassword"> - <object type="action"> - <condition var1="tw_backup_password2" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=1</action> - <action function="page">backup</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> - <actions> - <action function="set">tw_encrypt_backup=0</action> - <action function="set">tw_password_not_match=1</action> - <action function="set">tw_backup_password=</action> - <action function="set">tw_backup_password2=</action> - <action function="set">tw_backup_encrypt_display=</action> - <action function="set">tw_backup_encrypt_display2=</action> - <action function="page">backupencryption</action> - </actions> - </object> - </page> - - <page name="backup_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col1_x%" y="%row2_text_y%" /> - <text>%tw_file_progress%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="nandroid">backup</action> - </object> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=backup</action> - <action function="set">tw_complete_text1=Backup Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore"> - <object type="template" name="header" /> - - <object type="button"> - <highlight color="%highlight_color%" /> - <fill color="%button_fill_color%" /> - <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> - <font resource="font" color="%button_text_color%" /> - <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> - <actions> - <action function="set">tw_back=restore</action> - <action function="page">selectstorage</action> - </actions> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Package to Restore:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" nav="0" /> - <path name="tw_backups_folder" /> - <data name="tw_restore" default="" /> - <selection name="tw_restore_name" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <condition var1="tw_restore" op="modified" /> - <actions> - <action function="readBackup"></action> - <action function="page">restore_read</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_read"> - <object type="action"> - <condition var1="tw_restore_encrypted" var2="1" /> - <actions> - <action function="set">tw_password_fail=0</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_restore_encrypted" var2="0" /> - <actions> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Backup encrypted. Please enter your password:</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_restore_display%</text> - <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> - <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> - <actions> - <action function="page">try_restore_decrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="try_restore_decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt_backup"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">restore_decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">restore_select</action> - </actions> - </object> - </page> - - <page name="restore_select"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Package to Restore: %tw_restore_name%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>Package Date: %tw_restore_file_date%</text> - </object> - - <object type="partitionlist"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Partitions to Restore:</text> - <icon selected="checkbox_true" unselected="checkbox_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_restore_list" selectedlist="tw_restore_selected" /> - <listtype name="restore" /> - </object> - - <object type="checkbox"> - <placement x="%col3_x%" y="%nandcheck_row6%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_backup_rename=</action> - <action function="set">tw_fileexists=0</action> - <action function="page">renamebackup</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete Backup</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> - <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Deleting Backup...</action> - <action function="set">tw_complete_text1=Backup Delete Complete</action> - <action function="set">tw_slider_text=Swipe to Delete</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">restore_run</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Restore</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="renamebackup"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New Backup Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_backup_rename%</text> - <data name="tw_backup_rename" /> - <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> - <actions> - <action function="set">tw_back=restore</action> - <action function="set">tw_action=cmd</action> - <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> - <action function="set">tw_text1=Rename Backup?</action> - <action function="set">tw_text2=This cannot be undone!</action> - <action function="set">tw_action_text1=Renaming Backup...</action> - <action function="set">tw_complete_text1=Backup Rename Complete</action> - <action function="set">tw_slider_text=Swipe to Rename</action> - <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> - <action function="set">tw_existpage=renamebackup</action> - <action function="set">tw_notexistpage=confirm_action</action> - <action function="page">filecheck</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_fileexists" var2="1" /> - <placement x="%center_x%" y="%row5_text_y%" placement="5" /> - <font resource="font" /> - <text>A backup with that name already exists!</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">restore_select</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="restore_run"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_operation% %tw_partition%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5" /> - <text>%tw_size_progress%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <condition var1="tw_operation_state" var2="1" /> - <actions> - <action function="set">tw_back=restore_select</action> - <action function="set">tw_complete_text1=Restore Complete</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <action function="nandroid">restore</action> - </object> - </page> - - <page name="settings"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Settings</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row2_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Zip file signature verification?</text> - <data variable="tw_signed_zip_verify" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use rm -rf instead of formatting?</text> - <data variable="tw_rm_rf" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Skip MD5 generation on backups</text> - <data variable="tw_skip_md5_generate" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row5_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Enable MD5 checking of backup files</text> - <data variable="tw_skip_md5_check" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row6_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Use Military Time</text> - <data variable="tw_military_time" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row7_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate most actions for theme testing</text> - <data variable="tw_simulate_actions" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <condition var1="tw_simulate_actions" var2="1" /> - <placement x="%col1_x%" y="%row8_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Simulate failure for actions</text> - <data variable="tw_simulate_fail" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Time Zone</text> - <image resource="main_button" /> - <action function="page">timezone</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> - <image resource="main_button" /> - <action function="restoredefaultsettings"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Vibration Duration</text> - <image resource="main_button" /> - <action function="page">Vibrate</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Screen</text> - <image resource="main_button" /> - <action function="page">screen</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="timezone"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - - <object type="listbox"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Select Time Zone:</text> - <icon selected="radio_true" unselected="radio_false" /> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <data name="tw_time_zone_guisel" /> - <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> - <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> - <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> - <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> - <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> - <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> - <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> - <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> - <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> - <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> - <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> - <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> - <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> - <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> - <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> - <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> - <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> - <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> - <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> - <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> - <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> - <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> - <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> - <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> - </object> - - <object type="checkbox"> - <placement x="%col1_medium_x%" y="%row11_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Do you use daylight savings time (DST)?</text> - <data variable="tw_time_zone_guidst" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>Offset (usually 0): %tw_time_zone_guioffset%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>0</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=0</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>15</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=15</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>30</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=30</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>45</text> - <image resource="medium_button" /> - <action function="set">tw_time_zone_guioffset=45</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Set Time Zone</text> - <image resource="main_button" /> - <action function="setguitimezone"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row17_text_y%" placement="5" /> - <text>Current Time Zone: %tw_time_zone%</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="screen"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Screen Settings</text> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_false" /> - <action function="set">tw_screen_timeout_secs=60</action> - </object> - - <object type="button"> - <placement x="%slidervalue_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <text>Enable screen timeout.</text> - <image resource="checkbox_true" /> - <action function="set">tw_screen_timeout_secs=0</action> - </object> - - <object type="slidervalue"> - <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> - <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> - <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Screen timeout in seconds:</text> - <data variable="tw_screen_timeout_secs" min="15" max="300" /> - </object> - - <object type="slidervalue"> - <condition var1="tw_has_brightnesss_file" var2="1" /> - <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> - <text>Brightness: %tw_brightness_pct%%</text> - <data variable="tw_brightness_pct" min="10" max="100" /> - <actions> - <action function="set">tw_brightness=%tw_brightness_max%</action> - <action function="compute">tw_brightness*%tw_brightness_pct%</action> - <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="Vibrate"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Vibration Settings :</text> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Button Vibration:</text> - <data variable="tw_button_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Keyboard Vibration:</text> - <data variable="tw_keyboard_vibrate" min="0" max="300" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="slidervalue"> - <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> - <font resource="font" color="%text_color%" /> - <text>Action Vibration:</text> - <data variable="tw_action_vibrate" min="0" max="500" /> - <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">settings</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="advanced"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Advanced</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Log to SD</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=copylog</action> - <action function="set">tw_text1=Copy Log to SD Card?</action> - <action function="set">tw_action_text1=Copying Log to SD Card...</action> - <action function="set">tw_complete_text1=Log Copy Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Fix Permissions</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=fixpermissions</action> - <action function="set">tw_text1=Fix Permissions?</action> - <action function="set">tw_action_text1=Fixing Permissions...</action> - <action function="set">tw_complete_text1=Fix Permissions Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="set">tw_show_reboot=1</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Terminal Command</text> - <image resource="main_button" /> - <action function="page">terminalfolder</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>ADB Sideload</text> - <image resource="main_button" /> - <action function="page">sideload</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_allow_partition_sdcard" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Partition SD Card</text> - <image resource="main_button" /> - <action function="page">partsdcard</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>File Manager</text> - <image resource="main_button" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reload Theme</text> - <image resource="main_button" /> - <action function="reload"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>HTC Dumlock</text> - <image resource="main_button" /> - <action function="page">htcdumlock</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="partsdcard"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Partition SD Card</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_sdext_size-128</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_sdext_size+128</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> - <text>EXT Size: %tw_sdext_size%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="minus_button" /> - <action function="addsubtract">tw_swap_size-32</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="plus_button" /> - <action function="addsubtract">tw_swap_size+32</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> - <text>Swap Size: %tw_swap_size%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row8_text_y%" placement="5" /> - <text>File system: %tw_sdpart_file_system%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT3</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext3</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_sdext_disable_ext4" var2="0" /> - <placement x="%col3_medium_x%" y="%row4_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>EXT4</text> - <image resource="medium_button" /> - <action function="set">tw_sdpart_file_system=ext4</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row12_text_y%" placement="5" /> - <text>You will lose all files on your SD card!</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row13_text_y%" placement="5" /> - <text>This action cannot be undone!</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=partsdcard</action> - <action function="set">tw_action=partitionsd</action> - <action function="set">tw_has_action2=1</action> - <action function="set">tw_action2=set</action> - <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> - <action function="set">tw_action_text1=Partitioning SD Card...</action> - <action function="set">tw_action_text2=This will take a few minutes.</action> - <action function="set">tw_complete_text1=Partitioning Complete</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm Partition</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - - <page name="htcdumlock"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>HTC Dumlock</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Restore Original Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockrestoreboot</action> - <action function="set">tw_text1=Restore original boot image?</action> - <action function="set">tw_action_text1=Restoring Original Boot...</action> - <action function="set">tw_complete_text1=Restore Original Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col2_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Reflash Recovery->Boot</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=htcdumlockreflashrecovery</action> - <action function="set">tw_text1=Reflash recovery to boot?</action> - <action function="set">tw_action_text1=Flashing recovery to boot...</action> - <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_show_dumlock" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Install HTC Dumlock</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_back=htcdumlock</action> - <action function="set">tw_action=installhtcdumlock</action> - <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> - <action function="set">tw_action_text1=Installing HTC Dumlock...</action> - <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> - <action function="set">tw_slider_text=Swipe to Confirm</action> - <action function="page">confirm_action</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="lock"> - <background color="#000000A0" /> - - <object type="image"> - <image resource="unlock-icon" /> - <placement x="%lock_x%" y="%lock_y%" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="overlay"></action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Unlock</text> - </object> - </page> - - - <page name="filemanagerlist"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>File Manager: Select a File or Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>Folders:</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location1" default="/sdcard" /> - <data name="select" /> - <selection name="tw_selection1" /> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location1%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="0" files="1" /> - <path name="tw_file_location1" default="/" /> - <data name="tw_filename1" /> - <selection name="tw_selection1" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <actions> - <action function="set">tw_fm_type=File</action> - <action function="set">tw_fm_isfolder=0</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="action"> - <condition var1="tw_filename1" op="modified" /> - <actions> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filename1=tw_file_location1</action> - <action function="set">tw_fm_isfolder=1</action> - <action function="set">tw_fm_type=Folder</action> - <action function="page">filemanageroptions</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageroptions"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_type% Selected:</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cp</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col1_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Copy Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> - <action function="set">tw_fm_text1=Copying</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col2_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Move</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=mv</action> - <action function="set">tw_fm_text1=Moving</action> - <action function="page">choosedestinationfolder</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col3_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod 755</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=chmod 755</action> - <action function="set">tw_fm_text1=chmod 755</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>chmod</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=0000</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerchmod</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col1_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Delete</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_command=rm -rf</action> - <action function="set">tw_fm_text1=Deleting</action> - <action function="set">tw_fm_text2=</action> - <action function="set">tw_fm_text3=</action> - <action function="set">tw_include_text3=0</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="0" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename File</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=mv</action> - <action function="page">filemanagerrenamefile</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_fm_isfolder" var2="1" /> - <placement x="%col4_x%" y="%row1_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Rename Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_filemanager_rename=tw_selection1</action> - <action function="set">tw_fm_text1=Renaming</action> - <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> - <action function="page">filemanagerrenamefolder</action> - </actions> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanagerlist</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="choosedestinationfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Destination Folder & Press Select</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_file_location2%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <filter folders="1" files="0" /> - <path name="tw_file_location2" default="/sdcard" /> - <data name="tw_filename2" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_file_location2%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefile"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerrenamefolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter a New %tw_fm_type% Name</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="1" maxlen="128" /> - <actions> - <action function="set">tw_fm_text2=to</action> - <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> - <action function="set">tw_include_text3=1</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerchmod"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <font resource="font" /> - <text>Please Enter New Permissions</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_filemanager_rename%</text> - <data name="tw_filemanager_rename" /> - <restrict minlen="3" maxlen="4" allow="0123456789" /> - <actions> - <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> - <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> - <action function="set">tw_back=filemanageroptions</action> - <action function="page">filemanagerconfirm</action> - </actions> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">filemanageroptions</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanagerconfirm"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>%tw_fm_text1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>%tw_filename1%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>%tw_fm_text2%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5"/> - <text>%tw_fm_text3%</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row10_text_y%" placement="5"/> - <text>Press back button to cancel.</text> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <action function="page">filemanageracction</action> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Confirm</text> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">%tw_back%</action> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="filemanageracction"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>%tw_fm_text1%</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" var2="0" /> - </conditions> - <actions> - <action function="set">tw_back=filemanagerlist</action> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_complete_text1=File Operation Complete</action> - <action function="page">action_complete</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="0" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> - </actions> - </object> - - <object type="action"> - <condition var1="tw_include_text3" var2="1" /> - <actions> - <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> - </actions> - </object> - </page> - - <page name="decrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Please Enter Your Password</text> - </object> - - <object type="input"> - <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_crypto_display%</text> - <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> - <restrict minlen="1" maxlen="254" /> - <actions> - <action function="page">trydecrypt</action> - </actions> - </object> - - <object type="text" color="%text_fail_color%"> - <condition var1="tw_password_fail" var2="1" /> - <font resource="font" /> - <placement x="%center_x%" y="%row4_text_y%" placement="5" /> - <text>Password Failed, Please Try Again</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Cancel</text> - <image resource="main_button" /> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="template" name="footer" /> - </page> - - <page name="trydecrypt"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5" /> - <text>Trying Decryption with Your Password</text> - </object> - - <object type="template" name="action_page_console" /> - - <object type="template" name="progress_bar" /> - - <object type="action"> - <action function="decrypt"></action> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="!=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_password_fail=1</action> - <action function="page">decrypt</action> - </actions> - </object> - - <object type="action"> - <conditions> - <condition var1="tw_operation_state" var2="1" /> - <condition var1="tw_operation_status" op="=" var2="0" /> - </conditions> - <actions> - <action function="set">tw_page_done=1</action> - <action function="page">main</action> - </actions> - </object> - </page> - - <page name="terminalfolder"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Browse to Starting Folder</text> - </object> - - <object type="fileselector"> - <highlight color="%fileselector_highlight_color%" /> - <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> - <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> - <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> - <text>%tw_terminal_location%</text> - <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> - <sort name="tw_gui_sort_order" /> - <icon folder="folder_icon" file="file_icon" /> - <background color="%fileselector_background%" /> - <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> - <filter folders="1" files="0" /> - <path name="tw_terminal_location" default="/" /> - <data name="tw_terminal" /> - <selection name="tw_terminal_selection" /> - </object> - - <object type="template" name="sort_options" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Select Folder</text> - <image resource="main_button" /> - <actions> - <action function="page">terminalcommand</action> - </actions> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="terminalcommand"> - <background color="#000000FF" /> - - <object type="console"> - <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> - <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> - <font resource="fixed" /> - </object> - - <object type="text" color="%text_color%"> - <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> - <font resource="font" /> - <text>Starting Path: %tw_terminal_location%</text> - </object> - - <object type="input"> - <condition var1="tw_terminal_state" var2="0" /> - <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> - <background color="%input_background_color%" /> - <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> - <font resource="font" color="%text_color%" /> - <text>%tw_terminal_command%</text> - <data name="tw_terminal_command" /> - <restrict minlen="1" /> - <action function="terminalcommand">%tw_terminal_command%</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <condition var1="tw_terminal_state" var2="1" /> - <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>KILL</text> - <image resource="medium_button" /> - <action function="killterminal"></action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%home_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="home_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">home</action> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%back_button_x%" y="%terminal_button_y%" /> - <font resource="font" color="%button_text_color%" /> - <text></text> - <image resource="back_icon" /> - <condition var1="tw_busy" var2="0" /> - <action function="key">back</action> - </object> - - <object type="action"> - <touch key="power" /> - <action function="overlay">lock</action> - </object> - - <object type="action"> - <touch key="power+voldown" /> - <action function="screenshot" /> - </object> - - <object type="template" name="keyboardtemplate" /> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">terminalfolder</action> - </object> - </page> - - <page name="sideload"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>ADB Sideload</text> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row3_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Dalvik Cache.</text> - <data variable="tw_wipe_dalvik" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="checkbox"> - <placement x="%col1_x%" y="%row4_text_y%" /> - <font resource="font" color="%text_color%" /> - <text>Wipe Cache.</text> - <data variable="tw_wipe_cache" /> - <image checked="checkbox_true" unchecked="checkbox_false" /> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=adbsideload</action> - <action function="set">tw_action_text1=ADB Sideload</action> - <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> - <action function="set">tw_complete_text1=ADB Sideload Complete</action> - <action function="set">tw_has_cancel=1</action> - <action function="set">tw_show_reboot=1</action> - <action function="set">tw_cancel_action=adbsideloadcancel</action> - <action function="page">action_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Start Sideload</text> - </object> - - <object type="action"> - <touch key="home" /> - <action function="page">main</action> - </object> - - <object type="action"> - <touch key="back" /> - <action function="page">advanced</action> - </object> - - <object type="template" name="footer" /> - </page> - - <page name="installsu"> - <object type="template" name="header" /> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_text_y%" placement="5"/> - <text>Install SuperSU?</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row2_text_y%" placement="5"/> - <text>Your device does not appear to be rooted.</text> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row3_text_y%" placement="5"/> - <text>Install SuperSU now? This will root your device.</text> - </object> - - <object type="button"> - <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%row2_medium_y%" /> - <font resource="font" color="%button_text_color%" /> - <text>Do Not Install</text> - <image resource="main_button" /> - <action function="set">tw_page_done=1</action> - </object> - - <object type="slider"> - <placement x="%slider_x%" y="%slider_y%" /> - <resource base="slider" used="slider-used" touch="slider-touch" /> - <actions> - <action function="set">tw_action=installsu</action> - <action function="set">tw_action_text1=Installing SuperSU</action> - <action function="set">tw_action_text2=</action> - <action function="page">singleaction_page</action> - </actions> - </object> - - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%slider_text_y%" placement="4" /> - <text>Swipe to Install</text> - </object> - </page> - </pages> </recovery> diff --git a/gui/devices/landscape/res/landscape.xml b/gui/devices/landscape/res/landscape.xml new file mode 100644 index 000000000..902994917 --- /dev/null +++ b/gui/devices/landscape/res/landscape.xml @@ -0,0 +1,3870 @@ +<?xml version="1.0"?> + +<recovery> + <pages> + <page name="main"> + <object type="action"> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + </page> + + <page name="main2"> + <object type="template" name="header" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Install</text> + <image resource="main_button" /> + <actions> + <action function="queueclear"></action> + <action function="page">install</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Backup</text> + <image resource="main_button" /> + <action function="page">backup</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore</text> + <image resource="main_button" /> + <action function="page">restore</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Wipe</text> + <image resource="main_button" /> + <action function="page">wipe</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Mount</text> + <image resource="main_button" /> + <action function="page">mount</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Settings</text> + <image resource="main_button" /> + <action function="page">settings</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Advanced</text> + <image resource="main_button" /> + <action function="page">advanced</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reboot</text> + <image resource="main_button" /> + <action function="page">reboot</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="install"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Select Zip to Install</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=install</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Folders:</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="1" files="0" /> + <path name="tw_zip_location" default="/sdcard" /> + <data name="select" /> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_zip_location%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter extn=".zip" folders="0" files="1" /> + <path name="tw_zip_location" /> + <data name="tw_filename" /> + <selection name="tw_file" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <condition var1="tw_filename" op="modified" /> + <actions> + <action function="queuezip"></action> + <action function="page">flash_confirm</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="flash_confirm"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>WARNING: This operation may install incompatible software and render your device unusable.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Folder:</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>%tw_zip_location%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>File to flash:</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <text>%tw_file%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row6_text_y%" placement="5" /> + <text>Press back to cancel adding this zip.</text> + </object> + + <object type="checkbox"> + <placement x="%col2_x%" y="%row7_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Zip file signature verification?</text> + <data variable="tw_signed_zip_verify" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row10_text_y%" placement="5" /> + <text>File %tw_zip_queue_count% of max of 10</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> + <placement x="%col2_x%" y="%row5_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Add More Zips</text> + <image resource="mediumwide_button" /> + <action function="page">install</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row5_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Clear Queue</text> + <image resource="mediumwide_button" /> + <actions> + <action function="queueclear"></action> + <action function="page">install</action> + </actions> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="flash">flash_zip</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Confirm Flash</text> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="cancelzip"></action> + <action function="page">install</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="flash_zip"> + <object type="template" name="header" /> + + <object type="template" name="flash_zip_console" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row16_text_y%" /> + <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row17_text_y%" /> + <text>%tw_filename%</text> + </object> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <action function="page">flash_done</action> + </object> + </page> + + <page name="flash_done"> + <object type="template" name="header" /> + + <object type="template" name="flash_zip_console" /> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_operation_status" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%row17_text_y%" placement="5" /> + <text>Failed</text> + </object> + + <object type="text" color="%text_success_color%"> + <condition var1="tw_operation_status" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%row17_text_y%" placement="5" /> + <text>Successful</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Wipe Cache/Dalvik</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=flash_done</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=/cache</action> + <action function="set">tw_has_action2=1</action> + <action function="set">tw_action2=wipe</action> + <action function="set">tw_action2_param=dalvik</action> + <action function="set">tw_text1=Wipe Cache & Dalvik?</action> + <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> + <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> + <action function="set">tw_slider_text=Swipe to Wipe</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_system" var2="1" /> + <placement x="%col4_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reboot System</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=main2</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=system</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_text3=</action> + <action function="set">tw_text4=</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_action_text2=</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Home</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_clear_destination=install</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + </page> + + <page name="clear_vars"> + <object type="action"> + <action function="set">tw_operation_state=0</action> + <action function="set">tw_text1=</action> + <action function="set">tw_text2=</action> + <action function="set">tw_text3=</action> + <action function="set">tw_text4=</action> + <action function="set">tw_action_text1=</action> + <action function="set">tw_action_text2=</action> + <action function="set">tw_action_param=</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_action2=</action> + <action function="set">tw_action2_param=</action> + <action function="set">tw_has_cancel=0</action> + <action function="set">tw_cancel_action=</action> + <action function="set">tw_cancel_param=</action> + <action function="set">tw_show_exclamation=0</action> + <action function="set">tw_show_reboot=0</action> + <action function="page">%tw_clear_destination%</action> + </object> + </page> + + <page name="confirm_action"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_text2%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>%tw_text3%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>%tw_text4%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row12_text_y%" placement="5" /> + <text>Press back button to cancel.</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">action_page</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>%tw_slider_text%</text> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="action_page"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_action_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_action_text2%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_has_cancel" var2="1" /> + <placement x="%col4_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="%tw_cancel_action%">%tw_cancel_param%</action> + </object> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="0" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="1" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + <action function="%tw_action2%">%tw_action2_param%</action> + </actions> + </object> + </page> + + <page name="singleaction_page"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_action_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_action_text2%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="set">tw_page_done=1</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="0" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="1" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + <action function="%tw_action2%">%tw_action2_param%</action> + </actions> + </object> + </page> + + <page name="action_complete"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_complete_text1%</text> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_operation_status" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Failed</text> + </object> + + <object type="text" color="%text_success_color%"> + <condition var1="tw_operation_status" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Successful</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_reboot" var2="0" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Back</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_reboot" var2="1" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reboot System</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=main2</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=system</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_text3=</action> + <action function="set">tw_text4=</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_action_text2=</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + </page> + + <page name="filecheck"> + <object type="action"> + <action function="fileexists">%tw_filecheck%</action> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" var2="0" /> + </conditions> + <actions> + <action function="set">tw_fileexists=1</action> + <action function="page">%tw_existpage%</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" var2="1" /> + </conditions> + <actions> + <action function="set">tw_fileexists=0</action> + <action function="page">%tw_notexistpage%</action> + </actions> + </object> + </page> + + <page name="rebootcheck"> + <object type="action"> + <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> + <action function="reboot">%tw_action_param%</action> + </object> + + <object type="action"> + <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> + <action function="page">confirm_action</action> + </object> + </page> + + <page name="reboot"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Reboot Menu</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_system" var2="1" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>System</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=system</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_poweroff" var2="1" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Power Off</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=poweroff</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to power off?</action> + <action function="set">tw_action_text1=Turning Off...</action> + <action function="set">tw_complete_text1=Turning Off...</action> + <action function="set">tw_slider_text=Swipe to Power Off</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_recovery" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Recovery</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=recovery</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_bootloader" var2="1" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Bootloader</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=bootloader</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_download_mode" var2="1" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Download</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=download</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="selectstorage"> + <object type="template" name="header" /> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Storage:</text> + <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_storage_path" /> + <listtype name="storage" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>OK</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="page">%tw_back%</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="mount"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Mount Menu</text> + </object> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Mount:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <listtype name="mount" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <conditions> + <condition var1="tw_is_encrypted" var2="1" /> + <condition var1="tw_is_decrypted" var2="0" /> + </conditions> + <placement x="%col3_x%" y="row1_y" /> + <font resource="font" color="%button_text_color%" /> + <text>Decrypt Data</text> + <image resource="main_button" /> + <action function="page">decrypt</action> + </object> + + <object type="button"> + <condition var1="tw_has_usb_storage" var2="1" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Mount USB Storage</text> + <image resource="main_button" /> + <action function="page">usb_mount</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=mount</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="usb_mount"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <font resource="font" /> + <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> + </object> + + <object type="text" color="%text_color%"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" /> + <text></text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Unmount</text> + <image resource="main_button" /> + <action function="page">usb_umount</action> + </object> + + <object type="action"> + <action function="mount">usb</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="usb_umount"> + <object type="action"> + <action function="unmount">usb</action> + </object> + + <object type="action"> + <action function="page">mount</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="wipe"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> + </object> + + <object type="text" color="%text_color%"> + <conditions> + <condition var1="tw_has_android_secure" var2="1" /> + <condition var1="fileexists" var2="/and-sec" /> + </conditions> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>.android_secure</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_has_data_media" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>(not including internal storage)</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_has_sdext_partition" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>SD-EXT</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Most of the time this is the only wipe that you need.</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%wipe_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Advanced Wipe</text> + <image resource="main_button" /> + <action function="page">advancedwipe</action> + </object> + + <object type="button"> + <conditions> + <condition var1="tw_has_internal" var2="1" /> + <condition var1="tw_has_data_media" var2="1" /> + </conditions> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%wipe_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Format Data</text> + <image resource="main_button" /> + <actions> + <action function="page">formatdata</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row12_text_y%" placement="5" /> + <text>Press back button to cancel.</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=wipe</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=data</action> + <action function="set">tw_action_text1=Factory Reset...</action> + <action function="set">tw_complete_text1=Factory Reset Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Factory Reset</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="advancedwipe"> + <object type="template" name="header" /> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Wipe:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_wipe_list" /> + <listtype name="wipe" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Repair or Change File System</text> + <actions> + <action function="checkpartitionlist"></action> + <action function="page">checkpartitionlist</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="partitionlisterror" var2="1" /> + <font resource="font" /> + <placement x="%col3_x%" y="%backup_storage_y%" /> + <text>Invalid partition selection</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=advancedwipe</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=LIST</action> + <action function="set">tw_text1=Wipe Selected Partition(s)?</action> + <action function="set">tw_action_text1=Wiping Partition(s)...</action> + <action function="set">tw_complete_text1=Wipe Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Wipe</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">wipe</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="formatdata"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Format Data will wipe all of your apps, backups, pictures,</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>videos, media, and removes encryption on internal storage.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>This cannot be undone. Press back to cancel.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Type yes to continue.</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_confirm_formatdata%</text> + <data name="tw_confirm_formatdata" /> + <restrict minlen="3" maxlen="3" allow="yes" /> + <action function="page">formatdata_confirm</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">wipe</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="formatdata_confirm"> + <object type="action"> + <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> + <actions> + <action function="set">tw_back=formatdata</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=DATAMEDIA</action> + <action function="set">tw_action_text1=Formatting Data...</action> + <action function="set">tw_complete_text1=Data Format Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> + <action function="page">formatdata</function> + </object> + </page> + + <page name="checkpartitionlist"> + <object type="action"> + <condition var1="tw_check_partition_list" op="=" var2="1" /> + <actions> + <action function="set">partitionlisterror=0</action> + <action function="getpartitiondetails"></action> + <action function="page">partitionoptions</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_check_partition_list" op="!=" var2="1" /> + <actions> + <action function="set">partitionlisterror=1</action> + <action function="set">tw_wipe_list=</action> + <action function="page">advancedwipe</action> + </actions> + </object> + </page> + + <page name="partitionoptions"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row1_text_y%" /> + <text>Partition Options for: %tw_partition_name%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> + <text>Mount Point: %tw_partition_mount_point%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Current file system: %tw_partition_file_system%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_is_present" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%col2_x%" y="%row3_text_y%" /> + <text>Present: Yes</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_is_present" op="=" var2="0" /> + <font resource="font" /> + <placement x="%col2_x%" y="%row3_text_y%" /> + <text>Present: No</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_removable" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%col3_x%" y="%row3_text_y%" /> + <text>Removable: Yes</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_removable" op="=" var2="0" /> + <font resource="font" /> + <placement x="%col3_x%" y="%row3_text_y%" /> + <text>Removable: No</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row4_text_y%" /> + <text>Size: %tw_partition_size%MB</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col2_x%" y="%row4_text_y%" /> + <text>Used: %tw_partition_used%MB</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col3_x%" y="%row4_text_y%" /> + <text>Free: %tw_partition_free%MB</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col4_x%" y="%row4_text_y%" /> + <text>Backup Size: %tw_partition_backup_size%MB</text> + </object> + + <object type="button"> + <condition var1="tw_partition_can_repair" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Repair</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=partitionoptions</action> + <action function="set">tw_action=repair</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Repair %tw_partition_name%?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Repairing...</action> + <action function="set">tw_complete_text1=Repair Complete</action> + <action function="set">tw_slider_text=Swipe to Repair</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Change File System</text> + <image resource="main_button" /> + <action function="page">selectfilesystem</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advancedwipe</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="selectfilesystem"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row1_text_y%" /> + <text>Change file system for: %tw_partition_name%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> + <text>Mount Point: %tw_partition_mount_point%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Current file system: %tw_partition_file_system%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> + </object> + + <object type="button"> + <condition var1="tw_partition_ext" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT2</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=ext2</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_ext" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT3</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=ext3</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_ext" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT4</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=ext4</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_f2fs" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>F2FS</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=f2fs</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_vfat" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>FAT</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=vfat</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_exfat" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>exFAT</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=exfat</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">partitionoptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backup"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Back Up Device</text> + </object> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Back Up:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_backup_list" /> + <listtype name="backup" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> + <text>Backup Name: %tw_backup_name%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Refresh Sizes</text> + <image resource="main_button" /> + <actions> + <action function="refreshsizes"></action> + <action function="page">backup</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Set Backup Name</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_fileexists=0</action> + <action function="page">backupname1</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=backup</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="button"> + <conditions> + <condition var1="tw_include_encrypted_backup" var2="1" /> + <condition var1="tw_encrypt_backup" var2="0" /> + </conditions> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>No Encryption</text> + <actions> + <action function="page">backupencryption</action> + </actions> + </object> + + <object type="button"> + <conditions> + <condition var1="tw_include_encrypted_backup" var2="1" /> + <condition var1="tw_encrypt_backup" var2="1" /> + </conditions> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Using Encryption</text> + <actions> + <action function="page">backupencryption</action> + </actions> + </object> + + <object type="checkbox"> + <placement x="%col3_x%" y="%nandcheck_row6%" /> + <font resource="font" color="%text_color%" /> + <text>Enable Compression (Requires more time)</text> + <data variable="tw_use_compression" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col3_x%" y="%nandcheck_row7%" /> + <font resource="font" color="%text_color%" /> + <text>Skip MD5 generation on backups</text> + <data variable="tw_skip_md5_generate" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_operation_state=0</action> + <action function="page">backup_run</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Back Up</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backupname1"> + <object type="action"> + <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> + <action function="generatebackupname"></function> + </object> + + <object type="action"> + <action function="page">backupname2</function> + </object> + </page> + + <page name="backupname2"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a Backup Name</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_name%</text> + <data name="tw_backup_name" /> + <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> + <actions> + <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> + <action function="set">tw_existpage=backupname2</action> + <action function="set">tw_notexistpage=backup</action> + <action function="page">filecheck</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_fileexists" var2="1" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <font resource="font" /> + <text>A backup with that name already exists!</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Append Date</text> + <image resource="main_button" /> + <action function="appenddatetobackupname"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel / Clear</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_backup_name=(Auto Generate)</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <actions> + <action function="set">tw_backup_name=(Auto Generate)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Auto Generate)</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backupencryption"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Encrypt your backup? Please enter a password:</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_encrypt_display%</text> + <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> + <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> + <action function="page">backupencryption2</action> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_password_not_match" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Passwords Do Not Match</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_encrypt_backup=0</action> + <action function="set">tw_backup_password=</action> + <action function="set">tw_backup_password2=</action> + <action function="set">tw_backup_encrypt_display=</action> + <action function="set">tw_backup_encrypt_display2=</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">backup</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backupencryption2"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Encrypt your backup? Please Enter Password Again:</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_encrypt_display2%</text> + <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> + <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> + <actions> + <action function="page">checkbackuppassword</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_encrypt_backup=0</action> + <action function="set">tw_backup_password=</action> + <action function="set">tw_backup_password2=</action> + <action function="set">tw_backup_encrypt_display=</action> + <action function="set">tw_backup_encrypt_display2=</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">backup</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="checkbackuppassword"> + <object type="action"> + <condition var1="tw_backup_password2" var2="tw_backup_password" /> + <actions> + <action function="set">tw_encrypt_backup=1</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> + <actions> + <action function="set">tw_encrypt_backup=0</action> + <action function="set">tw_password_not_match=1</action> + <action function="set">tw_backup_password=</action> + <action function="set">tw_backup_password2=</action> + <action function="set">tw_backup_encrypt_display=</action> + <action function="set">tw_backup_encrypt_display2=</action> + <action function="page">backupencryption</action> + </actions> + </object> + </page> + + <page name="backup_run"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_operation% %tw_partition%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row2_text_y%" /> + <text>%tw_file_progress%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> + <text>%tw_size_progress%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <action function="nandroid">backup</action> + </object> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="set">tw_back=backup</action> + <action function="set">tw_complete_text1=Backup Complete</action> + <action function="set">tw_show_reboot=1</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="restore"> + <object type="template" name="header" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=restore</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Package to Restore:</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <filter folders="1" files="0" nav="0" /> + <path name="tw_backups_folder" /> + <data name="tw_restore" default="" /> + <selection name="tw_restore_name" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <condition var1="tw_restore" op="modified" /> + <actions> + <action function="readBackup"></action> + <action function="page">restore_read</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="restore_read"> + <object type="action"> + <condition var1="tw_restore_encrypted" var2="1" /> + <actions> + <action function="set">tw_password_fail=0</action> + <action function="page">restore_decrypt</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_restore_encrypted" var2="0" /> + <actions> + <action function="page">restore_select</action> + </actions> + </object> + </page> + + <page name="restore_decrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Backup encrypted. Please enter your password:</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_restore_display%</text> + <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> + <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> + <actions> + <action function="page">try_restore_decrypt</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_password_fail" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Password Failed, Please Try Again</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">restore</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Delete</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=restore</action> + <action function="set">tw_action=cmd</action> + <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> + <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> + <action function="set">tw_text2=This cannot be undone!</action> + <action function="set">tw_action_text1=Deleting Backup...</action> + <action function="set">tw_complete_text1=Backup Delete Complete</action> + <action function="set">tw_slider_text=Swipe to Delete</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">restore</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="try_restore_decrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Trying Decryption with Your Password</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <action function="decrypt_backup"></action> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="!=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_password_fail=1</action> + <action function="page">restore_decrypt</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">restore_select</action> + </actions> + </object> + </page> + + <page name="restore_select"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Package to Restore: %tw_restore_name%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Package Date: %tw_restore_file_date%</text> + </object> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Restore:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_restore_list" selectedlist="tw_restore_selected" /> + <listtype name="restore" /> + </object> + + <object type="checkbox"> + <placement x="%col3_x%" y="%nandcheck_row6%" /> + <font resource="font" color="%text_color%" /> + <text>Enable MD5 checking of backup files</text> + <data variable="tw_skip_md5_check" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Rename Backup</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_backup_rename=</action> + <action function="set">tw_fileexists=0</action> + <action function="page">renamebackup</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Delete Backup</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=restore</action> + <action function="set">tw_action=cmd</action> + <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> + <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> + <action function="set">tw_text2=This cannot be undone!</action> + <action function="set">tw_action_text1=Deleting Backup...</action> + <action function="set">tw_complete_text1=Backup Delete Complete</action> + <action function="set">tw_slider_text=Swipe to Delete</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">restore_run</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Restore</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">restore</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="renamebackup"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a New Backup Name</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_rename%</text> + <data name="tw_backup_rename" /> + <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> + <actions> + <action function="set">tw_back=restore</action> + <action function="set">tw_action=cmd</action> + <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> + <action function="set">tw_text1=Rename Backup?</action> + <action function="set">tw_text2=This cannot be undone!</action> + <action function="set">tw_action_text1=Renaming Backup...</action> + <action function="set">tw_complete_text1=Backup Rename Complete</action> + <action function="set">tw_slider_text=Swipe to Rename</action> + <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> + <action function="set">tw_existpage=renamebackup</action> + <action function="set">tw_notexistpage=confirm_action</action> + <action function="page">filecheck</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_fileexists" var2="1" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <font resource="font" /> + <text>A backup with that name already exists!</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">restore_select</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">restore_select</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="restore_run"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_operation% %tw_partition%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_size_progress%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="set">tw_back=restore_select</action> + <action function="set">tw_complete_text1=Restore Complete</action> + <action function="set">tw_show_reboot=1</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <action function="nandroid">restore</action> + </object> + </page> + + <page name="settings"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Settings</text> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Zip file signature verification?</text> + <data variable="tw_signed_zip_verify" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row3_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Use rm -rf instead of formatting?</text> + <data variable="tw_rm_rf" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row4_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Skip MD5 generation on backups</text> + <data variable="tw_skip_md5_generate" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row5_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Enable MD5 checking of backup files</text> + <data variable="tw_skip_md5_check" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row6_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Use Military Time</text> + <data variable="tw_military_time" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row7_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Simulate most actions for theme testing</text> + <data variable="tw_simulate_actions" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <condition var1="tw_simulate_actions" var2="1" /> + <placement x="%col1_x%" y="%row8_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Simulate failure for actions</text> + <data variable="tw_simulate_fail" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Time Zone</text> + <image resource="main_button" /> + <action function="page">timezone</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Vibration Duration</text> + <image resource="main_button" /> + <action function="page">Vibrate</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Screen</text> + <image resource="main_button" /> + <action function="page">screen</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="timezone"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Select Time Zone</text> + </object> + + <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Time Zone:</text> + <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_time_zone_guisel" /> + <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> + <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> + <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> + <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> + <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> + <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> + <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> + <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> + <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> + <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> + <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> + <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> + <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> + <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> + <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> + <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> + <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> + <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> + <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> + <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> + <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> + <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> + <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> + <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> + </object> + + <object type="checkbox"> + <placement x="%col1_medium_x%" y="%row11_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Do you use daylight savings time (DST)?</text> + <data variable="tw_time_zone_guidst" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row13_text_y%" placement="5" /> + <text>Offset (usually 0): %tw_time_zone_guioffset%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>0</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=0</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>15</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=15</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>30</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=30</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>45</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=45</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Set Time Zone</text> + <image resource="main_button" /> + <action function="setguitimezone"></action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row17_text_y%" placement="5" /> + <text>Current Time Zone: %tw_time_zone%</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">settings</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="screen"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Screen Settings</text> + </object> + + <object type="button"> + <placement x="%slidervalue_x%" y="%row3_text_y%" /> + <font resource="font" color="%text_color%" /> + <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> + <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> + <text>Enable screen timeout.</text> + <image resource="checkbox_false" /> + <action function="set">tw_screen_timeout_secs=60</action> + </object> + + <object type="button"> + <placement x="%slidervalue_x%" y="%row3_text_y%" /> + <font resource="font" color="%text_color%" /> + <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> + <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> + <text>Enable screen timeout.</text> + <image resource="checkbox_true" /> + <action function="set">tw_screen_timeout_secs=0</action> + </object> + + <object type="slidervalue"> + <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> + <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> + <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> + <text>Screen timeout in seconds:</text> + <data variable="tw_screen_timeout_secs" min="15" max="300" /> + </object> + + <object type="slidervalue"> + <condition var1="tw_has_brightnesss_file" var2="1" /> + <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> + <text>Brightness: %tw_brightness_pct%%</text> + <data variable="tw_brightness_pct" min="10" max="100" /> + <actions> + <action function="set">tw_brightness=%tw_brightness_max%</action> + <action function="compute">tw_brightness*%tw_brightness_pct%</action> + <action function="compute">tw_brightness/100</action> + <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">settings</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="Vibrate"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Vibration Settings :</text> + </object> + + <object type="slidervalue"> + <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Button Vibration:</text> + <data variable="tw_button_vibrate" min="0" max="300" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="slidervalue"> + <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Keyboard Vibration:</text> + <data variable="tw_keyboard_vibrate" min="0" max="300" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="slidervalue"> + <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Action Vibration:</text> + <data variable="tw_action_vibrate" min="0" max="500" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">settings</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="advanced"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Advanced</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Copy Log to SD</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=copylog</action> + <action function="set">tw_text1=Copy Log to SD Card?</action> + <action function="set">tw_action_text1=Copying Log to SD Card...</action> + <action function="set">tw_complete_text1=Log Copy Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Fix Permissions</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=fixpermissions</action> + <action function="set">tw_text1=Fix Permissions?</action> + <action function="set">tw_action_text1=Fixing Permissions...</action> + <action function="set">tw_complete_text1=Fix Permissions Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="set">tw_show_reboot=1</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Terminal Command</text> + <image resource="main_button" /> + <action function="page">terminalfolder</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>ADB Sideload</text> + <image resource="main_button" /> + <action function="page">sideload</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_allow_partition_sdcard" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Partition SD Card</text> + <image resource="main_button" /> + <action function="page">partsdcard</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>File Manager</text> + <image resource="main_button" /> + <action function="page">filemanagerlist</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reload Theme</text> + <image resource="main_button" /> + <action function="reload"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col4_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>HTC Dumlock</text> + <image resource="main_button" /> + <action function="page">htcdumlock</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="partsdcard"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Partition SD Card</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="minus_button" /> + <action function="addsubtract">tw_sdext_size-128</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="plus_button" /> + <action function="addsubtract">tw_sdext_size+128</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> + <text>EXT Size: %tw_sdext_size%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="minus_button" /> + <action function="addsubtract">tw_swap_size-32</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="plus_button" /> + <action function="addsubtract">tw_swap_size+32</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> + <text>Swap Size: %tw_swap_size%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row8_text_y%" placement="5" /> + <text>File system: %tw_sdpart_file_system%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_medium_x%" y="%row4_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT3</text> + <image resource="medium_button" /> + <action function="set">tw_sdpart_file_system=ext3</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_sdext_disable_ext4" var2="0" /> + <placement x="%col3_medium_x%" y="%row4_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT4</text> + <image resource="medium_button" /> + <action function="set">tw_sdpart_file_system=ext4</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row12_text_y%" placement="5" /> + <text>You will lose all files on your SD card!</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row13_text_y%" placement="5" /> + <text>This action cannot be undone!</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=partsdcard</action> + <action function="set">tw_action=partitionsd</action> + <action function="set">tw_has_action2=1</action> + <action function="set">tw_action2=set</action> + <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> + <action function="set">tw_action_text1=Partitioning SD Card...</action> + <action function="set">tw_action_text2=This will take a few minutes.</action> + <action function="set">tw_complete_text1=Partitioning Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Confirm Partition</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="template" name="footer" /> + </page> + + + <page name="htcdumlock"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>HTC Dumlock</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Original Boot</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=htcdumlock</action> + <action function="set">tw_action=htcdumlockrestoreboot</action> + <action function="set">tw_text1=Restore original boot image?</action> + <action function="set">tw_action_text1=Restoring Original Boot...</action> + <action function="set">tw_complete_text1=Restore Original Boot Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reflash Recovery->Boot</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=htcdumlock</action> + <action function="set">tw_action=htcdumlockreflashrecovery</action> + <action function="set">tw_text1=Reflash recovery to boot?</action> + <action function="set">tw_action_text1=Flashing recovery to boot...</action> + <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Install HTC Dumlock</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=htcdumlock</action> + <action function="set">tw_action=installhtcdumlock</action> + <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> + <action function="set">tw_action_text1=Installing HTC Dumlock...</action> + <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="lock"> + <background color="#000000A0" /> + + <object type="image"> + <image resource="unlock-icon" /> + <placement x="%lock_x%" y="%lock_y%" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="overlay"></action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Unlock</text> + </object> + </page> + + + <page name="filemanagerlist"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>File Manager: Select a File or Folder</text> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Folders:</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="1" files="0" /> + <path name="tw_file_location1" default="/sdcard" /> + <data name="select" /> + <selection name="tw_selection1" /> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_file_location1%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="0" files="1" /> + <path name="tw_file_location1" default="/" /> + <data name="tw_filename1" /> + <selection name="tw_selection1" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <actions> + <action function="set">tw_fm_type=File</action> + <action function="set">tw_fm_isfolder=0</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="action"> + <condition var1="tw_filename1" op="modified" /> + <actions> + <action function="page">filemanageroptions</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Select Folder</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filename1=tw_file_location1</action> + <action function="set">tw_fm_isfolder=1</action> + <action function="set">tw_fm_type=Folder</action> + <action function="page">filemanageroptions</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanageroptions"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>%tw_fm_type% Selected:</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>%tw_filename1%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="0" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Copy File</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=cp</action> + <action function="set">tw_fm_text1=Copying</action> + <action function="page">choosedestinationfolder</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Copy Folder</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> + <action function="set">tw_fm_text1=Copying</action> + <action function="page">choosedestinationfolder</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Move</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=mv</action> + <action function="set">tw_fm_text1=Moving</action> + <action function="page">choosedestinationfolder</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>chmod 755</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=chmod 755</action> + <action function="set">tw_fm_text1=chmod 755</action> + <action function="set">tw_fm_text2=</action> + <action function="set">tw_fm_text3=</action> + <action function="set">tw_include_text3=0</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>chmod</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_rename=0000</action> + <action function="set">tw_fm_text2=</action> + <action function="set">tw_fm_text3=</action> + <action function="set">tw_include_text3=0</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerchmod</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Delete</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=rm -rf</action> + <action function="set">tw_fm_text1=Deleting</action> + <action function="set">tw_fm_text2=</action> + <action function="set">tw_fm_text3=</action> + <action function="set">tw_include_text3=0</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="0" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Rename File</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_rename=tw_selection1</action> + <action function="set">tw_fm_text1=Renaming</action> + <action function="set">tw_filemanager_command=mv</action> + <action function="page">filemanagerrenamefile</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="1" /> + <placement x="%col4_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Rename Folder</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_rename=tw_selection1</action> + <action function="set">tw_fm_text1=Renaming</action> + <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> + <action function="page">filemanagerrenamefolder</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanagerlist</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="choosedestinationfolder"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Browse to Destination Folder & Press Select</text> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_file_location2%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <filter folders="1" files="0" /> + <path name="tw_file_location2" default="/sdcard" /> + <data name="tw_filename2" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Select Folder</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_fm_text2=to</action> + <action function="set">tw_fm_text3=%tw_file_location2%</action> + <action function="set">tw_include_text3=1</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerrenamefile"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a New %tw_fm_type% Name</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_filemanager_rename%</text> + <data name="tw_filemanager_rename" /> + <restrict minlen="1" maxlen="128" /> + <actions> + <action function="set">tw_fm_text2=to</action> + <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> + <action function="set">tw_include_text3=1</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerrenamefolder"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a New %tw_fm_type% Name</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_filemanager_rename%</text> + <data name="tw_filemanager_rename" /> + <restrict minlen="1" maxlen="128" /> + <actions> + <action function="set">tw_fm_text2=to</action> + <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> + <action function="set">tw_include_text3=1</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerchmod"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter New Permissions</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_filemanager_rename%</text> + <data name="tw_filemanager_rename" /> + <restrict minlen="3" maxlen="4" allow="0123456789" /> + <actions> + <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> + <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerconfirm"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>%tw_fm_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>%tw_filename1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>%tw_fm_text2%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>%tw_fm_text3%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row10_text_y%" placement="5"/> + <text>Press back button to cancel.</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">filemanageracction</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Confirm</text> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">%tw_back%</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanageracction"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_fm_text1%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" var2="0" /> + </conditions> + <actions> + <action function="set">tw_back=filemanagerlist</action> + <action function="set">tw_complete_text1=File Operation Complete</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="!=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_complete_text1=File Operation Complete</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_include_text3" var2="0" /> + <actions> + <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_include_text3" var2="1" /> + <actions> + <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> + </actions> + </object> + </page> + + <page name="decrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Please Enter Your Password</text> + </object> + + <object type="input"> + <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_crypto_display%</text> + <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> + <restrict minlen="1" maxlen="254" /> + <actions> + <action function="page">trydecrypt</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_password_fail" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Password Failed, Please Try Again</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%cancel_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">main</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="template" name="footer" /> + </page> + + <page name="trydecrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Trying Decryption with Your Password</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <action function="decrypt"></action> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="!=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_password_fail=1</action> + <action function="page">decrypt</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">main</action> + </actions> + </object> + </page> + + <page name="terminalfolder"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Browse to Starting Folder</text> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_terminal_location%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="1" files="0" /> + <path name="tw_terminal_location" default="/" /> + <data name="tw_terminal" /> + <selection name="tw_terminal_selection" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Select Folder</text> + <image resource="main_button" /> + <actions> + <action function="page">terminalcommand</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="terminalcommand"> + <background color="#000000FF" /> + + <object type="console"> + <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + + <object type="text" color="%text_color%"> + <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> + <font resource="font" /> + <text>Starting Path: %tw_terminal_location%</text> + </object> + + <object type="input"> + <condition var1="tw_terminal_state" var2="0" /> + <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_terminal_command%</text> + <data name="tw_terminal_command" /> + <restrict minlen="1" /> + <action function="terminalcommand">%tw_terminal_command%</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_terminal_state" var2="1" /> + <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>KILL</text> + <image resource="medium_button" /> + <action function="killterminal"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%home_button_x%" y="%terminal_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="home_icon" /> + <condition var1="tw_busy" var2="0" /> + <action function="key">home</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%back_button_x%" y="%terminal_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="back_icon" /> + <condition var1="tw_busy" var2="0" /> + <action function="key">back</action> + </object> + + <object type="action"> + <touch key="power" /> + <action function="overlay">lock</action> + </object> + + <object type="action"> + <touch key="power+voldown" /> + <action function="screenshot" /> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">terminalfolder</action> + </object> + </page> + + <page name="sideload"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>ADB Sideload</text> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row3_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Wipe Dalvik Cache.</text> + <data variable="tw_wipe_dalvik" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row4_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Wipe Cache.</text> + <data variable="tw_wipe_cache" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=adbsideload</action> + <action function="set">tw_action_text1=ADB Sideload</action> + <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> + <action function="set">tw_complete_text1=ADB Sideload Complete</action> + <action function="set">tw_has_cancel=1</action> + <action function="set">tw_show_reboot=1</action> + <action function="set">tw_cancel_action=adbsideloadcancel</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Start Sideload</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="installsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Install SuperSU?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Your device does not appear to be rooted.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Install SuperSU now? This will root your device.</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Do Not Install</text> + <image resource="main_button" /> + <action function="set">tw_page_done=1</action> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_action=installsu</action> + <action function="set">tw_action_text1=Installing SuperSU</action> + <action function="set">tw_action_text2=</action> + <action function="page">singleaction_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Install</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml new file mode 100644 index 000000000..466c64bbf --- /dev/null +++ b/gui/devices/portrait/res/portrait.xml @@ -0,0 +1,3887 @@ +<?xml version="1.0"?> + +<recovery> + <pages> + <page name="main"> + <object type="action"> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + </page> + + <page name="main2"> + <object type="template" name="header" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Install</text> + <image resource="main_button" /> + <actions> + <action function="queueclear"></action> + <action function="page">install</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Wipe</text> + <image resource="main_button" /> + <action function="page">wipe</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Backup</text> + <image resource="main_button" /> + <action function="page">backup</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore</text> + <image resource="main_button" /> + <action function="page">restore</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Mount</text> + <image resource="main_button" /> + <action function="page">mount</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Settings</text> + <image resource="main_button" /> + <action function="page">settings</action> + </object> + + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Advanced</text> + <image resource="main_button" /> + <action function="page">advanced</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reboot</text> + <image resource="main_button" /> + <action function="page">reboot</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="install"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Select Zip to Install</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=install</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_zip_location%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter extn=".zip" folders="1" files="1" /> + <path name="tw_zip_location" default="/sdcard" /> + <data name="tw_filename" /> + <selection name="tw_file" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <condition var1="tw_filename" op="modified" /> + <actions> + <action function="queuezip"></action> + <action function="page">flash_confirm</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="flash_confirm"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>This operation may install incompatible</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>software and render your device unusable.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>Folder:</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="mediumfont" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>%tw_zip_location%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <text>File to flash:</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="mediumfont" /> + <placement x="%center_x%" y="%row6_text_y%" placement="5" /> + <text>%tw_file%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row7_text_y%" placement="5" /> + <text>Press back to cancel adding this zip.</text> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row8_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Zip file signature verification.</text> + <data variable="tw_signed_zip_verify" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <condition var1="tw_has_injecttwrp" var2="1" /> + <placement x="%col1_x%" y="%row10_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Inject TWRP after install.</text> + <data variable="tw_inject_after_zip" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row11_text_y%" placement="5" /> + <text>File %tw_zip_queue_count% of max of 10</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" placement="5" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="flash">flash_zip</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Confirm Flash</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> + <placement x="%col1_x%" y="%row_queue_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Add More Zips</text> + <image resource="main_button" /> + <action function="page">install</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row_queue_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Clear Zip Queue</text> + <image resource="main_button" /> + <actions> + <action function="queueclear"></action> + <action function="page">install</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="cancelzip"></action> + <action function="page">install</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="flash_zip"> + <object type="template" name="header" /> + + <object type="console"> + <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row17_text_y%" placement="5" /> + <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="mediumfont" /> + <placement x="%center_x%" y="%row18_text_y%" placement="5" /> + <text>%tw_filename%</text> + </object> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <action function="page">flash_done</action> + </object> + </page> + + <page name="flash_done"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Zip Install Complete</text> + </object> + + <object type="console"> + <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Wipe cache/dalvik</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=flash_done</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=/cache</action> + <action function="set">tw_has_action2=1</action> + <action function="set">tw_action2=wipe</action> + <action function="set">tw_action2_param=dalvik</action> + <action function="set">tw_text1=Wipe Cache & Dalvik?</action> + <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> + <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> + <action function="set">tw_slider_text=Swipe to Wipe</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reboot System</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=main2</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=system</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_text3=</action> + <action function="set">tw_text4=</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_action_text2=</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Home</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_operation_status" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%zip_status_y%" placement="5" /> + <text>Failed</text> + </object> + + <object type="text" color="%text_success_color%"> + <condition var1="tw_operation_status" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%zip_status_y%" placement="5" /> + <text>Successful</text> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_clear_destination=install</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + </page> + + <page name="clear_vars"> + <object type="action"> + <action function="set">tw_operation_state=0</action> + <action function="set">tw_text1=</action> + <action function="set">tw_text2=</action> + <action function="set">tw_text3=</action> + <action function="set">tw_text4=</action> + <action function="set">tw_action_text1=</action> + <action function="set">tw_action_text2=</action> + <action function="set">tw_action_param=</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_action2=</action> + <action function="set">tw_action2_param=</action> + <action function="set">tw_has_cancel=0</action> + <action function="set">tw_cancel_action=</action> + <action function="set">tw_cancel_param=</action> + <action function="set">tw_show_exclamation=0</action> + <action function="set">tw_show_reboot=0</action> + <action function="page">%tw_clear_destination%</action> + </object> + </page> + + <page name="confirm_action"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_text2%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>%tw_text3%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>%tw_text4%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row15_text_y%" placement="5" /> + <text>Press back button to cancel.</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">action_page</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>%tw_slider_text%</text> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="action_page"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_action_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_action_text2%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_has_cancel" var2="1" /> + <placement x="%col_center_medium_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="medium_button" /> + <action function="%tw_cancel_action%">%tw_cancel_param%</action> + </object> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="0" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="1" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + <action function="%tw_action2%">%tw_action2_param%</action> + </actions> + </object> + </page> + + <page name="singleaction_page"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_action_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>%tw_action_text2%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="set">tw_page_done=1</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="0" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_has_action2" var2="1" /> + <actions> + <action function="%tw_action%">%tw_action_param%</action> + <action function="%tw_action2%">%tw_action2_param%</action> + </actions> + </object> + </page> + + <page name="action_complete"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_complete_text1%</text> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_operation_status" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Failed</text> + </object> + + <object type="text" color="%text_success_color%"> + <condition var1="tw_operation_status" var2="0" /> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Successful</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_reboot" var2="0" /> + <placement x="%col_center_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Back</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_reboot" var2="1" /> + <placement x="%col_center_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reboot System</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=main2</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=system</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_text3=</action> + <action function="set">tw_text4=</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_action_text2=</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <actions> + <action function="set">tw_clear_destination=main2</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + </page> + + <page name="filecheck"> + <object type="action"> + <action function="fileexists">%tw_filecheck%</action> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" var2="0" /> + </conditions> + <actions> + <action function="set">tw_fileexists=1</action> + <action function="page">%tw_existpage%</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" var2="1" /> + </conditions> + <actions> + <action function="set">tw_fileexists=0</action> + <action function="page">%tw_notexistpage%</action> + </actions> + </object> + </page> + + <page name="rebootcheck"> + <object type="action"> + <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> + <action function="reboot">%tw_action_param%</action> + </object> + + <object type="action"> + <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> + <action function="page">confirm_action</action> + </object> + </page> + + <page name="wipe"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Factory Reset</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Wipes Data, Cache, and Dalvik</text> + </object> + + <object type="text" color="%text_color%"> + <conditions> + <condition var1="tw_has_android_secure" var2="1" /> + <condition var1="fileexists" var2="/and-sec" /> + </conditions> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>.android_secure</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_has_data_media" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>(not including internal storage)</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_has_sdext_partition" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>SD-EXT</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <text>Most of the time this is</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row6_text_y%" placement="5" /> + <text>the only wipe that you need.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row16_text_y%" placement="5" /> + <text>Press back button to cancel.</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%wipe_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Advanced Wipe</text> + <image resource="main_button" /> + <actions> + <action function="set">partitionlisterror=0</action> + <action function="page">advancedwipe</action> + </actions> + </object> + + <object type="button"> + <conditions> + <condition var1="tw_has_internal" var2="1" /> + <condition var1="tw_has_data_media" var2="1" /> + </conditions> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%wipe_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Format Data</text> + <image resource="main_button" /> + <actions> + <action function="page">formatdata</action> + </actions> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=wipe</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=data</action> + <action function="set">tw_action_text1=Factory Reset...</action> + <action function="set">tw_complete_text1=Factory Reset Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Factory Reset</text> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="advancedwipe"> + <object type="template" name="header" /> + + <object type="action"> + <action function="set">tw_wipe_list=</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Wipe Menu</text> + </object> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Wipe:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_wipe_list" /> + <listtype name="wipe" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=advancedwipe</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=LIST</action> + <action function="set">tw_text1=Wipe Selected Partition(s)?</action> + <action function="set">tw_action_text1=Wiping Partition(s)...</action> + <action function="set">tw_complete_text1=Wipe Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" /> + <font resource="font" color="%button_text_color%" /> + <text>Repair or Change File System</text> + <actions> + <action function="checkpartitionlist"></action> + <action function="page">checkpartitionlist</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="partitionlisterror" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%wipe_button_row1%" placement="5" /> + <text>Invalid partition selection</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Wipe</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">wipe</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="formatdata"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Format Data will wipe all of your apps,</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>backups, pictures, videos, media, and</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>removes encryption on internal storage.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>This cannot be undone. Press back to cancel.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Type yes to continue.</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_confirm_formatdata%</text> + <data name="tw_confirm_formatdata" /> + <restrict minlen="3" maxlen="3" allow="yes" /> + <action function="page">formatdata_confirm</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">wipe</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="formatdata_confirm"> + <object type="action"> + <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> + <actions> + <action function="set">tw_back=formatdata</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=DATAMEDIA</action> + <action function="set">tw_action_text1=Formatting Data...</action> + <action function="set">tw_complete_text1=Data Format Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> + <action function="page">formatdata</function> + </object> + </page> + + <page name="checkpartitionlist"> + <object type="action"> + <condition var1="tw_check_partition_list" op="=" var2="1" /> + <actions> + <action function="set">partitionlisterror=0</action> + <action function="getpartitiondetails"></action> + <action function="page">partitionoptions</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_check_partition_list" op="!=" var2="1" /> + <actions> + <action function="set">partitionlisterror=1</action> + <action function="set">tw_wipe_list=</action> + <action function="page">advancedwipe</action> + </actions> + </object> + </page> + + <page name="partitionoptions"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Partition Options for: %tw_partition_name%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Mount Point: %tw_partition_mount_point%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Current file system: %tw_partition_file_system%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_is_present" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%col1_x%" y="%row3_text_y%" /> + <text>Present: Yes</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_is_present" op="=" var2="0" /> + <font resource="font" /> + <placement x="%col1_x%" y="%row3_text_y%" /> + <text>Present: No</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_removable" op="!=" var2="0" /> + <font resource="font" /> + <placement x="%col2_x%" y="%row3_text_y%" /> + <text>Removable: Yes</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_partition_removable" op="=" var2="0" /> + <font resource="font" /> + <placement x="%col2_x%" y="%row3_text_y%" /> + <text>Removable: No</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row4_text_y%" /> + <text>Size: %tw_partition_size%MB</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col2_x%" y="%row4_text_y%" /> + <text>Used: %tw_partition_used%MB</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row5_text_y%" /> + <text>Free: %tw_partition_free%MB</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col2_x%" y="%row5_text_y%" /> + <text>Backup Size: %tw_partition_backup_size%MB</text> + </object> + + <object type="button"> + <condition var1="tw_partition_can_repair" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Repair</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=partitionoptions</action> + <action function="set">tw_action=repair</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Repair %tw_partition_name%?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Repairing...</action> + <action function="set">tw_complete_text1=Repair Complete</action> + <action function="set">tw_slider_text=Swipe to Repair</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Change File System</text> + <image resource="main_button" /> + <action function="page">selectfilesystem</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advancedwipe</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="selectfilesystem"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Change file system for: %tw_partition_name%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Mount Point: %tw_partition_mount_point%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Current file system: %tw_partition_file_system%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>Some ROMs or kernels may not support some</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>file systems. Proceed with caution!</text> + </object> + + <object type="button"> + <condition var1="tw_partition_ext" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT2</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=ext2</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_ext" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT3</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=ext3</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_ext" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT4</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=ext4</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_f2fs" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>F2FS</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=f2fs</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_vfat" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>FAT</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=vfat</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <condition var1="tw_partition_exfat" op="=" var2="1" /> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>exFAT</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=selectfilesystem</action> + <action function="set">tw_action=changefilesystem</action> + <action function="set">tw_action_param=%tw_partition_mount_point%</action> + <action function="set">tw_action_new_file_system=exfat</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> + <action function="set">tw_text2=</action> + <action function="set">tw_action_text1=Formatting...</action> + <action function="set">tw_complete_text1=Format Complete</action> + <action function="set">tw_slider_text=Swipe to Change</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">partitionoptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backup"> + <object type="template" name="header" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" /> + <font resource="font" color="%button_text_color%" /> + <text>Backup Name: %tw_backup_name%</text> + <actions> + <action function="set">tw_fileexists=0</action> + <action function="page">backupname1</action> + </actions> + </object> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Back Up:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_backup_list" /> + <listtype name="backup" /> + </object> + + <object type="button"> + <conditions> + <condition var1="tw_include_encrypted_backup" var2="1" /> + <condition var1="tw_encrypt_backup" var2="0" /> + </conditions> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>No Encryption</text> + <actions> + <action function="page">backupencryption</action> + </actions> + </object> + + <object type="button"> + <conditions> + <condition var1="tw_include_encrypted_backup" var2="1" /> + <condition var1="tw_encrypt_backup" var2="1" /> + </conditions> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Using Encryption</text> + <actions> + <action function="set">tw_password_not_match=0</action> + <action function="page">backupencryption</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Refresh Sizes</text> + <actions> + <action function="refreshsizes"></action> + <action function="page">backup</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=backup</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row15_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Enable compression.</text> + <data variable="tw_use_compression" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row16_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Skip MD5 generation during backup.</text> + <data variable="tw_skip_md5_generate" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="slider_y" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">backup_run</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Back Up</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backupname1"> + <object type="action"> + <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> + <action function="generatebackupname"></function> + </object> + + <object type="action"> + <action function="page">backupname2</function> + </object> + </page> + + <page name="backupname2"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a Backup Name</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_name%</text> + <data name="tw_backup_name" /> + <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> + <actions> + <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> + <action function="set">tw_existpage=backupname2</action> + <action function="set">tw_notexistpage=backup</action> + <action function="page">filecheck</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_fileexists" var2="1" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <font resource="font" /> + <text>A backup with that name already exists!</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Append Date</text> + <image resource="main_button" /> + <action function="appenddatetobackupname"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_backup_name=(Auto Generate)</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <actions> + <action function="set">tw_backup_name=(Auto Generate)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Auto Generate)</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backupencryption"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Encrypt your backup?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Please Enter A Password:</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_encrypt_display%</text> + <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> + <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> + <action function="page">backupencryption2</action> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_password_not_match" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Passwords Do Not Match</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_encrypt_backup=0</action> + <action function="set">tw_backup_password=</action> + <action function="set">tw_backup_password2=</action> + <action function="set">tw_backup_encrypt_display=</action> + <action function="set">tw_backup_encrypt_display2=</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">backup</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="backupencryption2"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Encrypt your backup?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Please Enter Password Again:</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_encrypt_display2%</text> + <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> + <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> + <actions> + <action function="page">checkbackuppassword</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_encrypt_backup=0</action> + <action function="set">tw_backup_password=</action> + <action function="set">tw_backup_password2=</action> + <action function="set">tw_backup_encrypt_display=</action> + <action function="set">tw_backup_encrypt_display2=</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">backup</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="checkbackuppassword"> + <object type="action"> + <condition var1="tw_backup_password2" var2="tw_backup_password" /> + <actions> + <action function="set">tw_encrypt_backup=1</action> + <action function="page">backup</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> + <actions> + <action function="set">tw_encrypt_backup=0</action> + <action function="set">tw_password_not_match=1</action> + <action function="set">tw_backup_password=</action> + <action function="set">tw_backup_password2=</action> + <action function="set">tw_backup_encrypt_display=</action> + <action function="set">tw_backup_encrypt_display2=</action> + <action function="page">backupencryption</action> + </actions> + </object> + </page> + + <page name="backup_run"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_operation% %tw_partition%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_file_progress%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5" /> + <text>%tw_size_progress%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <action function="nandroid">backup</action> + </object> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="set">tw_back=backup</action> + <action function="set">tw_complete_text1=Backup Complete</action> + <action function="set">tw_show_reboot=1</action> + <action function="page">action_complete</action> + </actions> + </object> + </page> + + <page name="restore"> + <object type="template" name="header" /> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=restore</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Package to Restore:</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="1" files="0" nav="0" /> + <path name="tw_backups_folder" /> + <data name="tw_restore" default="" /> + <selection name="tw_restore_name" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <condition var1="tw_restore" op="modified" /> + <actions> + <action function="readBackup"></action> + <action function="page">restore_read</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="restore_read"> + <object type="action"> + <condition var1="tw_restore_encrypted" var2="1" /> + <actions> + <action function="set">tw_password_fail=0</action> + <action function="page">restore_decrypt</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_restore_encrypted" var2="0" /> + <actions> + <action function="page">restore_select</action> + </actions> + </object> + </page> + + <page name="restore_decrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Backup Encrypted</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>Please Enter Your Password:</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_restore_display%</text> + <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> + <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> + <actions> + <action function="page">try_restore_decrypt</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_password_fail" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Password Failed, Please Try Again</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">restore</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Delete</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=restore</action> + <action function="set">tw_action=cmd</action> + <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> + <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> + <action function="set">tw_text2=This cannot be undone!</action> + <action function="set">tw_action_text1=Deleting Backup...</action> + <action function="set">tw_complete_text1=Backup Delete Complete</action> + <action function="set">tw_slider_text=Swipe to Delete</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">restore</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="try_restore_decrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Trying Decryption with Your Password</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <action function="decrypt_backup"></action> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="!=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_password_fail=1</action> + <action function="page">restore_decrypt</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">restore_select</action> + </actions> + </object> + </page> + + <page name="restore_select"> + <object type="template" name="header" /> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Restoring: %tw_restore_name%</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_restore_list" selectedlist="tw_restore_selected" /> + <listtype name="restore" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Rename Backup</text> + <actions> + <action function="set">tw_backup_rename=</action> + <action function="set">tw_fileexists=0</action> + <action function="page">renamebackup</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Delete Backup</text> + <actions> + <action function="set">tw_back=restore</action> + <action function="set">tw_action=cmd</action> + <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> + <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> + <action function="set">tw_text2=This cannot be undone!</action> + <action function="set">tw_action_text1=Deleting Backup...</action> + <action function="set">tw_complete_text1=Backup Delete Complete</action> + <action function="set">tw_slider_text=Swipe to Delete</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row15_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Enable MD5 verification of backup files.</text> + <data variable="tw_skip_md5_check" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row16_text_y%" placement="5" /> + <text>Package Date: %tw_restore_file_date%</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">restore_run</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Restore</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">restore</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="renamebackup"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a New Backup Name</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_backup_rename%</text> + <data name="tw_backup_rename" /> + <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> + <actions> + <action function="set">tw_back=restore</action> + <action function="set">tw_action=cmd</action> + <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> + <action function="set">tw_text1=Rename Backup?</action> + <action function="set">tw_text2=This cannot be undone!</action> + <action function="set">tw_action_text1=Renaming Backup...</action> + <action function="set">tw_complete_text1=Backup Rename Complete</action> + <action function="set">tw_slider_text=Swipe to Rename</action> + <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> + <action function="set">tw_existpage=renamebackup</action> + <action function="set">tw_notexistpage=confirm_action</action> + <action function="page">filecheck</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_fileexists" var2="1" /> + <placement x="%center_x%" y="%row5_text_y%" placement="5" /> + <font resource="font" /> + <text>A backup with that name already exists!</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">restore_select</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">restore_select</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="restore_run"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_operation% %tw_partition%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5" /> + <text>%tw_size_progress%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <condition var1="tw_operation_state" var2="1" /> + <actions> + <action function="set">tw_back=restore_select</action> + <action function="set">tw_complete_text1=Restore Complete</action> + <action function="set">tw_show_reboot=1</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <action function="nandroid">restore</action> + </object> + </page> + + <page name="selectstorage"> + <object type="template" name="header" /> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Storage:</text> + <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_storage_path" /> + <listtype name="storage" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>OK</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_clear_destination=%tw_back%</action> + <action function="page">clear_vars</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="page">%tw_back%</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="mount"> + <object type="template" name="header" /> + + <object type="partitionlist"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Partitions to Mount:</text> + <icon selected="checkbox_true" unselected="checkbox_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <listtype name="mount" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <fill color="%button_fill_color%" /> + <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> + <font resource="font" color="%button_text_color%" /> + <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> + <actions> + <action function="set">tw_back=mount</action> + <action function="page">selectstorage</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_has_usb_storage" var2="1" /> + <placement x="%col1_x%" y="row4_y" /> + <font resource="font" color="%button_text_color%" /> + <text>Mount USB Storage</text> + <image resource="main_button" /> + <action function="page">usb_mount</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <conditions> + <condition var1="tw_is_encrypted" var2="1" /> + <condition var1="tw_is_decrypted" var2="0" /> + </conditions> + <placement x="%col2_x%" y="row4_y" /> + <font resource="font" color="%button_text_color%" /> + <text>Decrypt Data</text> + <image resource="main_button" /> + <action function="page">decrypt</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="usb_mount"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>USB Storage Mounted</text> + </object> + + <object type="text" color="%text_color%"> + <placement x="%col1_x%" y="%row1_text_y%" /> + <font resource="font" /> + <text>Be sure to safely remove your device</text> + </object> + + <object type="text" color="%text_color%"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" /> + <text>from your computer before unmounting!</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Unmount</text> + <image resource="main_button" /> + <action function="page">usb_umount</action> + </object> + + <object type="action"> + <action function="mount">usb</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="usb_umount"> + <object type="action"> + <action function="unmount">usb</action> + </object> + + <object type="action"> + <action function="page">mount</action> + </object> + </page> + + <page name="reboot"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Reboot Menu</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_system" var2="1" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>System</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=system</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_poweroff" var2="1" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Power Off</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=poweroff</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to power off?</action> + <action function="set">tw_action_text1=Turning Off...</action> + <action function="set">tw_complete_text1=Turning Off...</action> + <action function="set">tw_slider_text=Swipe to Power Off</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_recovery" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Recovery</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=recovery</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_reboot_bootloader" var2="1" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Bootloader</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=bootloader</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_download_mode" var2="1" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Download</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=reboot</action> + <action function="set">tw_action=reboot</action> + <action function="set">tw_action_param=download</action> + <action function="set">tw_has_action2=0</action> + <action function="set">tw_text1=No OS Installed! Are you</action> + <action function="set">tw_text2=sure you wish to reboot?</action> + <action function="set">tw_action_text1=Rebooting...</action> + <action function="set">tw_complete_text1=Rebooting...</action> + <action function="set">tw_slider_text=Swipe to Reboot</action> + <action function="page">rebootcheck</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="settings"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Settings</text> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row1_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Zip file signature verification.</text> + <data variable="tw_signed_zip_verify" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Use rm -rf instead of formatting.</text> + <data variable="tw_rm_rf" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row3_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Skip MD5 generation during backup.</text> + <data variable="tw_skip_md5_generate" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row4_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Enable MD5 verification of backup files.</text> + <data variable="tw_skip_md5_check" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row5_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Use Military Time.</text> + <data variable="tw_military_time" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row6_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Simulate actions for theme testing.</text> + <data variable="tw_simulate_actions" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <condition var1="tw_simulate_actions" var2="1" /> + <placement x="%col1_x%" y="%row7_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Simulate failure for actions.</text> + <data variable="tw_simulate_fail" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Time Zone</text> + <image resource="main_button" /> + <action function="page">timezone</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Screen</text> + <image resource="main_button" /> + <action function="page">screen</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Vibration Duration</text> + <image resource="main_button" /> + <action function="page">Vibrate</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="timezone"> + <object type="template" name="header" /> + + <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>Select Time Zone:</text> + <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <background color="%listbox_background%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <data name="tw_time_zone_guisel" /> + <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> + <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> + <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> + <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> + <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> + <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> + <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> + <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> + <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> + <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> + <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> + <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> + <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> + <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> + <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> + <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> + <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> + <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> + <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> + <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> + <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> + <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> + <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> + <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row_dst_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Do you use daylight savings time (DST)?</text> + <data variable="tw_time_zone_guidst" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> + <text>Offset (usually 0): %tw_time_zone_guioffset%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>None</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=0</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>15</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=15</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>30</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=30</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>45</text> + <image resource="medium_button" /> + <action function="set">tw_time_zone_guioffset=45</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%tz_set_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Set Time Zone</text> + <image resource="main_button" /> + <action function="setguitimezone"></action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%tz_current_y%" placement="5" /> + <text>Current Time Zone: %tw_time_zone%</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">settings</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="screen"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Screen Settings</text> + </object> + + <object type="button"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" color="%text_color%" /> + <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> + <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> + <text>Enable screen timeout.</text> + <image resource="checkbox_false" /> + <action function="set">tw_screen_timeout_secs=60</action> + </object> + + <object type="button"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" color="%text_color%" /> + <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> + <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> + <text>Enable screen timeout.</text> + <image resource="checkbox_true" /> + <action function="set">tw_screen_timeout_secs=0</action> + </object> + + <object type="slidervalue"> + <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> + <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> + <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> + <text>Screen timeout in seconds:</text> + <data variable="tw_screen_timeout_secs" min="15" max="300" /> + </object> + + <object type="slidervalue"> + <condition var1="tw_has_brightnesss_file" var2="1" /> + <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> + <text>Brightness: %tw_brightness_pct%%</text> + <data variable="tw_brightness_pct" min="10" max="100" /> + <actions> + <action function="set">tw_brightness=%tw_brightness_max%</action> + <action function="compute">tw_brightness*%tw_brightness_pct%</action> + <action function="compute">tw_brightness/100</action> + <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">settings</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="Vibrate"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Vibration Settings :</text> + </object> + + <object type="slidervalue"> + <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Button Vibration:</text> + <data variable="tw_button_vibrate" min="0" max="300" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="slidervalue"> + <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Keyboard Vibration:</text> + <data variable="tw_keyboard_vibrate" min="0" max="300" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="slidervalue"> + <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Action Vibration:</text> + <data variable="tw_action_vibrate" min="0" max="500" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">settings</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="advanced"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Advanced</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Copy Log to SD</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=copylog</action> + <action function="set">tw_text1=Copy Log to SD Card?</action> + <action function="set">tw_action_text1=Copying Log to SD Card...</action> + <action function="set">tw_complete_text1=Log Copy Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Fix Permissions</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=fixpermissions</action> + <action function="set">tw_text1=Fix Permissions?</action> + <action function="set">tw_action_text1=Fixing Permissions...</action> + <action function="set">tw_complete_text1=Fix Permissions Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="set">tw_show_reboot=1</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_allow_partition_sdcard" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Partition SD Card</text> + <image resource="main_button" /> + <action function="page">partsdcard</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>File Manager</text> + <image resource="main_button" /> + <action function="page">filemanagerlist</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Terminal Command</text> + <image resource="main_button" /> + <action function="page">terminalfolder</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reload Theme</text> + <image resource="main_button" /> + <action function="reload"></action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>ADB Sideload</text> + <image resource="main_button" /> + <action function="page">sideload</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>HTC Dumlock</text> + <image resource="main_button" /> + <action function="page">htcdumlock</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_has_injecttwrp" var2="1" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Re-Inject TWRP</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=reinjecttwrp</action> + <action function="set">tw_text1=Re-Inject TWRP?</action> + <action function="set">tw_action_text1=Re-Injecting TWRP...</action> + <action function="set">tw_complete_text1=TWRP Injection Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="partsdcard"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Partition SD Card</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="minus_button" /> + <action function="addsubtract">tw_sdext_size-128</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sd_plus_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="plus_button" /> + <action function="addsubtract">tw_sdext_size+128</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sdext_text_x%" y="%sdext_text_y%" /> + <text>EXT Size: %tw_sdext_size%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%sdswap_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="minus_button" /> + <action function="addsubtract">tw_swap_size-32</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text></text> + <image resource="plus_button" /> + <action function="addsubtract">tw_swap_size+32</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> + <text>Swap Size: %tw_swap_size%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> + <text>File system: %tw_sdpart_file_system%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT3</text> + <image resource="main_button" /> + <action function="set">tw_sdpart_file_system=ext3</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_sdext_disable_ext4" var2="0" /> + <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>EXT4</text> + <image resource="main_button" /> + <action function="set">tw_sdpart_file_system=ext4</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row12_text_y%" /> + <text>You will lose all files on your SD card!</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%row13_text_y%" /> + <text>This action cannot be undone!</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">partsdcardaction</action> + <actions> + <action function="set">tw_back=partsdcard</action> + <action function="set">tw_action=partitionsd</action> + <action function="set">tw_has_action2=1</action> + <action function="set">tw_action2=set</action> + <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> + <action function="set">tw_action_text1=Partitioning SD Card...</action> + <action function="set">tw_action_text2=This will take a few minutes.</action> + <action function="set">tw_complete_text1=Partitioning Complete</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Partition</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="htcdumlock"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>HTC Dumlock</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col1_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Original Boot</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=htcdumlock</action> + <action function="set">tw_action=htcdumlockrestoreboot</action> + <action function="set">tw_text1=Restore original boot image?</action> + <action function="set">tw_action_text1=Restoring Original Boot...</action> + <action function="set">tw_complete_text1=Restore Original Boot Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col2_x%" y="%row1_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reflash Recovery</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=htcdumlock</action> + <action function="set">tw_action=htcdumlockreflashrecovery</action> + <action function="set">tw_text1=Reflash recovery to boot?</action> + <action function="set">tw_action_text1=Flashing recovery to boot...</action> + <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_show_dumlock" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Install HTC Dumlock</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_back=htcdumlock</action> + <action function="set">tw_action=installhtcdumlock</action> + <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> + <action function="set">tw_action_text1=Installing HTC Dumlock...</action> + <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> + <action function="set">tw_slider_text=Swipe to Confirm</action> + <action function="page">confirm_action</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="lock"> + <background color="#000000A0" /> + + <object type="image"> + <image resource="unlock-icon" /> + <placement x="%lock_x%" y="%lock_y%" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="overlay"></action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Unlock</text> + </object> + </page> + + <page name="filemanagerlist"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>File Manager: Select a File or Folder</text> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_file_location1%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <folders="1" files="1" /> + <path name="tw_file_location1" default="/" /> + <data name="tw_filename1" /> + <selection name="tw_selection1" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <actions> + <action function="set">tw_fm_type=File</action> + <action function="set">tw_fm_isfolder=0</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="action"> + <condition var1="tw_filename1" op="modified" /> + <actions> + <action function="page">filemanageroptions</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Select</text> + <image resource="medium_button" /> + <actions> + <action function="set">tw_filename1=tw_file_location1</action> + <action function="set">tw_fm_isfolder=1</action> + <action function="set">tw_fm_type=Folder</action> + <action function="page">filemanageroptions</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanageroptions"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>%tw_fm_type% Selected:</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>%tw_filename1%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="0" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Copy File</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=cp</action> + <action function="set">tw_fm_text1=Copying</action> + <action function="page">choosedestinationfolder</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="1" /> + <placement x="%col1_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Copy Folder</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> + <action function="set">tw_fm_text1=Copying</action> + <action function="page">choosedestinationfolder</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Move</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=mv</action> + <action function="set">tw_fm_text1=Moving</action> + <action function="page">choosedestinationfolder</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>chmod 755</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=chmod 755</action> + <action function="set">tw_fm_text1=chmod 755</action> + <action function="set">tw_fm_text2=</action> + <action function="set">tw_fm_text3=</action> + <action function="set">tw_include_text3=0</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col2_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>chmod</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_rename=0000</action> + <action function="set">tw_fm_text2=</action> + <action function="set">tw_fm_text3=</action> + <action function="set">tw_include_text3=0</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerchmod</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col1_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Delete</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_command=rm -rf</action> + <action function="set">tw_fm_text1=Deleting</action> + <action function="set">tw_fm_text2=</action> + <action function="set">tw_fm_text3=</action> + <action function="set">tw_include_text3=0</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="0" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Rename File</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_rename=tw_selection1</action> + <action function="set">tw_fm_text1=Renaming</action> + <action function="set">tw_filemanager_command=mv</action> + <action function="page">filemanagerrenamefile</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_fm_isfolder" var2="1" /> + <placement x="%col2_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Rename Folder</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_filemanager_rename=tw_selection1</action> + <action function="set">tw_fm_text1=Renaming</action> + <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> + <action function="page">filemanagerrenamefolder</action> + </actions> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanagerlist</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="choosedestinationfolder"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5"/> + <text>Browse to Destination Folder & Press Select</text> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_file_location2%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="1" files="0" /> + <path name="tw_file_location2" default="/" /> + <data name="tw_filename2" /> + <selection name="tw_selection2" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Select</text> + <image resource="medium_button" /> + <actions> + <action function="set">tw_fm_text2=to</action> + <action function="set">tw_fm_text3=%tw_file_location2%</action> + <action function="set">tw_include_text3=1</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerrenamefile"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a New %tw_fm_type% Name</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_filemanager_rename%</text> + <data name="tw_filemanager_rename" /> + <restrict minlen="1" maxlen="128" /> + <actions> + <action function="set">tw_fm_text2=to</action> + <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> + <action function="set">tw_include_text3=1</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerrenamefolder"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter a New %tw_fm_type% Name</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_filemanager_rename%</text> + <data name="tw_filemanager_rename" /> + <restrict minlen="1" maxlen="128" /> + <actions> + <action function="set">tw_fm_text2=to</action> + <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> + <action function="set">tw_include_text3=1</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerchmod"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <font resource="font" /> + <text>Please Enter New Permissions</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_filemanager_rename%</text> + <data name="tw_filemanager_rename" /> + <restrict minlen="3" maxlen="4" allow="0123456789" /> + <actions> + <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> + <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> + <action function="set">tw_back=filemanageroptions</action> + <action function="page">filemanagerconfirm</action> + </actions> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">filemanageroptions</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanagerconfirm"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>%tw_fm_text1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>%tw_filename1%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>%tw_fm_text2%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>%tw_fm_text3%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row10_text_y%" placement="5"/> + <text>Press back button to cancel.</text> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <action function="page">filemanageracction</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Confirm</text> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">%tw_back%</action> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="filemanageracction"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>%tw_fm_text1%</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" var2="0" /> + </conditions> + <actions> + <action function="set">tw_back=filemanagerlist</action> + <action function="set">tw_complete_text1=File Operation Complete</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="!=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_complete_text1=File Operation Complete</action> + <action function="page">action_complete</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_include_text3" var2="0" /> + <actions> + <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> + </actions> + </object> + + <object type="action"> + <condition var1="tw_include_text3" var2="1" /> + <actions> + <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> + </actions> + </object> + </page> + + <page name="decrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Please Enter Your Password</text> + </object> + + <object type="input"> + <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_crypto_display%</text> + <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> + <restrict minlen="1" maxlen="254" /> + <actions> + <action function="page">trydecrypt</action> + </actions> + </object> + + <object type="text" color="%text_fail_color%"> + <condition var1="tw_password_fail" var2="1" /> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5" /> + <text>Password Failed, Please Try Again</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="main_button" /> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">main</action> + </actions> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="template" name="footer" /> + </page> + + <page name="trydecrypt"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Trying Decryption with Your Password</text> + </object> + + <object type="template" name="action_page_console" /> + + <object type="template" name="progress_bar" /> + + <object type="action"> + <action function="decrypt"></action> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="!=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_password_fail=1</action> + <action function="page">decrypt</action> + </actions> + </object> + + <object type="action"> + <conditions> + <condition var1="tw_operation_state" var2="1" /> + <condition var1="tw_operation_status" op="=" var2="0" /> + </conditions> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">main</action> + </actions> + </object> + </page> + + <page name="terminalfolder"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5"/> + <text>Browse to Starting Folder</text> + </object> + + <object type="fileselector"> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> + <text>%tw_terminal_location%</text> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> + <sort name="tw_gui_sort_order" /> + <icon folder="folder_icon" file="file_icon" /> + <background color="%fileselector_background%" /> + <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> + <filter folders="1" files="0" /> + <path name="tw_terminal_location" default="/" /> + <data name="tw_terminal" /> + <selection name="tw_terminal_selection" /> + </object> + + <object type="template" name="sort_options" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Select</text> + <image resource="medium_button" /> + <actions> + <action function="page">terminalcommand</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="terminalcommand"> + <object type="template" name="header" /> + + <object type="console"> + <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + + <object type="text" color="%text_color%"> + <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> + <font resource="font" /> + <text>Starting Path: %tw_terminal_location%</text> + </object> + + <object type="input"> + <condition var1="tw_terminal_state" var2="0" /> + <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> + <background color="%input_background_color%" /> + <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> + <font resource="font" color="%text_color%" /> + <text>%tw_terminal_command%</text> + <data name="tw_terminal_command" /> + <restrict minlen="1" /> + <action function="terminalcommand">%tw_terminal_command%</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <condition var1="tw_terminal_state" var2="1" /> + <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>KILL</text> + <image resource="medium_button" /> + <action function="killterminal"></action> + </object> + + <object type="template" name="keyboardtemplate" /> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">terminalfolder</action> + </object> + </page> + + <page name="sideload"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5"/> + <text>ADB Sideload</text> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row2_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Wipe Dalvik Cache.</text> + <data variable="tw_wipe_dalvik" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="checkbox"> + <placement x="%col1_x%" y="%row3_text_y%" /> + <font resource="font" color="%text_color%" /> + <text>Wipe Cache.</text> + <data variable="tw_wipe_cache" /> + <image checked="checkbox_true" unchecked="checkbox_false" /> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=adbsideload</action> + <action function="set">tw_action_text1=ADB Sideload</action> + <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> + <action function="set">tw_complete_text1=ADB Sideload Complete</action> + <action function="set">tw_has_cancel=1</action> + <action function="set">tw_show_reboot=1</action> + <action function="set">tw_cancel_action=adbsideloadcancel</action> + <action function="page">action_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Start Sideload</text> + </object> + + <object type="action"> + <touch key="home" /> + <action function="page">main</action> + </object> + + <object type="action"> + <touch key="back" /> + <action function="page">advanced</action> + </object> + + <object type="template" name="footer" /> + </page> + + <page name="installsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_header_y%" placement="5"/> + <text>Install SuperSU?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Your device does not appear to be rooted.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Install SuperSU now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>This will root your device.</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Do Not Install</text> + <image resource="main_button" /> + <action function="set">tw_page_done=1</action> + </object> + + <object type="slider"> + <placement x="%slider_x%" y="%slider_y%" /> + <resource base="slider" used="slider-used" touch="slider-touch" /> + <actions> + <action function="set">tw_action=installsu</action> + <action function="set">tw_action_text1=Installing SuperSU</action> + <action function="set">tw_action_text2=</action> + <action function="page">singleaction_page</action> + </actions> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%slider_text_y%" placement="4" /> + <text>Swipe to Install</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/pages.cpp b/gui/pages.cpp index 6586cf8aa..1bc15c6cd 100644 --- a/gui/pages.cpp +++ b/gui/pages.cpp @@ -160,7 +160,7 @@ int ActionObject::SetActionPos(int x, int y, int w, int h) return 0; } -Page::Page(xml_node<>* page, xml_node<>* templates /* = NULL */) +Page::Page(xml_node<>* page, std::vector<xml_node<>*> *templates /* = NULL */) { mTouchStart = NULL; @@ -200,7 +200,7 @@ Page::~Page() delete *itr; } -bool Page::ProcessNode(xml_node<>* page, xml_node<>* templates /* = NULL */, int depth /* = 0 */) +bool Page::ProcessNode(xml_node<>* page, std::vector<xml_node<>*> *templates /* = NULL */, int depth /* = 0 */) { if (depth == 10) { @@ -347,24 +347,31 @@ bool Page::ProcessNode(xml_node<>* page, xml_node<>* templates /* = NULL */, int else { std::string name = child->first_attribute("name")->value(); - - // We need to find the correct template xml_node<>* node; - node = templates->first_node("template"); + bool node_found = false; - while (node) - { - if (!node->first_attribute("name")) - continue; + // We need to find the correct template + for (std::vector<xml_node<>*>::iterator itr = templates->begin(); itr != templates->end(); itr++) { + node = (*itr)->first_node("template"); - if (name == node->first_attribute("name")->value()) + while (node) { - if (!ProcessNode(node, templates, depth + 1)) - return false; - else + if (!node->first_attribute("name")) + continue; + + if (name == node->first_attribute("name")->value()) + { + if (!ProcessNode(node, templates, depth + 1)) + return false; + else { + node_found = true; + break; + } + } + if (node_found) break; + node = node->next_sibling("template"); } - node = node->next_sibling("template"); } } } @@ -547,6 +554,8 @@ PageSet::~PageSet() { for (std::vector<Page*>::iterator itr = mPages.begin(); itr != mPages.end(); ++itr) delete *itr; + for (std::vector<xml_node<>*>::iterator itr2 = templates.begin(); itr2 != templates.end(); ++itr2) + delete *itr2; delete mResources; free(mXmlFile); @@ -556,7 +565,9 @@ int PageSet::Load(ZipArchive* package) { xml_node<>* parent; xml_node<>* child; - xml_node<>* templates; + xml_node<>* xmltemplate; + xml_node<>* blank_templates; + int pages_loaded = -1, ret; parent = mDoc.first_node("recovery"); if (!parent) @@ -580,13 +591,134 @@ int PageSet::Load(ZipArchive* package) LOGINFO("Loading pages...\n"); // This may be NULL if no templates are present - templates = parent->first_node("templates"); + xmltemplate = parent->first_node("templates"); + if (xmltemplate) + templates.push_back(xmltemplate); child = parent->first_node("pages"); - if (!child) - return -1; + if (child) { + if (LoadPages(child)) { + LOGERR("PageSet::Load returning -1\n"); + return -1; + } + } + + return CheckInclude(package, &mDoc); +} + +int PageSet::CheckInclude(ZipArchive* package, xml_document<> *parentDoc) +{ + xml_node<>* par; + xml_node<>* par2; + xml_node<>* chld; + xml_node<>* parent; + xml_node<>* child; + xml_node<>* xmltemplate; + long len; + char* xmlFile = NULL; + string filename; + xml_document<> doc; + + par = parentDoc->first_node("recovery"); + if (!par) { + par = parentDoc->first_node("install"); + } + if (!par) { + return 0; + } - return LoadPages(child, templates); + par2 = par->first_node("include"); + if (!par2) + return 0; + chld = par2->first_node("xmlfile"); + while (chld != NULL) { + xml_attribute<>* attr = chld->first_attribute("name"); + if (!attr) + break; + + LOGINFO("PageSet::CheckInclude loading filename: '%s'\n", filename.c_str()); + if (!package) { + // We can try to load the XML directly... + filename = "/res/"; + filename += attr->value(); + struct stat st; + if(stat(filename.c_str(),&st) != 0) { + LOGERR("Unable to locate '%s'\n", filename.c_str()); + return -1; + } + + len = st.st_size; + xmlFile = (char*) malloc(len + 1); + if (!xmlFile) + return -1; + + int fd = open(filename.c_str(), O_RDONLY); + if (fd == -1) + return -1; + + read(fd, xmlFile, len); + close(fd); + } else { + filename += attr->value(); + const ZipEntry* ui_xml = mzFindZipEntry(package, filename.c_str()); + if (ui_xml == NULL) + { + LOGERR("Unable to locate '%s' in zip file\n", filename.c_str()); + return -1; + } + + // Allocate the buffer for the file + len = mzGetZipEntryUncompLen(ui_xml); + xmlFile = (char*) malloc(len + 1); + if (!xmlFile) + return -1; + + if (!mzExtractZipEntryToBuffer(package, ui_xml, (unsigned char*) xmlFile)) + { + LOGERR("Unable to extract '%s'\n", filename.c_str()); + return -1; + } + } + doc.parse<0>(xmlFile); + + parent = doc.first_node("recovery"); + if (!parent) + parent = doc.first_node("install"); + + // Now, let's parse the XML + LOGINFO("Loading included resources...\n"); + child = parent->first_node("resources"); + if (child) + mResources->LoadResources(child, package); + + LOGINFO("Loading included variables...\n"); + child = parent->first_node("variables"); + if (child) + LoadVariables(child); + + LOGINFO("Loading mouse cursor...\n"); + child = parent->first_node("mousecursor"); + if(child) + PageManager::LoadCursorData(child); + + LOGINFO("Loading included pages...\n"); + // This may be NULL if no templates are present + xmltemplate = parent->first_node("templates"); + if (xmltemplate) + templates.push_back(xmltemplate); + + child = parent->first_node("pages"); + if (child) + if (LoadPages(child)) + return -1; + + if (CheckInclude(package, &doc)) + return -1; + + chld = chld->next_sibling("xmlfile"); + } + + return 0; } int PageSet::SetPage(std::string page) @@ -659,7 +791,7 @@ int PageSet::LoadVariables(xml_node<>* vars) return 0; } -int PageSet::LoadPages(xml_node<>* pages, xml_node<>* templates /* = NULL */) +int PageSet::LoadPages(xml_node<>* pages) { xml_node<>* child; @@ -669,7 +801,7 @@ int PageSet::LoadPages(xml_node<>* pages, xml_node<>* templates /* = NULL */) child = pages->first_node("page"); while (child != NULL) { - Page* page = new Page(child, templates); + Page* page = new Page(child, &templates); if (page->GetName().empty()) { LOGERR("Unable to process load page\n"); diff --git a/gui/pages.hpp b/gui/pages.hpp index a9cc0c1d0..c384cf0d7 100644 --- a/gui/pages.hpp +++ b/gui/pages.hpp @@ -35,7 +35,7 @@ class HardwareKeyboard; class Page { public: - Page(xml_node<>* page, xml_node<>* templates = NULL); + Page(xml_node<>* page, std::vector<xml_node<>*> *templates = NULL); virtual ~Page(); std::string GetName(void) { return mName; } @@ -61,7 +61,7 @@ protected: COLOR mBackground; protected: - bool ProcessNode(xml_node<>* page, xml_node<>* templates = NULL, int depth = 0); + bool ProcessNode(xml_node<>* page, std::vector<xml_node<>*> *templates = NULL, int depth = 0); }; class PageSet @@ -72,6 +72,7 @@ public: public: int Load(ZipArchive* package); + int CheckInclude(ZipArchive* package, xml_document<> *parentDoc); Page* FindPage(std::string name); int SetPage(std::string page); @@ -91,7 +92,7 @@ public: int NotifyVarChange(std::string varName, std::string value); protected: - int LoadPages(xml_node<>* pages, xml_node<>* templates = NULL); + int LoadPages(xml_node<>* pages); int LoadVariables(xml_node<>* vars); protected: @@ -99,6 +100,7 @@ protected: xml_document<> mDoc; ResourceManager* mResources; std::vector<Page*> mPages; + std::vector<xml_node<>*> templates; Page* mCurrentPage; Page* mOverlayPage; // This is a special case, used for "locking" the screen }; diff --git a/gui/resources.cpp b/gui/resources.cpp index 7a50a899b..8d430b1ec 100644 --- a/gui/resources.cpp +++ b/gui/resources.cpp @@ -183,6 +183,11 @@ Resource* ResourceManager::FindResource(std::string name) ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip) { + LoadResources(resList, pZip); +} + +void ResourceManager::LoadResources(xml_node<>* resList, ZipArchive* pZip) +{ xml_node<>* child; if (!resList) diff --git a/gui/resources.hpp b/gui/resources.hpp index bef97dd88..874836e52 100644 --- a/gui/resources.hpp +++ b/gui/resources.hpp @@ -81,6 +81,7 @@ class ResourceManager public: ResourceManager(xml_node<>* resList, ZipArchive* pZip); virtual ~ResourceManager(); + void LoadResources(xml_node<>* resList, ZipArchive* pZip); public: Resource* FindResource(std::string name); |