diff options
Diffstat (limited to 'gui/devices')
490 files changed, 50760 insertions, 0 deletions
diff --git a/gui/devices/1024x600/res/fonts/Roboto-Regular-20.dat b/gui/devices/1024x600/res/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100755 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/1024x600/res/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/1024x600/res/images/back-icon.png b/gui/devices/1024x600/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..1096c9090 --- /dev/null +++ b/gui/devices/1024x600/res/images/back-icon.png diff --git a/gui/devices/1024x600/res/images/background.jpg b/gui/devices/1024x600/res/images/background.jpg Binary files differnew file mode 100644 index 000000000..2ac48e0aa --- /dev/null +++ b/gui/devices/1024x600/res/images/background.jpg diff --git a/gui/devices/1024x600/res/images/button.png b/gui/devices/1024x600/res/images/button.png Binary files differnew file mode 100644 index 000000000..6ae29aebf --- /dev/null +++ b/gui/devices/1024x600/res/images/button.png diff --git a/gui/devices/1024x600/res/images/checkbox_checked.png b/gui/devices/1024x600/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3447349cf --- /dev/null +++ b/gui/devices/1024x600/res/images/checkbox_checked.png diff --git a/gui/devices/1024x600/res/images/checkbox_empty.png b/gui/devices/1024x600/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..f5f35d8d1 --- /dev/null +++ b/gui/devices/1024x600/res/images/checkbox_empty.png diff --git a/gui/devices/1024x600/res/images/console-icon.png b/gui/devices/1024x600/res/images/console-icon.png Binary files differnew file mode 100644 index 000000000..91a727d40 --- /dev/null +++ b/gui/devices/1024x600/res/images/console-icon.png diff --git a/gui/devices/1024x600/res/images/console-toggle.png b/gui/devices/1024x600/res/images/console-toggle.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/1024x600/res/images/console-toggle.png diff --git a/gui/devices/1024x600/res/images/curtain.jpg b/gui/devices/1024x600/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..bb66e994f --- /dev/null +++ b/gui/devices/1024x600/res/images/curtain.jpg diff --git a/gui/devices/1024x600/res/images/file.png b/gui/devices/1024x600/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/1024x600/res/images/file.png diff --git a/gui/devices/1024x600/res/images/folder.png b/gui/devices/1024x600/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/1024x600/res/images/folder.png diff --git a/gui/devices/1024x600/res/images/home-icon.png b/gui/devices/1024x600/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..e42d774b1 --- /dev/null +++ b/gui/devices/1024x600/res/images/home-icon.png diff --git a/gui/devices/1024x600/res/images/indeterminate001.png b/gui/devices/1024x600/res/images/indeterminate001.png Binary files differnew file mode 100755 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/1024x600/res/images/indeterminate001.png diff --git a/gui/devices/1024x600/res/images/indeterminate002.png b/gui/devices/1024x600/res/images/indeterminate002.png Binary files differnew file mode 100755 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/1024x600/res/images/indeterminate002.png diff --git a/gui/devices/1024x600/res/images/indeterminate003.png b/gui/devices/1024x600/res/images/indeterminate003.png Binary files differnew file mode 100755 index 000000000..670286743 --- /dev/null +++ b/gui/devices/1024x600/res/images/indeterminate003.png diff --git a/gui/devices/1024x600/res/images/indeterminate004.png b/gui/devices/1024x600/res/images/indeterminate004.png Binary files differnew file mode 100755 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/1024x600/res/images/indeterminate004.png diff --git a/gui/devices/1024x600/res/images/indeterminate005.png b/gui/devices/1024x600/res/images/indeterminate005.png Binary files differnew file mode 100755 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/1024x600/res/images/indeterminate005.png diff --git a/gui/devices/1024x600/res/images/indeterminate006.png b/gui/devices/1024x600/res/images/indeterminate006.png Binary files differnew file mode 100755 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/1024x600/res/images/indeterminate006.png diff --git a/gui/devices/1024x600/res/images/keyboard1.png b/gui/devices/1024x600/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..c2aa0a08d --- /dev/null +++ b/gui/devices/1024x600/res/images/keyboard1.png diff --git a/gui/devices/1024x600/res/images/keyboard2.png b/gui/devices/1024x600/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..885114530 --- /dev/null +++ b/gui/devices/1024x600/res/images/keyboard2.png diff --git a/gui/devices/1024x600/res/images/keyboard3.png b/gui/devices/1024x600/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..5c99fadab --- /dev/null +++ b/gui/devices/1024x600/res/images/keyboard3.png diff --git a/gui/devices/1024x600/res/images/keyboard4.png b/gui/devices/1024x600/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..30bae1484 --- /dev/null +++ b/gui/devices/1024x600/res/images/keyboard4.png diff --git a/gui/devices/1024x600/res/images/medium-button.png b/gui/devices/1024x600/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..77dc54072 --- /dev/null +++ b/gui/devices/1024x600/res/images/medium-button.png diff --git a/gui/devices/1024x600/res/images/mediumwide-button.png b/gui/devices/1024x600/res/images/mediumwide-button.png Binary files differnew file mode 100644 index 000000000..b2b7d4de9 --- /dev/null +++ b/gui/devices/1024x600/res/images/mediumwide-button.png diff --git a/gui/devices/1024x600/res/images/minus-button.png b/gui/devices/1024x600/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..5a49c758e --- /dev/null +++ b/gui/devices/1024x600/res/images/minus-button.png diff --git a/gui/devices/1024x600/res/images/plus-button.png b/gui/devices/1024x600/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..da1326c92 --- /dev/null +++ b/gui/devices/1024x600/res/images/plus-button.png diff --git a/gui/devices/1024x600/res/images/progress_empty.png b/gui/devices/1024x600/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/1024x600/res/images/progress_empty.png diff --git a/gui/devices/1024x600/res/images/progress_fill.png b/gui/devices/1024x600/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/1024x600/res/images/progress_fill.png diff --git a/gui/devices/1024x600/res/images/radio_empty.png b/gui/devices/1024x600/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/1024x600/res/images/radio_empty.png diff --git a/gui/devices/1024x600/res/images/radio_selected.png b/gui/devices/1024x600/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/1024x600/res/images/radio_selected.png diff --git a/gui/devices/1024x600/res/images/slider-touch.png b/gui/devices/1024x600/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..d8647b8a6 --- /dev/null +++ b/gui/devices/1024x600/res/images/slider-touch.png diff --git a/gui/devices/1024x600/res/images/slider-used.png b/gui/devices/1024x600/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..bf6cad924 --- /dev/null +++ b/gui/devices/1024x600/res/images/slider-used.png diff --git a/gui/devices/1024x600/res/images/slider.png b/gui/devices/1024x600/res/images/slider.png Binary files differnew file mode 100644 index 000000000..4081ea540 --- /dev/null +++ b/gui/devices/1024x600/res/images/slider.png diff --git a/gui/devices/1024x600/res/images/sort-button.png b/gui/devices/1024x600/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..13ab929de --- /dev/null +++ b/gui/devices/1024x600/res/images/sort-button.png diff --git a/gui/devices/1024x600/res/images/unlock.png b/gui/devices/1024x600/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/1024x600/res/images/unlock.png diff --git a/gui/devices/1024x600/res/ui.xml b/gui/devices/1024x600/res/ui.xml new file mode 100755 index 000000000..2b7d20e2e --- /dev/null +++ b/gui/devices/1024x600/res/ui.xml @@ -0,0 +1,3910 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="1024" height="600" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-20" /> + <resource name="base" type="image" filename="background.jpg" /> + <resource name="main_button" type="image" filename="button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="console_button" type="image" filename="console-toggle" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="23" /> + <variable name="col2_x" value="269" /> + <variable name="col3_x" value="515" /> + <variable name="col4_x" value="761" /> + <variable name="row1_y" value="127" /> + <variable name="row2_y" value="388" /> + <variable name="col_center_x" value="392" /> + <variable name="center_x" value="512" /> + <variable name="screen_width" value="1024" /> + <variable name="screen_height" value="600" /> + <variable name="col_progressbar_x" value="386" /> + <variable name="row_progressbar_y" value="540" /> + <variable name="col1_medium_x" value="257" /> + <variable name="col2_medium_x" value="387" /> + <variable name="col3_medium_x" value="517" /> + <variable name="col4_medium_x" value="647" /> + <variable name="row1_medium_y" value="105" /> + <variable name="row2_medium_y" value="200" /> + <variable name="row3_medium_y" value="245" /> + <variable name="row4_medium_y" value="440" /> + <variable name="row5_medium_y" value="405" /> + <variable name="row1_text_y" value="58" /> + <variable name="row2_text_y" value="105" /> + <variable name="row3_text_y" value="140" /> + <variable name="row4_text_y" value="170" /> + <variable name="row5_text_y" value="200" /> + <variable name="row6_text_y" value="230" /> + <variable name="row7_text_y" value="260" /> + <variable name="row8_text_y" value="290" /> + <variable name="row9_text_y" value="320" /> + <variable name="row10_text_y" value="350" /> + <variable name="row11_text_y" value="380" /> + <variable name="row12_text_y" value="410" /> + <variable name="row13_text_y" value="440" /> + <variable name="row14_text_y" value="470" /> + <variable name="row15_text_y" value="500" /> + <variable name="row16_text_y" value="530" /> + <variable name="row17_text_y" value="560" /> + <variable name="row18_text_y" value="590" /> + <variable name="row_offsetmedium_y" value="465" /> + <variable name="home_button_x" value="813" /> + <variable name="home_button_y" value="5" /> + <variable name="back_button_x" value="883" /> + <variable name="back_button_y" value="5" /> + <variable name="console_button_x" value="953" /> + <variable name="console_button_y" value="5" /> + <variable name="nandcheck_col1" value="150" /> + <variable name="nandcheck_col2" value="450" /> + <variable name="nandcheck_row1" value="150" /> + <variable name="nandcheck_row2" value="195" /> + <variable name="nandcheck_row3" value="240" /> + <variable name="nandcheck_row4" value="285" /> + <variable name="nandcheck_row5" value="330" /> + <variable name="nandcheck_row6" value="375" /> + <variable name="nandcheck_row7" value="410" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#A0A0A0" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="slider_x" value="307" /> + <variable name="slider_y" value="470" /> + <variable name="slider_text_y" value="520" /> + <variable name="sort_text_x" value="270" /> + <variable name="sort_asc_text_y" value="510" /> + <variable name="sort_asc_button_y" value="505" /> + <variable name="sort_desc_text_y" value="545" /> + <variable name="sort_desc_button_y" value="542" /> + <variable name="sort_col1_button_x" value="440" /> + <variable name="sort_col2_button_x" value="510" /> + <variable name="sort_col3_button_x" value="580" /> + <variable name="col1_sdext_x" value="370" /> + <variable name="col2_sdext_x" value="600" /> + <variable name="row1_sdext_y" value="115" /> + <variable name="row2_sdext_y" value="180" /> + <variable name="row_extsize_y" value="115" /> + <variable name="row_swapsize_y" value="180" /> + <variable name="input_x" value="28" /> + <variable name="input_width" value="944" /> + <variable name="input_height" value="30" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="25" /> + <variable name="console_width" value="974" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_folder_x" value="28" /> + <variable name="fileselector_folder_width" value="282" /> + <variable name="fileselector_folderonly_width" value="460" /> + <variable name="fileselector_file_x" value="317" /> + <variable name="fileselector_file_width" value="682" /> + <variable name="fileselector_install_y" value="120" /> + <variable name="fileselector_install_height" value="382" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="32" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="24" /> + <variable name="fastscroll_recth" value="40" /> + <variable name="zipstorage_text_y" value="88" /> + <variable name="listbox_x" value="269" /> + <variable name="listbox_y" value="90" /> + <variable name="listbox_width" value="460" /> + <variable name="listbox_tz_height" value="290" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="280" /> + <variable name="lock_x" value="312" /> + <variable name="lock_y" value="184" /> + <variable name="filemanager_select_x" value="761" /> + <variable name="filemanager_select_y" value="495" /> + <variable name="backup_name_text_y" value="440" /> + <variable name="backup_name_button_y" value="240" /> + <variable name="col_right_x" value="996" /> + <variable name="cancel_button_y" value="220" /> + <variable name="terminal_console_y" value="0" /> + <variable name="terminal_console_height" value="300" /> + <variable name="terminal_text_y" value="307" /> + <variable name="terminal_button_y" value="298" /> + <variable name="terminal_input_width" value="775" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="512" /> + <variable name="button_fill_main_width" value="486" /> + <variable name="button_fill_main_height" value="150" /> + <variable name="button_fill_half_height" value="50" /> + <variable name="button_fill_quarter_height" value="30" /> + <variable name="button_full_center_x" value="256" /> + <variable name="backup_list_x" value="23" /> + <variable name="backup_list_y" value="105" /> + <variable name="backup_list_width" value="486" /> + <variable name="backup_list_height" value="360" /> + <variable name="backup_storage_y" value="250" /> + <variable name="backup_encrypt_y" value="310" /> + <variable name="restore_list_y" value="140" /> + <variable name="restore_list_height" value="320" /> + <variable name="mount_list_height" value="400" /> + <variable name="mount_storage_row" value="500" /> + <variable name="wipe_list_height" value="300" /> + <variable name="wipe_button_y" value="190" /> + <variable name="slidervalue_x" value="256" /> + <variable name="slidervalue_w" value="512" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="2" /> + <variable name="slidervalue_padding" value="0" /> + <variable name="slidervalue_sliderw" value="10" /> + <variable name="slidervalue_sliderh" value="50" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="base" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="5" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="30" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery Level: %tw_battery%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="450" y="30" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="550" y="30" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="flash_zip_console"> + <object type="console"> + <placement x="%console_x%" y="85" w="%console_width%" h="340" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="200" w="%console_width%" h="265" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> + <placement x="%console_x%" y="75" w="%console_width%" h="497" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="341" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="65" width="92" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="104:c:8" /> + <row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" /> + <row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" /> + <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" /> + </layout1> + <layout2> + <keysize height="65" width="92" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="104:c:8" /> + <row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" /> + <row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" /> + <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" /> + </layout2> + <layout3> + <keysize height="65" width="92" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" /> + <row2 key01="138:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" /> + <row3 key01="102:layout4" key02="91:<" key03="91:>" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" /> + <row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" /> + </layout3> + <layout4> + <keysize height="65" width="92" /> + <row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" /> + <row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" /> + <row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" /> + <row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " /> + </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>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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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="%listbox_x%" y="%row2_text_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="font" 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="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="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" /> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%col_center_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=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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="%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="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></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="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="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> + + <page name="fixsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/1024x768/res/fonts/Roboto-Regular-20.dat b/gui/devices/1024x768/res/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100755 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/1024x768/res/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/1024x768/res/images/back-icon.png b/gui/devices/1024x768/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..1096c9090 --- /dev/null +++ b/gui/devices/1024x768/res/images/back-icon.png diff --git a/gui/devices/1024x768/res/images/background.jpg b/gui/devices/1024x768/res/images/background.jpg Binary files differnew file mode 100644 index 000000000..2ac48e0aa --- /dev/null +++ b/gui/devices/1024x768/res/images/background.jpg diff --git a/gui/devices/1024x768/res/images/button.png b/gui/devices/1024x768/res/images/button.png Binary files differnew file mode 100644 index 000000000..6ae29aebf --- /dev/null +++ b/gui/devices/1024x768/res/images/button.png diff --git a/gui/devices/1024x768/res/images/checkbox_checked.png b/gui/devices/1024x768/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3447349cf --- /dev/null +++ b/gui/devices/1024x768/res/images/checkbox_checked.png diff --git a/gui/devices/1024x768/res/images/checkbox_empty.png b/gui/devices/1024x768/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..f5f35d8d1 --- /dev/null +++ b/gui/devices/1024x768/res/images/checkbox_empty.png diff --git a/gui/devices/1024x768/res/images/console-icon.png b/gui/devices/1024x768/res/images/console-icon.png Binary files differnew file mode 100644 index 000000000..91a727d40 --- /dev/null +++ b/gui/devices/1024x768/res/images/console-icon.png diff --git a/gui/devices/1024x768/res/images/console-toggle.png b/gui/devices/1024x768/res/images/console-toggle.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/1024x768/res/images/console-toggle.png diff --git a/gui/devices/1024x768/res/images/curtain.jpg b/gui/devices/1024x768/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..38cc331ba --- /dev/null +++ b/gui/devices/1024x768/res/images/curtain.jpg diff --git a/gui/devices/1024x768/res/images/file.png b/gui/devices/1024x768/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/1024x768/res/images/file.png diff --git a/gui/devices/1024x768/res/images/folder.png b/gui/devices/1024x768/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/1024x768/res/images/folder.png diff --git a/gui/devices/1024x768/res/images/home-icon.png b/gui/devices/1024x768/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..e42d774b1 --- /dev/null +++ b/gui/devices/1024x768/res/images/home-icon.png diff --git a/gui/devices/1024x768/res/images/indeterminate001.png b/gui/devices/1024x768/res/images/indeterminate001.png Binary files differnew file mode 100755 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/1024x768/res/images/indeterminate001.png diff --git a/gui/devices/1024x768/res/images/indeterminate002.png b/gui/devices/1024x768/res/images/indeterminate002.png Binary files differnew file mode 100755 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/1024x768/res/images/indeterminate002.png diff --git a/gui/devices/1024x768/res/images/indeterminate003.png b/gui/devices/1024x768/res/images/indeterminate003.png Binary files differnew file mode 100755 index 000000000..670286743 --- /dev/null +++ b/gui/devices/1024x768/res/images/indeterminate003.png diff --git a/gui/devices/1024x768/res/images/indeterminate004.png b/gui/devices/1024x768/res/images/indeterminate004.png Binary files differnew file mode 100755 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/1024x768/res/images/indeterminate004.png diff --git a/gui/devices/1024x768/res/images/indeterminate005.png b/gui/devices/1024x768/res/images/indeterminate005.png Binary files differnew file mode 100755 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/1024x768/res/images/indeterminate005.png diff --git a/gui/devices/1024x768/res/images/indeterminate006.png b/gui/devices/1024x768/res/images/indeterminate006.png Binary files differnew file mode 100755 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/1024x768/res/images/indeterminate006.png diff --git a/gui/devices/1024x768/res/images/keyboard1.png b/gui/devices/1024x768/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..1c262e683 --- /dev/null +++ b/gui/devices/1024x768/res/images/keyboard1.png diff --git a/gui/devices/1024x768/res/images/keyboard2.png b/gui/devices/1024x768/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..140503b57 --- /dev/null +++ b/gui/devices/1024x768/res/images/keyboard2.png diff --git a/gui/devices/1024x768/res/images/keyboard3.png b/gui/devices/1024x768/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..bb8f58d4c --- /dev/null +++ b/gui/devices/1024x768/res/images/keyboard3.png diff --git a/gui/devices/1024x768/res/images/keyboard4.png b/gui/devices/1024x768/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..f3b444565 --- /dev/null +++ b/gui/devices/1024x768/res/images/keyboard4.png diff --git a/gui/devices/1024x768/res/images/medium-button.png b/gui/devices/1024x768/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..77dc54072 --- /dev/null +++ b/gui/devices/1024x768/res/images/medium-button.png diff --git a/gui/devices/1024x768/res/images/mediumwide-button.png b/gui/devices/1024x768/res/images/mediumwide-button.png Binary files differnew file mode 100644 index 000000000..b2b7d4de9 --- /dev/null +++ b/gui/devices/1024x768/res/images/mediumwide-button.png diff --git a/gui/devices/1024x768/res/images/minus-button.png b/gui/devices/1024x768/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..5a49c758e --- /dev/null +++ b/gui/devices/1024x768/res/images/minus-button.png diff --git a/gui/devices/1024x768/res/images/plus-button.png b/gui/devices/1024x768/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..da1326c92 --- /dev/null +++ b/gui/devices/1024x768/res/images/plus-button.png diff --git a/gui/devices/1024x768/res/images/progress_empty.png b/gui/devices/1024x768/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/1024x768/res/images/progress_empty.png diff --git a/gui/devices/1024x768/res/images/progress_fill.png b/gui/devices/1024x768/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/1024x768/res/images/progress_fill.png diff --git a/gui/devices/1024x768/res/images/radio_empty.png b/gui/devices/1024x768/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/1024x768/res/images/radio_empty.png diff --git a/gui/devices/1024x768/res/images/radio_selected.png b/gui/devices/1024x768/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/1024x768/res/images/radio_selected.png diff --git a/gui/devices/1024x768/res/images/slider-touch.png b/gui/devices/1024x768/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..d8647b8a6 --- /dev/null +++ b/gui/devices/1024x768/res/images/slider-touch.png diff --git a/gui/devices/1024x768/res/images/slider-used.png b/gui/devices/1024x768/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..bf6cad924 --- /dev/null +++ b/gui/devices/1024x768/res/images/slider-used.png diff --git a/gui/devices/1024x768/res/images/slider.png b/gui/devices/1024x768/res/images/slider.png Binary files differnew file mode 100644 index 000000000..4081ea540 --- /dev/null +++ b/gui/devices/1024x768/res/images/slider.png diff --git a/gui/devices/1024x768/res/images/sort-button.png b/gui/devices/1024x768/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..13ab929de --- /dev/null +++ b/gui/devices/1024x768/res/images/sort-button.png diff --git a/gui/devices/1024x768/res/images/unlock.png b/gui/devices/1024x768/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/1024x768/res/images/unlock.png diff --git a/gui/devices/1024x768/res/ui.xml b/gui/devices/1024x768/res/ui.xml new file mode 100644 index 000000000..b625174a4 --- /dev/null +++ b/gui/devices/1024x768/res/ui.xml @@ -0,0 +1,3910 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="1024" height="768" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-20" /> + <resource name="base" type="image" filename="background.jpg" /> + <resource name="main_button" type="image" filename="button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="console_button" type="image" filename="console-toggle" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="23" /> + <variable name="col2_x" value="269" /> + <variable name="col3_x" value="515" /> + <variable name="col4_x" value="761" /> + <variable name="row1_y" value="127" /> + <variable name="row2_y" value="388" /> + <variable name="col_center_x" value="392" /> + <variable name="center_x" value="512" /> + <variable name="screen_width" value="1024" /> + <variable name="screen_height" value="768" /> + <variable name="col_progressbar_x" value="386" /> + <variable name="row_progressbar_y" value="700" /> + <variable name="col1_medium_x" value="257" /> + <variable name="col2_medium_x" value="387" /> + <variable name="col3_medium_x" value="517" /> + <variable name="col4_medium_x" value="647" /> + <variable name="row1_medium_y" value="105" /> + <variable name="row2_medium_y" value="245" /> + <variable name="row3_medium_y" value="245" /> + <variable name="row4_medium_y" value="450" /> + <variable name="row5_medium_y" value="405" /> + <variable name="row1_text_y" value="58" /> + <variable name="row2_text_y" value="105" /> + <variable name="row3_text_y" value="140" /> + <variable name="row4_text_y" value="170" /> + <variable name="row5_text_y" value="200" /> + <variable name="row6_text_y" value="230" /> + <variable name="row7_text_y" value="260" /> + <variable name="row8_text_y" value="290" /> + <variable name="row9_text_y" value="320" /> + <variable name="row10_text_y" value="350" /> + <variable name="row11_text_y" value="380" /> + <variable name="row12_text_y" value="410" /> + <variable name="row13_text_y" value="440" /> + <variable name="row14_text_y" value="470" /> + <variable name="row15_text_y" value="500" /> + <variable name="row16_text_y" value="530" /> + <variable name="row17_text_y" value="560" /> + <variable name="row18_text_y" value="590" /> + <variable name="row_offsetmedium_y" value="465" /> + <variable name="home_button_x" value="813" /> + <variable name="home_button_y" value="5" /> + <variable name="back_button_x" value="883" /> + <variable name="back_button_y" value="5" /> + <variable name="console_button_x" value="953" /> + <variable name="console_button_y" value="5" /> + <variable name="nandcheck_col1" value="150" /> + <variable name="nandcheck_col2" value="450" /> + <variable name="nandcheck_row1" value="150" /> + <variable name="nandcheck_row2" value="200" /> + <variable name="nandcheck_row3" value="250" /> + <variable name="nandcheck_row4" value="300" /> + <variable name="nandcheck_row5" value="350" /> + <variable name="nandcheck_row6" value="400" /> + <variable name="nandcheck_row7" value="450" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#A0A0A0" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="slider_x" value="307" /> + <variable name="slider_y" value="600" /> + <variable name="slider_text_y" value="650" /> + <variable name="sort_text_x" value="270" /> + <variable name="sort_asc_text_y" value="655" /> + <variable name="sort_asc_button_y" value="650" /> + <variable name="sort_desc_text_y" value="700" /> + <variable name="sort_desc_button_y" value="695" /> + <variable name="sort_col1_button_x" value="440" /> + <variable name="sort_col2_button_x" value="510" /> + <variable name="sort_col3_button_x" value="580" /> + <variable name="col1_sdext_x" value="370" /> + <variable name="col2_sdext_x" value="600" /> + <variable name="row1_sdext_y" value="115" /> + <variable name="row2_sdext_y" value="180" /> + <variable name="row_extsize_y" value="115" /> + <variable name="row_swapsize_y" value="180" /> + <variable name="input_x" value="28" /> + <variable name="input_width" value="944" /> + <variable name="input_height" value="30" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="25" /> + <variable name="console_width" value="974" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_folder_x" value="28" /> + <variable name="fileselector_folder_width" value="282" /> + <variable name="fileselector_folderonly_width" value="460" /> + <variable name="fileselector_file_x" value="317" /> + <variable name="fileselector_file_width" value="682" /> + <variable name="fileselector_install_y" value="120" /> + <variable name="fileselector_install_height" value="510" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="32" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="24" /> + <variable name="fastscroll_recth" value="40" /> + <variable name="zipstorage_text_y" value="88" /> + <variable name="listbox_x" value="269" /> + <variable name="listbox_y" value="90" /> + <variable name="listbox_width" value="460" /> + <variable name="listbox_tz_height" value="290" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="280" /> + <variable name="lock_x" value="312" /> + <variable name="lock_y" value="184" /> + <variable name="filemanager_select_x" value="761" /> + <variable name="filemanager_select_y" value="620" /> + <variable name="backup_name_text_y" value="440" /> + <variable name="backup_name_button_y" value="240" /> + <variable name="col_right_x" value="996" /> + <variable name="cancel_button_y" value="240" /> + <variable name="terminal_console_y" value="0" /> + <variable name="terminal_console_height" value="362" /> + <variable name="terminal_text_y" value="368" /> + <variable name="terminal_button_y" value="358" /> + <variable name="terminal_input_width" value="775" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="512" /> + <variable name="button_fill_main_width" value="486" /> + <variable name="button_fill_main_height" value="150" /> + <variable name="button_fill_half_height" value="50" /> + <variable name="button_fill_quarter_height" value="30" /> + <variable name="button_full_center_x" value="256" /> + <variable name="backup_list_x" value="23" /> + <variable name="backup_list_y" value="105" /> + <variable name="backup_list_width" value="486" /> + <variable name="backup_list_height" value="450" /> + <variable name="backup_storage_y" value="250" /> + <variable name="backup_encrypt_y" value="310" /> + <variable name="restore_list_y" value="140" /> + <variable name="restore_list_height" value="400" /> + <variable name="mount_list_height" value="500" /> + <variable name="mount_storage_row" value="500" /> + <variable name="wipe_list_height" value="400" /> + <variable name="wipe_button_y" value="190" /> + <variable name="slidervalue_x" value="256" /> + <variable name="slidervalue_w" value="512" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="2" /> + <variable name="slidervalue_padding" value="0" /> + <variable name="slidervalue_sliderw" value="10" /> + <variable name="slidervalue_sliderh" value="50" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="base" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="5" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="30" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery Level: %tw_battery%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="450" y="30" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="550" y="30" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="flash_zip_console"> + <object type="console"> + <placement x="%console_x%" y="85" w="%console_width%" h="430" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="200" w="%console_width%" h="380" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> + <placement x="%console_x%" y="75" w="%console_width%" h="665" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="408" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="90" width="85" /> + <row1 key01="80:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="94:c:8" /> + <row2 key01="115:layout3" key02="83:a" key03="83:s" key04="83:d" key05="83:f" key06="83:g" key07="83:h" key08="83:j" key09="83:k" key10="83:l" key11="162:action" /> + <row3 key01="140:layout2" key02="82:z" key03="82:x" key04="82:c" key05="82:v" key06="82:b" key07="82:n" key08="82:m" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout2" /> + <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" /> + </layout1> + <layout2> + <keysize height="90" width="85" /> + <row1 key01="80:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="94:c:8" /> + <row2 key01="115:layout3" key02="83:A" key03="83:S" key04="83:D" key05="83:F" key06="83:G" key07="83:H" key08="83:J" key09="83:K" key10="83:L" key11="162:action" /> + <row3 key01="140:layout1" key02="82:Z" key03="82:X" key04="82:C" key05="82:V" key06="82:B" key07="82:N" key08="82:M" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout1" /> + <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" /> + </layout2> + <layout3> + <keysize height="90" width="85" /> + <row1 key01="80:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="94:c:8" /> + <row2 key01="115:layout1" key02="83:#" key03="83:$" key04="83:%" key05="83:&" key06="83:*" key07="83:-" key08="83:+" key09="83:(" key10="83:)" key11="162:action" /> + <row3 key01="140:layout4" key02="82:<" key03="82:>" key04="82:=" key05="82:'" key06="82:;" key07="82:," key08="82:." key09="82:!" key10="82:?" key11="144:layout4" /> + <row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" /> + </layout3> + <layout4> + <keysize height="90" width="85" /> + <row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" /> + <row2 key01="115:layout1" key02="83:" key03="83:" key04="83:" key05="83:" key06="83:^" key07="83:" key08="83:" key09="83:{" key10="83:}" key11="162:action" /> + <row3 key01="140:layout3" key02="82:\" key03="82:" key04="82:" key05="82:" key06="82:" key07="82:[" key08="82:]" key09="82:!" key10="82:?" key11="144:layout3" /> + <row4 key01="320:" key02="385: " /> + </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>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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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="%listbox_x%" y="%row2_text_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="font" 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="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="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" /> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%col_center_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=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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="%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="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></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="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="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> + + <page name="fixsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/1080x1920/res/fonts/Roboto-Condensed-40.dat b/gui/devices/1080x1920/res/fonts/Roboto-Condensed-40.dat Binary files differnew file mode 100644 index 000000000..ff23add82 --- /dev/null +++ b/gui/devices/1080x1920/res/fonts/Roboto-Condensed-40.dat diff --git a/gui/devices/1080x1920/res/images/back-icon.png b/gui/devices/1080x1920/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..85c6a5d68 --- /dev/null +++ b/gui/devices/1080x1920/res/images/back-icon.png diff --git a/gui/devices/1080x1920/res/images/checkbox_checked.png b/gui/devices/1080x1920/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..65d0b34da --- /dev/null +++ b/gui/devices/1080x1920/res/images/checkbox_checked.png diff --git a/gui/devices/1080x1920/res/images/checkbox_empty.png b/gui/devices/1080x1920/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..89b4c9627 --- /dev/null +++ b/gui/devices/1080x1920/res/images/checkbox_empty.png diff --git a/gui/devices/1080x1920/res/images/curtain.jpg b/gui/devices/1080x1920/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..269941d5e --- /dev/null +++ b/gui/devices/1080x1920/res/images/curtain.jpg diff --git a/gui/devices/1080x1920/res/images/file.png b/gui/devices/1080x1920/res/images/file.png Binary files differnew file mode 100644 index 000000000..a69b61996 --- /dev/null +++ b/gui/devices/1080x1920/res/images/file.png diff --git a/gui/devices/1080x1920/res/images/folder.png b/gui/devices/1080x1920/res/images/folder.png Binary files differnew file mode 100644 index 000000000..fbea7a970 --- /dev/null +++ b/gui/devices/1080x1920/res/images/folder.png diff --git a/gui/devices/1080x1920/res/images/home-icon.png b/gui/devices/1080x1920/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..d6bc73d82 --- /dev/null +++ b/gui/devices/1080x1920/res/images/home-icon.png diff --git a/gui/devices/1080x1920/res/images/indeterminate001.png b/gui/devices/1080x1920/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..a205e91aa --- /dev/null +++ b/gui/devices/1080x1920/res/images/indeterminate001.png diff --git a/gui/devices/1080x1920/res/images/indeterminate002.png b/gui/devices/1080x1920/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..f777408be --- /dev/null +++ b/gui/devices/1080x1920/res/images/indeterminate002.png diff --git a/gui/devices/1080x1920/res/images/indeterminate003.png b/gui/devices/1080x1920/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..cbb597482 --- /dev/null +++ b/gui/devices/1080x1920/res/images/indeterminate003.png diff --git a/gui/devices/1080x1920/res/images/indeterminate004.png b/gui/devices/1080x1920/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..5ff77341d --- /dev/null +++ b/gui/devices/1080x1920/res/images/indeterminate004.png diff --git a/gui/devices/1080x1920/res/images/indeterminate005.png b/gui/devices/1080x1920/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..7cc9abb4f --- /dev/null +++ b/gui/devices/1080x1920/res/images/indeterminate005.png diff --git a/gui/devices/1080x1920/res/images/indeterminate006.png b/gui/devices/1080x1920/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..9eed17600 --- /dev/null +++ b/gui/devices/1080x1920/res/images/indeterminate006.png diff --git a/gui/devices/1080x1920/res/images/keyboard1.png b/gui/devices/1080x1920/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..79a8b69cb --- /dev/null +++ b/gui/devices/1080x1920/res/images/keyboard1.png diff --git a/gui/devices/1080x1920/res/images/keyboard2.png b/gui/devices/1080x1920/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..63a5b6a19 --- /dev/null +++ b/gui/devices/1080x1920/res/images/keyboard2.png diff --git a/gui/devices/1080x1920/res/images/keyboard3.png b/gui/devices/1080x1920/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..a646c7557 --- /dev/null +++ b/gui/devices/1080x1920/res/images/keyboard3.png diff --git a/gui/devices/1080x1920/res/images/keyboard4.png b/gui/devices/1080x1920/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..3b2905adb --- /dev/null +++ b/gui/devices/1080x1920/res/images/keyboard4.png diff --git a/gui/devices/1080x1920/res/images/medium-button.png b/gui/devices/1080x1920/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..a3bf30d58 --- /dev/null +++ b/gui/devices/1080x1920/res/images/medium-button.png diff --git a/gui/devices/1080x1920/res/images/menu-button.png b/gui/devices/1080x1920/res/images/menu-button.png Binary files differnew file mode 100644 index 000000000..36d3f0127 --- /dev/null +++ b/gui/devices/1080x1920/res/images/menu-button.png diff --git a/gui/devices/1080x1920/res/images/minus-button.png b/gui/devices/1080x1920/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..e2edbe45f --- /dev/null +++ b/gui/devices/1080x1920/res/images/minus-button.png diff --git a/gui/devices/1080x1920/res/images/plus-button.png b/gui/devices/1080x1920/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..b67d9b928 --- /dev/null +++ b/gui/devices/1080x1920/res/images/plus-button.png diff --git a/gui/devices/1080x1920/res/images/progress_empty.png b/gui/devices/1080x1920/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..d4ea0c2fe --- /dev/null +++ b/gui/devices/1080x1920/res/images/progress_empty.png diff --git a/gui/devices/1080x1920/res/images/progress_fill.png b/gui/devices/1080x1920/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..836e437ae --- /dev/null +++ b/gui/devices/1080x1920/res/images/progress_fill.png diff --git a/gui/devices/1080x1920/res/images/radio_empty.png b/gui/devices/1080x1920/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..9c2c66bb0 --- /dev/null +++ b/gui/devices/1080x1920/res/images/radio_empty.png diff --git a/gui/devices/1080x1920/res/images/radio_selected.png b/gui/devices/1080x1920/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..8d05b9d48 --- /dev/null +++ b/gui/devices/1080x1920/res/images/radio_selected.png diff --git a/gui/devices/1080x1920/res/images/slideout.png b/gui/devices/1080x1920/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..56a9ac2aa --- /dev/null +++ b/gui/devices/1080x1920/res/images/slideout.png diff --git a/gui/devices/1080x1920/res/images/slider-touch.png b/gui/devices/1080x1920/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..b3365afee --- /dev/null +++ b/gui/devices/1080x1920/res/images/slider-touch.png diff --git a/gui/devices/1080x1920/res/images/slider-used.png b/gui/devices/1080x1920/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..229d9109e --- /dev/null +++ b/gui/devices/1080x1920/res/images/slider-used.png diff --git a/gui/devices/1080x1920/res/images/slider.png b/gui/devices/1080x1920/res/images/slider.png Binary files differnew file mode 100644 index 000000000..1e034a621 --- /dev/null +++ b/gui/devices/1080x1920/res/images/slider.png diff --git a/gui/devices/1080x1920/res/images/sort-button.png b/gui/devices/1080x1920/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..c6783a15c --- /dev/null +++ b/gui/devices/1080x1920/res/images/sort-button.png diff --git a/gui/devices/1080x1920/res/images/top-bar.jpg b/gui/devices/1080x1920/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..5121a031a --- /dev/null +++ b/gui/devices/1080x1920/res/images/top-bar.jpg diff --git a/gui/devices/1080x1920/res/images/unlock.png b/gui/devices/1080x1920/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..dc3894b76 --- /dev/null +++ b/gui/devices/1080x1920/res/images/unlock.png diff --git a/gui/devices/1080x1920/res/ui.xml b/gui/devices/1080x1920/res/ui.xml new file mode 100644 index 000000000..25d3ed8ef --- /dev/null +++ b/gui/devices/1080x1920/res/ui.xml @@ -0,0 +1,3904 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="1080" height="1920" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Condensed-40" /> + <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" /> + <resource name="filelist" type="font" filename="Roboto-Condensed-40" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="10" /> + <variable name="col2_x" value="565" /> + <variable name="col_center_x" value="288" /> + <variable name="col_center_medium_x" value="414" /> + <variable name="center_x" value="540" /> + <variable name="row1_y" value="255" /> + <variable name="row2_y" value="615" /> + <variable name="row3_y" value="975" /> + <variable name="row4_y" value="1335" /> + <variable name="col1_center_x" value="179" /> + <variable name="col2_center_x" value="552" /> + <variable name="row1_text2_y" value="310" /> + <variable name="row2_text2_y" value="550" /> + <variable name="row_queue_y" value="1140" /> + <variable name="row1_header_y" value="180" /> + <variable name="row1_text_y" value="255" /> + <variable name="row2_text_y" value="330" /> + <variable name="row3_text_y" value="405" /> + <variable name="row4_text_y" value="480" /> + <variable name="row5_text_y" value="555" /> + <variable name="row6_text_y" value="630" /> + <variable name="row7_text_y" value="705" /> + <variable name="row8_text_y" value="780" /> + <variable name="row9_text_y" value="855" /> + <variable name="row10_text_y" value="930" /> + <variable name="row11_text_y" value="1005" /> + <variable name="row12_text_y" value="1080" /> + <variable name="row13_text_y" value="1155" /> + <variable name="row14_text_y" value="1230" /> + <variable name="row15_text_y" value="1305" /> + <variable name="row16_text_y" value="1380" /> + <variable name="row17_text_y" value="1455" /> + <variable name="row18_text_y" value="1530" /> + <variable name="zip_status_y" value="922" /> + <variable name="tz_selected_y" value="240" /> + <variable name="tz_set_y" value="1500" /> + <variable name="tz_current_y" value="1425" /> + <variable name="col_progressbar_x" value="351" /> + <variable name="row_progressbar_y" value="1650" /> + <variable name="col1_medium_x" value="10" /> + <variable name="col2_medium_x" value="282" /> + <variable name="col3_medium_x" value="545" /> + <variable name="col4_medium_x" value="817" /> + <variable name="row1_medium_y" value="195" /> + <variable name="row2_medium_y" value="345" /> + <variable name="row3_medium_y" value="392" /> + <variable name="row4_medium_y" value="645" /> + <variable name="row5_medium_y" value="795" /> + <variable name="row6_medium_y" value="1260" /> + <variable name="row7_medium_y" value="730" /> + <variable name="slider_x" value="101" /> + <variable name="slider_y" value="1575" /> + <variable name="slider_text_y" value="1676" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="10" /> + <variable name="home_button_y" value="1839" /> + <variable name="back_button_x" value="944" /> + <variable name="back_button_y" value="1839" /> + <variable name="sort_text_x" value="10" /> + <variable name="sort_asc_text_y" value="1635" /> + <variable name="sort_asc_button_y" value="1620" /> + <variable name="sort_desc_text_y" value="1725" /> + <variable name="sort_desc_button_y" value="1710" /> + <variable name="sort_col1_button_x" value="390" /> + <variable name="sort_col2_button_x" value="540" /> + <variable name="sort_col3_button_x" value="690" /> + <variable name="input_width" value="1060" /> + <variable name="input_height" value="75" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="4" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="1080" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="705" /> + <variable name="console_install_height" value="900" /> + <variable name="console_installdone_height" value="660" /> + <variable name="fileselector_x" value="5" /> + <variable name="fileselector_width" value="1070" /> + <variable name="fileselector_install_height" value="1170" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="4" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="3" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="48" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="90" /> + <variable name="fastscroll_linew" value="3" /> + <variable name="fastscroll_rectw" value="60" /> + <variable name="fastscroll_recth" value="105" /> + <variable name="listbox_x" value="5" /> + <variable name="listbox_width" value="1070" /> + <variable name="listbox_tz_height" value="885" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="24" /> + <variable name="sd_plus_x" value="525" /> + <variable name="sdext_text_x" value="165" /> + <variable name="sdext_text_y" value="270" /> + <variable name="sdswap_button_y" value="390" /> + <variable name="sdswap_text_x" value="165" /> + <variable name="sdswap_text_y" value="405" /> + <variable name="sdfilesystem_text_y" value="510" /> + <variable name="sdfilesystem_button_y" value="570" /> + <variable name="lock_x" value="240" /> + <variable name="lock_y" value="600" /> + <variable name="filemanager_select_x" value="840" /> + <variable name="filemanager_select_y" value="1620" /> + <variable name="backup_name_y" value="825" /> + <variable name="terminal_console_height" value="1050" /> + <variable name="terminal_text_y" value="1095" /> + <variable name="terminal_button_y" value="1050" /> + <variable name="row_dst_text_y" value="1080" /> + <variable name="row_offset_text_y" value="1155" /> + <variable name="row_offset_medium_y" value="1260" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="1060" /> + <variable name="button_fill_main_width" value="505" /> + <variable name="button_fill_main_height" value="324" /> + <variable name="button_fill_half_height" value="162" /> + <variable name="button_fill_quarter_height" value="81" /> + <variable name="backup_list_height" value="780" /> + <variable name="backup_button_row1" value="1118" /> + <variable name="backup_button_row2" value="1220" /> + <variable name="mount_list_height" value="1035" /> + <variable name="mount_storage_row" value="1240" /> + <variable name="storage_list_height" value="1000" /> + <variable name="wipe_list_height" value="1305" /> + <variable name="wipe_button_y" value="975" /> + <variable name="slidervalue_w" value="1060" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="3" /> + <variable name="slidervalue_padding" value="30" /> + <variable name="slidervalue_sliderw" value="15" /> + <variable name="slidervalue_sliderh" value="90" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="180" y="15" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="180" y="60" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="180" y="114" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="405" y="114" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%home_button_x%" y="%home_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="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="0" y="%row2_y%" w="1080" h="705" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="500" y="1841" /> + <placement x="%console_x%" y="0" w="%console_width%" h="1841" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="1200" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="161" width="108" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="162:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" /> + <row3 key01="162:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8" /> + <row4 key01="162:layout3" key02="108:c:47" key03="108:" key04="432: " key05="." key06="162:action" /> + </layout1> + <layout2> + <keysize height="161" width="108" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="162:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" /> + <row3 key01="162:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8" /> + <row4 key01="162:layout3" key02="/" key03="108:" key04="432: " key05="." key06="162:action" /> + </layout2> + <layout3> + <keysize height="161" width="108" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8" /> + <row4 key01="162:layout1" key02="," key03="108:" key04="432: " key05="." key06="162:action" /> + </layout3> + <layout4> + <keysize height="161" width="108" /> + <row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}" /> + <row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="<" key08=">" key09="162:c:8" /> + <row4 key01="162:layout1" key02="108:c:34" key03="108:" key04="432: " key05="." key06="162:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/1280x800/res/fonts/Roboto-Regular-20.dat b/gui/devices/1280x800/res/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100755 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/1280x800/res/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/1280x800/res/images/back-icon.png b/gui/devices/1280x800/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..1096c9090 --- /dev/null +++ b/gui/devices/1280x800/res/images/back-icon.png diff --git a/gui/devices/1280x800/res/images/background.jpg b/gui/devices/1280x800/res/images/background.jpg Binary files differnew file mode 100644 index 000000000..d9681c62d --- /dev/null +++ b/gui/devices/1280x800/res/images/background.jpg diff --git a/gui/devices/1280x800/res/images/button.png b/gui/devices/1280x800/res/images/button.png Binary files differnew file mode 100644 index 000000000..6ae29aebf --- /dev/null +++ b/gui/devices/1280x800/res/images/button.png diff --git a/gui/devices/1280x800/res/images/checkbox_checked.png b/gui/devices/1280x800/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3447349cf --- /dev/null +++ b/gui/devices/1280x800/res/images/checkbox_checked.png diff --git a/gui/devices/1280x800/res/images/checkbox_empty.png b/gui/devices/1280x800/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..f5f35d8d1 --- /dev/null +++ b/gui/devices/1280x800/res/images/checkbox_empty.png diff --git a/gui/devices/1280x800/res/images/console-icon.png b/gui/devices/1280x800/res/images/console-icon.png Binary files differnew file mode 100644 index 000000000..91a727d40 --- /dev/null +++ b/gui/devices/1280x800/res/images/console-icon.png diff --git a/gui/devices/1280x800/res/images/console-toggle.png b/gui/devices/1280x800/res/images/console-toggle.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/1280x800/res/images/console-toggle.png diff --git a/gui/devices/1280x800/res/images/curtain.jpg b/gui/devices/1280x800/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..7646e3ea1 --- /dev/null +++ b/gui/devices/1280x800/res/images/curtain.jpg diff --git a/gui/devices/1280x800/res/images/file.png b/gui/devices/1280x800/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/1280x800/res/images/file.png diff --git a/gui/devices/1280x800/res/images/folder.png b/gui/devices/1280x800/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/1280x800/res/images/folder.png diff --git a/gui/devices/1280x800/res/images/home-icon.png b/gui/devices/1280x800/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..e42d774b1 --- /dev/null +++ b/gui/devices/1280x800/res/images/home-icon.png diff --git a/gui/devices/1280x800/res/images/indeterminate001.png b/gui/devices/1280x800/res/images/indeterminate001.png Binary files differnew file mode 100755 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/1280x800/res/images/indeterminate001.png diff --git a/gui/devices/1280x800/res/images/indeterminate002.png b/gui/devices/1280x800/res/images/indeterminate002.png Binary files differnew file mode 100755 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/1280x800/res/images/indeterminate002.png diff --git a/gui/devices/1280x800/res/images/indeterminate003.png b/gui/devices/1280x800/res/images/indeterminate003.png Binary files differnew file mode 100755 index 000000000..670286743 --- /dev/null +++ b/gui/devices/1280x800/res/images/indeterminate003.png diff --git a/gui/devices/1280x800/res/images/indeterminate004.png b/gui/devices/1280x800/res/images/indeterminate004.png Binary files differnew file mode 100755 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/1280x800/res/images/indeterminate004.png diff --git a/gui/devices/1280x800/res/images/indeterminate005.png b/gui/devices/1280x800/res/images/indeterminate005.png Binary files differnew file mode 100755 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/1280x800/res/images/indeterminate005.png diff --git a/gui/devices/1280x800/res/images/indeterminate006.png b/gui/devices/1280x800/res/images/indeterminate006.png Binary files differnew file mode 100755 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/1280x800/res/images/indeterminate006.png diff --git a/gui/devices/1280x800/res/images/keyboard1.png b/gui/devices/1280x800/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..d75550f1f --- /dev/null +++ b/gui/devices/1280x800/res/images/keyboard1.png diff --git a/gui/devices/1280x800/res/images/keyboard2.png b/gui/devices/1280x800/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..cf2eb8f1d --- /dev/null +++ b/gui/devices/1280x800/res/images/keyboard2.png diff --git a/gui/devices/1280x800/res/images/keyboard3.png b/gui/devices/1280x800/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..c8f7b0381 --- /dev/null +++ b/gui/devices/1280x800/res/images/keyboard3.png diff --git a/gui/devices/1280x800/res/images/keyboard4.png b/gui/devices/1280x800/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..7dd3987e1 --- /dev/null +++ b/gui/devices/1280x800/res/images/keyboard4.png diff --git a/gui/devices/1280x800/res/images/medium-button.png b/gui/devices/1280x800/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..77dc54072 --- /dev/null +++ b/gui/devices/1280x800/res/images/medium-button.png diff --git a/gui/devices/1280x800/res/images/mediumwide-button.png b/gui/devices/1280x800/res/images/mediumwide-button.png Binary files differnew file mode 100644 index 000000000..b2b7d4de9 --- /dev/null +++ b/gui/devices/1280x800/res/images/mediumwide-button.png diff --git a/gui/devices/1280x800/res/images/minus-button.png b/gui/devices/1280x800/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..5a49c758e --- /dev/null +++ b/gui/devices/1280x800/res/images/minus-button.png diff --git a/gui/devices/1280x800/res/images/plus-button.png b/gui/devices/1280x800/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..da1326c92 --- /dev/null +++ b/gui/devices/1280x800/res/images/plus-button.png diff --git a/gui/devices/1280x800/res/images/progress_empty.png b/gui/devices/1280x800/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/1280x800/res/images/progress_empty.png diff --git a/gui/devices/1280x800/res/images/progress_fill.png b/gui/devices/1280x800/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/1280x800/res/images/progress_fill.png diff --git a/gui/devices/1280x800/res/images/radio_empty.png b/gui/devices/1280x800/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/1280x800/res/images/radio_empty.png diff --git a/gui/devices/1280x800/res/images/radio_selected.png b/gui/devices/1280x800/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/1280x800/res/images/radio_selected.png diff --git a/gui/devices/1280x800/res/images/slider-touch.png b/gui/devices/1280x800/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..d8647b8a6 --- /dev/null +++ b/gui/devices/1280x800/res/images/slider-touch.png diff --git a/gui/devices/1280x800/res/images/slider-used.png b/gui/devices/1280x800/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..bf6cad924 --- /dev/null +++ b/gui/devices/1280x800/res/images/slider-used.png diff --git a/gui/devices/1280x800/res/images/slider.png b/gui/devices/1280x800/res/images/slider.png Binary files differnew file mode 100644 index 000000000..4081ea540 --- /dev/null +++ b/gui/devices/1280x800/res/images/slider.png diff --git a/gui/devices/1280x800/res/images/sort-button.png b/gui/devices/1280x800/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..13ab929de --- /dev/null +++ b/gui/devices/1280x800/res/images/sort-button.png diff --git a/gui/devices/1280x800/res/images/unlock.png b/gui/devices/1280x800/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/1280x800/res/images/unlock.png diff --git a/gui/devices/1280x800/res/ui.xml b/gui/devices/1280x800/res/ui.xml new file mode 100644 index 000000000..b86f99171 --- /dev/null +++ b/gui/devices/1280x800/res/ui.xml @@ -0,0 +1,3910 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="1280" height="800" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-20" /> + <resource name="base" type="image" filename="background.jpg" /> + <resource name="main_button" type="image" filename="button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="console_button" type="image" filename="console-toggle" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="151" /> + <variable name="col2_x" value="397" /> + <variable name="col3_x" value="643" /> + <variable name="col4_x" value="889" /> + <variable name="row1_y" value="127" /> + <variable name="row2_y" value="388" /> + <variable name="col_center_x" value="520" /> + <variable name="center_x" value="640" /> + <variable name="screen_width" value="1280" /> + <variable name="screen_height" value="800" /> + <variable name="col_progressbar_x" value="514" /> + <variable name="row_progressbar_y" value="700" /> + <variable name="col1_medium_x" value="385" /> + <variable name="col2_medium_x" value="515" /> + <variable name="col3_medium_x" value="645" /> + <variable name="col4_medium_x" value="775" /> + <variable name="row1_medium_y" value="105" /> + <variable name="row2_medium_y" value="245" /> + <variable name="row3_medium_y" value="245" /> + <variable name="row4_medium_y" value="450" /> + <variable name="row5_medium_y" value="405" /> + <variable name="row1_text_y" value="58" /> + <variable name="row2_text_y" value="105" /> + <variable name="row3_text_y" value="140" /> + <variable name="row4_text_y" value="170" /> + <variable name="row5_text_y" value="200" /> + <variable name="row6_text_y" value="230" /> + <variable name="row7_text_y" value="260" /> + <variable name="row8_text_y" value="290" /> + <variable name="row9_text_y" value="320" /> + <variable name="row10_text_y" value="350" /> + <variable name="row11_text_y" value="380" /> + <variable name="row12_text_y" value="410" /> + <variable name="row13_text_y" value="440" /> + <variable name="row14_text_y" value="470" /> + <variable name="row15_text_y" value="500" /> + <variable name="row16_text_y" value="530" /> + <variable name="row17_text_y" value="560" /> + <variable name="row18_text_y" value="590" /> + <variable name="row_offsetmedium_y" value="465" /> + <variable name="home_button_x" value="1069" /> + <variable name="home_button_y" value="5" /> + <variable name="back_button_x" value="1139" /> + <variable name="back_button_y" value="5" /> + <variable name="console_button_x" value="1209" /> + <variable name="console_button_y" value="5" /> + <variable name="nandcheck_col1" value="328" /> + <variable name="nandcheck_col2" value="600" /> + <variable name="nandcheck_row1" value="150" /> + <variable name="nandcheck_row2" value="200" /> + <variable name="nandcheck_row3" value="250" /> + <variable name="nandcheck_row4" value="300" /> + <variable name="nandcheck_row5" value="350" /> + <variable name="nandcheck_row6" value="400" /> + <variable name="nandcheck_row7" value="450" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#A0A0A0" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="slider_x" value="435" /> + <variable name="slider_y" value="600" /> + <variable name="slider_text_y" value="650" /> + <variable name="sort_text_x" value="398" /> + <variable name="sort_asc_text_y" value="655" /> + <variable name="sort_asc_button_y" value="650" /> + <variable name="sort_desc_text_y" value="700" /> + <variable name="sort_desc_button_y" value="695" /> + <variable name="sort_col1_button_x" value="568" /> + <variable name="sort_col2_button_x" value="638" /> + <variable name="sort_col3_button_x" value="708" /> + <variable name="col1_sdext_x" value="508" /> + <variable name="col2_sdext_x" value="718" /> + <variable name="row1_sdext_y" value="115" /> + <variable name="row2_sdext_y" value="180" /> + <variable name="row_extsize_y" value="115" /> + <variable name="row_swapsize_y" value="180" /> + <variable name="input_x" value="28" /> + <variable name="input_width" value="1200" /> + <variable name="input_height" value="30" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="25" /> + <variable name="console_width" value="1230" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_folder_x" value="28" /> + <variable name="fileselector_folder_width" value="410" /> + <variable name="fileselector_folderonly_width" value="588" /> + <variable name="fileselector_file_x" value="445" /> + <variable name="fileselector_file_width" value="810" /> + <variable name="fileselector_install_y" value="130" /> + <variable name="fileselector_install_height" value="510" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="40" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="30" /> + <variable name="fastscroll_recth" value="50" /> + <variable name="zipstorage_text_y" value="88" /> + <variable name="listbox_x" value="397" /> + <variable name="listbox_y" value="90" /> + <variable name="listbox_width" value="588" /> + <variable name="listbox_tz_height" value="290" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="408" /> + <variable name="lock_x" value="440" /> + <variable name="lock_y" value="184" /> + <variable name="filemanager_select_x" value="1017" /> + <variable name="filemanager_select_y" value="620" /> + <variable name="backup_name_text_y" value="440" /> + <variable name="backup_name_button_y" value="240" /> + <variable name="col_right_x" value="1252" /> + <variable name="cancel_button_y" value="240" /> + <variable name="terminal_console_y" value="0" /> + <variable name="terminal_console_height" value="362" /> + <variable name="terminal_text_y" value="368" /> + <variable name="terminal_button_y" value="358" /> + <variable name="terminal_input_width" value="1031" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="640" /> + <variable name="button_fill_main_width" value="609" /> + <variable name="button_fill_main_height" value="160" /> + <variable name="button_fill_half_height" value="53" /> + <variable name="button_fill_quarter_height" value="40" /> + <variable name="button_full_center_x" value="320" /> + <variable name="backup_list_x" value="28" /> + <variable name="backup_list_y" value="105" /> + <variable name="backup_list_width" value="609" /> + <variable name="backup_list_height" value="440" /> + <variable name="backup_storage_y" value="270" /> + <variable name="backup_encrypt_y" value="330" /> + <variable name="restore_list_y" value="140" /> + <variable name="restore_list_height" value="400" /> + <variable name="mount_list_height" value="600" /> + <variable name="mount_storage_row" value="550" /> + <variable name="wipe_list_height" value="420" /> + <variable name="wipe_button_y" value="250" /> + <variable name="slidervalue_x" value="320" /> + <variable name="slidervalue_w" value="640" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="2" /> + <variable name="slidervalue_padding" value="0" /> + <variable name="slidervalue_sliderw" value="15" /> + <variable name="slidervalue_sliderh" value="60" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="base" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="5" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="30" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery Level: %tw_battery%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="450" y="30" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="550" y="30" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="flash_zip_console"> + <object type="console"> + <placement x="%console_x%" y="85" w="%console_width%" h="430" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="200" w="%console_width%" h="380" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> + <placement x="%console_x%" y="75" w="%console_width%" h="665" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="438" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="91" width="106" /> + <row1 key01="102:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="118:c:8" /> + <row2 key01="142:layout3" key02="104:a" key03="104:s" key04="104:d" key05="104:f" key06="104:g" key07="104:h" key08="104:j" key09="104:k" key10="104:l" key11="202:action" /> + <row3 key01="176:layout2" key02="103:z" key03="103:x" key04="103:c" key05="103:v" key06="103:b" key07="103:n" key08="103:m" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout2" /> + <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" /> + </layout1> + <layout2> + <keysize height="90" width="106" /> + <row1 key01="102:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="118:c:8" /> + <row2 key01="142:layout3" key02="104:A" key03="104:S" key04="104:D" key05="104:F" key06="104:G" key07="104:H" key08="104:J" key09="104:K" key10="104:L" key11="202:action" /> + <row3 key01="176:layout1" key02="103:Z" key03="103:X" key04="103:C" key05="103:V" key06="103:B" key07="103:N" key08="103:M" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout1" /> + <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" /> + </layout2> + <layout3> + <keysize height="90" width="106" /> + <row1 key01="102:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="118:c:8" /> + <row2 key01="142:layout1" key02="104:#" key03="104:$" key04="104:%" key05="104:&" key06="104:*" key07="104:-" key08="104:+" key09="104:(" key10="104:)" key11="202:action" /> + <row3 key01="176:layout4" key02="103:<" key03="103:>" key04="103:=" key05="103:'" key06="103:;" key07="103:," key08="103:." key09="103:!" key10="103:?" key11="177:layout4" /> + <row4 key01="190:" key02="/" key03="104:@" key04="480: " key05="102:c:34" key06="_" /> + </layout3> + <layout4> + <keysize height="91" width="106" /> + <row1 key01="102:" key02="~" key03="`" key04="|" key05="106:" key06="106:" key07="106:" key08="106:" key09="106:" key10="106:" key11="106:" key12="118:c:8" /> + <row2 key01="142:layout1" key02="104:" key03="104:" key04="104:" key05="104:" key06="104:^" key07="104:" key08="104:" key09="104:{" key10="104:}" key11="202:action" /> + <row3 key01="176:layout3" key02="103:\" key03="103:" key04="103:" key05="103:" key06="103:" key07="103:[" key08="103:]" key09="103:!" key10="103:?" key11="177:layout3" /> + <row4 key01="400:" key02="480: " /> + </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>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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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="%listbox_x%" y="%row2_text_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="font" 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="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="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" /> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%col_center_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=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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="%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="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></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="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="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> + + <page name="fixsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/1920x1200/res/fonts/Roboto-Regular-30.dat b/gui/devices/1920x1200/res/fonts/Roboto-Regular-30.dat Binary files differnew file mode 100644 index 000000000..9f8082ccc --- /dev/null +++ b/gui/devices/1920x1200/res/fonts/Roboto-Regular-30.dat diff --git a/gui/devices/1920x1200/res/images/back-icon.png b/gui/devices/1920x1200/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..94dd69951 --- /dev/null +++ b/gui/devices/1920x1200/res/images/back-icon.png diff --git a/gui/devices/1920x1200/res/images/background.jpg b/gui/devices/1920x1200/res/images/background.jpg Binary files differnew file mode 100644 index 000000000..9e61f9e3b --- /dev/null +++ b/gui/devices/1920x1200/res/images/background.jpg diff --git a/gui/devices/1920x1200/res/images/button.png b/gui/devices/1920x1200/res/images/button.png Binary files differnew file mode 100644 index 000000000..e1b49fc57 --- /dev/null +++ b/gui/devices/1920x1200/res/images/button.png diff --git a/gui/devices/1920x1200/res/images/checkbox_checked.png b/gui/devices/1920x1200/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..cac9a30ee --- /dev/null +++ b/gui/devices/1920x1200/res/images/checkbox_checked.png diff --git a/gui/devices/1920x1200/res/images/checkbox_empty.png b/gui/devices/1920x1200/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..ee01fa852 --- /dev/null +++ b/gui/devices/1920x1200/res/images/checkbox_empty.png diff --git a/gui/devices/1920x1200/res/images/console-icon.png b/gui/devices/1920x1200/res/images/console-icon.png Binary files differnew file mode 100644 index 000000000..c1f4d7165 --- /dev/null +++ b/gui/devices/1920x1200/res/images/console-icon.png diff --git a/gui/devices/1920x1200/res/images/console-toggle.png b/gui/devices/1920x1200/res/images/console-toggle.png Binary files differnew file mode 100644 index 000000000..2495165fc --- /dev/null +++ b/gui/devices/1920x1200/res/images/console-toggle.png diff --git a/gui/devices/1920x1200/res/images/curtain.jpg b/gui/devices/1920x1200/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..409664c6c --- /dev/null +++ b/gui/devices/1920x1200/res/images/curtain.jpg diff --git a/gui/devices/1920x1200/res/images/file.png b/gui/devices/1920x1200/res/images/file.png Binary files differnew file mode 100644 index 000000000..c77a1f483 --- /dev/null +++ b/gui/devices/1920x1200/res/images/file.png diff --git a/gui/devices/1920x1200/res/images/folder.png b/gui/devices/1920x1200/res/images/folder.png Binary files differnew file mode 100644 index 000000000..2770f0a24 --- /dev/null +++ b/gui/devices/1920x1200/res/images/folder.png diff --git a/gui/devices/1920x1200/res/images/home-icon.png b/gui/devices/1920x1200/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..8c1dde3c5 --- /dev/null +++ b/gui/devices/1920x1200/res/images/home-icon.png diff --git a/gui/devices/1920x1200/res/images/indeterminate001.png b/gui/devices/1920x1200/res/images/indeterminate001.png Binary files differnew file mode 100755 index 000000000..ea2b5e2ab --- /dev/null +++ b/gui/devices/1920x1200/res/images/indeterminate001.png diff --git a/gui/devices/1920x1200/res/images/indeterminate002.png b/gui/devices/1920x1200/res/images/indeterminate002.png Binary files differnew file mode 100755 index 000000000..f59b298ee --- /dev/null +++ b/gui/devices/1920x1200/res/images/indeterminate002.png diff --git a/gui/devices/1920x1200/res/images/indeterminate003.png b/gui/devices/1920x1200/res/images/indeterminate003.png Binary files differnew file mode 100755 index 000000000..cc6d7b535 --- /dev/null +++ b/gui/devices/1920x1200/res/images/indeterminate003.png diff --git a/gui/devices/1920x1200/res/images/indeterminate004.png b/gui/devices/1920x1200/res/images/indeterminate004.png Binary files differnew file mode 100755 index 000000000..9483117d6 --- /dev/null +++ b/gui/devices/1920x1200/res/images/indeterminate004.png diff --git a/gui/devices/1920x1200/res/images/indeterminate005.png b/gui/devices/1920x1200/res/images/indeterminate005.png Binary files differnew file mode 100755 index 000000000..850de0f88 --- /dev/null +++ b/gui/devices/1920x1200/res/images/indeterminate005.png diff --git a/gui/devices/1920x1200/res/images/indeterminate006.png b/gui/devices/1920x1200/res/images/indeterminate006.png Binary files differnew file mode 100755 index 000000000..e5194b39d --- /dev/null +++ b/gui/devices/1920x1200/res/images/indeterminate006.png diff --git a/gui/devices/1920x1200/res/images/keyboard1.png b/gui/devices/1920x1200/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..8ee241671 --- /dev/null +++ b/gui/devices/1920x1200/res/images/keyboard1.png diff --git a/gui/devices/1920x1200/res/images/keyboard2.png b/gui/devices/1920x1200/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..259bfecf5 --- /dev/null +++ b/gui/devices/1920x1200/res/images/keyboard2.png diff --git a/gui/devices/1920x1200/res/images/keyboard3.png b/gui/devices/1920x1200/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..aaebd3084 --- /dev/null +++ b/gui/devices/1920x1200/res/images/keyboard3.png diff --git a/gui/devices/1920x1200/res/images/keyboard4.png b/gui/devices/1920x1200/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..1fe856566 --- /dev/null +++ b/gui/devices/1920x1200/res/images/keyboard4.png diff --git a/gui/devices/1920x1200/res/images/medium-button.png b/gui/devices/1920x1200/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..b4eb49324 --- /dev/null +++ b/gui/devices/1920x1200/res/images/medium-button.png diff --git a/gui/devices/1920x1200/res/images/mediumwide-button.png b/gui/devices/1920x1200/res/images/mediumwide-button.png Binary files differnew file mode 100644 index 000000000..3ca436eb2 --- /dev/null +++ b/gui/devices/1920x1200/res/images/mediumwide-button.png diff --git a/gui/devices/1920x1200/res/images/minus-button.png b/gui/devices/1920x1200/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..8dc17bfe6 --- /dev/null +++ b/gui/devices/1920x1200/res/images/minus-button.png diff --git a/gui/devices/1920x1200/res/images/plus-button.png b/gui/devices/1920x1200/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..05b34392c --- /dev/null +++ b/gui/devices/1920x1200/res/images/plus-button.png diff --git a/gui/devices/1920x1200/res/images/progress_empty.png b/gui/devices/1920x1200/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..ff02df652 --- /dev/null +++ b/gui/devices/1920x1200/res/images/progress_empty.png diff --git a/gui/devices/1920x1200/res/images/progress_fill.png b/gui/devices/1920x1200/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..84a582885 --- /dev/null +++ b/gui/devices/1920x1200/res/images/progress_fill.png diff --git a/gui/devices/1920x1200/res/images/radio_empty.png b/gui/devices/1920x1200/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..c77130019 --- /dev/null +++ b/gui/devices/1920x1200/res/images/radio_empty.png diff --git a/gui/devices/1920x1200/res/images/radio_selected.png b/gui/devices/1920x1200/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..d3b22789a --- /dev/null +++ b/gui/devices/1920x1200/res/images/radio_selected.png diff --git a/gui/devices/1920x1200/res/images/slider-touch.png b/gui/devices/1920x1200/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..8a21a3b74 --- /dev/null +++ b/gui/devices/1920x1200/res/images/slider-touch.png diff --git a/gui/devices/1920x1200/res/images/slider-used.png b/gui/devices/1920x1200/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..4963ff5ae --- /dev/null +++ b/gui/devices/1920x1200/res/images/slider-used.png diff --git a/gui/devices/1920x1200/res/images/slider.png b/gui/devices/1920x1200/res/images/slider.png Binary files differnew file mode 100644 index 000000000..dfeea6eda --- /dev/null +++ b/gui/devices/1920x1200/res/images/slider.png diff --git a/gui/devices/1920x1200/res/images/sort-button.png b/gui/devices/1920x1200/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..b1f82182f --- /dev/null +++ b/gui/devices/1920x1200/res/images/sort-button.png diff --git a/gui/devices/1920x1200/res/images/unlock.png b/gui/devices/1920x1200/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..6ca95d125 --- /dev/null +++ b/gui/devices/1920x1200/res/images/unlock.png diff --git a/gui/devices/1920x1200/res/ui.xml b/gui/devices/1920x1200/res/ui.xml new file mode 100644 index 000000000..157005f1a --- /dev/null +++ b/gui/devices/1920x1200/res/ui.xml @@ -0,0 +1,3910 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="1920" height="1200" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-30" /> + <resource name="base" type="image" filename="background.jpg" /> + <resource name="main_button" type="image" filename="button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="console_button" type="image" filename="console-toggle" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="210" /> + <variable name="col2_x" value="590" /> + <variable name="col3_x" value="970" /> + <variable name="col4_x" value="1350" /> + <variable name="row1_y" value="220" /> + <variable name="row2_y" value="680" /> + <variable name="col_center_x" value="780" /> + <variable name="center_x" value="960" /> + <variable name="screen_width" value="1920" /> + <variable name="screen_height" value="1200" /> + <variable name="col_progressbar_x" value="771" /> + <variable name="row_progressbar_y" value="1100" /> + <variable name="col1_medium_x" value="570" /> + <variable name="col2_medium_x" value="770" /> + <variable name="col3_medium_x" value="970" /> + <variable name="col4_medium_x" value="1170" /> + <variable name="row1_medium_y" value="105" /> + <variable name="row2_medium_y" value="365" /> + <variable name="row3_medium_y" value="245" /> + <variable name="row4_medium_y" value="720" /> + <variable name="row5_medium_y" value="700" /> + <variable name="row1_text_y" value="90" /> + <variable name="row2_text_y" value="140" /> + <variable name="row3_text_y" value="190" /> + <variable name="row4_text_y" value="240" /> + <variable name="row5_text_y" value="290" /> + <variable name="row6_text_y" value="340" /> + <variable name="row7_text_y" value="390" /> + <variable name="row8_text_y" value="440" /> + <variable name="row9_text_y" value="490" /> + <variable name="row10_text_y" value="540" /> + <variable name="row11_text_y" value="590" /> + <variable name="row12_text_y" value="640" /> + <variable name="row13_text_y" value="690" /> + <variable name="row14_text_y" value="740" /> + <variable name="row15_text_y" value="790" /> + <variable name="row16_text_y" value="840" /> + <variable name="row17_text_y" value="890" /> + <variable name="row18_text_y" value="940" /> + <variable name="row_offsetmedium_y" value="775" /> + <variable name="home_button_x" value="1620" /> + <variable name="home_button_y" value="5" /> + <variable name="back_button_x" value="1720" /> + <variable name="back_button_y" value="5" /> + <variable name="console_button_x" value="1820" /> + <variable name="console_button_y" value="5" /> + <variable name="nandcheck_col1" value="328" /> + <variable name="nandcheck_col2" value="800" /> + <variable name="nandcheck_row1" value="200" /> + <variable name="nandcheck_row2" value="275" /> + <variable name="nandcheck_row3" value="350" /> + <variable name="nandcheck_row4" value="425" /> + <variable name="nandcheck_row5" value="500" /> + <variable name="nandcheck_row6" value="575" /> + <variable name="nandcheck_row7" value="650" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#A0A0A0" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="slider_x" value="630" /> + <variable name="slider_y" value="1000" /> + <variable name="slider_text_y" value="1075" /> + <variable name="sort_text_x" value="400" /> + <variable name="sort_asc_text_y" value="1045" /> + <variable name="sort_asc_button_y" value="1040" /> + <variable name="sort_desc_text_y" value="1105" /> + <variable name="sort_desc_button_y" value="1100" /> + <variable name="sort_col1_button_x" value="670" /> + <variable name="sort_col2_button_x" value="770" /> + <variable name="sort_col3_button_x" value="870" /> + <variable name="col1_sdext_x" value="720" /> + <variable name="col2_sdext_x" value="1100" /> + <variable name="row1_sdext_y" value="180" /> + <variable name="row2_sdext_y" value="265" /> + <variable name="row_extsize_y" value="175" /> + <variable name="row_swapsize_y" value="260" /> + <variable name="input_x" value="50" /> + <variable name="input_width" value="1820" /> + <variable name="input_height" value="50" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="50" /> + <variable name="console_width" value="1820" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_folder_x" value="50" /> + <variable name="fileselector_folder_width" value="610" /> + <variable name="fileselector_folderonly_width" value="800" /> + <variable name="fileselector_file_x" value="700" /> + <variable name="fileselector_file_width" value="1170" /> + <variable name="fileselector_install_y" value="205" /> + <variable name="fileselector_install_height" value="800" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="60" /> + <variable name="fastscroll_linew" value="3" /> + <variable name="fastscroll_rectw" value="45" /> + <variable name="fastscroll_recth" value="75" /> + <variable name="zipstorage_text_y" value="130" /> + <variable name="listbox_x" value="560" /> + <variable name="listbox_y" value="150" /> + <variable name="listbox_width" value="800" /> + <variable name="listbox_tz_height" value="400" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="408" /> + <variable name="lock_x" value="660" /> + <variable name="lock_y" value="300" /> + <variable name="filemanager_select_x" value="1500" /> + <variable name="filemanager_select_y" value="980" /> + <variable name="backup_name_text_y" value="440" /> + <variable name="backup_name_button_y" value="390" /> + <variable name="col_right_x" value="1870" /> + <variable name="cancel_button_y" value="240" /> + <variable name="terminal_console_y" value="0" /> + <variable name="terminal_console_height" value="610" /> + <variable name="terminal_text_y" value="624" /> + <variable name="terminal_button_y" value="615" /> + <variable name="terminal_input_width" value="1550" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="960" /> + <variable name="button_fill_main_width" value="900" /> + <variable name="button_fill_main_height" value="240" /> + <variable name="button_fill_half_height" value="80" /> + <variable name="button_fill_quarter_height" value="60" /> + <variable name="button_full_center_x" value="480" /> + <variable name="backup_list_x" value="50" /> + <variable name="backup_list_y" value="160" /> + <variable name="backup_list_width" value="900" /> + <variable name="backup_list_height" value="660" /> + <variable name="backup_storage_y" value="405" /> + <variable name="backup_encrypt_y" value="495" /> + <variable name="restore_list_y" value="190" /> + <variable name="restore_list_height" value="600" /> + <variable name="mount_list_height" value="900" /> + <variable name="mount_storage_row" value="850" /> + <variable name="wipe_list_height" value="850" /> + <variable name="wipe_button_y" value="375" /> + <variable name="slidervalue_x" value="540" /> + <variable name="slidervalue_w" value="960" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="3" /> + <variable name="slidervalue_padding" value="0" /> + <variable name="slidervalue_sliderw" value="20" /> + <variable name="slidervalue_sliderh" value="80" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="base" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="5" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="40" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery Level: %tw_battery%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="600" y="40" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="850" y="40" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="6" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="flash_zip_console"> + <object type="console"> + <placement x="%console_x%" y="140" w="%console_width%" h="700" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="400" w="%console_width%" h="600" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> + <placement x="%console_x%" y="150" w="%console_width%" h="1000" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="684" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="129" width="159" /> + <row1 key01="153:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="177:c:8" /> + <row2 key01="213:layout3" key02="156:a" key03="156:s" key04="156:d" key05="156:f" key06="156:g" key07="156:h" key08="156:j" key09="k" key10="156:l" key11="303:action" /> + <row3 key01="269:layout2" key02="154:z" key03="154:x" key04="154:c" key05="154:v" key06="154:b" key07="154:n" key08="154:m" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout2" /> + <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" /> + </layout1> + <layout2> + <keysize height="129" width="159" /> + <row1 key01="153:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="177:c:8" /> + <row2 key01="213:layout3" key02="156:A" key03="156:S" key04="156:D" key05="156:F" key06="156:G" key07="156:H" key08="156:J" key09="156:K" key10="156:L" key11="303:action" /> + <row3 key01="269:layout1" key02="154:Z" key03="154:X" key04="154:C" key05="154:V" key06="154:B" key07="154:N" key08="154:M" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout1" /> + <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" /> + </layout2> + <layout3> + <keysize height="129" width="159" /> + <row1 key01="153:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="177:c:8" /> + <row2 key01="213:layout1" key02="156:#" key03="156:$" key04="156:%" key05="156:&" key06="156:*" key07="156:-" key08="156:+" key09="156:(" key10="156:)" key11="303:action" /> + <row3 key01="269:layout4" key02="154:<" key03="154:>" key04="154:=" key05="154:'" key06="154:;" key07="154:," key08="154:." key09="154:!" key10="154:?" key11="265:layout4" /> + <row4 key01="282:" key02="/" key03="@" key04="720: " key05="159:c:34" key06="_" /> + </layout3> + <layout4> + <keysize height="129" width="159" /> + <row1 key01="153:" key02="~" key03="`" key04="|" key05="159:" key06="159:" key07="159:" key08="159:" key09="159:" key10="159:" key11="159:" key12="177:c:8" /> + <row2 key01="213:layout1" key02="156:" key03="156:" key04="156:" key05="156:" key06="156:^" key07="156:" key08="156:" key09="156:{" key10="156:}" key11="303:action" /> + <row3 key01="269:layout3" key02="154:\" key03="154:" key04="154:" key05="154:" key06="154:" key07="154:[" key08="154:]" key09="154:!" key10="154:?" key11="265:layout3" /> + <row4 key01="600:" key02="720: " /> + </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>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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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="%listbox_x%" y="%row2_text_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="font" 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="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="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" /> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%col_center_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=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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="%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="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></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="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="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> + + <page name="fixsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/2560x1600/res/fonts/Roboto-Regular-40.dat b/gui/devices/2560x1600/res/fonts/Roboto-Regular-40.dat Binary files differnew file mode 100644 index 000000000..637d9fe5b --- /dev/null +++ b/gui/devices/2560x1600/res/fonts/Roboto-Regular-40.dat diff --git a/gui/devices/2560x1600/res/images/back-icon.png b/gui/devices/2560x1600/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..effe411ec --- /dev/null +++ b/gui/devices/2560x1600/res/images/back-icon.png diff --git a/gui/devices/2560x1600/res/images/background.jpg b/gui/devices/2560x1600/res/images/background.jpg Binary files differnew file mode 100644 index 000000000..3b8a71ac6 --- /dev/null +++ b/gui/devices/2560x1600/res/images/background.jpg diff --git a/gui/devices/2560x1600/res/images/button.png b/gui/devices/2560x1600/res/images/button.png Binary files differnew file mode 100644 index 000000000..4743ba5b0 --- /dev/null +++ b/gui/devices/2560x1600/res/images/button.png diff --git a/gui/devices/2560x1600/res/images/checkbox_checked.png b/gui/devices/2560x1600/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..c3ceeef0c --- /dev/null +++ b/gui/devices/2560x1600/res/images/checkbox_checked.png diff --git a/gui/devices/2560x1600/res/images/checkbox_empty.png b/gui/devices/2560x1600/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..87d6dd905 --- /dev/null +++ b/gui/devices/2560x1600/res/images/checkbox_empty.png diff --git a/gui/devices/2560x1600/res/images/console-icon.png b/gui/devices/2560x1600/res/images/console-icon.png Binary files differnew file mode 100644 index 000000000..4dd1a1415 --- /dev/null +++ b/gui/devices/2560x1600/res/images/console-icon.png diff --git a/gui/devices/2560x1600/res/images/console-toggle.png b/gui/devices/2560x1600/res/images/console-toggle.png Binary files differnew file mode 100644 index 000000000..3bf8a1ad0 --- /dev/null +++ b/gui/devices/2560x1600/res/images/console-toggle.png diff --git a/gui/devices/2560x1600/res/images/curtain.jpg b/gui/devices/2560x1600/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..e58811aab --- /dev/null +++ b/gui/devices/2560x1600/res/images/curtain.jpg diff --git a/gui/devices/2560x1600/res/images/file.png b/gui/devices/2560x1600/res/images/file.png Binary files differnew file mode 100644 index 000000000..793b61d8b --- /dev/null +++ b/gui/devices/2560x1600/res/images/file.png diff --git a/gui/devices/2560x1600/res/images/folder.png b/gui/devices/2560x1600/res/images/folder.png Binary files differnew file mode 100644 index 000000000..f3ab28fd0 --- /dev/null +++ b/gui/devices/2560x1600/res/images/folder.png diff --git a/gui/devices/2560x1600/res/images/home-icon.png b/gui/devices/2560x1600/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..692d8dda3 --- /dev/null +++ b/gui/devices/2560x1600/res/images/home-icon.png diff --git a/gui/devices/2560x1600/res/images/indeterminate001.png b/gui/devices/2560x1600/res/images/indeterminate001.png Binary files differnew file mode 100755 index 000000000..f0cb4b2f9 --- /dev/null +++ b/gui/devices/2560x1600/res/images/indeterminate001.png diff --git a/gui/devices/2560x1600/res/images/indeterminate002.png b/gui/devices/2560x1600/res/images/indeterminate002.png Binary files differnew file mode 100755 index 000000000..eba46eb5b --- /dev/null +++ b/gui/devices/2560x1600/res/images/indeterminate002.png diff --git a/gui/devices/2560x1600/res/images/indeterminate003.png b/gui/devices/2560x1600/res/images/indeterminate003.png Binary files differnew file mode 100755 index 000000000..34ef03e60 --- /dev/null +++ b/gui/devices/2560x1600/res/images/indeterminate003.png diff --git a/gui/devices/2560x1600/res/images/indeterminate004.png b/gui/devices/2560x1600/res/images/indeterminate004.png Binary files differnew file mode 100755 index 000000000..de6f4d910 --- /dev/null +++ b/gui/devices/2560x1600/res/images/indeterminate004.png diff --git a/gui/devices/2560x1600/res/images/indeterminate005.png b/gui/devices/2560x1600/res/images/indeterminate005.png Binary files differnew file mode 100755 index 000000000..d993f2c50 --- /dev/null +++ b/gui/devices/2560x1600/res/images/indeterminate005.png diff --git a/gui/devices/2560x1600/res/images/indeterminate006.png b/gui/devices/2560x1600/res/images/indeterminate006.png Binary files differnew file mode 100755 index 000000000..08ca229a7 --- /dev/null +++ b/gui/devices/2560x1600/res/images/indeterminate006.png diff --git a/gui/devices/2560x1600/res/images/keyboard1.png b/gui/devices/2560x1600/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..cef79d91c --- /dev/null +++ b/gui/devices/2560x1600/res/images/keyboard1.png diff --git a/gui/devices/2560x1600/res/images/keyboard2.png b/gui/devices/2560x1600/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..d86027907 --- /dev/null +++ b/gui/devices/2560x1600/res/images/keyboard2.png diff --git a/gui/devices/2560x1600/res/images/keyboard3.png b/gui/devices/2560x1600/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..34780976d --- /dev/null +++ b/gui/devices/2560x1600/res/images/keyboard3.png diff --git a/gui/devices/2560x1600/res/images/keyboard4.png b/gui/devices/2560x1600/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..d491625ff --- /dev/null +++ b/gui/devices/2560x1600/res/images/keyboard4.png diff --git a/gui/devices/2560x1600/res/images/medium-button.png b/gui/devices/2560x1600/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..ef731cddf --- /dev/null +++ b/gui/devices/2560x1600/res/images/medium-button.png diff --git a/gui/devices/2560x1600/res/images/mediumwide-button.png b/gui/devices/2560x1600/res/images/mediumwide-button.png Binary files differnew file mode 100644 index 000000000..94af41913 --- /dev/null +++ b/gui/devices/2560x1600/res/images/mediumwide-button.png diff --git a/gui/devices/2560x1600/res/images/minus-button.png b/gui/devices/2560x1600/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..8d343a7b3 --- /dev/null +++ b/gui/devices/2560x1600/res/images/minus-button.png diff --git a/gui/devices/2560x1600/res/images/plus-button.png b/gui/devices/2560x1600/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..cc4c70af1 --- /dev/null +++ b/gui/devices/2560x1600/res/images/plus-button.png diff --git a/gui/devices/2560x1600/res/images/progress_empty.png b/gui/devices/2560x1600/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..8f3f02a3a --- /dev/null +++ b/gui/devices/2560x1600/res/images/progress_empty.png diff --git a/gui/devices/2560x1600/res/images/progress_fill.png b/gui/devices/2560x1600/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..88d82d507 --- /dev/null +++ b/gui/devices/2560x1600/res/images/progress_fill.png diff --git a/gui/devices/2560x1600/res/images/radio_empty.png b/gui/devices/2560x1600/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..946d46d06 --- /dev/null +++ b/gui/devices/2560x1600/res/images/radio_empty.png diff --git a/gui/devices/2560x1600/res/images/radio_selected.png b/gui/devices/2560x1600/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..d68e85570 --- /dev/null +++ b/gui/devices/2560x1600/res/images/radio_selected.png diff --git a/gui/devices/2560x1600/res/images/slider-touch.png b/gui/devices/2560x1600/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..14c8f99ff --- /dev/null +++ b/gui/devices/2560x1600/res/images/slider-touch.png diff --git a/gui/devices/2560x1600/res/images/slider-used.png b/gui/devices/2560x1600/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..21372da20 --- /dev/null +++ b/gui/devices/2560x1600/res/images/slider-used.png diff --git a/gui/devices/2560x1600/res/images/slider.png b/gui/devices/2560x1600/res/images/slider.png Binary files differnew file mode 100644 index 000000000..ec2720095 --- /dev/null +++ b/gui/devices/2560x1600/res/images/slider.png diff --git a/gui/devices/2560x1600/res/images/sort-button.png b/gui/devices/2560x1600/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..d5770960d --- /dev/null +++ b/gui/devices/2560x1600/res/images/sort-button.png diff --git a/gui/devices/2560x1600/res/images/unlock.png b/gui/devices/2560x1600/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..a605d056a --- /dev/null +++ b/gui/devices/2560x1600/res/images/unlock.png diff --git a/gui/devices/2560x1600/res/ui.xml b/gui/devices/2560x1600/res/ui.xml new file mode 100644 index 000000000..3d6b65f5c --- /dev/null +++ b/gui/devices/2560x1600/res/ui.xml @@ -0,0 +1,3910 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="2560" height="1600" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-40" /> + <resource name="base" type="image" filename="background.jpg" /> + <resource name="main_button" type="image" filename="button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="console_button" type="image" filename="console-toggle" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="260" /> + <variable name="col2_x" value="770" /> + <variable name="col3_x" value="1310" /> + <variable name="col4_x" value="1820" /> + <variable name="row1_y" value="300" /> + <variable name="row2_y" value="1000" /> + <variable name="col_center_x" value="1040" /> + <variable name="center_x" value="1280" /> + <variable name="screen_width" value="1920" /> + <variable name="screen_height" value="1200" /> + <variable name="col_progressbar_x" value="1028" /> + <variable name="row_progressbar_y" value="1500" /> + <variable name="col1_medium_x" value="755" /> + <variable name="col2_medium_x" value="1025" /> + <variable name="col3_medium_x" value="1310" /> + <variable name="col4_medium_x" value="1580" /> + <variable name="row1_medium_y" value="105" /> + <variable name="row2_medium_y" value="500" /> + <variable name="row3_medium_y" value="245" /> + <variable name="row4_medium_y" value="1000" /> + <variable name="row5_medium_y" value="950" /> + <variable name="row1_text_y" value="120" /> + <variable name="row2_text_y" value="195" /> + <variable name="row3_text_y" value="270" /> + <variable name="row4_text_y" value="345" /> + <variable name="row5_text_y" value="420" /> + <variable name="row6_text_y" value="495" /> + <variable name="row7_text_y" value="570" /> + <variable name="row8_text_y" value="645" /> + <variable name="row9_text_y" value="720" /> + <variable name="row10_text_y" value="795" /> + <variable name="row11_text_y" value="870" /> + <variable name="row12_text_y" value="945" /> + <variable name="row13_text_y" value="1020" /> + <variable name="row14_text_y" value="1095" /> + <variable name="row15_text_y" value="1170" /> + <variable name="row16_text_y" value="1240" /> + <variable name="row17_text_y" value="1310" /> + <variable name="row18_text_y" value="1395" /> + <variable name="row_offsetmedium_y" value="1100" /> + <variable name="home_button_x" value="2200" /> + <variable name="home_button_y" value="15" /> + <variable name="back_button_x" value="2320" /> + <variable name="back_button_y" value="15" /> + <variable name="console_button_x" value="2440" /> + <variable name="console_button_y" value="15" /> + <variable name="nandcheck_col1" value="328" /> + <variable name="nandcheck_col2" value="800" /> + <variable name="nandcheck_row1" value="260" /> + <variable name="nandcheck_row2" value="360" /> + <variable name="nandcheck_row3" value="460" /> + <variable name="nandcheck_row4" value="560" /> + <variable name="nandcheck_row5" value="660" /> + <variable name="nandcheck_row6" value="760" /> + <variable name="nandcheck_row7" value="860" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#A0A0A0" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="slider_x" value="841" /> + <variable name="slider_y" value="1335" /> + <variable name="slider_text_y" value="1435" /> + <variable name="sort_text_x" value="800" /> + <variable name="sort_asc_text_y" value="1410" /> + <variable name="sort_asc_button_y" value="1400" /> + <variable name="sort_desc_text_y" value="1490" /> + <variable name="sort_desc_button_y" value="1480" /> + <variable name="sort_col1_button_x" value="1200" /> + <variable name="sort_col2_button_x" value="1350" /> + <variable name="sort_col3_button_x" value="1500" /> + <variable name="col1_sdext_x" value="960" /> + <variable name="col2_sdext_x" value="1600" /> + <variable name="row1_sdext_y" value="180" /> + <variable name="row2_sdext_y" value="265" /> + <variable name="row_extsize_y" value="175" /> + <variable name="row_swapsize_y" value="260" /> + <variable name="input_x" value="50" /> + <variable name="input_width" value="2460" /> + <variable name="input_height" value="65" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="50" /> + <variable name="console_width" value="2460" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_folder_x" value="70" /> + <variable name="fileselector_folder_width" value="910" /> + <variable name="fileselector_folderonly_width" value="1200" /> + <variable name="fileselector_file_x" value="1000" /> + <variable name="fileselector_file_width" value="1500" /> + <variable name="fileselector_install_y" value="290" /> + <variable name="fileselector_install_height" value="1100" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="80" /> + <variable name="fastscroll_linew" value="4" /> + <variable name="fastscroll_rectw" value="60" /> + <variable name="fastscroll_recth" value="100" /> + <variable name="zipstorage_text_y" value="190" /> + <variable name="listbox_x" value="680" /> + <variable name="listbox_y" value="195" /> + <variable name="listbox_width" value="1200" /> + <variable name="listbox_tz_height" value="650" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="408" /> + <variable name="lock_x" value="880" /> + <variable name="lock_y" value="300" /> + <variable name="filemanager_select_x" value="2000" /> + <variable name="filemanager_select_y" value="1360" /> + <variable name="backup_name_text_y" value="440" /> + <variable name="backup_name_button_y" value="950" /> + <variable name="col_right_x" value="1870" /> + <variable name="cancel_button_y" value="430" /> + <variable name="terminal_console_y" value="0" /> + <variable name="terminal_console_height" value="810" /> + <variable name="terminal_text_y" value="837" /> + <variable name="terminal_button_y" value="815" /> + <variable name="terminal_input_width" value="2100" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="1280" /> + <variable name="button_fill_main_width" value="1200" /> + <variable name="button_fill_main_height" value="320" /> + <variable name="button_fill_half_height" value="107" /> + <variable name="button_fill_quarter_height" value="80" /> + <variable name="button_full_center_x" value="640" /> + <variable name="backup_list_x" value="50" /> + <variable name="backup_list_y" value="210" /> + <variable name="backup_list_width" value="1200" /> + <variable name="backup_list_height" value="880" /> + <variable name="backup_storage_y" value="540" /> + <variable name="backup_encrypt_y" value="650" /> + <variable name="restore_list_y" value="280" /> + <variable name="restore_list_height" value="800" /> + <variable name="mount_list_height" value="1200" /> + <variable name="mount_storage_row" value="1100" /> + <variable name="wipe_list_height" value="1100" /> + <variable name="wipe_button_y" value="500" /> + <variable name="slidervalue_x" value="640" /> + <variable name="slidervalue_w" value="1280" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="4" /> + <variable name="slidervalue_padding" value="0" /> + <variable name="slidervalue_sliderw" value="30" /> + <variable name="slidervalue_sliderh" value="90" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="base" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="400" y="8" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="400" y="55" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery Level: %tw_battery%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="900" y="55" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="1100" y="55" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="flash_zip_console"> + <object type="console"> + <placement x="%console_x%" y="195" w="%console_width%" h="950" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="400" w="%console_width%" h="800" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> + <placement x="%console_x%" y="195" w="%console_width%" h="1335" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="912" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="172" width="212" /> + <row1 key01="204:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="236:c:8" /> + <row2 key01="286:layout3" key02="208:a" key03="208:s" key04="208:d" key05="208:f" key06="208:g" key07="208:h" key08="208:j" key09="208:k" key10="208:l" key11="402:action" /> + <row3 key01="354:layout2" key02="206:z" key03="206:x" key04="206:c" key05="206:v" key06="206:b" key07="206:n" key08="206:m" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout2" /> + <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="212:-" long05="212:_" /> + </layout1> + <layout2> + <keysize height="172" width="212" /> + <row1 key01="204:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="236:c:8" /> + <row2 key01="286:layout3" key02="208:A" key03="208:S" key04="208:D" key05="208:F" key06="208:G" key07="208:H" key08="208:J" key09="208:K" key10="208:L" key11="402:action" /> + <row3 key01="354:layout1" key02="206:Z" key03="206:X" key04="206:C" key05="206:V" key06="206:B" key07="206:N" key08="206:M" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout1" /> + <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="-" long05="_" /> + </layout2> + <layout3> + <keysize height="172" width="212" /> + <row1 key01="204:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="236:c:8" /> + <row2 key01="286:layout1" key02="208:#" key03="208:$" key04="208:%" key05="208:&" key06="208:*" key07="208:-" key08="208:+" key09="208:(" key10="208:)" key11="402:action" /> + <row3 key01="354:layout4" key02="206:<" key03="206:>" key04="206:=" key05="206:'" key06="206:;" key07="206:," key08="206:." key09="206:!" key10="206:?" key11="352:layout4" /> + <row4 key01="354:" key02="206:/" key03="206:@" key04="1030: " key05="206:c:34" key06="206:_" /> + </layout3> + <layout4> + <keysize height="172" width="212" /> + <row1 key01="204:" key02="~" key03="`" key04="|" key05="212:" key06="212:" key07="212:" key08="212:" key09="212:" key10="212:" key11="212:" key12="236:c:8" /> + <row2 key01="286:layout1" key02="208:" key03="208:" key04="208:" key05="208:" key06="208:^" key07="208:" key08="208:" key09="208:{" key10="208:}" key11="402:action" /> + <row3 key01="354:layout3" key02="206:\" key03="206:" key04="206:" key05="206:" key06="206:" key07="206:[" key08="206:]" key09="206:!" key10="206:?" key11="352:layout3" /> + <row4 key01="766:" key02="1030: " /> + </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>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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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="%listbox_x%" y="%row2_text_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="font" 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="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="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" /> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%col_center_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=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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="%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="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></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="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="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> + + <page name="fixsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/320x480/res/fonts/Roboto-Condensed-14.dat b/gui/devices/320x480/res/fonts/Roboto-Condensed-14.dat Binary files differnew file mode 100644 index 000000000..f7b174cb1 --- /dev/null +++ b/gui/devices/320x480/res/fonts/Roboto-Condensed-14.dat diff --git a/gui/devices/320x480/res/fonts/Roboto-Condensed-16.dat b/gui/devices/320x480/res/fonts/Roboto-Condensed-16.dat Binary files differnew file mode 100644 index 000000000..19c11470d --- /dev/null +++ b/gui/devices/320x480/res/fonts/Roboto-Condensed-16.dat diff --git a/gui/devices/320x480/res/images/android.png b/gui/devices/320x480/res/images/android.png Binary files differnew file mode 100644 index 000000000..0ccd02cd0 --- /dev/null +++ b/gui/devices/320x480/res/images/android.png diff --git a/gui/devices/320x480/res/images/back-icon.png b/gui/devices/320x480/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..26778d941 --- /dev/null +++ b/gui/devices/320x480/res/images/back-icon.png diff --git a/gui/devices/320x480/res/images/checkbox_checked.png b/gui/devices/320x480/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..620fee88d --- /dev/null +++ b/gui/devices/320x480/res/images/checkbox_checked.png diff --git a/gui/devices/320x480/res/images/checkbox_empty.png b/gui/devices/320x480/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..fa86e0dce --- /dev/null +++ b/gui/devices/320x480/res/images/checkbox_empty.png diff --git a/gui/devices/320x480/res/images/curtain.jpg b/gui/devices/320x480/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..63c961998 --- /dev/null +++ b/gui/devices/320x480/res/images/curtain.jpg diff --git a/gui/devices/320x480/res/images/file.png b/gui/devices/320x480/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/320x480/res/images/file.png diff --git a/gui/devices/320x480/res/images/folder.png b/gui/devices/320x480/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/320x480/res/images/folder.png diff --git a/gui/devices/320x480/res/images/hdpi-medium-button.png b/gui/devices/320x480/res/images/hdpi-medium-button.png Binary files differnew file mode 100644 index 000000000..cb223b1c9 --- /dev/null +++ b/gui/devices/320x480/res/images/hdpi-medium-button.png diff --git a/gui/devices/320x480/res/images/hdpi-menu-button.png b/gui/devices/320x480/res/images/hdpi-menu-button.png Binary files differnew file mode 100644 index 000000000..1fa62cf1d --- /dev/null +++ b/gui/devices/320x480/res/images/hdpi-menu-button.png diff --git a/gui/devices/320x480/res/images/hdpi-minus-button.png b/gui/devices/320x480/res/images/hdpi-minus-button.png Binary files differnew file mode 100644 index 000000000..025b379fa --- /dev/null +++ b/gui/devices/320x480/res/images/hdpi-minus-button.png diff --git a/gui/devices/320x480/res/images/hdpi-plus-button.png b/gui/devices/320x480/res/images/hdpi-plus-button.png Binary files differnew file mode 100644 index 000000000..f567e1d6e --- /dev/null +++ b/gui/devices/320x480/res/images/hdpi-plus-button.png diff --git a/gui/devices/320x480/res/images/hdpi-small-button.png b/gui/devices/320x480/res/images/hdpi-small-button.png Binary files differnew file mode 100644 index 000000000..369409811 --- /dev/null +++ b/gui/devices/320x480/res/images/hdpi-small-button.png diff --git a/gui/devices/320x480/res/images/hdpi-sort-button.png b/gui/devices/320x480/res/images/hdpi-sort-button.png Binary files differnew file mode 100644 index 000000000..3662f2385 --- /dev/null +++ b/gui/devices/320x480/res/images/hdpi-sort-button.png diff --git a/gui/devices/320x480/res/images/home-icon.png b/gui/devices/320x480/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..690bfafc5 --- /dev/null +++ b/gui/devices/320x480/res/images/home-icon.png diff --git a/gui/devices/320x480/res/images/indeterminate001.png b/gui/devices/320x480/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/320x480/res/images/indeterminate001.png diff --git a/gui/devices/320x480/res/images/indeterminate002.png b/gui/devices/320x480/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/320x480/res/images/indeterminate002.png diff --git a/gui/devices/320x480/res/images/indeterminate003.png b/gui/devices/320x480/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..670286743 --- /dev/null +++ b/gui/devices/320x480/res/images/indeterminate003.png diff --git a/gui/devices/320x480/res/images/indeterminate004.png b/gui/devices/320x480/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/320x480/res/images/indeterminate004.png diff --git a/gui/devices/320x480/res/images/indeterminate005.png b/gui/devices/320x480/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/320x480/res/images/indeterminate005.png diff --git a/gui/devices/320x480/res/images/indeterminate006.png b/gui/devices/320x480/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/320x480/res/images/indeterminate006.png diff --git a/gui/devices/320x480/res/images/keyboard1.png b/gui/devices/320x480/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..914304c93 --- /dev/null +++ b/gui/devices/320x480/res/images/keyboard1.png diff --git a/gui/devices/320x480/res/images/keyboard2.png b/gui/devices/320x480/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..4761f3a87 --- /dev/null +++ b/gui/devices/320x480/res/images/keyboard2.png diff --git a/gui/devices/320x480/res/images/keyboard3.png b/gui/devices/320x480/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..23103dc2c --- /dev/null +++ b/gui/devices/320x480/res/images/keyboard3.png diff --git a/gui/devices/320x480/res/images/keyboard4.png b/gui/devices/320x480/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..58c7289df --- /dev/null +++ b/gui/devices/320x480/res/images/keyboard4.png diff --git a/gui/devices/320x480/res/images/medium-button.png b/gui/devices/320x480/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..eee6ccedc --- /dev/null +++ b/gui/devices/320x480/res/images/medium-button.png diff --git a/gui/devices/320x480/res/images/menu-button.png b/gui/devices/320x480/res/images/menu-button.png Binary files differnew file mode 100644 index 000000000..731453b40 --- /dev/null +++ b/gui/devices/320x480/res/images/menu-button.png diff --git a/gui/devices/320x480/res/images/minus-button.png b/gui/devices/320x480/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..21cd77444 --- /dev/null +++ b/gui/devices/320x480/res/images/minus-button.png diff --git a/gui/devices/320x480/res/images/plus-button.png b/gui/devices/320x480/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..ce9ec4eba --- /dev/null +++ b/gui/devices/320x480/res/images/plus-button.png diff --git a/gui/devices/320x480/res/images/progress_empty.png b/gui/devices/320x480/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/320x480/res/images/progress_empty.png diff --git a/gui/devices/320x480/res/images/progress_fill.png b/gui/devices/320x480/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/320x480/res/images/progress_fill.png diff --git a/gui/devices/320x480/res/images/radio_empty.png b/gui/devices/320x480/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..d993c4a60 --- /dev/null +++ b/gui/devices/320x480/res/images/radio_empty.png diff --git a/gui/devices/320x480/res/images/radio_selected.png b/gui/devices/320x480/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..c89aac3d5 --- /dev/null +++ b/gui/devices/320x480/res/images/radio_selected.png diff --git a/gui/devices/320x480/res/images/slideout.png b/gui/devices/320x480/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..8974fef79 --- /dev/null +++ b/gui/devices/320x480/res/images/slideout.png diff --git a/gui/devices/320x480/res/images/slider-touch.png b/gui/devices/320x480/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..2f36fa7cc --- /dev/null +++ b/gui/devices/320x480/res/images/slider-touch.png diff --git a/gui/devices/320x480/res/images/slider-used.png b/gui/devices/320x480/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..94a09f3bd --- /dev/null +++ b/gui/devices/320x480/res/images/slider-used.png diff --git a/gui/devices/320x480/res/images/slider.png b/gui/devices/320x480/res/images/slider.png Binary files differnew file mode 100644 index 000000000..5cbb27e2f --- /dev/null +++ b/gui/devices/320x480/res/images/slider.png diff --git a/gui/devices/320x480/res/images/sort-button.png b/gui/devices/320x480/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..579c75f34 --- /dev/null +++ b/gui/devices/320x480/res/images/sort-button.png diff --git a/gui/devices/320x480/res/images/top-bar.jpg b/gui/devices/320x480/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..a0d506871 --- /dev/null +++ b/gui/devices/320x480/res/images/top-bar.jpg diff --git a/gui/devices/320x480/res/images/top-bar.png b/gui/devices/320x480/res/images/top-bar.png Binary files differnew file mode 100644 index 000000000..887f62973 --- /dev/null +++ b/gui/devices/320x480/res/images/top-bar.png diff --git a/gui/devices/320x480/res/images/unlock.png b/gui/devices/320x480/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..09e9efdb3 --- /dev/null +++ b/gui/devices/320x480/res/images/unlock.png diff --git a/gui/devices/320x480/res/ui.xml b/gui/devices/320x480/res/ui.xml new file mode 100644 index 000000000..0719a942c --- /dev/null +++ b/gui/devices/320x480/res/ui.xml @@ -0,0 +1,3891 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="320" height="480" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Condensed-16" /> + <resource name="mediumfont" type="font" filename="Roboto-Condensed-14" /> + <resource name="filelist" type="font" filename="Roboto-Condensed-14" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="8" /> + <variable name="col2_x" value="162" /> + <variable name="col_center_x" value="85" /> + <variable name="col_center_medium_x" value="122" /> + <variable name="center_x" value="160" /> + <variable name="row1_y" value="84" /> + <variable name="row2_y" value="174" /> + <variable name="row3_y" value="270" /> + <variable name="row4_y" value="366" /> + <variable name="row_queue_y" value="306" /> + <variable name="row1_header_y" value="64" /> + <variable name="row1_text_y" value="85" /> + <variable name="row2_text_y" value="104" /> + <variable name="row3_text_y" value="123" /> + <variable name="row4_text_y" value="142" /> + <variable name="row5_text_y" value="161" /> + <variable name="row6_text_y" value="180" /> + <variable name="row7_text_y" value="199" /> + <variable name="row8_text_y" value="218" /> + <variable name="row9_text_y" value="237" /> + <variable name="row10_text_y" value="256" /> + <variable name="row11_text_y" value="275" /> + <variable name="row12_text_y" value="294" /> + <variable name="row13_text_y" value="313" /> + <variable name="row14_text_y" value="332" /> + <variable name="row15_text_y" value="351" /> + <variable name="row16_text_y" value="370" /> + <variable name="row17_text_y" value="389" /> + <variable name="row18_text_y" value="408" /> + <variable name="zip_status_y" value="350" /> + <variable name="tz_selected_y" value="66" /> + <variable name="tz_set_y" value="348" /> + <variable name="tz_current_y" value="438" /> + <variable name="col_progressbar_x" value="32" /> + <variable name="row_progressbar_y" value="432" /> + <variable name="col1_medium_x" value="7" /> + <variable name="col2_medium_x" value="83" /> + <variable name="col3_medium_x" value="160" /> + <variable name="col4_medium_x" value="237" /> + <variable name="row1_medium_y" value="78" /> + <variable name="row2_medium_y" value="123" /> + <variable name="row3_medium_y" value="168" /> + <variable name="row4_medium_y" value="213" /> + <variable name="row5_medium_y" value="258" /> + <variable name="row6_medium_y" value="303" /> + <variable name="row7_medium_y" value="348" /> + <variable name="slider_x" value="39" /> + <variable name="slider_y" value="400" /> + <variable name="slider_text_y" value="425" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="7" /> + <variable name="home_button_y" value="460" /> + <variable name="back_button_x" value="275" /> + <variable name="back_button_y" value="460" /> + <variable name="sort_text_x" value="8" /> + <variable name="sort_asc_text_y" value="411" /> + <variable name="sort_asc_button_y" value="411" /> + <variable name="sort_desc_text_y" value="435" /> + <variable name="sort_desc_button_y" value="435" /> + <variable name="sort_col1_button_x" value="120" /> + <variable name="sort_col2_button_x" value="160" /> + <variable name="sort_col3_button_x" value="200" /> + <variable name="input_width" value="307" /> + <variable name="input_height" value="24" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="2" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="320" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="192" /> + <variable name="console_install_height" value="264" /> + <variable name="console_installdone_height" value="180" /> + <variable name="fileselector_x" value="3" /> + <variable name="fileselector_width" value="313" /> + <variable name="fileselector_install_height" value="284" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="2" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="1" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="12" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="27" /> + <variable name="fastscroll_linew" value="1" /> + <variable name="fastscroll_rectw" value="18" /> + <variable name="fastscroll_recth" value="31" /> + <variable name="listbox_x" value="3" /> + <variable name="listbox_width" value="313" /> + <variable name="listbox_tz_height" value="189" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="12" /> + <variable name="sd_plus_x" value="187" /> + <variable name="sdext_text_x" value="56" /> + <variable name="sdext_text_y" value="83" /> + <variable name="sdswap_button_y" value="111" /> + <variable name="sdswap_text_x" value="56" /> + <variable name="sdswap_text_y" value="110" /> + <variable name="sdfilesystem_text_y" value="144" /> + <variable name="sdfilesystem_button_y" value="168" /> + <variable name="lock_x" value="27" /> + <variable name="lock_y" value="120" /> + <variable name="filemanager_select_x" value="243" /> + <variable name="filemanager_select_y" value="414" /> + <variable name="terminal_console_height" value="220" /> + <variable name="terminal_text_y" value="225" /> + <variable name="terminal_button_y" value="220" /> + <variable name="row_dst_text_y" value="256" /> + <variable name="row_offset_text_y" value="275" /> + <variable name="row_offset_medium_y" value="303" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="304" /> + <variable name="button_fill_main_width" value="150" /> + <variable name="button_fill_main_height" value="81" /> + <variable name="button_fill_half_height" value="40" /> + <variable name="button_fill_quarter_height" value="24" /> + <variable name="backup_list_height" value="193" /> + <variable name="backup_button_row1" value="300" /> + <variable name="backup_button_row2" value="326" /> + <variable name="mount_list_height" value="270" /> + <variable name="mount_storage_row" value="340" /> + <variable name="storage_list_height" value="290" /> + <variable name="wipe_list_height" value="330" /> + <variable name="wipe_button_y" value="270" /> + <variable name="slidervalue_w" value="304" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="1" /> + <variable name="slidervalue_padding" value="8" /> + <variable name="slidervalue_sliderw" value="4" /> + <variable name="slidervalue_sliderh" value="20" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="65" y="3" /> + <text>TeamWin Recovery v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="65" y="21" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="65" y="39" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="165" y="39" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="mediumfont" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="mediumfont" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="mediumfont" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="mediumfont" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="mediumfont" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="mediumfont" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="mediumfont" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="mediumfont" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="140" y="456" /> + <placement x="%console_x%" y="0" w="%console_width%" h="456" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="253" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="52" width="32" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" /> + <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" /> + <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:a:action" /> + </layout1> + <layout2> + <keysize height="52" width="32" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" /> + <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" /> + <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:action" /> + </layout2> + <layout3> + <keysize height="52" width="32" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" /> + <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" /> + </layout3> + <layout4> + <keysize height="52" width="32" /> + <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" /> + <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" /> + <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/480x800/res/fonts/Roboto-Regular-20.dat b/gui/devices/480x800/res/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100644 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/480x800/res/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/480x800/res/images/back-icon.png b/gui/devices/480x800/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..688436eb2 --- /dev/null +++ b/gui/devices/480x800/res/images/back-icon.png diff --git a/gui/devices/480x800/res/images/checkbox_checked.png b/gui/devices/480x800/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3447349cf --- /dev/null +++ b/gui/devices/480x800/res/images/checkbox_checked.png diff --git a/gui/devices/480x800/res/images/checkbox_empty.png b/gui/devices/480x800/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..f5f35d8d1 --- /dev/null +++ b/gui/devices/480x800/res/images/checkbox_empty.png diff --git a/gui/devices/480x800/res/images/curtain.jpg b/gui/devices/480x800/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..dfd59d96b --- /dev/null +++ b/gui/devices/480x800/res/images/curtain.jpg diff --git a/gui/devices/480x800/res/images/file.png b/gui/devices/480x800/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/480x800/res/images/file.png diff --git a/gui/devices/480x800/res/images/folder.png b/gui/devices/480x800/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/480x800/res/images/folder.png diff --git a/gui/devices/480x800/res/images/home-icon.png b/gui/devices/480x800/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..551952015 --- /dev/null +++ b/gui/devices/480x800/res/images/home-icon.png diff --git a/gui/devices/480x800/res/images/indeterminate001.png b/gui/devices/480x800/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/480x800/res/images/indeterminate001.png diff --git a/gui/devices/480x800/res/images/indeterminate002.png b/gui/devices/480x800/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/480x800/res/images/indeterminate002.png diff --git a/gui/devices/480x800/res/images/indeterminate003.png b/gui/devices/480x800/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..670286743 --- /dev/null +++ b/gui/devices/480x800/res/images/indeterminate003.png diff --git a/gui/devices/480x800/res/images/indeterminate004.png b/gui/devices/480x800/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/480x800/res/images/indeterminate004.png diff --git a/gui/devices/480x800/res/images/indeterminate005.png b/gui/devices/480x800/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/480x800/res/images/indeterminate005.png diff --git a/gui/devices/480x800/res/images/indeterminate006.png b/gui/devices/480x800/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/480x800/res/images/indeterminate006.png diff --git a/gui/devices/480x800/res/images/keyboard1.png b/gui/devices/480x800/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..5a691ac02 --- /dev/null +++ b/gui/devices/480x800/res/images/keyboard1.png diff --git a/gui/devices/480x800/res/images/keyboard2.png b/gui/devices/480x800/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..69b015458 --- /dev/null +++ b/gui/devices/480x800/res/images/keyboard2.png diff --git a/gui/devices/480x800/res/images/keyboard3.png b/gui/devices/480x800/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..498cef84b --- /dev/null +++ b/gui/devices/480x800/res/images/keyboard3.png diff --git a/gui/devices/480x800/res/images/keyboard4.png b/gui/devices/480x800/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..e8f9dde0e --- /dev/null +++ b/gui/devices/480x800/res/images/keyboard4.png diff --git a/gui/devices/480x800/res/images/medium-button.png b/gui/devices/480x800/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..1d5b816ec --- /dev/null +++ b/gui/devices/480x800/res/images/medium-button.png diff --git a/gui/devices/480x800/res/images/menu-button.png b/gui/devices/480x800/res/images/menu-button.png Binary files differnew file mode 100644 index 000000000..c8d3794e5 --- /dev/null +++ b/gui/devices/480x800/res/images/menu-button.png diff --git a/gui/devices/480x800/res/images/minus-button.png b/gui/devices/480x800/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..9c92d2f46 --- /dev/null +++ b/gui/devices/480x800/res/images/minus-button.png diff --git a/gui/devices/480x800/res/images/plus-button.png b/gui/devices/480x800/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..5d3068ed9 --- /dev/null +++ b/gui/devices/480x800/res/images/plus-button.png diff --git a/gui/devices/480x800/res/images/progress_empty.png b/gui/devices/480x800/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/480x800/res/images/progress_empty.png diff --git a/gui/devices/480x800/res/images/progress_fill.png b/gui/devices/480x800/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/480x800/res/images/progress_fill.png diff --git a/gui/devices/480x800/res/images/radio_empty.png b/gui/devices/480x800/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/480x800/res/images/radio_empty.png diff --git a/gui/devices/480x800/res/images/radio_selected.png b/gui/devices/480x800/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/480x800/res/images/radio_selected.png diff --git a/gui/devices/480x800/res/images/slideout.png b/gui/devices/480x800/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/480x800/res/images/slideout.png diff --git a/gui/devices/480x800/res/images/slider-touch.png b/gui/devices/480x800/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..c8c0f43c3 --- /dev/null +++ b/gui/devices/480x800/res/images/slider-touch.png diff --git a/gui/devices/480x800/res/images/slider-used.png b/gui/devices/480x800/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..2f3d51969 --- /dev/null +++ b/gui/devices/480x800/res/images/slider-used.png diff --git a/gui/devices/480x800/res/images/slider.png b/gui/devices/480x800/res/images/slider.png Binary files differnew file mode 100644 index 000000000..6fcce6f5b --- /dev/null +++ b/gui/devices/480x800/res/images/slider.png diff --git a/gui/devices/480x800/res/images/sort-button.png b/gui/devices/480x800/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..69d511bea --- /dev/null +++ b/gui/devices/480x800/res/images/sort-button.png diff --git a/gui/devices/480x800/res/images/top-bar.jpg b/gui/devices/480x800/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..d8ab933b5 --- /dev/null +++ b/gui/devices/480x800/res/images/top-bar.jpg diff --git a/gui/devices/480x800/res/images/unlock.png b/gui/devices/480x800/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/480x800/res/images/unlock.png diff --git a/gui/devices/480x800/res/ui.xml b/gui/devices/480x800/res/ui.xml new file mode 100644 index 000000000..b7b527bb9 --- /dev/null +++ b/gui/devices/480x800/res/ui.xml @@ -0,0 +1,3891 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="480" height="800" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-20" /> + <resource name="mediumfont" type="font" filename="Roboto-Regular-20" /> + <resource name="filelist" type="font" filename="Roboto-Regular-20" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="10" /> + <variable name="col2_x" value="240" /> + <variable name="col_center_x" value="128" /> + <variable name="col_center_medium_x" value="183" /> + <variable name="center_x" value="240" /> + <variable name="row1_y" value="140" /> + <variable name="row2_y" value="290" /> + <variable name="row3_y" value="450" /> + <variable name="row4_y" value="610" /> + <variable name="row_queue_y" value="510" /> + <variable name="row1_header_y" value="110" /> + <variable name="row1_text_y" value="140" /> + <variable name="row2_text_y" value="170" /> + <variable name="row3_text_y" value="200" /> + <variable name="row4_text_y" value="230" /> + <variable name="row5_text_y" value="260" /> + <variable name="row6_text_y" value="290" /> + <variable name="row7_text_y" value="320" /> + <variable name="row8_text_y" value="350" /> + <variable name="row9_text_y" value="380" /> + <variable name="row10_text_y" value="410" /> + <variable name="row11_text_y" value="440" /> + <variable name="row12_text_y" value="470" /> + <variable name="row13_text_y" value="500" /> + <variable name="row14_text_y" value="530" /> + <variable name="row15_text_y" value="560" /> + <variable name="row16_text_y" value="590" /> + <variable name="row17_text_y" value="620" /> + <variable name="row18_text_y" value="650" /> + <variable name="zip_status_y" value="585" /> + <variable name="tz_selected_y" value="110" /> + <variable name="tz_set_y" value="580" /> + <variable name="tz_current_y" value="730" /> + <variable name="col_progressbar_x" value="114" /> + <variable name="row_progressbar_y" value="720" /> + <variable name="col1_medium_x" value="10" /> + <variable name="col2_medium_x" value="125" /> + <variable name="col3_medium_x" value="240" /> + <variable name="col4_medium_x" value="355" /> + <variable name="row1_medium_y" value="130" /> + <variable name="row2_medium_y" value="205" /> + <variable name="row3_medium_y" value="280" /> + <variable name="row4_medium_y" value="355" /> + <variable name="row5_medium_y" value="430" /> + <variable name="row6_medium_y" value="505" /> + <variable name="row7_medium_y" value="580" /> + <variable name="slider_x" value="58" /> + <variable name="slider_y" value="680" /> + <variable name="slider_text_y" value="721" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="10" /> + <variable name="home_button_y" value="766" /> + <variable name="back_button_x" value="413" /> + <variable name="back_button_y" value="766" /> + <variable name="sort_asc_text_y" value="685" /> + <variable name="sort_asc_button_y" value="685" /> + <variable name="sort_desc_text_y" value="725" /> + <variable name="sort_desc_button_y" value="725" /> + <variable name="sort_col1_button_x" value="180" /> + <variable name="sort_col2_button_x" value="240" /> + <variable name="sort_col3_button_x" value="300" /> + <variable name="input_width" value="460" /> + <variable name="input_height" value="40" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="480" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_x" value="5" /> + <variable name="fileselector_width" value="470" /> + <variable name="fileselector_install_height" value="480" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="40" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="27" /> + <variable name="fastscroll_recth" value="47" /> + <variable name="listbox_x" value="5" /> + <variable name="listbox_width" value="470" /> + <variable name="listbox_tz_height" value="310" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="280" /> + <variable name="sdext_text_x" value="84" /> + <variable name="sdext_text_y" value="145" /> + <variable name="sdswap_button_y" value="185" /> + <variable name="sdswap_text_x" value="84" /> + <variable name="sdswap_text_y" value="190" /> + <variable name="sdfilesystem_text_y" value="240" /> + <variable name="sdfilesystem_button_y" value="280" /> + <variable name="lock_x" value="40" /> + <variable name="lock_y" value="200" /> + <variable name="filemanager_select_x" value="365" /> + <variable name="filemanager_select_y" value="690" /> + <variable name="backup_name_y" value="350" /> + <variable name="terminal_console_height" value="370" /> + <variable name="terminal_text_y" value="390" /> + <variable name="terminal_button_y" value="380" /> + <variable name="row_dst_text_y" value="440" /> + <variable name="row_offset_text_y" value="480" /> + <variable name="row_offset_medium_y" value="505" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="455" /> + <variable name="button_fill_main_width" value="225" /> + <variable name="button_fill_main_height" value="135" /> + <variable name="button_fill_half_height" value="67" /> + <variable name="button_fill_quarter_height" value="34" /> + <variable name="backup_list_height" value="300" /> + <variable name="backup_button_row1" value="480" /> + <variable name="backup_button_row2" value="520" /> + <variable name="mount_list_height" value="380" /> + <variable name="mount_storage_row" value="500" /> + <variable name="storage_list_height" value="400" /> + <variable name="wipe_list_height" value="550" /> + <variable name="wipe_button_y" value="400" /> + <variable name="slidervalue_w" value="460" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="1" /> + <variable name="slidervalue_padding" value="13" /> + <variable name="slidervalue_sliderw" value="7" /> + <variable name="slidervalue_sliderh" value="40" /> + </variables> + + <templates> + <template name="header"> + <background color="%backgroundcolor%" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="100" y="10" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="100" y="40" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="100" y="70" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="70" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="210" y="760" /> + <placement x="%console_x%" y="0" w="%console_width%" h="760" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="450" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="78" width="48" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" /> + <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" /> + <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" /> + </layout1> + <layout2> + <keysize height="78" width="48" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" /> + <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" /> + <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" /> + </layout2> + <layout3> + <keysize height="78" width="48" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" /> + <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" /> + </layout3> + <layout4> + <keysize height="78" width="48" /> + <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" /> + <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" /> + <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/480x854/res/fonts/Roboto-Regular-20.dat b/gui/devices/480x854/res/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100644 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/480x854/res/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/480x854/res/fonts/Roboto-Regular-40.dat b/gui/devices/480x854/res/fonts/Roboto-Regular-40.dat Binary files differnew file mode 100644 index 000000000..637d9fe5b --- /dev/null +++ b/gui/devices/480x854/res/fonts/Roboto-Regular-40.dat diff --git a/gui/devices/480x854/res/images/back-icon.png b/gui/devices/480x854/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..688436eb2 --- /dev/null +++ b/gui/devices/480x854/res/images/back-icon.png diff --git a/gui/devices/480x854/res/images/checkbox_checked.png b/gui/devices/480x854/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3447349cf --- /dev/null +++ b/gui/devices/480x854/res/images/checkbox_checked.png diff --git a/gui/devices/480x854/res/images/checkbox_empty.png b/gui/devices/480x854/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..f5f35d8d1 --- /dev/null +++ b/gui/devices/480x854/res/images/checkbox_empty.png diff --git a/gui/devices/480x854/res/images/curtain.jpg b/gui/devices/480x854/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..6e60648dd --- /dev/null +++ b/gui/devices/480x854/res/images/curtain.jpg diff --git a/gui/devices/480x854/res/images/file.png b/gui/devices/480x854/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/480x854/res/images/file.png diff --git a/gui/devices/480x854/res/images/folder.png b/gui/devices/480x854/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/480x854/res/images/folder.png diff --git a/gui/devices/480x854/res/images/home-icon.png b/gui/devices/480x854/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..551952015 --- /dev/null +++ b/gui/devices/480x854/res/images/home-icon.png diff --git a/gui/devices/480x854/res/images/indeterminate001.png b/gui/devices/480x854/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/480x854/res/images/indeterminate001.png diff --git a/gui/devices/480x854/res/images/indeterminate002.png b/gui/devices/480x854/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/480x854/res/images/indeterminate002.png diff --git a/gui/devices/480x854/res/images/indeterminate003.png b/gui/devices/480x854/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..670286743 --- /dev/null +++ b/gui/devices/480x854/res/images/indeterminate003.png diff --git a/gui/devices/480x854/res/images/indeterminate004.png b/gui/devices/480x854/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/480x854/res/images/indeterminate004.png diff --git a/gui/devices/480x854/res/images/indeterminate005.png b/gui/devices/480x854/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/480x854/res/images/indeterminate005.png diff --git a/gui/devices/480x854/res/images/indeterminate006.png b/gui/devices/480x854/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/480x854/res/images/indeterminate006.png diff --git a/gui/devices/480x854/res/images/keyboard1.png b/gui/devices/480x854/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..5a691ac02 --- /dev/null +++ b/gui/devices/480x854/res/images/keyboard1.png diff --git a/gui/devices/480x854/res/images/keyboard2.png b/gui/devices/480x854/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..69b015458 --- /dev/null +++ b/gui/devices/480x854/res/images/keyboard2.png diff --git a/gui/devices/480x854/res/images/keyboard3.png b/gui/devices/480x854/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..498cef84b --- /dev/null +++ b/gui/devices/480x854/res/images/keyboard3.png diff --git a/gui/devices/480x854/res/images/keyboard4.png b/gui/devices/480x854/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..e8f9dde0e --- /dev/null +++ b/gui/devices/480x854/res/images/keyboard4.png diff --git a/gui/devices/480x854/res/images/medium-button.png b/gui/devices/480x854/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..1d5b816ec --- /dev/null +++ b/gui/devices/480x854/res/images/medium-button.png diff --git a/gui/devices/480x854/res/images/menu-button.png b/gui/devices/480x854/res/images/menu-button.png Binary files differnew file mode 100644 index 000000000..c8d3794e5 --- /dev/null +++ b/gui/devices/480x854/res/images/menu-button.png diff --git a/gui/devices/480x854/res/images/minus-button.png b/gui/devices/480x854/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..9c92d2f46 --- /dev/null +++ b/gui/devices/480x854/res/images/minus-button.png diff --git a/gui/devices/480x854/res/images/plus-button.png b/gui/devices/480x854/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..5d3068ed9 --- /dev/null +++ b/gui/devices/480x854/res/images/plus-button.png diff --git a/gui/devices/480x854/res/images/progress_empty.png b/gui/devices/480x854/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/480x854/res/images/progress_empty.png diff --git a/gui/devices/480x854/res/images/progress_fill.png b/gui/devices/480x854/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/480x854/res/images/progress_fill.png diff --git a/gui/devices/480x854/res/images/radio_empty.png b/gui/devices/480x854/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/480x854/res/images/radio_empty.png diff --git a/gui/devices/480x854/res/images/radio_selected.png b/gui/devices/480x854/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/480x854/res/images/radio_selected.png diff --git a/gui/devices/480x854/res/images/slideout.png b/gui/devices/480x854/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/480x854/res/images/slideout.png diff --git a/gui/devices/480x854/res/images/slider-touch.png b/gui/devices/480x854/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..c8c0f43c3 --- /dev/null +++ b/gui/devices/480x854/res/images/slider-touch.png diff --git a/gui/devices/480x854/res/images/slider-used.png b/gui/devices/480x854/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..2f3d51969 --- /dev/null +++ b/gui/devices/480x854/res/images/slider-used.png diff --git a/gui/devices/480x854/res/images/slider.png b/gui/devices/480x854/res/images/slider.png Binary files differnew file mode 100644 index 000000000..6fcce6f5b --- /dev/null +++ b/gui/devices/480x854/res/images/slider.png diff --git a/gui/devices/480x854/res/images/sort-button.png b/gui/devices/480x854/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..69d511bea --- /dev/null +++ b/gui/devices/480x854/res/images/sort-button.png diff --git a/gui/devices/480x854/res/images/top-bar.jpg b/gui/devices/480x854/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..d8ab933b5 --- /dev/null +++ b/gui/devices/480x854/res/images/top-bar.jpg diff --git a/gui/devices/480x854/res/images/unlock.png b/gui/devices/480x854/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/480x854/res/images/unlock.png diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml new file mode 100644 index 000000000..cb6577f20 --- /dev/null +++ b/gui/devices/480x854/res/ui.xml @@ -0,0 +1,3890 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="480" height="854" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-20" /> + <resource name="mediumfont" type="font" filename="Roboto-Regular-20" /> + <resource name="filelist" type="font" filename="Roboto-Regular-20" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="10" /> + <variable name="col2_x" value="240" /> + <variable name="col_center_x" value="128" /> + <variable name="center_x" value="240" /> + <variable name="row1_y" value="140" /> + <variable name="row2_y" value="290" /> + <variable name="row3_y" value="450" /> + <variable name="row4_y" value="610" /> + <variable name="row_queue_y" value="510" /> + <variable name="row1_header_y" value="110" /> + <variable name="row1_text_y" value="140" /> + <variable name="row2_text_y" value="170" /> + <variable name="row3_text_y" value="200" /> + <variable name="row4_text_y" value="230" /> + <variable name="row5_text_y" value="260" /> + <variable name="row6_text_y" value="290" /> + <variable name="row7_text_y" value="320" /> + <variable name="row8_text_y" value="350" /> + <variable name="row9_text_y" value="380" /> + <variable name="row10_text_y" value="410" /> + <variable name="row11_text_y" value="440" /> + <variable name="row12_text_y" value="480" /> + <variable name="row13_text_y" value="510" /> + <variable name="row14_text_y" value="540" /> + <variable name="row15_text_y" value="570" /> + <variable name="row16_text_y" value="600" /> + <variable name="row17_text_y" value="630" /> + <variable name="row18_text_y" value="660" /> + <variable name="zip_status_y" value="585" /> + <variable name="tz_selected_y" value="110" /> + <variable name="tz_set_y" value="580" /> + <variable name="tz_current_y" value="730" /> + <variable name="col_progressbar_x" value="114" /> + <variable name="row_progressbar_y" value="720" /> + <variable name="col1_medium_x" value="10" /> + <variable name="col2_medium_x" value="125" /> + <variable name="col3_medium_x" value="240" /> + <variable name="col4_medium_x" value="355" /> + <variable name="row1_medium_y" value="130" /> + <variable name="row2_medium_y" value="205" /> + <variable name="row3_medium_y" value="280" /> + <variable name="row4_medium_y" value="355" /> + <variable name="row5_medium_y" value="430" /> + <variable name="row6_medium_y" value="505" /> + <variable name="row7_medium_y" value="580" /> + <variable name="slider_x" value="58" /> + <variable name="slider_y" value="680" /> + <variable name="slider_text_y" value="721" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="10" /> + <variable name="home_button_y" value="820" /> + <variable name="back_button_x" value="413" /> + <variable name="back_button_y" value="820" /> + <variable name="sort_asc_text_y" value="739" /> + <variable name="sort_asc_button_y" value="739" /> + <variable name="sort_desc_text_y" value="779" /> + <variable name="sort_desc_button_y" value="779" /> + <variable name="sort_col1_button_x" value="180" /> + <variable name="sort_col2_button_x" value="240" /> + <variable name="sort_col3_button_x" value="300" /> + <variable name="input_width" value="460" /> + <variable name="input_height" value="40" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="480" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="320" /> + <variable name="console_install_height" value="440" /> + <variable name="console_installdone_height" value="300" /> + <variable name="fileselector_x" value="5" /> + <variable name="fileselector_width" value="470" /> + <variable name="fileselector_install_height" value="534" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="40" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="27" /> + <variable name="fastscroll_recth" value="47" /> + <variable name="listbox_x" value="5" /> + <variable name="listbox_width" value="470" /> + <variable name="listbox_tz_height" value="310" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="280" /> + <variable name="sdext_text_x" value="84" /> + <variable name="sdext_text_y" value="150" /> + <variable name="sdswap_button_y" value="185" /> + <variable name="sdswap_text_x" value="84" /> + <variable name="sdswap_text_y" value="195" /> + <variable name="sdfilesystem_text_y" value="240" /> + <variable name="sdfilesystem_button_y" value="280" /> + <variable name="lock_x" value="40" /> + <variable name="lock_y" value="200" /> + <variable name="filemanager_select_x" value="365" /> + <variable name="filemanager_select_y" value="744" /> + <variable name="backup_name_y" value="350" /> + <variable name="terminal_console_height" value="424" /> + <variable name="terminal_text_y" value="444" /> + <variable name="terminal_button_y" value="434" /> + <variable name="row_dst_text_y" value="440" /> + <variable name="row_offset_text_y" value="480" /> + <variable name="row_offset_medium_y" value="505" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="455" /> + <variable name="button_fill_main_width" value="225" /> + <variable name="button_fill_main_height" value="135" /> + <variable name="button_fill_half_height" value="67" /> + <variable name="button_fill_quarter_height" value="34" /> + <variable name="backup_list_height" value="300" /> + <variable name="backup_button_row1" value="480" /> + <variable name="backup_button_row2" value="520" /> + <variable name="mount_list_height" value="380" /> + <variable name="mount_storage_row" value="500" /> + <variable name="storage_list_height" value="400" /> + <variable name="wipe_list_height" value="550" /> + <variable name="wipe_button_y" value="400" /> + <variable name="slidervalue_w" value="460" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="1" /> + <variable name="slidervalue_padding" value="13" /> + <variable name="slidervalue_sliderw" value="7" /> + <variable name="slidervalue_sliderh" value="40" /> + </variables> + + <templates> + <template name="header"> + <background color="%backgroundcolor%" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="100" y="10" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="100" y="40" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="100" y="70" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="70" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="210" y="814" /> + <placement x="%console_x%" y="0" w="%console_width%" h="814" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="504" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="78" width="48" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" /> + <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" /> + <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" /> + </layout1> + <layout2> + <keysize height="78" width="48" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" /> + <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" /> + <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" /> + </layout2> + <layout3> + <keysize height="78" width="48" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" /> + <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" /> + </layout3> + <layout4> + <keysize height="78" width="48" /> + <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" /> + <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" /> + <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/540x960/res/fonts/Roboto-Regular-20.dat b/gui/devices/540x960/res/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100644 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/540x960/res/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/540x960/res/fonts/Roboto-Regular-25.dat b/gui/devices/540x960/res/fonts/Roboto-Regular-25.dat Binary files differnew file mode 100644 index 000000000..392cce97d --- /dev/null +++ b/gui/devices/540x960/res/fonts/Roboto-Regular-25.dat diff --git a/gui/devices/540x960/res/fonts/Roboto-Regular-40.dat b/gui/devices/540x960/res/fonts/Roboto-Regular-40.dat Binary files differnew file mode 100644 index 000000000..637d9fe5b --- /dev/null +++ b/gui/devices/540x960/res/fonts/Roboto-Regular-40.dat diff --git a/gui/devices/540x960/res/images/.BridgeSort b/gui/devices/540x960/res/images/.BridgeSort new file mode 100644 index 000000000..b475f87dc --- /dev/null +++ b/gui/devices/540x960/res/images/.BridgeSort @@ -0,0 +1,29 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> +<dirinfo> +<files> +<item key='checkbox_checked.png20120416172546' /> +<item key='checkbox_empty.png20120416172604' /> +<item key='file.png20120411171839' /> +<item key='folder.png20120411173532' /> +<item key='indeterminate001.png20120412113445' /> +<item key='indeterminate002.png20120412113445' /> +<item key='indeterminate003.png20120412113445' /> +<item key='indeterminate004.png20120412113445' /> +<item key='indeterminate005.png20120412113445' /> +<item key='indeterminate006.png20120412113445' /> +<item key='qhd-medium-button.png20120417101729' /> +<item key='qhd-menu-button.png20120417101649' /> +<item key='qhd-minus-button.png20120417101827' /> +<item key='qhd-plus-button.png20120417101847' /> +<item key='qhd-small-button.png20120417101930' /> +<item key='qhd-sort-button.png20120417102006' /> +<item key='radio_empty.png20120411175722' /> +<item key='radio_selected.png20120411175739' /> +<item key='slideout.png20120416182450' /> +<item key='slider-touch.png20120412103144' /> +<item key='slider-used.png20120412103705' /> +<item key='slider.png20120412103630' /> +<item key='top-bar-01.jpg20120417101442' /> +<item key='unlock.png20120412111348' /> +</files> +</dirinfo> diff --git a/gui/devices/540x960/res/images/back-icon.png b/gui/devices/540x960/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..f5ba872de --- /dev/null +++ b/gui/devices/540x960/res/images/back-icon.png diff --git a/gui/devices/540x960/res/images/checkbox_checked.png b/gui/devices/540x960/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3447349cf --- /dev/null +++ b/gui/devices/540x960/res/images/checkbox_checked.png diff --git a/gui/devices/540x960/res/images/checkbox_empty.png b/gui/devices/540x960/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..f5f35d8d1 --- /dev/null +++ b/gui/devices/540x960/res/images/checkbox_empty.png diff --git a/gui/devices/540x960/res/images/curtain.jpg b/gui/devices/540x960/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..f1a6316bb --- /dev/null +++ b/gui/devices/540x960/res/images/curtain.jpg diff --git a/gui/devices/540x960/res/images/file.png b/gui/devices/540x960/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/540x960/res/images/file.png diff --git a/gui/devices/540x960/res/images/folder.png b/gui/devices/540x960/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/540x960/res/images/folder.png diff --git a/gui/devices/540x960/res/images/home-icon.png b/gui/devices/540x960/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..46ccf6acc --- /dev/null +++ b/gui/devices/540x960/res/images/home-icon.png diff --git a/gui/devices/540x960/res/images/indeterminate001.png b/gui/devices/540x960/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/540x960/res/images/indeterminate001.png diff --git a/gui/devices/540x960/res/images/indeterminate002.png b/gui/devices/540x960/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/540x960/res/images/indeterminate002.png diff --git a/gui/devices/540x960/res/images/indeterminate003.png b/gui/devices/540x960/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..670286743 --- /dev/null +++ b/gui/devices/540x960/res/images/indeterminate003.png diff --git a/gui/devices/540x960/res/images/indeterminate004.png b/gui/devices/540x960/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/540x960/res/images/indeterminate004.png diff --git a/gui/devices/540x960/res/images/indeterminate005.png b/gui/devices/540x960/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/540x960/res/images/indeterminate005.png diff --git a/gui/devices/540x960/res/images/indeterminate006.png b/gui/devices/540x960/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/540x960/res/images/indeterminate006.png diff --git a/gui/devices/540x960/res/images/keyboard1.png b/gui/devices/540x960/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..9fecdcd94 --- /dev/null +++ b/gui/devices/540x960/res/images/keyboard1.png diff --git a/gui/devices/540x960/res/images/keyboard2.png b/gui/devices/540x960/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..0d1e966de --- /dev/null +++ b/gui/devices/540x960/res/images/keyboard2.png diff --git a/gui/devices/540x960/res/images/keyboard3.png b/gui/devices/540x960/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..b9eab174f --- /dev/null +++ b/gui/devices/540x960/res/images/keyboard3.png diff --git a/gui/devices/540x960/res/images/keyboard4.png b/gui/devices/540x960/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..909956bdd --- /dev/null +++ b/gui/devices/540x960/res/images/keyboard4.png diff --git a/gui/devices/540x960/res/images/progress_empty.png b/gui/devices/540x960/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/540x960/res/images/progress_empty.png diff --git a/gui/devices/540x960/res/images/progress_fill.png b/gui/devices/540x960/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/540x960/res/images/progress_fill.png diff --git a/gui/devices/540x960/res/images/qhd-medium-button.png b/gui/devices/540x960/res/images/qhd-medium-button.png Binary files differnew file mode 100644 index 000000000..b91e7fc60 --- /dev/null +++ b/gui/devices/540x960/res/images/qhd-medium-button.png diff --git a/gui/devices/540x960/res/images/qhd-menu-button.png b/gui/devices/540x960/res/images/qhd-menu-button.png Binary files differnew file mode 100644 index 000000000..ec2b1fd3a --- /dev/null +++ b/gui/devices/540x960/res/images/qhd-menu-button.png diff --git a/gui/devices/540x960/res/images/qhd-minus-button.png b/gui/devices/540x960/res/images/qhd-minus-button.png Binary files differnew file mode 100644 index 000000000..0cbc5ce7a --- /dev/null +++ b/gui/devices/540x960/res/images/qhd-minus-button.png diff --git a/gui/devices/540x960/res/images/qhd-plus-button.png b/gui/devices/540x960/res/images/qhd-plus-button.png Binary files differnew file mode 100644 index 000000000..89c8048ea --- /dev/null +++ b/gui/devices/540x960/res/images/qhd-plus-button.png diff --git a/gui/devices/540x960/res/images/qhd-small-button.png b/gui/devices/540x960/res/images/qhd-small-button.png Binary files differnew file mode 100644 index 000000000..255d09d7c --- /dev/null +++ b/gui/devices/540x960/res/images/qhd-small-button.png diff --git a/gui/devices/540x960/res/images/qhd-sort-button.png b/gui/devices/540x960/res/images/qhd-sort-button.png Binary files differnew file mode 100644 index 000000000..e06618e19 --- /dev/null +++ b/gui/devices/540x960/res/images/qhd-sort-button.png diff --git a/gui/devices/540x960/res/images/radio_empty.png b/gui/devices/540x960/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/540x960/res/images/radio_empty.png diff --git a/gui/devices/540x960/res/images/radio_selected.png b/gui/devices/540x960/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/540x960/res/images/radio_selected.png diff --git a/gui/devices/540x960/res/images/slideout.png b/gui/devices/540x960/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/540x960/res/images/slideout.png diff --git a/gui/devices/540x960/res/images/slider-touch.png b/gui/devices/540x960/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..d8647b8a6 --- /dev/null +++ b/gui/devices/540x960/res/images/slider-touch.png diff --git a/gui/devices/540x960/res/images/slider-used.png b/gui/devices/540x960/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..bf6cad924 --- /dev/null +++ b/gui/devices/540x960/res/images/slider-used.png diff --git a/gui/devices/540x960/res/images/slider.png b/gui/devices/540x960/res/images/slider.png Binary files differnew file mode 100644 index 000000000..4081ea540 --- /dev/null +++ b/gui/devices/540x960/res/images/slider.png diff --git a/gui/devices/540x960/res/images/top-bar.jpg b/gui/devices/540x960/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..fbe72302d --- /dev/null +++ b/gui/devices/540x960/res/images/top-bar.jpg diff --git a/gui/devices/540x960/res/images/unlock.png b/gui/devices/540x960/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/540x960/res/images/unlock.png diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml new file mode 100644 index 000000000..078f1ae51 --- /dev/null +++ b/gui/devices/540x960/res/ui.xml @@ -0,0 +1,3891 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="540" height="960" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Regular-20" /> + <resource name="mediumfont" type="font" filename="Roboto-Regular-20" /> + <resource name="filelist" type="font" filename="Roboto-Regular-25" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="qhd-menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="qhd-medium-button" /> + <resource name="sort_button" type="image" filename="qhd-sort-button" /> + <resource name="minus_button" type="image" filename="qhd-minus-button" /> + <resource name="plus_button" type="image" filename="qhd-plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="10" /> + <variable name="col2_x" value="277" /> + <variable name="col_center_x" value="143" /> + <variable name="col_center_medium_x" value="206" /> + <variable name="center_x" value="270" /> + <variable name="row1_y" value="140" /> + <variable name="row2_y" value="332" /> + <variable name="row3_y" value="524" /> + <variable name="row4_y" value="716" /> + <variable name="row_queue_y" value="625" /> + <variable name="row1_header_y" value="110" /> + <variable name="row1_text_y" value="140" /> + <variable name="row2_text_y" value="180" /> + <variable name="row3_text_y" value="220" /> + <variable name="row4_text_y" value="260" /> + <variable name="row5_text_y" value="300" /> + <variable name="row6_text_y" value="340" /> + <variable name="row7_text_y" value="380" /> + <variable name="row8_text_y" value="420" /> + <variable name="row9_text_y" value="460" /> + <variable name="row10_text_y" value="500" /> + <variable name="row11_text_y" value="540" /> + <variable name="row12_text_y" value="580" /> + <variable name="row13_text_y" value="620" /> + <variable name="row14_text_y" value="660" /> + <variable name="row15_text_y" value="700" /> + <variable name="row16_text_y" value="740" /> + <variable name="row17_text_y" value="780" /> + <variable name="row18_text_y" value="820" /> + <variable name="zip_status_y" value="696" /> + <variable name="tz_selected_y" value="110" /> + <variable name="tz_set_y" value="720" /> + <variable name="tz_current_y" value="895" /> + <variable name="col_progressbar_x" value="144" /> + <variable name="row_progressbar_y" value="850" /> + <variable name="col1_medium_x" value="10" /> + <variable name="col2_medium_x" value="145" /> + <variable name="col3_medium_x" value="280" /> + <variable name="col4_medium_x" value="415" /> + <variable name="row1_medium_y" value="130" /> + <variable name="row2_medium_y" value="230" /> + <variable name="row3_medium_y" value="330" /> + <variable name="row4_medium_y" value="430" /> + <variable name="row5_medium_y" value="530" /> + <variable name="row6_medium_y" value="630" /> + <variable name="row7_medium_y" value="730" /> + <variable name="slider_x" value="50" /> + <variable name="slider_y" value="820" /> + <variable name="slider_text_y" value="870" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="10" /> + <variable name="home_button_y" value="919" /> + <variable name="back_button_x" value="466" /> + <variable name="back_button_y" value="919" /> + <variable name="sort_asc_text_y" value="830" /> + <variable name="sort_asc_button_y" value="820" /> + <variable name="sort_desc_text_y" value="880" /> + <variable name="sort_desc_button_y" value="870" /> + <variable name="sort_col1_button_x" value="180" /> + <variable name="sort_col2_button_x" value="255" /> + <variable name="sort_col3_button_x" value="330" /> + <variable name="input_width" value="520" /> + <variable name="input_height" value="40" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="540" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="380" /> + <variable name="console_install_height" value="580" /> + <variable name="console_installdone_height" value="380" /> + <variable name="fileselector_x" value="5" /> + <variable name="fileselector_width" value="530" /> + <variable name="fileselector_install_height" value="590" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="18" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="45" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="30" /> + <variable name="fastscroll_recth" value="52" /> + <variable name="listbox_x" value="5" /> + <variable name="listbox_width" value="530" /> + <variable name="listbox_tz_height" value="420" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="18" /> + <variable name="sd_plus_x" value="280" /> + <variable name="sdext_text_x" value="84" /> + <variable name="sdext_text_y" value="150" /> + <variable name="sdswap_button_y" value="185" /> + <variable name="sdswap_text_x" value="84" /> + <variable name="sdswap_text_y" value="195" /> + <variable name="sdfilesystem_text_y" value="240" /> + <variable name="sdfilesystem_button_y" value="280" /> + <variable name="lock_x" value="70" /> + <variable name="lock_y" value="250" /> + <variable name="filemanager_select_x" value="405" /> + <variable name="filemanager_select_y" value="825" /> + <variable name="backup_name_y" value="420" /> + <variable name="terminal_console_height" value="530" /> + <variable name="terminal_text_y" value="550" /> + <variable name="terminal_button_y" value="525" /> + <variable name="row_dst_text_y" value="540" /> + <variable name="row_offset_text_y" value="580" /> + <variable name="row_offset_medium_y" value="630" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="520" /> + <variable name="button_fill_main_width" value="253" /> + <variable name="button_fill_main_height" value="162" /> + <variable name="button_fill_half_height" value="81" /> + <variable name="button_fill_quarter_height" value="40" /> + <variable name="backup_list_height" value="410" /> + <variable name="backup_button_row1" value="600" /> + <variable name="backup_button_row2" value="645" /> + <variable name="mount_list_height" value="500" /> + <variable name="mount_storage_row" value="630" /> + <variable name="storage_list_height" value="575" /> + <variable name="wipe_list_height" value="670" /> + <variable name="wipe_button_y" value="475" /> + <variable name="slidervalue_w" value="520" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="2" /> + <variable name="slidervalue_padding" value="15" /> + <variable name="slidervalue_sliderw" value="8" /> + <variable name="slidervalue_sliderh" value="45" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="100" y="10" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="100" y="40" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="100" y="70" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="70" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="UItext" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="UItext" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="UItext" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%col1_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="UItext" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="UItext" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="UItext" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="240" y="920" /> + <placement x="%console_x%" y="0" w="%console_width%" h="920" /> + <color foreground="#A0A0A0" background="#303030" scroll="#303030" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="600" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="78" width="54" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="81:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="81:l" /> + <row3 key01="81:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="81:c:8" /> + <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:a:action" /> + </layout1> + <layout2> + <keysize height="78" width="54" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" /> + <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" /> + <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" /> + </layout2> + <layout3> + <keysize height="78" width="54" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" /> + <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" /> + </layout3> + <layout4> + <keysize height="78" width="54" /> + <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" /> + <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" /> + <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/720x1280/res/fonts/Roboto-Condensed-30.dat b/gui/devices/720x1280/res/fonts/Roboto-Condensed-30.dat Binary files differnew file mode 100644 index 000000000..621b33214 --- /dev/null +++ b/gui/devices/720x1280/res/fonts/Roboto-Condensed-30.dat diff --git a/gui/devices/720x1280/res/images/back-icon.png b/gui/devices/720x1280/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..e0c044243 --- /dev/null +++ b/gui/devices/720x1280/res/images/back-icon.png diff --git a/gui/devices/720x1280/res/images/checkbox_checked.png b/gui/devices/720x1280/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..2af760929 --- /dev/null +++ b/gui/devices/720x1280/res/images/checkbox_checked.png diff --git a/gui/devices/720x1280/res/images/checkbox_empty.png b/gui/devices/720x1280/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..5f65c2604 --- /dev/null +++ b/gui/devices/720x1280/res/images/checkbox_empty.png diff --git a/gui/devices/720x1280/res/images/curtain.jpg b/gui/devices/720x1280/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..a10cc02c3 --- /dev/null +++ b/gui/devices/720x1280/res/images/curtain.jpg diff --git a/gui/devices/720x1280/res/images/file.png b/gui/devices/720x1280/res/images/file.png Binary files differnew file mode 100644 index 000000000..aea3ac292 --- /dev/null +++ b/gui/devices/720x1280/res/images/file.png diff --git a/gui/devices/720x1280/res/images/folder.png b/gui/devices/720x1280/res/images/folder.png Binary files differnew file mode 100644 index 000000000..56f4bc276 --- /dev/null +++ b/gui/devices/720x1280/res/images/folder.png diff --git a/gui/devices/720x1280/res/images/home-icon.png b/gui/devices/720x1280/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..d4373b786 --- /dev/null +++ b/gui/devices/720x1280/res/images/home-icon.png diff --git a/gui/devices/720x1280/res/images/indeterminate001.png b/gui/devices/720x1280/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/720x1280/res/images/indeterminate001.png diff --git a/gui/devices/720x1280/res/images/indeterminate002.png b/gui/devices/720x1280/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/720x1280/res/images/indeterminate002.png diff --git a/gui/devices/720x1280/res/images/indeterminate003.png b/gui/devices/720x1280/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..670286743 --- /dev/null +++ b/gui/devices/720x1280/res/images/indeterminate003.png diff --git a/gui/devices/720x1280/res/images/indeterminate004.png b/gui/devices/720x1280/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/720x1280/res/images/indeterminate004.png diff --git a/gui/devices/720x1280/res/images/indeterminate005.png b/gui/devices/720x1280/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/720x1280/res/images/indeterminate005.png diff --git a/gui/devices/720x1280/res/images/indeterminate006.png b/gui/devices/720x1280/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/720x1280/res/images/indeterminate006.png diff --git a/gui/devices/720x1280/res/images/keyboard1.png b/gui/devices/720x1280/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..a1af16021 --- /dev/null +++ b/gui/devices/720x1280/res/images/keyboard1.png diff --git a/gui/devices/720x1280/res/images/keyboard2.png b/gui/devices/720x1280/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..5b0a4b564 --- /dev/null +++ b/gui/devices/720x1280/res/images/keyboard2.png diff --git a/gui/devices/720x1280/res/images/keyboard3.png b/gui/devices/720x1280/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..38ee5af81 --- /dev/null +++ b/gui/devices/720x1280/res/images/keyboard3.png diff --git a/gui/devices/720x1280/res/images/keyboard4.png b/gui/devices/720x1280/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..dc9a9761b --- /dev/null +++ b/gui/devices/720x1280/res/images/keyboard4.png diff --git a/gui/devices/720x1280/res/images/medium-button.png b/gui/devices/720x1280/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..73faebbd1 --- /dev/null +++ b/gui/devices/720x1280/res/images/medium-button.png diff --git a/gui/devices/720x1280/res/images/menu-button.png b/gui/devices/720x1280/res/images/menu-button.png Binary files differnew file mode 100644 index 000000000..c24f15512 --- /dev/null +++ b/gui/devices/720x1280/res/images/menu-button.png diff --git a/gui/devices/720x1280/res/images/minus-button.png b/gui/devices/720x1280/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..7b5f79f14 --- /dev/null +++ b/gui/devices/720x1280/res/images/minus-button.png diff --git a/gui/devices/720x1280/res/images/plus-button.png b/gui/devices/720x1280/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..b32857797 --- /dev/null +++ b/gui/devices/720x1280/res/images/plus-button.png diff --git a/gui/devices/720x1280/res/images/progress_empty.png b/gui/devices/720x1280/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/720x1280/res/images/progress_empty.png diff --git a/gui/devices/720x1280/res/images/progress_fill.png b/gui/devices/720x1280/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/720x1280/res/images/progress_fill.png diff --git a/gui/devices/720x1280/res/images/radio_empty.png b/gui/devices/720x1280/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/720x1280/res/images/radio_empty.png diff --git a/gui/devices/720x1280/res/images/radio_selected.png b/gui/devices/720x1280/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/720x1280/res/images/radio_selected.png diff --git a/gui/devices/720x1280/res/images/slideout.png b/gui/devices/720x1280/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..c3c65e4af --- /dev/null +++ b/gui/devices/720x1280/res/images/slideout.png diff --git a/gui/devices/720x1280/res/images/slider-touch.png b/gui/devices/720x1280/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..83fce0850 --- /dev/null +++ b/gui/devices/720x1280/res/images/slider-touch.png diff --git a/gui/devices/720x1280/res/images/slider-used.png b/gui/devices/720x1280/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..4e4a1f4d1 --- /dev/null +++ b/gui/devices/720x1280/res/images/slider-used.png diff --git a/gui/devices/720x1280/res/images/slider.png b/gui/devices/720x1280/res/images/slider.png Binary files differnew file mode 100644 index 000000000..118edc68b --- /dev/null +++ b/gui/devices/720x1280/res/images/slider.png diff --git a/gui/devices/720x1280/res/images/sort-button.png b/gui/devices/720x1280/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..125c2ce5d --- /dev/null +++ b/gui/devices/720x1280/res/images/sort-button.png diff --git a/gui/devices/720x1280/res/images/top-bar.jpg b/gui/devices/720x1280/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..02c8051b2 --- /dev/null +++ b/gui/devices/720x1280/res/images/top-bar.jpg diff --git a/gui/devices/720x1280/res/images/unlock.png b/gui/devices/720x1280/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/720x1280/res/images/unlock.png diff --git a/gui/devices/720x1280/res/ui.xml b/gui/devices/720x1280/res/ui.xml new file mode 100644 index 000000000..d2896cc94 --- /dev/null +++ b/gui/devices/720x1280/res/ui.xml @@ -0,0 +1,3904 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="720" height="1280" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Condensed-30" /> + <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" /> + <resource name="filelist" type="font" filename="Roboto-Condensed-30" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="10" /> + <variable name="col2_x" value="373" /> + <variable name="col_center_x" value="191" /> + <variable name="col_center_medium_x" value="275" /> + <variable name="center_x" value="360" /> + <variable name="row1_y" value="170" /> + <variable name="row2_y" value="410" /> + <variable name="row3_y" value="650" /> + <variable name="row4_y" value="890" /> + <variable name="col1_center_x" value="179" /> + <variable name="col2_center_x" value="552" /> + <variable name="row1_text2_y" value="310" /> + <variable name="row2_text2_y" value="550" /> + <variable name="row_queue_y" value="760" /> + <variable name="row1_header_y" value="120" /> + <variable name="row1_text_y" value="170" /> + <variable name="row2_text_y" value="220" /> + <variable name="row3_text_y" value="270" /> + <variable name="row4_text_y" value="320" /> + <variable name="row5_text_y" value="370" /> + <variable name="row6_text_y" value="420" /> + <variable name="row7_text_y" value="470" /> + <variable name="row8_text_y" value="520" /> + <variable name="row9_text_y" value="570" /> + <variable name="row10_text_y" value="620" /> + <variable name="row11_text_y" value="670" /> + <variable name="row12_text_y" value="720" /> + <variable name="row13_text_y" value="770" /> + <variable name="row14_text_y" value="820" /> + <variable name="row15_text_y" value="870" /> + <variable name="row16_text_y" value="920" /> + <variable name="row17_text_y" value="970" /> + <variable name="row18_text_y" value="1020" /> + <variable name="zip_status_y" value="615" /> + <variable name="tz_selected_y" value="160" /> + <variable name="tz_set_y" value="950" /> + <variable name="tz_current_y" value="1180" /> + <variable name="col_progressbar_x" value="234" /> + <variable name="row_progressbar_y" value="1100" /> + <variable name="col1_medium_x" value="10" /> + <variable name="col2_medium_x" value="185" /> + <variable name="col3_medium_x" value="365" /> + <variable name="col4_medium_x" value="540" /> + <variable name="row1_medium_y" value="130" /> + <variable name="row2_medium_y" value="230" /> + <variable name="row3_medium_y" value="330" /> + <variable name="row4_medium_y" value="430" /> + <variable name="row5_medium_y" value="530" /> + <variable name="row6_medium_y" value="840" /> + <variable name="row7_medium_y" value="730" /> + <variable name="slider_x" value="68" /> + <variable name="slider_y" value="1050" /> + <variable name="slider_text_y" value="1117" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="10" /> + <variable name="home_button_y" value="1226" /> + <variable name="back_button_x" value="625" /> + <variable name="back_button_y" value="1226" /> + <variable name="sort_text_x" value="10" /> + <variable name="sort_asc_text_y" value="1090" /> + <variable name="sort_asc_button_y" value="1080" /> + <variable name="sort_desc_text_y" value="1150" /> + <variable name="sort_desc_button_y" value="1140" /> + <variable name="sort_col1_button_x" value="260" /> + <variable name="sort_col2_button_x" value="360" /> + <variable name="sort_col3_button_x" value="460" /> + <variable name="input_width" value="700" /> + <variable name="input_height" value="50" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="720" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="470" /> + <variable name="console_install_height" value="600" /> + <variable name="console_installdone_height" value="440" /> + <variable name="fileselector_x" value="5" /> + <variable name="fileselector_width" value="710" /> + <variable name="fileselector_install_height" value="780" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="36" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="60" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="40" /> + <variable name="fastscroll_recth" value="70" /> + <variable name="listbox_x" value="5" /> + <variable name="listbox_width" value="710" /> + <variable name="listbox_tz_height" value="590" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="16" /> + <variable name="sd_plus_x" value="350" /> + <variable name="sdext_text_x" value="110" /> + <variable name="sdext_text_y" value="180" /> + <variable name="sdswap_button_y" value="260" /> + <variable name="sdswap_text_x" value="110" /> + <variable name="sdswap_text_y" value="270" /> + <variable name="sdfilesystem_text_y" value="340" /> + <variable name="sdfilesystem_button_y" value="380" /> + <variable name="lock_x" value="160" /> + <variable name="lock_y" value="400" /> + <variable name="filemanager_select_x" value="560" /> + <variable name="filemanager_select_y" value="1080" /> + <variable name="backup_name_y" value="550" /> + <variable name="terminal_console_height" value="700" /> + <variable name="terminal_text_y" value="730" /> + <variable name="terminal_button_y" value="700" /> + <variable name="row_dst_text_y" value="720" /> + <variable name="row_offset_text_y" value="770" /> + <variable name="row_offset_medium_y" value="840" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="700" /> + <variable name="button_fill_main_width" value="337" /> + <variable name="button_fill_main_height" value="216" /> + <variable name="button_fill_half_height" value="108" /> + <variable name="button_fill_quarter_height" value="54" /> + <variable name="backup_list_height" value="520" /> + <variable name="backup_button_row1" value="745" /> + <variable name="backup_button_row2" value="810" /> + <variable name="mount_list_height" value="690" /> + <variable name="mount_storage_row" value="820" /> + <variable name="storage_list_height" value="775" /> + <variable name="wipe_list_height" value="870" /> + <variable name="wipe_button_y" value="650" /> + <variable name="slidervalue_w" value="700" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="2" /> + <variable name="slidervalue_padding" value="20" /> + <variable name="slidervalue_sliderw" value="10" /> + <variable name="slidervalue_sliderh" value="60" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="120" y="10" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="120" y="45" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="120" y="76" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="270" y="76" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%home_button_x%" y="%home_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="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="0" y="%row2_y%" w="720" h="470" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="325" y="1220" /> + <placement x="%console_x%" y="0" w="%console_width%" h="1220" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="800" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="106" width="72" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" /> + <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" /> + <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" /> + </layout1> + <layout2> + <keysize height="106" width="72" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" /> + <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" /> + <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" /> + </layout2> + <layout3> + <keysize height="106" width="72" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" /> + <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" /> + </layout3> + <layout4> + <keysize height="106" width="72" /> + <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" /> + <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" /> + <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/800x1280/res/fonts/Roboto-Condensed-30.dat b/gui/devices/800x1280/res/fonts/Roboto-Condensed-30.dat Binary files differnew file mode 100644 index 000000000..621b33214 --- /dev/null +++ b/gui/devices/800x1280/res/fonts/Roboto-Condensed-30.dat diff --git a/gui/devices/800x1280/res/images/back-icon.png b/gui/devices/800x1280/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..e0c044243 --- /dev/null +++ b/gui/devices/800x1280/res/images/back-icon.png diff --git a/gui/devices/800x1280/res/images/checkbox_checked.png b/gui/devices/800x1280/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..2af760929 --- /dev/null +++ b/gui/devices/800x1280/res/images/checkbox_checked.png diff --git a/gui/devices/800x1280/res/images/checkbox_empty.png b/gui/devices/800x1280/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..5f65c2604 --- /dev/null +++ b/gui/devices/800x1280/res/images/checkbox_empty.png diff --git a/gui/devices/800x1280/res/images/curtain.jpg b/gui/devices/800x1280/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..b21df31e8 --- /dev/null +++ b/gui/devices/800x1280/res/images/curtain.jpg diff --git a/gui/devices/800x1280/res/images/file.png b/gui/devices/800x1280/res/images/file.png Binary files differnew file mode 100644 index 000000000..aea3ac292 --- /dev/null +++ b/gui/devices/800x1280/res/images/file.png diff --git a/gui/devices/800x1280/res/images/folder.png b/gui/devices/800x1280/res/images/folder.png Binary files differnew file mode 100644 index 000000000..56f4bc276 --- /dev/null +++ b/gui/devices/800x1280/res/images/folder.png diff --git a/gui/devices/800x1280/res/images/home-icon.png b/gui/devices/800x1280/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..d4373b786 --- /dev/null +++ b/gui/devices/800x1280/res/images/home-icon.png diff --git a/gui/devices/800x1280/res/images/indeterminate001.png b/gui/devices/800x1280/res/images/indeterminate001.png Binary files differnew file mode 100644 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/800x1280/res/images/indeterminate001.png diff --git a/gui/devices/800x1280/res/images/indeterminate002.png b/gui/devices/800x1280/res/images/indeterminate002.png Binary files differnew file mode 100644 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/800x1280/res/images/indeterminate002.png diff --git a/gui/devices/800x1280/res/images/indeterminate003.png b/gui/devices/800x1280/res/images/indeterminate003.png Binary files differnew file mode 100644 index 000000000..670286743 --- /dev/null +++ b/gui/devices/800x1280/res/images/indeterminate003.png diff --git a/gui/devices/800x1280/res/images/indeterminate004.png b/gui/devices/800x1280/res/images/indeterminate004.png Binary files differnew file mode 100644 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/800x1280/res/images/indeterminate004.png diff --git a/gui/devices/800x1280/res/images/indeterminate005.png b/gui/devices/800x1280/res/images/indeterminate005.png Binary files differnew file mode 100644 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/800x1280/res/images/indeterminate005.png diff --git a/gui/devices/800x1280/res/images/indeterminate006.png b/gui/devices/800x1280/res/images/indeterminate006.png Binary files differnew file mode 100644 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/800x1280/res/images/indeterminate006.png diff --git a/gui/devices/800x1280/res/images/keyboard1.png b/gui/devices/800x1280/res/images/keyboard1.png Binary files differnew file mode 100755 index 000000000..17205c8f3 --- /dev/null +++ b/gui/devices/800x1280/res/images/keyboard1.png diff --git a/gui/devices/800x1280/res/images/keyboard2.png b/gui/devices/800x1280/res/images/keyboard2.png Binary files differnew file mode 100755 index 000000000..e4f5c368b --- /dev/null +++ b/gui/devices/800x1280/res/images/keyboard2.png diff --git a/gui/devices/800x1280/res/images/keyboard3.png b/gui/devices/800x1280/res/images/keyboard3.png Binary files differnew file mode 100755 index 000000000..7214ff3f8 --- /dev/null +++ b/gui/devices/800x1280/res/images/keyboard3.png diff --git a/gui/devices/800x1280/res/images/keyboard4.png b/gui/devices/800x1280/res/images/keyboard4.png Binary files differnew file mode 100755 index 000000000..efe6dc67e --- /dev/null +++ b/gui/devices/800x1280/res/images/keyboard4.png diff --git a/gui/devices/800x1280/res/images/medium-button.png b/gui/devices/800x1280/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..207faefa3 --- /dev/null +++ b/gui/devices/800x1280/res/images/medium-button.png diff --git a/gui/devices/800x1280/res/images/menu-button.png b/gui/devices/800x1280/res/images/menu-button.png Binary files differnew file mode 100644 index 000000000..0642f3816 --- /dev/null +++ b/gui/devices/800x1280/res/images/menu-button.png diff --git a/gui/devices/800x1280/res/images/minus-button.png b/gui/devices/800x1280/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..7b5f79f14 --- /dev/null +++ b/gui/devices/800x1280/res/images/minus-button.png diff --git a/gui/devices/800x1280/res/images/plus-button.png b/gui/devices/800x1280/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..b32857797 --- /dev/null +++ b/gui/devices/800x1280/res/images/plus-button.png diff --git a/gui/devices/800x1280/res/images/progress_empty.png b/gui/devices/800x1280/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/800x1280/res/images/progress_empty.png diff --git a/gui/devices/800x1280/res/images/progress_fill.png b/gui/devices/800x1280/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/800x1280/res/images/progress_fill.png diff --git a/gui/devices/800x1280/res/images/radio_empty.png b/gui/devices/800x1280/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..88d1c1f5e --- /dev/null +++ b/gui/devices/800x1280/res/images/radio_empty.png diff --git a/gui/devices/800x1280/res/images/radio_selected.png b/gui/devices/800x1280/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..864065dea --- /dev/null +++ b/gui/devices/800x1280/res/images/radio_selected.png diff --git a/gui/devices/800x1280/res/images/slideout.png b/gui/devices/800x1280/res/images/slideout.png Binary files differnew file mode 100644 index 000000000..c3c65e4af --- /dev/null +++ b/gui/devices/800x1280/res/images/slideout.png diff --git a/gui/devices/800x1280/res/images/slider-touch.png b/gui/devices/800x1280/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..83fce0850 --- /dev/null +++ b/gui/devices/800x1280/res/images/slider-touch.png diff --git a/gui/devices/800x1280/res/images/slider-used.png b/gui/devices/800x1280/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..4e4a1f4d1 --- /dev/null +++ b/gui/devices/800x1280/res/images/slider-used.png diff --git a/gui/devices/800x1280/res/images/slider.png b/gui/devices/800x1280/res/images/slider.png Binary files differnew file mode 100644 index 000000000..118edc68b --- /dev/null +++ b/gui/devices/800x1280/res/images/slider.png diff --git a/gui/devices/800x1280/res/images/sort-button.png b/gui/devices/800x1280/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..125c2ce5d --- /dev/null +++ b/gui/devices/800x1280/res/images/sort-button.png diff --git a/gui/devices/800x1280/res/images/top-bar.jpg b/gui/devices/800x1280/res/images/top-bar.jpg Binary files differnew file mode 100644 index 000000000..265b717b6 --- /dev/null +++ b/gui/devices/800x1280/res/images/top-bar.jpg diff --git a/gui/devices/800x1280/res/images/unlock.png b/gui/devices/800x1280/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..904122120 --- /dev/null +++ b/gui/devices/800x1280/res/images/unlock.png diff --git a/gui/devices/800x1280/res/ui.xml b/gui/devices/800x1280/res/ui.xml new file mode 100755 index 000000000..ba7dba321 --- /dev/null +++ b/gui/devices/800x1280/res/ui.xml @@ -0,0 +1,3892 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="800" height="1280" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Condensed-30" /> + <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" /> + <resource name="filelist" type="font" filename="Roboto-Condensed-30" /> + <resource name="top_bar" type="image" filename="top-bar.jpg" /> + <resource name="main_button" type="image" filename="menu-button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="slideout" type="image" filename="slideout" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="10" /> + <variable name="col2_x" value="415" /> + <variable name="col_center_x" value="213" /> + <variable name="col_center_medium_x" value="306" /> + <variable name="center_x" value="400" /> + <variable name="row1_y" value="185" /> + <variable name="row2_y" value="425" /> + <variable name="row3_y" value="665" /> + <variable name="row4_y" value="905" /> + <variable name="row_queue_y" value="710" /> + <variable name="row1_header_y" value="131" /> + <variable name="row1_text_y" value="170" /> + <variable name="row2_text_y" value="220" /> + <variable name="row3_text_y" value="270" /> + <variable name="row4_text_y" value="320" /> + <variable name="row5_text_y" value="370" /> + <variable name="row6_text_y" value="420" /> + <variable name="row7_text_y" value="470" /> + <variable name="row8_text_y" value="520" /> + <variable name="row9_text_y" value="570" /> + <variable name="row10_text_y" value="620" /> + <variable name="row11_text_y" value="670" /> + <variable name="row12_text_y" value="720" /> + <variable name="row13_text_y" value="770" /> + <variable name="row14_text_y" value="820" /> + <variable name="row15_text_y" value="870" /> + <variable name="row16_text_y" value="920" /> + <variable name="row17_text_y" value="970" /> + <variable name="row18_text_y" value="1020" /> + <variable name="zip_status_y" value="640" /> + <variable name="tz_selected_y" value="160" /> + <variable name="tz_set_y" value="955" /> + <variable name="tz_current_y" value="1185" /> + <variable name="col_progressbar_x" value="264" /> + <variable name="row_progressbar_y" value="1100" /> + <variable name="col1_medium_x" value="10" /> + <variable name="col2_medium_x" value="208" /> + <variable name="col3_medium_x" value="406" /> + <variable name="col4_medium_x" value="604" /> + <variable name="row1_medium_y" value="130" /> + <variable name="row2_medium_y" value="230" /> + <variable name="row3_medium_y" value="330" /> + <variable name="row4_medium_y" value="430" /> + <variable name="row5_medium_y" value="530" /> + <variable name="row6_medium_y" value="840" /> + <variable name="row7_medium_y" value="730" /> + <variable name="slider_x" value="98" /> + <variable name="slider_y" value="1030" /> + <variable name="slider_text_y" value="1096" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#FFFFFF" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="home_button_x" value="50" /> + <variable name="home_button_y" value="1226" /> + <variable name="back_button_x" value="666" /> + <variable name="back_button_y" value="1226" /> + <variable name="sort_text_x" value="85" /> + <variable name="sort_asc_text_y" value="1090" /> + <variable name="sort_asc_button_y" value="1080" /> + <variable name="sort_desc_text_y" value="1150" /> + <variable name="sort_desc_button_y" value="1140" /> + <variable name="sort_col1_button_x" value="330" /> + <variable name="sort_col2_button_x" value="430" /> + <variable name="sort_col3_button_x" value="530" /> + <variable name="input_width" value="750" /> + <variable name="input_height" value="50" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="3" /> + <variable name="console_x" value="0" /> + <variable name="console_width" value="800" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="470" /> + <variable name="console_install_height" value="600" /> + <variable name="console_installdone_height" value="440" /> + <variable name="fileselector_x" value="5" /> + <variable name="fileselector_width" value="790" /> + <variable name="fileselector_install_height" value="750" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="3" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="2" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="36"/> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="60" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="40" /> + <variable name="fastscroll_recth" value="70" /> + <variable name="listbox_x" value="5" /> + <variable name="listbox_width" value="790" /> + <variable name="listbox_tz_height" value="580" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="16" /> + <variable name="sd_plus_x" value="350" /> + <variable name="sdext_text_x" value="115" /> + <variable name="sdext_text_y" value="190" /> + <variable name="sdswap_button_y" value="260" /> + <variable name="sdswap_text_x" value="115" /> + <variable name="sdswap_text_y" value="265" /> + <variable name="sdfilesystem_text_y" value="340" /> + <variable name="sdfilesystem_button_y" value="380" /> + <variable name="lock_x" value="200" /> + <variable name="lock_y" value="400" /> + <variable name="filemanager_select_x" value="320" /> + <variable name="filemanager_select_y" value="950" /> + <variable name="backup_name_y" value="550" /> + <variable name="terminal_console_height" value="600" /> + <variable name="terminal_text_y" value="650" /> + <variable name="terminal_button_y" value="620" /> + <variable name="row_dst_text_y" value="720" /> + <variable name="row_offset_text_y" value="800" /> + <variable name="row_offset_medium_y" value="840" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="780" /> + <variable name="button_fill_main_width" value="375" /> + <variable name="button_fill_main_height" value="240" /> + <variable name="button_fill_half_height" value="120" /> + <variable name="button_fill_quarter_height" value="54" /> + <variable name="backup_list_height" value="520" /> + <variable name="backup_button_row1" value="745" /> + <variable name="backup_button_row2" value="810" /> + <variable name="mount_list_height" value="690" /> + <variable name="mount_storage_row" value="830" /> + <variable name="storage_list_height" value="775" /> + <variable name="wipe_list_height" value="870" /> + <variable name="wipe_button_y" value="650" /> + <variable name="slidervalue_w" value="780" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="2" /> + <variable name="slidervalue_padding" value="20" /> + <variable name="slidervalue_sliderw" value="10" /> + <variable name="slidervalue_sliderh" value="60" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="top_bar" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="120" y="10" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="120" y="45" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="120" y="76" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="270" y="76" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery: %tw_battery%</text> + </object> + + <object type="button"> + <placement x="%home_button_x%" y="%home_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"> + <placement x="%back_button_x%" y="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="0" y="%row3_text_y%" w="800" h="600" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="slideout" x="355" y="1220" /> + <placement x="%console_x%" y="0" w="%console_width%" h="1220" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="740" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="115" width="80" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> + <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" /> + <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123:c:8" /> + <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" /> + </layout1> + <layout2> + <keysize height="116" width="80" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> + <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" /> + <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" /> + <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" /> + </layout2> + <layout3> + <keysize height="115" width="80" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> + <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> + <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" /> + <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" /> + </layout3> + <layout4> + <keysize height="116" width="80" /> + <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" /> + <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" /> + <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" /> + <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" /> + </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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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" /> + <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="%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="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="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="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%" /> + <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> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%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_backup_name=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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"> + <placement x="%col_center_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="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="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> + + <page name="fixsu"> + <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>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/800x480/res/fonts/Roboto-Condensed-16.dat b/gui/devices/800x480/res/fonts/Roboto-Condensed-16.dat Binary files differnew file mode 100644 index 000000000..19c11470d --- /dev/null +++ b/gui/devices/800x480/res/fonts/Roboto-Condensed-16.dat diff --git a/gui/devices/800x480/res/images/back-icon.png b/gui/devices/800x480/res/images/back-icon.png Binary files differnew file mode 100644 index 000000000..1096c9090 --- /dev/null +++ b/gui/devices/800x480/res/images/back-icon.png diff --git a/gui/devices/800x480/res/images/background.jpg b/gui/devices/800x480/res/images/background.jpg Binary files differnew file mode 100644 index 000000000..af8253145 --- /dev/null +++ b/gui/devices/800x480/res/images/background.jpg diff --git a/gui/devices/800x480/res/images/button.png b/gui/devices/800x480/res/images/button.png Binary files differnew file mode 100644 index 000000000..49b878498 --- /dev/null +++ b/gui/devices/800x480/res/images/button.png diff --git a/gui/devices/800x480/res/images/checkbox_checked.png b/gui/devices/800x480/res/images/checkbox_checked.png Binary files differnew file mode 100644 index 000000000..3759b7fd9 --- /dev/null +++ b/gui/devices/800x480/res/images/checkbox_checked.png diff --git a/gui/devices/800x480/res/images/checkbox_empty.png b/gui/devices/800x480/res/images/checkbox_empty.png Binary files differnew file mode 100644 index 000000000..43a640427 --- /dev/null +++ b/gui/devices/800x480/res/images/checkbox_empty.png diff --git a/gui/devices/800x480/res/images/console-icon.png b/gui/devices/800x480/res/images/console-icon.png Binary files differnew file mode 100644 index 000000000..91a727d40 --- /dev/null +++ b/gui/devices/800x480/res/images/console-icon.png diff --git a/gui/devices/800x480/res/images/console-toggle.png b/gui/devices/800x480/res/images/console-toggle.png Binary files differnew file mode 100644 index 000000000..963b9fdba --- /dev/null +++ b/gui/devices/800x480/res/images/console-toggle.png diff --git a/gui/devices/800x480/res/images/curtain.jpg b/gui/devices/800x480/res/images/curtain.jpg Binary files differnew file mode 100644 index 000000000..1f03eb5e5 --- /dev/null +++ b/gui/devices/800x480/res/images/curtain.jpg diff --git a/gui/devices/800x480/res/images/file.png b/gui/devices/800x480/res/images/file.png Binary files differnew file mode 100644 index 000000000..8556bc7fa --- /dev/null +++ b/gui/devices/800x480/res/images/file.png diff --git a/gui/devices/800x480/res/images/folder.png b/gui/devices/800x480/res/images/folder.png Binary files differnew file mode 100644 index 000000000..a3a5f69df --- /dev/null +++ b/gui/devices/800x480/res/images/folder.png diff --git a/gui/devices/800x480/res/images/home-icon.png b/gui/devices/800x480/res/images/home-icon.png Binary files differnew file mode 100644 index 000000000..e42d774b1 --- /dev/null +++ b/gui/devices/800x480/res/images/home-icon.png diff --git a/gui/devices/800x480/res/images/indeterminate001.png b/gui/devices/800x480/res/images/indeterminate001.png Binary files differnew file mode 100755 index 000000000..e6fa1c574 --- /dev/null +++ b/gui/devices/800x480/res/images/indeterminate001.png diff --git a/gui/devices/800x480/res/images/indeterminate002.png b/gui/devices/800x480/res/images/indeterminate002.png Binary files differnew file mode 100755 index 000000000..e1fceaba1 --- /dev/null +++ b/gui/devices/800x480/res/images/indeterminate002.png diff --git a/gui/devices/800x480/res/images/indeterminate003.png b/gui/devices/800x480/res/images/indeterminate003.png Binary files differnew file mode 100755 index 000000000..670286743 --- /dev/null +++ b/gui/devices/800x480/res/images/indeterminate003.png diff --git a/gui/devices/800x480/res/images/indeterminate004.png b/gui/devices/800x480/res/images/indeterminate004.png Binary files differnew file mode 100755 index 000000000..ff65e0930 --- /dev/null +++ b/gui/devices/800x480/res/images/indeterminate004.png diff --git a/gui/devices/800x480/res/images/indeterminate005.png b/gui/devices/800x480/res/images/indeterminate005.png Binary files differnew file mode 100755 index 000000000..e61e2cc15 --- /dev/null +++ b/gui/devices/800x480/res/images/indeterminate005.png diff --git a/gui/devices/800x480/res/images/indeterminate006.png b/gui/devices/800x480/res/images/indeterminate006.png Binary files differnew file mode 100755 index 000000000..c9c21ba9c --- /dev/null +++ b/gui/devices/800x480/res/images/indeterminate006.png diff --git a/gui/devices/800x480/res/images/keyboard1.png b/gui/devices/800x480/res/images/keyboard1.png Binary files differnew file mode 100644 index 000000000..1ccb64bb4 --- /dev/null +++ b/gui/devices/800x480/res/images/keyboard1.png diff --git a/gui/devices/800x480/res/images/keyboard2.png b/gui/devices/800x480/res/images/keyboard2.png Binary files differnew file mode 100644 index 000000000..f19eaccab --- /dev/null +++ b/gui/devices/800x480/res/images/keyboard2.png diff --git a/gui/devices/800x480/res/images/keyboard3.png b/gui/devices/800x480/res/images/keyboard3.png Binary files differnew file mode 100644 index 000000000..022086064 --- /dev/null +++ b/gui/devices/800x480/res/images/keyboard3.png diff --git a/gui/devices/800x480/res/images/keyboard4.png b/gui/devices/800x480/res/images/keyboard4.png Binary files differnew file mode 100644 index 000000000..7fc0ea50f --- /dev/null +++ b/gui/devices/800x480/res/images/keyboard4.png diff --git a/gui/devices/800x480/res/images/medium-button.png b/gui/devices/800x480/res/images/medium-button.png Binary files differnew file mode 100644 index 000000000..77dc54072 --- /dev/null +++ b/gui/devices/800x480/res/images/medium-button.png diff --git a/gui/devices/800x480/res/images/mediumwide-button.png b/gui/devices/800x480/res/images/mediumwide-button.png Binary files differnew file mode 100644 index 000000000..b2b7d4de9 --- /dev/null +++ b/gui/devices/800x480/res/images/mediumwide-button.png diff --git a/gui/devices/800x480/res/images/minus-button.png b/gui/devices/800x480/res/images/minus-button.png Binary files differnew file mode 100644 index 000000000..5a49c758e --- /dev/null +++ b/gui/devices/800x480/res/images/minus-button.png diff --git a/gui/devices/800x480/res/images/plus-button.png b/gui/devices/800x480/res/images/plus-button.png Binary files differnew file mode 100644 index 000000000..da1326c92 --- /dev/null +++ b/gui/devices/800x480/res/images/plus-button.png diff --git a/gui/devices/800x480/res/images/progress_empty.png b/gui/devices/800x480/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/800x480/res/images/progress_empty.png diff --git a/gui/devices/800x480/res/images/progress_fill.png b/gui/devices/800x480/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..669c6efa9 --- /dev/null +++ b/gui/devices/800x480/res/images/progress_fill.png diff --git a/gui/devices/800x480/res/images/radio_empty.png b/gui/devices/800x480/res/images/radio_empty.png Binary files differnew file mode 100644 index 000000000..d118aaf8b --- /dev/null +++ b/gui/devices/800x480/res/images/radio_empty.png diff --git a/gui/devices/800x480/res/images/radio_selected.png b/gui/devices/800x480/res/images/radio_selected.png Binary files differnew file mode 100644 index 000000000..5a8a0fd55 --- /dev/null +++ b/gui/devices/800x480/res/images/radio_selected.png diff --git a/gui/devices/800x480/res/images/slider-touch.png b/gui/devices/800x480/res/images/slider-touch.png Binary files differnew file mode 100644 index 000000000..dee19eec2 --- /dev/null +++ b/gui/devices/800x480/res/images/slider-touch.png diff --git a/gui/devices/800x480/res/images/slider-used.png b/gui/devices/800x480/res/images/slider-used.png Binary files differnew file mode 100644 index 000000000..754395a21 --- /dev/null +++ b/gui/devices/800x480/res/images/slider-used.png diff --git a/gui/devices/800x480/res/images/slider.png b/gui/devices/800x480/res/images/slider.png Binary files differnew file mode 100644 index 000000000..b0cc079eb --- /dev/null +++ b/gui/devices/800x480/res/images/slider.png diff --git a/gui/devices/800x480/res/images/sort-button.png b/gui/devices/800x480/res/images/sort-button.png Binary files differnew file mode 100644 index 000000000..13ab929de --- /dev/null +++ b/gui/devices/800x480/res/images/sort-button.png diff --git a/gui/devices/800x480/res/images/unlock.png b/gui/devices/800x480/res/images/unlock.png Binary files differnew file mode 100644 index 000000000..914c60d20 --- /dev/null +++ b/gui/devices/800x480/res/images/unlock.png diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml new file mode 100755 index 000000000..ba262bcce --- /dev/null +++ b/gui/devices/800x480/res/ui.xml @@ -0,0 +1,3918 @@ +<?xml version="1.0"?> + +<recovery> + <details> + <resolution width="800" height="480" /> + <author>TeamWin</author> + <title>Backup Naowz</title> + <description>Default basic theme</description> + <preview>preview.jpg</preview> + </details> + + <resources> + <resource name="font" type="font" filename="Roboto-Condensed-16" /> + <resource name="base" type="image" filename="background.jpg" /> + <resource name="main_button" type="image" filename="button" /> + <resource name="file_icon" type="image" filename="file" /> + <resource name="folder_icon" type="image" filename="folder" /> + <resource name="progress" type="animation" filename="indeterminate" /> + <resource name="progress_empty" type="image" filename="progress_empty" /> + <resource name="progress_full" type="image" filename="progress_fill" /> + <resource name="checkbox_false" type="image" filename="checkbox_empty" /> + <resource name="checkbox_true" type="image" filename="checkbox_checked" /> + <resource name="radio_false" type="image" filename="radio_empty" /> + <resource name="radio_true" type="image" filename="radio_selected" /> + <resource name="medium_button" type="image" filename="medium-button" /> + <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> + <resource name="sort_button" type="image" filename="sort-button" /> + <resource name="minus_button" type="image" filename="minus-button" /> + <resource name="plus_button" type="image" filename="plus-button" /> + <resource name="home_icon" type="image" filename="home-icon" /> + <resource name="back_icon" type="image" filename="back-icon" /> + <resource name="console_button" type="image" filename="console-toggle" /> + <resource name="slider" type="image" filename="slider" /> + <resource name="slider-used" type="image" filename="slider-used" /> + <resource name="slider-touch" type="image" filename="slider-touch" /> + <resource name="unlock-icon" type="image" filename="unlock" /> + <resource name="keyboard1" type="image" filename="keyboard1" /> + <resource name="keyboard2" type="image" filename="keyboard2" /> + <resource name="keyboard3" type="image" filename="keyboard3" /> + <resource name="keyboard4" type="image" filename="keyboard4" /> + </resources> + + <variables> + <variable name="col1_x" value="23" /> + <variable name="col2_x" value="210" /> + <variable name="col3_x" value="410" /> + <variable name="col4_x" value="610" /> + <variable name="row1_y" value="90" /> + <variable name="row2_y" value="340" /> + <variable name="col_center_x" value="310" /> + <variable name="center_x" value="400" /> + <variable name="screen_width" value="800" /> + <variable name="screen_height" value="480" /> + <variable name="col_progressbar_x" value="300" /> + <variable name="row_progressbar_y" value="440" /> + <variable name="col1_medium_x" value="120" /> + <variable name="col2_medium_x" value="250" /> + <variable name="col3_medium_x" value="380" /> + <variable name="col4_medium_x" value="510" /> + <variable name="row1_medium_y" value="105" /> + <variable name="row2_medium_y" value="175" /> + <variable name="row3_medium_y" value="245" /> + <variable name="row4_medium_y" value="340" /> + <variable name="row5_medium_y" value="320" /> + <variable name="row1_text_y" value="58" /> + <variable name="row2_text_y" value="78" /> + <variable name="row3_text_y" value="100" /> + <variable name="row4_text_y" value="120" /> + <variable name="row5_text_y" value="140" /> + <variable name="row6_text_y" value="160" /> + <variable name="row7_text_y" value="180" /> + <variable name="row8_text_y" value="200" /> + <variable name="row9_text_y" value="220" /> + <variable name="row10_text_y" value="240" /> + <variable name="row11_text_y" value="260" /> + <variable name="row12_text_y" value="280" /> + <variable name="row13_text_y" value="300" /> + <variable name="row14_text_y" value="320" /> + <variable name="row15_text_y" value="340" /> + <variable name="row16_text_y" value="360" /> + <variable name="row17_text_y" value="380" /> + <variable name="row18_text_y" value="400" /> + <variable name="row_offsetmedium_y" value="320" /> + <variable name="home_button_x" value="589" /> + <variable name="home_button_y" value="5" /> + <variable name="back_button_x" value="659" /> + <variable name="back_button_y" value="5" /> + <variable name="console_button_x" value="729" /> + <variable name="console_button_y" value="5" /> + <variable name="nandcheck_col1" value="23" /> + <variable name="nandcheck_col2" value="360" /> + <variable name="nandcheck_row1" value="130" /> + <variable name="nandcheck_row2" value="160" /> + <variable name="nandcheck_row3" value="190" /> + <variable name="nandcheck_row4" value="220" /> + <variable name="nandcheck_row5" value="250" /> + <variable name="nandcheck_row6" value="280" /> + <variable name="nandcheck_row7" value="310" /> + <variable name="button_text_color" value="#AAAAAA" /> + <variable name="text_color" value="#A0A0A0" /> + <variable name="text_success_color" value="#33B5E5" /> + <variable name="text_fail_color" value="#FF0101" /> + <variable name="highlight_color" value="#90909080" /> + <variable name="slider_x" value="225" /> + <variable name="slider_y" value="390" /> + <variable name="slider_text_y" value="425" /> + <variable name="sort_text_x" value="170" /> + <variable name="sort_asc_text_y" value="418" /> + <variable name="sort_asc_button_y" value="413" /> + <variable name="sort_desc_text_y" value="452" /> + <variable name="sort_desc_button_y" value="447" /> + <variable name="sort_col1_button_x" value="300" /> + <variable name="sort_col2_button_x" value="370" /> + <variable name="sort_col3_button_x" value="440" /> + <variable name="col1_sdext_x" value="265" /> + <variable name="col2_sdext_x" value="475" /> + <variable name="row1_sdext_y" value="85" /> + <variable name="row2_sdext_y" value="150" /> + <variable name="row_extsize_y" value="85" /> + <variable name="row_swapsize_y" value="150" /> + <variable name="input_x" value="28" /> + <variable name="input_width" value="720" /> + <variable name="input_height" value="25" /> + <variable name="input_background_color" value="#303030" /> + <variable name="input_cursor_color" value="#33B5E5" /> + <variable name="input_cursor_width" value="2" /> + <variable name="console_x" value="25" /> + <variable name="console_width" value="750" /> + <variable name="console_foreground" value="#A0A0A0" /> + <variable name="console_background" value="#303030" /> + <variable name="console_scroll" value="#303030" /> + <variable name="console_action_height" value="230" /> + <variable name="console_install_height" value="260" /> + <variable name="console_installdone_height" value="260" /> + <variable name="fileselector_folder_x" value="28" /> + <variable name="fileselector_folder_width" value="248" /> + <variable name="fileselector_folderonly_width" value="400" /> + <variable name="fileselector_file_x" value="278" /> + <variable name="fileselector_file_width" value="506" /> + <variable name="fileselector_install_y" value="120" /> + <variable name="fileselector_install_height" value="290" /> + <variable name="fileselector_header_background" value="#202020" /> + <variable name="fileselector_header_textcolor" value="#AAAAAA" /> + <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> + <variable name="fileselector_header_separatorheight" value="2" /> + <variable name="fileselector_separatorcolor" value="#505050" /> + <variable name="fileselector_separatorheight" value="1" /> + <variable name="fileselector_background" value="#303030" /> + <variable name="fileselector_highlight_color" value="#505050" /> + <variable name="fileselector_highlight_font_color" value="#33B5E5" /> + <variable name="fileselector_spacing" value="12" /> + <variable name="fastscroll_linecolor" value="#808080" /> + <variable name="fastscroll_rectcolor" value="#808080" /> + <variable name="fastscroll_w" value="25" /> + <variable name="fastscroll_linew" value="2" /> + <variable name="fastscroll_rectw" value="19" /> + <variable name="fastscroll_recth" value="31" /> + <variable name="zipstorage_text_y" value="88" /> + <variable name="listbox_x" value="156" /> + <variable name="listbox_y" value="90" /> + <variable name="listbox_width" value="460" /> + <variable name="listbox_tz_height" value="170" /> + <variable name="listbox_background" value="#303030" /> + <variable name="listbox_spacing" value="12" /> + <variable name="sd_plus_x" value="280" /> + <variable name="lock_x" value="250" /> + <variable name="lock_y" value="90" /> + <variable name="filemanager_select_x" value="610" /> + <variable name="filemanager_select_y" value="413" /> + <variable name="backup_name_text_y" value="440" /> + <variable name="backup_name_button_y" value="195" /> + <variable name="col_right_x" value="772" /> + <variable name="cancel_button_y" value="180" /> + <variable name="terminal_console_y" value="0" /> + <variable name="terminal_console_height" value="240" /> + <variable name="terminal_text_y" value="247" /> + <variable name="terminal_button_y" value="237" /> + <variable name="terminal_input_width" value="551" /> + <variable name="button_fill_color" value="#303030" /> + <variable name="button_fill_full_width" value="400" /> + <variable name="button_fill_main_width" value="367" /> + <variable name="button_fill_main_height" value="120" /> + <variable name="button_fill_half_height" value="40" /> + <variable name="button_fill_quarter_height" value="30" /> + <variable name="button_full_center_x" value="200" /> + <variable name="backup_list_x" value="23" /> + <variable name="backup_list_y" value="80" /> + <variable name="backup_list_width" value="367" /> + <variable name="backup_list_height" value="290" /> + <variable name="backup_storage_y" value="190" /> + <variable name="backup_encrypt_y" value="235" /> + <variable name="restore_list_y" value="100" /> + <variable name="restore_list_height" value="270" /> + <variable name="mount_list_height" value="360" /> + <variable name="mount_storage_row" value="500" /> + <variable name="wipe_list_height" value="300" /> + <variable name="wipe_button_y" value="150" /> + <variable name="slidervalue_x" value="200" /> + <variable name="slidervalue_w" value="400" /> + <variable name="slidervalue_line_clr" value="#FFFFFF" /> + <variable name="slidervalue_slider_clr" value="#33B5E5" /> + <variable name="slidervalue_lineh" value="1" /> + <variable name="slidervalue_padding" value="0" /> + <variable name="slidervalue_sliderw" value="7" /> + <variable name="slidervalue_sliderh" value="40" /> + </variables> + + <templates> + <template name="header"> + <background color="#000000FF" /> + + <object type="image"> + <image resource="base" /> + <placement x="0" y="0" /> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="2" /> + <text>Team Win Recovery Project v%tw_version%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="250" y="37" /> + <conditions> + <condition var1="tw_no_battery_percent" var2="0" /> + <condition var1="tw_battery" op=">" var2="0" /> + <condition var1="tw_battery" op="<" var2="101" /> + </conditions> + <text>Battery Level: %tw_battery%</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="450" y="37" /> + <text>%tw_time%</text> + </object> + + <object type="text" color="%text_color%"> + <condition var1="tw_simulate_actions" var2="1" /> + <font resource="font" /> + <placement x="250" y="20" /> + <text>SIMULATING ACTIONS</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%home_button_x%" y="%home_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="%back_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> + </template> + + <template name="progress_bar"> + <object type="progressbar"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource empty="progress_empty" full="progress_full" /> + <data name="ui_progress" /> + </object> + + <object type="animation"> + <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> + <resource name="progress" /> + <speed fps="15" render="2" /> + <loop frame="1" /> + </object> + </template> + + <template name="sort_options"> + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> + <text>Sort Ascending:</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=1</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=2</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=3</action> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> + <text>Sort Descending:</text> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Name</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-1</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Date</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-2</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Size</text> + <image resource="sort_button" /> + <action function="set">tw_gui_sort_order=-3</action> + </object> + </template> + + <template name="flash_zip_console"> + <object type="console"> + <placement x="%console_x%" y="85" w="%console_width%" h="260" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="action_page_console"> + <object type="console"> + <placement x="%console_x%" y="160" w="%console_width%" h="230" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="footer"> + <object type="console"> + <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> + <placement x="%console_x%" y="60" w="%console_width%" h="380" /> + <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> + <font resource="fixed" /> + </object> + </template> + + <template name="keyboardtemplate"> + <object type="keyboard"> + <placement x="0" y="277" /> + <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> + <highlight color="%highlight_color%" /> + <layout1> + <keysize height="51" width="73" /> + <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="70:c:8" /> + <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" /> + <row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" /> + <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" /> + </layout1> + <layout2> + <keysize height="51" width="73" /> + <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="70:c:8" /> + <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" /> + <row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" /> + <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" /> + </layout2> + <layout3> + <keysize height="51" width="73" /> + <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" /> + <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" /> + <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" /> + <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" /> + </layout3> + <layout4> + <keysize height="51" width="73" /> + <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" /> + <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" /> + <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" /> + <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " /> + </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>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%"> + <condition var1="tw_has_data_media" var2="0" /> + <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="%listbox_x%" y="%row2_text_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="font" 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="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="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" /> + <action function="refreshsizes"></action> + </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="(Current Date)" /> + <action function="set">tw_backup_name=</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="%col_center_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=(Current Date)</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=(Current Date)</action> + <action function="page">main</action> + </actions> + </object> + + <object type="action"> + <touch key="back" /> + <actions> + <action function="set">tw_backup_name=(Current Date)</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="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="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="%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="button"> + <highlight color="%highlight_color%" /> + <placement x="%col_center_x%" y="%slider_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Restore Defaults</text> + <image resource="main_button" /> + <action function="restoredefaultsettings"></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="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="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> + + <page name="fixsu"> + <object type="template" name="header" /> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row1_text_y%" placement="5"/> + <text>Fix Superuser Permissions?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row2_text_y%" placement="5"/> + <text>Root permissions appear to be lost.</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row3_text_y%" placement="5"/> + <text>Fix root permissions now?</text> + </object> + + <object type="text" color="%text_color%"> + <font resource="font" /> + <placement x="%center_x%" y="%row4_text_y%" placement="5"/> + <text>(Fixes permissions on su binary & app)</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 Fix</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=fixsu</action> + <action function="set">tw_action_text1=Fixing Root Permissions</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 Fix Root</text> + </object> + </page> + </pages> +</recovery> diff --git a/gui/devices/common/res/images/progress_empty.png b/gui/devices/common/res/images/progress_empty.png Binary files differnew file mode 100644 index 000000000..b85371014 --- /dev/null +++ b/gui/devices/common/res/images/progress_empty.png diff --git a/gui/devices/common/res/images/progress_fill.png b/gui/devices/common/res/images/progress_fill.png Binary files differnew file mode 100644 index 000000000..6731dae4a --- /dev/null +++ b/gui/devices/common/res/images/progress_fill.png diff --git a/gui/devices/resources/fonts/Roboto-Condensed-10.dat b/gui/devices/resources/fonts/Roboto-Condensed-10.dat Binary files differnew file mode 100644 index 000000000..02e869b78 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-10.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-12.dat b/gui/devices/resources/fonts/Roboto-Condensed-12.dat Binary files differnew file mode 100644 index 000000000..b48c4f213 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-12.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-14.dat b/gui/devices/resources/fonts/Roboto-Condensed-14.dat Binary files differnew file mode 100644 index 000000000..f7b174cb1 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-14.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-16.dat b/gui/devices/resources/fonts/Roboto-Condensed-16.dat Binary files differnew file mode 100644 index 000000000..19c11470d --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-16.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-20.dat b/gui/devices/resources/fonts/Roboto-Condensed-20.dat Binary files differnew file mode 100644 index 000000000..531d5fdaf --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-20.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-25.dat b/gui/devices/resources/fonts/Roboto-Condensed-25.dat Binary files differnew file mode 100644 index 000000000..7cee713e7 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-25.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-30.dat b/gui/devices/resources/fonts/Roboto-Condensed-30.dat Binary files differnew file mode 100644 index 000000000..621b33214 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-30.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-40.dat b/gui/devices/resources/fonts/Roboto-Condensed-40.dat Binary files differnew file mode 100644 index 000000000..ff23add82 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-40.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-50.dat b/gui/devices/resources/fonts/Roboto-Condensed-50.dat Binary files differnew file mode 100644 index 000000000..ae9c0f64d --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-50.dat diff --git a/gui/devices/resources/fonts/Roboto-Condensed-60.dat b/gui/devices/resources/fonts/Roboto-Condensed-60.dat Binary files differnew file mode 100644 index 000000000..22f9accd1 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Condensed-60.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-10.dat b/gui/devices/resources/fonts/Roboto-Regular-10.dat Binary files differnew file mode 100644 index 000000000..b1faa7d1c --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-10.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-12.dat b/gui/devices/resources/fonts/Roboto-Regular-12.dat Binary files differnew file mode 100644 index 000000000..1c9f058c3 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-12.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-14.dat b/gui/devices/resources/fonts/Roboto-Regular-14.dat Binary files differnew file mode 100644 index 000000000..5a6fff8b9 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-14.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-16.dat b/gui/devices/resources/fonts/Roboto-Regular-16.dat Binary files differnew file mode 100644 index 000000000..9f6d90005 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-16.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-20.dat b/gui/devices/resources/fonts/Roboto-Regular-20.dat Binary files differnew file mode 100644 index 000000000..6588b41e7 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-20.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-25.dat b/gui/devices/resources/fonts/Roboto-Regular-25.dat Binary files differnew file mode 100644 index 000000000..392cce97d --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-25.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-30.dat b/gui/devices/resources/fonts/Roboto-Regular-30.dat Binary files differnew file mode 100644 index 000000000..9f8082ccc --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-30.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-40.dat b/gui/devices/resources/fonts/Roboto-Regular-40.dat Binary files differnew file mode 100644 index 000000000..637d9fe5b --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-40.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-50.dat b/gui/devices/resources/fonts/Roboto-Regular-50.dat Binary files differnew file mode 100644 index 000000000..aecce38f0 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-50.dat diff --git a/gui/devices/resources/fonts/Roboto-Regular-60.dat b/gui/devices/resources/fonts/Roboto-Regular-60.dat Binary files differnew file mode 100644 index 000000000..5840beda2 --- /dev/null +++ b/gui/devices/resources/fonts/Roboto-Regular-60.dat |