Guest User

Untitled

a guest
Nov 3rd, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 437.98 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3. <recovery>
  4.     <details>
  5.         <resolution width="768" height="1280" />
  6.         <author>z31s1g</author>
  7.         <title>TWRP Materialised Play</title>
  8.         <description>Material Design theme for TWRP recovery</description>
  9.         <preview>preview.jpg</preview>
  10.     </details>
  11.  
  12.     <resources>
  13.        
  14.         <resource name="status" type="font" filename="RobotoRegular.ttf" size="28" fallback="Roboto-Medium-32" />
  15.         <resource name="caption" type="font" filename="RobotoMedium.ttf" size="24" fallback="Roboto-Regular-24" />
  16.         <resource name="body1" type="font" filename="RobotoRegular.ttf" size="28" fallback="Roboto-Regular-28" />
  17.         <resource name="body2" type="font" filename="RobotoMedium.ttf" size="28" fallback="Roboto-Medium-28" />
  18.         <resource name="subhead" type="font" filename="RobotoRegular.ttf" size="34" fallback="Roboto-Regular-34" />
  19.         <resource name="menu" type="font" filename="RobotoMedium.ttf" size="28" fallback="Roboto-Medium-28" />
  20.         <resource name="title" type="font" filename="RobotoRegular.ttf" size="40" fallback="Roboto-Medium-40" />
  21.        
  22.         <!--resource name="status" type="font" filename="Roboto-Medium-32" />
  23.         <resource name="caption" type="font" filename="Roboto-Regular-24" />
  24.         <resource name="body1" type="font" filename="Roboto-Regular-28" />
  25.         <resource name="body2" type="font" filename="Roboto-Medium-28" />
  26.         <resource name="subhead" type="font" filename="Roboto-Regular-34" />
  27.         <resource name="menu" type="font" filename="Roboto-Medium-28" />
  28.         <resource name="title" type="font" filename="Roboto-Medium-40" /-->
  29.        
  30.         <resource name="statusbar" type="image" filename="statusbar" />
  31.         <resource name="statusbar_install" type="image" filename="statusbar_install" />
  32.         <resource name="statusbar_wipe" type="image" filename="statusbar_wipe" />
  33.         <resource name="statusbar_backup" type="image" filename="statusbar_backup" />
  34.         <resource name="statusbar_restore" type="image" filename="statusbar_restore" />
  35.         <resource name="statusbar_mount" type="image" filename="statusbar_mount" />
  36.         <resource name="statusbar_filemanager" type="image" filename="statusbar_filemanager" />
  37.         <resource name="statusbar_advanced" type="image" filename="statusbar_advanced" />
  38.         <resource name="statusbar_reboot" type="image" filename="statusbar_reboot" />
  39.        
  40.         <resource name="actionbar" type="image" filename="actionbar" />
  41.         <resource name="actionbar_install" type="image" filename="actionbar_install" />
  42.         <resource name="actionbar_wipe" type="image" filename="actionbar_wipe" />
  43.         <resource name="actionbar_backup" type="image" filename="actionbar_backup" />
  44.         <resource name="actionbar_restore" type="image" filename="actionbar_restore" />
  45.         <resource name="actionbar_mount" type="image" filename="actionbar_mount" />
  46.         <resource name="actionbar_filemanager" type="image" filename="actionbar_filemanager" />
  47.         <resource name="actionbar_advanced" type="image" filename="actionbar_advanced" />
  48.         <resource name="actionbar_reboot" type="image" filename="actionbar_reboot" />
  49.        
  50.         <resource name="actionbar_tab" type="image" filename="actionbar_tab" />
  51.        
  52.         <resource name="actionbar_ex" type="image" filename="actionbar_ex" />
  53.         <resource name="actionbar_ex_install" type="image" filename="actionbar_ex_install" />
  54.         <resource name="actionbar_ex_wipe" type="image" filename="actionbar_ex_wipe" />
  55.         <resource name="actionbar_ex_backup" type="image" filename="actionbar_ex_backup" />
  56.         <resource name="actionbar_ex_restore" type="image" filename="actionbar_ex_restore" />
  57.         <resource name="actionbar_ex_mount" type="image" filename="actionbar_ex_mount" />
  58.         <resource name="actionbar_ex_filemanager" type="image" filename="actionbar_ex_filemanager" />
  59.         <resource name="actionbar_ex_advanced" type="image" filename="actionbar_ex_advanced" />
  60.        
  61.         <resource name="actionbar_logo" type="image" filename="actionbar_logo" />
  62.         <resource name="actionbar_back" type="image" filename="actionbar_back" />
  63.         <resource name="actionbar_back_hl" type="image" filename="actionbar_back_hl" />
  64.         <resource name="actionbar_settings" type="image" filename="actionbar_settings" />
  65.         <resource name="actionbar_settings_hl" type="image" filename="actionbar_settings_hl" />
  66.         <resource name="actionbar_overflow" type="image" filename="actionbar_overflow" />
  67.         <resource name="actionbar_overflow_hl" type="image" filename="actionbar_overflow_hl" />
  68.         <resource name="actionbar_pin" type="image" filename="actionbar_pin" />
  69.         <resource name="actionbar_pin_hl" type="image" filename="actionbar_pin_hl" />
  70.         <resource name="actionbar_pinned" type="image" filename="actionbar_pinned" />
  71.         <resource name="actionbar_pinned_hl" type="image" filename="actionbar_pinned_hl" />
  72.         <resource name="actionbar_refresh" type="image" filename="actionbar_refresh" />
  73.         <resource name="actionbar_refresh_hl" type="image" filename="actionbar_refresh_hl" />
  74.         <resource name="actionbar_sort" type="image" filename="actionbar_sort" />
  75.         <resource name="actionbar_sort_hl" type="image" filename="actionbar_sort_hl" />
  76.         <resource name="actionbar_reset" type="image" filename="actionbar_reset" />
  77.         <resource name="actionbar_reset_hl" type="image" filename="actionbar_reset_hl" />
  78.         <resource name="actionbar_font_big" type="image" filename="actionbar_font_big" />
  79.         <resource name="actionbar_font_big_hl" type="image" filename="actionbar_font_big_hl" />
  80.         <resource name="actionbar_font_small" type="image" filename="actionbar_font_small" />
  81.         <resource name="actionbar_font_small_hl" type="image" filename="actionbar_font_small_hl" />
  82.         <resource name="actionbar_theme" type="image" filename="actionbar_theme" />
  83.         <resource name="actionbar_theme_hl" type="image" filename="actionbar_theme_hl" />
  84.         <resource name="actionbar_encr_dis" type="image" filename="actionbar_encr_dis" />
  85.         <resource name="actionbar_encr_dis_hl" type="image" filename="actionbar_encr_dis_hl" />
  86.         <resource name="actionbar_encr_ena" type="image" filename="actionbar_encr_ena" />
  87.         <resource name="actionbar_encr_ena_hl" type="image" filename="actionbar_encr_ena_hl" />
  88.         <resource name="actionbar_delete" type="image" filename="actionbar_delete" />
  89.         <resource name="actionbar_delete_hl" type="image" filename="actionbar_delete_hl" />
  90.         <resource name="actionbar_edit" type="image" filename="actionbar_edit" />
  91.         <resource name="actionbar_edit_hl" type="image" filename="actionbar_edit_hl" />
  92.         <resource name="actionbar_close" type="image" filename="actionbar_close" />
  93.         <resource name="actionbar_close_hl" type="image" filename="actionbar_close_hl" />
  94.        
  95.         <resource name="btn_float_addtoqueue" type="image" filename="btn_float_addtoqueue" />
  96.         <resource name="btn_float_addtoqueue_hl" type="image" filename="btn_float_addtoqueue_hl" />
  97.         <resource name="btn_float_flashifyinfo" type="image" filename="btn_float_flashifyinfo" />
  98.         <resource name="btn_float_flashifyinfo_hl" type="image" filename="btn_float_flashifyinfo_hl" />
  99.         <resource name="btn_float_accept" type="image" filename="btn_float_accept" />
  100.         <resource name="btn_float_accept_install" type="image" filename="btn_float_accept_install" />
  101.         <resource name="btn_float_accept_advanced" type="image" filename="btn_float_accept_advanced" />
  102.         <resource name="btn_float_folder" type="image" filename="btn_float_folder" />
  103.        
  104.         <resource name="btn_menu_zip" type="image" filename="btn_menu_zip" />
  105.         <resource name="btn_menu_zip_sel" type="image" filename="btn_menu_zip_sel" />
  106.         <resource name="btn_menu_img" type="image" filename="btn_menu_img" />
  107.         <resource name="btn_menu_img_sel" type="image" filename="btn_menu_img_sel" />
  108.         <resource name="btn_menu_name_a" type="image" filename="btn_menu_name_a" />
  109.         <resource name="btn_menu_name_a_sel" type="image" filename="btn_menu_name_a_sel" />
  110.         <resource name="btn_menu_name_a_sel_install" type="image" filename="btn_menu_name_a_sel_install" />
  111.         <resource name="btn_menu_name_a_sel_restore" type="image" filename="btn_menu_name_a_sel_restore" />
  112.         <resource name="btn_menu_name_d" type="image" filename="btn_menu_name_d" />
  113.         <resource name="btn_menu_name_d_sel" type="image" filename="btn_menu_name_d_sel" />
  114.         <resource name="btn_menu_name_d_sel_install" type="image" filename="btn_menu_name_d_sel_install" />
  115.         <resource name="btn_menu_name_d_sel_restore" type="image" filename="btn_menu_name_d_sel_restore" />
  116.         <resource name="btn_menu_date_a" type="image" filename="btn_menu_date_a" />
  117.         <resource name="btn_menu_date_a_sel" type="image" filename="btn_menu_date_a_sel" />
  118.         <resource name="btn_menu_date_a_sel_install" type="image" filename="btn_menu_date_a_sel_install" />
  119.         <resource name="btn_menu_date_a_sel_restore" type="image" filename="btn_menu_date_a_sel_restore" />
  120.         <resource name="btn_menu_date_d" type="image" filename="btn_menu_date_d" />
  121.         <resource name="btn_menu_date_d_sel" type="image" filename="btn_menu_date_d_sel" />
  122.         <resource name="btn_menu_date_d_sel_install" type="image" filename="btn_menu_date_d_sel_install" />
  123.         <resource name="btn_menu_date_d_sel_restore" type="image" filename="btn_menu_date_d_sel_restore" />
  124.         <resource name="btn_menu_size_a" type="image" filename="btn_menu_size_a" />
  125.         <resource name="btn_menu_size_a_sel" type="image" filename="btn_menu_size_a_sel" />
  126.         <resource name="btn_menu_size_a_sel_install" type="image" filename="btn_menu_size_a_sel_install" />
  127.         <resource name="btn_menu_size_a_sel_restore" type="image" filename="btn_menu_size_a_sel_restore" />
  128.         <resource name="btn_menu_size_d" type="image" filename="btn_menu_size_d" />
  129.         <resource name="btn_menu_size_d_sel" type="image" filename="btn_menu_size_d_sel" />
  130.         <resource name="btn_menu_size_d_sel_install" type="image" filename="btn_menu_size_d_sel_install" />
  131.         <resource name="btn_menu_size_d_sel_restore" type="image" filename="btn_menu_size_d_sel_restore" />
  132.        
  133.         <resource name="btn_flat_less" type="image" filename="btn_flat_less" />
  134.         <resource name="btn_flat_more" type="image" filename="btn_flat_more" />
  135.         <resource name="btn_flat_ext3" type="image" filename="btn_flat_ext3" />
  136.         <resource name="btn_flat_ext4" type="image" filename="btn_flat_ext4" />
  137.         <resource name="btn_flat_installdumlock" type="image" filename="btn_flat_installdumlock" />
  138.         <resource name="btn_flat_reflashrecovery" type="image" filename="btn_flat_reflashrecovery" />
  139.         <resource name="btn_flat_restoreboot" type="image" filename="btn_flat_restoreboot" />
  140.        
  141.         <resource name="btn_raised_clearqueue" type="image" filename="btn_raised_clearqueue" />
  142.         <resource name="btn_raised_installscript" type="image" filename="btn_raised_installscript" />
  143.         <resource name="btn_raised_wipecaches" type="image" filename="btn_raised_wipecaches" />
  144.         <resource name="btn_raised_rebootsystem" type="image" filename="btn_raised_rebootsystem" />
  145.         <resource name="btn_raised_rebootsystem_wipe" type="image" filename="btn_raised_rebootsystem_wipe" />
  146.         <resource name="btn_raised_rebootsystem_backup" type="image" filename="btn_raised_rebootsystem_backup" />
  147.         <resource name="btn_raised_rebootsystem_restore" type="image" filename="btn_raised_rebootsystem_restore" />
  148.         <resource name="btn_raised_rebootsystem_filemanager" type="image" filename="btn_raised_rebootsystem_filemanager" />
  149.         <resource name="btn_raised_rebootsystem_advanced" type="image" filename="btn_raised_rebootsystem_advanced" />
  150.         <resource name="btn_raised_formatdata" type="image" filename="btn_raised_formatdata" />
  151.         <resource name="btn_raised_filesystem" type="image" filename="btn_raised_filesystem" />
  152.         <resource name="btn_raised_fsoptions" type="image" filename="btn_raised_fsoptions" />
  153.         <resource name="btn_raised_fsrepair" type="image" filename="btn_raised_fsrepair" />
  154.         <resource name="btn_raised_fschange" type="image" filename="btn_raised_fschange" />
  155.         <resource name="btn_raised_disconnect" type="image" filename="btn_raised_disconnect" />
  156.         <resource name="btn_raised_advancedwipe" type="image" filename="btn_raised_advancedwipe" />
  157.         <resource name="btn_raised_back" type="image" filename="btn_raised_back" />
  158.         <resource name="btn_raised_decryptdata" type="image" filename="btn_raised_decryptdata" />
  159.         <resource name="btn_raised_enablemtp" type="image" filename="btn_raised_enablemtp" />
  160.         <resource name="btn_raised_disablemtp" type="image" filename="btn_raised_disablemtp" />
  161.         <resource name="btn_raised_usbstorage" type="image" filename="btn_raised_usbstorage" />
  162.         <resource name="btn_raised_cancel" type="image" filename="btn_raised_cancel" />
  163.         <resource name="btn_raised_cancel_advanced" type="image" filename="btn_raised_cancel_advanced" />
  164.         <resource name="btn_raised_noinstall" type="image" filename="btn_raised_noinstall" />
  165.         <resource name="btn_raised_changetheme" type="image" filename="btn_raised_changetheme" />
  166.         <resource name="btn_raised_changecolor" type="image" filename="btn_raised_changecolor" />
  167.        
  168.         <resource name="btn_appenddate" type="image" filename="btn_appenddate" />
  169.        
  170.         <resource name="background" type="image" filename="background" />
  171.         <resource name="divider" type="image" filename="divider" />
  172.         <resource name="divider_list" type="image" filename="divider_list" />
  173.         <resource name="divider_wide" type="image" filename="divider_wide" />
  174.         <resource name="hider" type="image" filename="hider" />
  175.         <resource name="hider_ab_ex" type="image" filename="hider_ab_ex" />
  176.         <resource name="hider_ab_ex_install" type="image" filename="hider_ab_ex_install" />
  177.         <resource name="hider_ab_ex_wipe" type="image" filename="hider_ab_ex_wipe" />
  178.         <resource name="hider_ab_ex_backup" type="image" filename="hider_ab_ex_backup" />
  179.         <resource name="hider_ab_ex_restore" type="image" filename="hider_ab_ex_restore" />
  180.         <resource name="hider_ab_ex_filemanager" type="image" filename="hider_ab_ex_filemanager" />
  181.         <resource name="hider_ab_ex_advanced" type="image" filename="hider_ab_ex_advanced" />
  182.        
  183.         <resource name="dialog_bg" type="image" filename="dialog_bg" />
  184.         <resource name="dialog_label_storage" type="image" filename="dialog_label_storage" />
  185.         <resource name="dialog_label_storage_install" type="image" filename="dialog_label_storage_install" />
  186.         <resource name="dialog_label_storage_backup" type="image" filename="dialog_label_storage_backup" />
  187.         <resource name="dialog_label_storage_restore" type="image" filename="dialog_label_storage_restore" />
  188.         <resource name="dialog_label_storage_mount" type="image" filename="dialog_label_storage_mount" />
  189.         <resource name="dialog_label_bookmark" type="image" filename="dialog_label_bookmark" />
  190.         <resource name="dialog_label_bookmark_install" type="image" filename="dialog_label_bookmark_install" />
  191.         <resource name="dialog_label_restoresettings" type="image" filename="dialog_label_restoresettings" />
  192.         <resource name="dialog_label_settheme" type="image" filename="dialog_label_settheme" />
  193.         <resource name="dialog_label_color" type="image" filename="dialog_label_color" />
  194.         <resource name="dialog_label_encryption" type="image" filename="dialog_label_encryption" />
  195.         <resource name="dialog_label_decryption" type="image" filename="dialog_label_decryption" />
  196.         <resource name="dialog_label_offset" type="image" filename="dialog_label_offset" />
  197.         <resource name="dialog_label_removetheme" type="image" filename="dialog_label_removetheme" />
  198.        
  199.         <resource name="menu_install" type="image" filename="menu_install" />
  200.         <resource name="menu_sort" type="image" filename="menu_sort" />
  201.        
  202.         <resource name="db_ok" type="image" filename="db_ok" />
  203.         <resource name="db_ok_install" type="image" filename="db_ok_install" />
  204.         <resource name="db_ok_backup" type="image" filename="db_ok_backup" />
  205.         <resource name="db_ok_restore" type="image" filename="db_ok_restore" />
  206.         <resource name="db_ok_mount" type="image" filename="db_ok_mount" />
  207.         <resource name="db_ok_hl" type="image" filename="db_ok_hl" />
  208.         <resource name="db_ok_hl_install" type="image" filename="db_ok_hl_install" />
  209.         <resource name="db_ok_hl_backup" type="image" filename="db_ok_hl_backup" />
  210.         <resource name="db_ok_hl_restore" type="image" filename="db_ok_hl_restore" />
  211.         <resource name="db_ok_hl_mount" type="image" filename="db_ok_hl_mount" />
  212.         <resource name="db_cancel" type="image" filename="db_cancel" />
  213.         <resource name="db_cancel_hl" type="image" filename="db_cancel_hl" />
  214.        
  215.         <resource name="bs_bg" type="image" filename="bs_bg" />
  216.         <resource name="bs_btn_copy" type="image" filename="bs_btn_copy" />
  217.         <resource name="bs_btn_cut" type="image" filename="bs_btn_cut" />
  218.         <resource name="bs_btn_chmod755" type="image" filename="bs_btn_chmod755" />
  219.         <resource name="bs_btn_chmod644" type="image" filename="bs_btn_chmod644" />
  220.         <resource name="bs_btn_chmod" type="image" filename="bs_btn_chmod" />
  221.         <resource name="bs_btn_delete" type="image" filename="bs_btn_delete" />
  222.         <resource name="bs_btn_rename" type="image" filename="bs_btn_rename" />
  223.         <resource name="bs_close" type="image" filename="bs_close" />
  224.        
  225.         <resource name="bc_install" type="image" filename="bc_install" />
  226.         <resource name="bc_install_zip" type="image" filename="bc_install_zip" />
  227.         <resource name="bc_install_zip_m" type="image" filename="bc_install_zip_m" />
  228.         <resource name="bc_install_image" type="image" filename="bc_install_image" />
  229.         <resource name="bc_install_image_m" type="image" filename="bc_install_image_m" />
  230.         <resource name="bc_wipe" type="image" filename="bc_wipe" />
  231.         <resource name="bc_backup" type="image" filename="bc_backup" />
  232.         <resource name="bc_restore" type="image" filename="bc_restore" />
  233.         <resource name="bc_mount" type="image" filename="bc_mount" />
  234.         <resource name="bc_advanced" type="image" filename="bc_advanced" />
  235.         <resource name="bc_filemanager" type="image" filename="bc_filemanager" />
  236.         <resource name="bc_restart" type="image" filename="bc_restart" />
  237.         <resource name="bc_confirmaction" type="image" filename="bc_confirmaction" />
  238.         <resource name="bc_working" type="image" filename="bc_working" />
  239.         <resource name="bc_done" type="image" filename="bc_done" />
  240.         <resource name="bc_settings" type="image" filename="bc_settings" />
  241.         <resource name="bc_settings_theme" type="image" filename="bc_settings_theme" />
  242.         <resource name="bc_terminal" type="image" filename="bc_terminal" />
  243.         <resource name="bc_sideload" type="image" filename="bc_sideload" />
  244.         <resource name="bc_installsu" type="image" filename="bc_installsu" />
  245.         <resource name="bc_about" type="image" filename="bc_about" />
  246.         <resource name="bc_partsdcard" type="image" filename="bc_partsdcard" />
  247.         <resource name="bc_dumlock" type="image" filename="bc_dumlock" />
  248.        
  249.         <resource name="mb_empty" type="image" filename="mb_empty" />
  250.         <resource name="mb_empty_s" type="image" filename="mb_empty_s" />
  251.         <resource name="mb_install" type="image" filename="mb_install" />
  252.         <resource name="mb_wipe" type="image" filename="mb_wipe" />
  253.         <resource name="mb_backup" type="image" filename="mb_backup" />
  254.         <resource name="mb_restore" type="image" filename="mb_restore" />
  255.         <resource name="mb_mount" type="image" filename="mb_mount" />
  256.         <resource name="mb_filemanager" type="image" filename="mb_filemanager" />
  257.         <resource name="mb_advanced" type="image" filename="mb_advanced" />
  258.         <resource name="mb_restart" type="image" filename="mb_restart" />
  259.         <resource name="mb_system" type="image" filename="mb_system" />
  260.         <resource name="mb_recovery" type="image" filename="mb_recovery" />
  261.         <resource name="mb_bootloader" type="image" filename="mb_bootloader" />
  262.         <resource name="mb_theme" type="image" filename="mb_theme" />
  263.         <resource name="mb_poweroff" type="image" filename="mb_poweroff" />
  264.         <resource name="mb_download" type="image" filename="mb_download" />
  265.         <resource name="mb_logtosd" type="image" filename="mb_logtosd" />
  266.         <resource name="mb_fixpermissions" type="image" filename="mb_fixpermissions" />
  267.         <resource name="mb_terminalcommand" type="image" filename="mb_terminalcommand" />
  268.         <resource name="mb_adbsideload" type="image" filename="mb_adbsideload" />
  269.         <resource name="mb_dumlock" type="image" filename="mb_dumlock" />
  270.         <resource name="mb_reinjecttwrp" type="image" filename="mb_reinjecttwrp" />
  271.         <resource name="mb_partsdcard" type="image" filename="mb_partsdcard" />
  272.                
  273.         <resource name="mb_install_color" type="image" filename="mb_install_color" />
  274.         <resource name="mb_wipe_color" type="image" filename="mb_wipe_color" />
  275.         <resource name="mb_backup_color" type="image" filename="mb_backup_color" />
  276.         <resource name="mb_restore_color" type="image" filename="mb_restore_color" />
  277.         <resource name="mb_mount_color" type="image" filename="mb_mount_color" />
  278.         <resource name="mb_filemanager_color" type="image" filename="mb_filemanager_color" />
  279.         <resource name="mb_advanced_color" type="image" filename="mb_advanced_color" />
  280.         <resource name="mb_restart_color" type="image" filename="mb_restart_color" />
  281.         <resource name="mb_system_color" type="image" filename="mb_system_color" />
  282.         <resource name="mb_recovery_color" type="image" filename="mb_recovery_color" />
  283.         <resource name="mb_bootloader_color" type="image" filename="mb_bootloader_color" />
  284.         <resource name="mb_theme_color" type="image" filename="mb_theme_color" />
  285.         <resource name="mb_poweroff_color" type="image" filename="mb_poweroff_color" />
  286.         <resource name="mb_download_color" type="image" filename="mb_download_color" />
  287.         <resource name="mb_logtosd_color" type="image" filename="mb_logtosd_color" />
  288.         <resource name="mb_fixpermissions_color" type="image" filename="mb_fixpermissions_color" />
  289.         <resource name="mb_terminalcommand_color" type="image" filename="mb_terminalcommand_color" />
  290.         <resource name="mb_adbsideload_color" type="image" filename="mb_adbsideload_color" />
  291.         <resource name="mb_dumlock_color" type="image" filename="mb_dumlock_color" />
  292.         <resource name="mb_reinjecttwrp_color" type="image" filename="mb_reinjecttwrp_color" />
  293.         <resource name="mb_partsdcard_color" type="image" filename="mb_partsdcard_color" />
  294.        
  295.         <resource name="icon_info" type="image" filename="icon_info" />
  296.         <resource name="icon_warning" type="image" filename="icon_warning" />
  297.         <resource name="icon_person" type="image" filename="icon_person" />
  298.         <resource name="icon_mail" type="image" filename="icon_mail" />
  299.         <resource name="icon_palette" type="image" filename="icon_palette" />
  300.         <resource name="icon_cake" type="image" filename="icon_cake" />
  301.        
  302.         <resource name="file_icon" type="image" filename="file" />
  303.         <resource name="folder_icon" type="image" filename="folder" />
  304.        
  305.         <resource name="progress" type="animation" filename="indeterminate" />
  306.         <resource name="progress_empty" type="image" filename="progress_empty" />
  307.         <resource name="progress_fill" type="image" filename="progress_fill" />
  308.        
  309.         <resource name="checkbox_false" type="image" filename="checkbox_false" />
  310.         <resource name="checkbox_true" type="image" filename="checkbox_true" />
  311.         <resource name="checkbox_true_install" type="image" filename="checkbox_true_install" />
  312.         <resource name="checkbox_true_wipe" type="image" filename="checkbox_true_wipe" />
  313.         <resource name="checkbox_true_backup" type="image" filename="checkbox_true_backup" />
  314.         <resource name="checkbox_true_restore" type="image" filename="checkbox_true_restore" />
  315.         <resource name="checkbox_true_mount" type="image" filename="checkbox_true_mount" />
  316.         <resource name="checkbox_true_advanced" type="image" filename="checkbox_true_advanced" />
  317.         <resource name="checkbox_false_d" type="image" filename="checkbox_false_d" />
  318.         <resource name="checkbox_true_d" type="image" filename="checkbox_true_d" />
  319.         <resource name="checkbox_true_d_install" type="image" filename="checkbox_true_d_install" />
  320.         <resource name="radio_false" type="image" filename="radio_false" />
  321.         <resource name="radio_true" type="image" filename="radio_true" />
  322.         <resource name="radio_true_install" type="image" filename="radio_true_install" />
  323.         <resource name="radio_true_wipe" type="image" filename="radio_true_wipe" />
  324.         <resource name="radio_false_d" type="image" filename="radio_false_d" />
  325.         <resource name="radio_true_d" type="image" filename="radio_true_d" />
  326.         <resource name="radio_true_d_install" type="image" filename="radio_true_d_install" />
  327.         <resource name="radio_true_d_backup" type="image" filename="radio_true_d_backup" />
  328.         <resource name="radio_true_d_restore" type="image" filename="radio_true_d_restore" />
  329.         <resource name="radio_true_d_mount" type="image" filename="radio_true_d_mount" />
  330.        
  331.         <resource name="home" type="image" filename="home" />
  332.         <resource name="home_hl" type="image" filename="home_hl" />
  333.         <resource name="home_install" type="image" filename="home_install" />
  334.         <resource name="home_hl_install" type="image" filename="home_hl_install" />
  335.         <resource name="home_wipe" type="image" filename="home_wipe" />
  336.         <resource name="home_hl_wipe" type="image" filename="home_hl_wipe" />
  337.         <resource name="home_backup" type="image" filename="home_backup" />
  338.         <resource name="home_hl_backup" type="image" filename="home_hl_backup" />
  339.         <resource name="home_restore" type="image" filename="home_restore" />
  340.         <resource name="home_hl_restore" type="image" filename="home_hl_restore" />
  341.         <resource name="home_mount" type="image" filename="home_mount" />
  342.         <resource name="home_hl_mount" type="image" filename="home_hl_mount" />
  343.         <resource name="home_filemanager" type="image" filename="home_filemanager" />
  344.         <resource name="home_hl_filemanager" type="image" filename="home_hl_filemanager" />
  345.         <resource name="home_advanced" type="image" filename="home_advanced" />
  346.         <resource name="home_hl_advanced" type="image" filename="home_hl_advanced" />
  347.         <resource name="home_reboot" type="image" filename="home_reboot" />
  348.         <resource name="home_hl_reboot" type="image" filename="home_hl_reboot" />
  349.         <resource name="back" type="image" filename="back" />
  350.         <resource name="back_hl" type="image" filename="back_hl" />
  351.         <resource name="back_install" type="image" filename="back_install" />
  352.         <resource name="back_hl_install" type="image" filename="back_hl_install" />
  353.         <resource name="back_wipe" type="image" filename="back_wipe" />
  354.         <resource name="back_hl_wipe" type="image" filename="back_hl_wipe" />
  355.         <resource name="back_backup" type="image" filename="back_backup" />
  356.         <resource name="back_hl_backup" type="image" filename="back_hl_backup" />
  357.         <resource name="back_restore" type="image" filename="back_restore" />
  358.         <resource name="back_hl_restore" type="image" filename="back_hl_restore" />
  359.         <resource name="back_mount" type="image" filename="back_mount" />
  360.         <resource name="back_hl_mount" type="image" filename="back_hl_mount" />
  361.         <resource name="back_filemanager" type="image" filename="back_filemanager" />
  362.         <resource name="back_hl_filemanager" type="image" filename="back_hl_filemanager" />
  363.         <resource name="back_advanced" type="image" filename="back_advanced" />
  364.         <resource name="back_hl_advanced" type="image" filename="back_hl_advanced" />
  365.         <resource name="back_reboot" type="image" filename="back_reboot" />
  366.         <resource name="back_hl_reboot" type="image" filename="back_hl_reboot" />
  367.         <resource name="slideout" type="image" filename="slideout" />
  368.         <resource name="slideout_hl" type="image" filename="slideout_hl" />
  369.         <resource name="slideout_install" type="image" filename="slideout_install" />
  370.         <resource name="slideout_hl_install" type="image" filename="slideout_hl_install" />
  371.         <resource name="slideout_wipe" type="image" filename="slideout_wipe" />
  372.         <resource name="slideout_hl_wipe" type="image" filename="slideout_hl_wipe" />
  373.         <resource name="slideout_backup" type="image" filename="slideout_backup" />
  374.         <resource name="slideout_hl_backup" type="image" filename="slideout_hl_backup" />
  375.         <resource name="slideout_restore" type="image" filename="slideout_restore" />
  376.         <resource name="slideout_hl_restore" type="image" filename="slideout_hl_restore" />
  377.         <resource name="slideout_mount" type="image" filename="slideout_mount" />
  378.         <resource name="slideout_hl_mount" type="image" filename="slideout_hl_mount" />
  379.         <resource name="slideout_filemanager" type="image" filename="slideout_filemanager" />
  380.         <resource name="slideout_hl_filemanager" type="image" filename="slideout_hl_filemanager" />
  381.         <resource name="slideout_advanced" type="image" filename="slideout_advanced" />
  382.         <resource name="slideout_hl_advanced" type="image" filename="slideout_hl_advanced" />
  383.         <resource name="slideout_reboot" type="image" filename="slideout_reboot" />
  384.         <resource name="slideout_hl_reboot" type="image" filename="slideout_hl_reboot" />
  385.        
  386.         <resource name="slider" type="image" filename="slider" />
  387.         <resource name="slider_used" type="image" filename="slider_used" />
  388.         <resource name="slider_used_install" type="image" filename="slider_used_install" />
  389.         <resource name="slider_used_wipe" type="image" filename="slider_used_wipe" />
  390.         <resource name="slider_used_backup" type="image" filename="slider_used_backup" />
  391.         <resource name="slider_used_restore" type="image" filename="slider_used_restore" />
  392.         <resource name="slider_used_filemanager" type="image" filename="slider_used_filemanager" />
  393.         <resource name="slider_used_advanced" type="image" filename="slider_used_advanced" />
  394.         <resource name="slider_lock" type="image" filename="slider_lock" />
  395.         <resource name="slider_lock_used" type="image" filename="slider_lock_used" />
  396.         <resource name="slider_lock_handle" type="image" filename="slider_lock_handle" />
  397.         <resource name="handle" type="image" filename="handle" />
  398.         <resource name="handle_h" type="image" filename="handle_h" />
  399.         <resource name="handle_h_install" type="image" filename="handle_h_install" />
  400.         <resource name="handle_h_wipe" type="image" filename="handle_h_wipe" />
  401.         <resource name="handle_h_backup" type="image" filename="handle_h_backup" />
  402.         <resource name="handle_h_restore" type="image" filename="handle_h_restore" />
  403.         <resource name="handle_h_filemanager" type="image" filename="handle_h_filemanager" />
  404.         <resource name="handle_h_advanced" type="image" filename="handle_h_advanced" />
  405.        
  406.         <resource name="keyboard1" type="image" filename="keyboard1" />
  407.         <resource name="keyboard2" type="image" filename="keyboard2" />
  408.         <resource name="keyboard3" type="image" filename="keyboard3" />
  409.         <resource name="keyboard4" type="image" filename="keyboard4" />
  410.         <resource name="keyboard_shadow" type="image" filename="keyboard_shadow" />
  411.         <resource name="usb" type="image" filename="usb" />
  412.         <resource name="input_line" type="image" filename="input_line" />
  413.         <resource name="input_line_wipe" type="image" filename="input_line_wipe" />
  414.         <resource name="input_line_backup" type="image" filename="input_line_backup" />
  415.         <resource name="input_line_restore" type="image" filename="input_line_restore" />
  416.         <resource name="input_line_mount" type="image" filename="input_line_mount" />
  417.         <resource name="input_line_filemanager" type="image" filename="input_line_filemanager" />
  418.         <resource name="input_line_mount" type="image" filename="input_line_mount" />
  419.         <resource name="input_line_advanced" type="image" filename="input_line_advanced" />
  420.         <resource name="input_line_dialog_backup" type="image" filename="input_line_dialog_backup" />
  421.         <resource name="input_line_dialog_restore" type="image" filename="input_line_dialog_restore" />
  422.         <resource name="input_line_fail_backupname" type="image" filename="input_line_fail_backupname" />
  423.         <resource name="input_line_fail_dialog_encr" type="image" filename="input_line_fail_dialog_encr" />
  424.         <resource name="input_line_fail_decr" type="image" filename="input_line_fail_decr" />
  425.        
  426.         <resource name="tab_misc" type="image" filename="tab_misc" />
  427.         <resource name="tab_misc_a" type="image" filename="tab_misc_a" />
  428.         <resource name="tab_display" type="image" filename="tab_display" />
  429.         <resource name="tab_display_a" type="image" filename="tab_display_a" />
  430.         <resource name="tab_time" type="image" filename="tab_time" />
  431.         <resource name="tab_time_a" type="image" filename="tab_time_a" />
  432.         <resource name="tab_vibration" type="image" filename="tab_vibration" />
  433.         <resource name="tab_vibration_a" type="image" filename="tab_vibration_a" />
  434.  
  435.         <resource name="cursor" type="image" filename="cursor" />
  436.        
  437.     </resources>
  438.  
  439.     <variables>
  440.        
  441.         <!--theme settings-->
  442.         <variable name="aromafm" value="0" persist="1" />
  443.         <variable name="show_cpu_temp" value="0" persist="1" />
  444.         <variable name="center_clock" value="0" persist="1" />
  445.         <variable name="dialog_hide_folder" value="0" persist="1" />
  446.         <variable name="dialog_context" value="none" persist="1" />
  447.         <variable name="list_font" value="big" persist="1" />
  448.         <variable name="bookmark" value="0" persist="1" />
  449.         <variable name="navbar_sams" value="0" persist="1" />
  450.         <variable name="menu_btn_solid" value="0" persist="1" />
  451.         <variable name="location_install" value="/sdcard/Download" persist="1" />
  452.         <variable name="location_install_image" value="/sdcard/Download" persist="1" />
  453.         <variable name="location_addfile" value="/sdcard/Download" persist="1" />
  454.         <variable name="location_themes" value="/sdcard/Download" persist="1" />
  455.        
  456.         <variable name="screen_w" value="768" />
  457.         <variable name="screen_h" value="1280" />
  458.         <variable name="content_w" value="704" />
  459.         <variable name="indent" value="0" />
  460.         <variable name="center_x" value="384" />
  461.         <variable name="col1_x" value="32" />
  462.         <variable name="col1_x_neg" value="736" />
  463.         <variable name="col1_x_indent" value="144" />
  464.         <variable name="col_col_center_x" value="282" />
  465.         <variable name="col2_x" value="384" />
  466.         <variable name="version_x" value="12" />
  467.         <variable name="battery_x" value="608" />
  468.         <variable name="battery_x_m" value="648" />
  469.         <variable name="time_x" value="754" />
  470.         <variable name="status_info_y" value="4" />
  471.        
  472.         <variable name="ab_back_x" value="8" />
  473.         <variable name="ab_bc_x" value="104" />
  474.         <variable name="ab_btn1_x" value="664" />
  475.         <variable name="ab_btn2_x" value="568" />
  476.         <variable name="ab_btn3_x" value="472" />
  477.         <variable name="ab_btn1m_x" value="688" />
  478.         <variable name="ab_btn2m_x" value="576" />
  479.         <variable name="ab_btn3m_x" value="480" />
  480.         <variable name="ab_y" value="56" />
  481.        
  482.         <variable name="ab_menu_y" value="48" />
  483.         <variable name="ab_menu_inst_x" value="120" />
  484.         <variable name="ab_menu_sort_x" value="648" />
  485.         <variable name="ab_menu_inst_1_y" value="80" />
  486.         <variable name="ab_menu_inst_2_y" value="176" />
  487.         <variable name="ab_menu_inst_3_y" value="272" />
  488.         <variable name="ab_menu_inst_4_y" value="368" />
  489.         <variable name="ab_menu_inst_5_y" value="464" />
  490.         <variable name="ab_menu_inst_6_y" value="560" />
  491.        
  492.         <variable name="btn_float_x" value="616" />
  493.        
  494.         <variable name="plusdate_x" value="736" />
  495.        
  496.         <variable name="btn_raised_left_x" value="18" />
  497.         <variable name="btn_raised_right_x" value="750" />
  498.        
  499.         <variable name="row0_y" value="160" />
  500.         <variable name="row0_a_y" value="180" />
  501.         <variable name="row1_1_y" value="200" />
  502.         <variable name="row1_1a_y" value="220" />
  503.         <variable name="row1_2_y" value="240" />
  504.         <variable name="row1_2a_y" value="260" />
  505.         <variable name="row1_3_y" value="280" />
  506.         <variable name="row1_3a_y" value="300" />
  507.         <variable name="row2_1_y" value="320" />
  508.         <variable name="row2_1a_y" value="340" />
  509.         <variable name="row2_2_y" value="360" />
  510.         <variable name="row2_2a_y" value="380" />
  511.         <variable name="row2_3_y" value="400" />
  512.         <variable name="row2_3a_y" value="420" />
  513.         <variable name="row3_1_y" value="440" />
  514.         <variable name="row3_1a_y" value="460" />
  515.         <variable name="row3_2_y" value="480" />
  516.         <variable name="row3_2a_y" value="500" />
  517.         <variable name="row3_3_y" value="520" />
  518.         <variable name="row3_3a_y" value="540" />
  519.         <variable name="row4_1_y" value="560" />
  520.         <variable name="row4_1a_y" value="580" />
  521.         <variable name="row4_2_y" value="600" />
  522.         <variable name="row4_2a_y" value="620" />
  523.         <variable name="row4_3_y" value="640" />
  524.         <variable name="row4_3a_y" value="660" />
  525.         <variable name="row5_1_y" value="680" />
  526.         <variable name="row5_1a_y" value="700" />
  527.         <variable name="row5_2_y" value="720" />
  528.         <variable name="row5_2a_y" value="740" />
  529.         <variable name="row5_3_y" value="760" />
  530.         <variable name="row5_3a_y" value="780" />
  531.         <variable name="row6_1_y" value="800" />
  532.         <variable name="row6_1a_y" value="820" />
  533.         <variable name="row6_2_y" value="840" />
  534.         <variable name="row6_2a_y" value="860" />
  535.         <variable name="row6_3_y" value="880" />
  536.         <variable name="row6_3a_y" value="900" />
  537.         <variable name="row7_1_y" value="920" />
  538.         <variable name="row7_1a_y" value="940" />
  539.         <variable name="row7_2_y" value="960" />
  540.         <variable name="row7_2a_y" value="980" />
  541.         <variable name="row7_3_y" value="1000" />
  542.         <variable name="row7_3a_y" value="1020" />
  543.         <variable name="row8_1_y" value="1040" />
  544.         <variable name="row8_1a_y" value="1060" />
  545.         <variable name="row8_2_y" value="1080" />
  546.         <variable name="row8_2a_y" value="1100" />
  547.         <variable name="row8_3_y" value="1120" />
  548.         <variable name="row8_3a_y" value="1140" />
  549.         <variable name="row9_1_y" value="1160" />
  550.         <variable name="row_btn_y" value="1088" />
  551.         <variable name="row_nav_y" value="1184" />
  552.         <variable name="row_tz_y" value="256" />
  553.         <variable name="row_ab_ex_y" value="304" />
  554.         <variable name="row_ab_ex_list_y" value="223" />
  555.         <variable name="row_bs_console_y" value="400" />
  556.        
  557.         <variable name="mb_row1_y" value="190" />
  558.         <variable name="mb_row2_y" value="310" />
  559.         <variable name="mb_row3_y" value="430" />
  560.         <variable name="mb_row4_y" value="550" />
  561.         <variable name="mb_row5_y" value="670" />
  562.         <variable name="mb_row6_y" value="790" />
  563.         <variable name="mb_row7_y" value="910" />
  564.         <variable name="mb_row8_y" value="1030" />
  565.         <variable name="mb_row9_y" value="1150" />
  566.        
  567.         <variable name="bs_row1_y" value="496" />
  568.         <variable name="bs_row2_y" value="592" />
  569.         <variable name="bs_row3_y" value="688" />
  570.         <variable name="bs_row4_y" value="784" />
  571.         <variable name="bs_row5_y" value="880" />
  572.         <variable name="bs_row6_y" value="976" />
  573.         <variable name="bs_row7_y" value="1072" />
  574.        
  575.         <variable name="progressbar_x" value="0" />
  576.         <variable name="progressbar_y" value="304" />
  577.  
  578.         <variable name="home_button_x" value="278" />
  579.         <variable name="back_button_x" value="76" />
  580.         <variable name="slideout_button_x" value="480" />
  581.        
  582.         <variable name="background" value="#F3F3F3FF" />
  583.         <variable name="darktransparent" value="#000000bb" />
  584.         <variable name="lightransparent" value="#00000033" />
  585.         <variable name="transparent" value="#00000000" />
  586.         <variable name="text" value="#3B3B3BFF" />
  587.         <variable name="text_actionbar" value="#E7E9EBFF" />
  588.         <variable name="text_actionbar_install" value="#DEF2FBFF" />
  589.         <variable name="text_actionbar_wipe" value="#FFE8E8FF" />
  590.         <variable name="text_actionbar_backup" value="#EBF2E5FF" />
  591.         <variable name="text_actionbar_restore" value="#FCECDEFF" />
  592.         <variable name="text_actionbar_mount" value="#F4E7F6FF" />
  593.         <variable name="text_actionbar_filemanager" value="#E7EBFFFF" />
  594.         <variable name="text_actionbar_advanced" value="#FFE7DEFF" />
  595.         <variable name="text_actionbar_reboot" value="#DEEFEFFF" />
  596.         <variable name="text_button" value="#3B3B3BFF" />
  597.         <variable name="text_light" value="#F3F3F3FF" />
  598.         <variable name="text_dark" value="#6F6F6FFF" />
  599.         <variable name="text_highlight" value="#455A64FF" />
  600.         <variable name="text_highlight_install" value="#039BE5FF" />
  601.         <variable name="text_highlight_wipe" value="#FF5252FF" />
  602.         <variable name="text_highlight_backup" value="#689F38FF" />
  603.         <variable name="text_highlight_restore" value="#EF6C00FF" />
  604.         <variable name="text_highlight_mount" value="#AB47BCFF" />
  605.         <variable name="text_highlight_filemanager" value="#5677FCFF" />
  606.         <variable name="text_highlight_advanced" value="#FF9800FF" />
  607.         <variable name="text_success" value="#68B60B" />
  608.         <variable name="text_fail" value="#FF0101" />
  609.         <variable name="highlight_color" value="#F3F3F366"  />
  610.         <variable name="console_foreground" value="#3B3B3BFF" />
  611.         <variable name="linecolor" value="#D0D0D0FF" />
  612.         <variable name="warning" value="#F8F8A0FF" />
  613.         <variable name="error" value="#FF4040FF" />
  614.         <variable name="highlight" value="#33B5E5FF" />
  615.         <variable name="highlight_default" value="#455A64FF" />
  616.         <variable name="highlight_install" value="#039BE5FF" />
  617.         <variable name="highlight_wipe" value="#FF5252FF" />
  618.         <variable name="highlight_backup" value="#689F38FF" />
  619.         <variable name="highlight_restore" value="#EF6C00FF" />
  620.         <variable name="highlight_mount" value="#AB47BCFF" />
  621.         <variable name="highlight_filemanager" value="#5677FCFF" />
  622.         <variable name="highlight_advanced" value="#FF9800FF" />
  623.        
  624.         <variable name="tab4_col1_x" value="0" />
  625.         <variable name="tab4_col2_x" value="192" />
  626.         <variable name="tab4_col3_x" value="384" />
  627.         <variable name="tab4_col4_x" value="576" />
  628.        
  629.         <variable name="input_width" value="704" />
  630.         <variable name="input_backup_width" value="614" />
  631.         <variable name="input_encr_width" value="384" />
  632.         <variable name="input_height" value="40" />
  633.         <variable name="input_backup_y" value="239" />
  634.         <variable name="input_encr_y" value="419" />
  635.         <variable name="input_decr_y" value="599" />
  636.         <variable name="input_format_y" value="639" />
  637.         <variable name="input_rename_y" value="399" />
  638.         <variable name="input_terminal_y" value="659" />
  639.         <variable name="input_cursor_width" value="2" />
  640.         <variable name="input_backup_bg_height" value="864" />
  641.  
  642.         <variable name="console_width" value="704" />
  643.         <variable name="console_height" value="720" />
  644.         <variable name="console_t_height" value="320" />
  645.         <variable name="console_action_height" value="600" />
  646.        
  647.         <variable name="storage_width" value="464" />
  648.         <variable name="storage_heigt" value="244" />
  649.         <variable name="storage_indent_x" value="152" />
  650.         <variable name="storage_indent_y" value="494" />
  651.         <variable name="bg_storage_x" value="48" />
  652.         <variable name="bg_storage_y" value="394" />
  653.         <variable name="bg_encrypt_y" value="201" />
  654.         <variable name="db_left_x" value="277" />
  655.         <variable name="db_right_x" value="453" />
  656.         <variable name="db_y" value="753" />
  657.         <variable name="db_encrypt_y" value="559" />
  658.         <variable name="db_text1_y" value="554" />
  659.         <variable name="db_text2_y" value="594" />
  660.         <variable name="db_text2a_y" value="614" />
  661.         <variable name="db_text3_y" value="634" />
  662.         <variable name="db_text3a_y" value="654" />
  663.         <variable name="db_checkbox_y" value="674" />
  664.        
  665.         <variable name="fileselector_width" value="736" />
  666.         <variable name="fileselector_install_height" value="864" />
  667.         <variable name="fileselector_part_height" value="420" />
  668.         <variable name="fileselector_wipe_height" value="360" />
  669.         <variable name="fileselector_mount_height" value="473" />
  670.         <variable name="fileselector_terminal_height" value="960" />
  671.         <variable name="fileselector_separatorheight" value="1" />
  672.         <variable name="fileselector_spacing" value="0" />
  673.        
  674.         <variable name="fastscroll_w" value="32" />
  675.         <variable name="fastscroll_linew" value="1" />
  676.         <variable name="fastscroll_rectw" value="16" />
  677.         <variable name="fastscroll_recth" value="80" />
  678.        
  679.         <variable name="listbox_tz_height" value="480" />
  680.         <variable name="listbox_tz_width" value="704" />
  681.         <variable name="listbox_spacing" value="0" />
  682.        
  683.         <variable name="textbox_spacing" value="6" />
  684.        
  685.         <variable name="slider_x" value="56" />
  686.         <variable name="slider_y" value="1040" />
  687.         <variable name="slider_text_y" value="1060" />
  688.         <variable name="slidervalue_w" value="656" />
  689.         <variable name="slidervalue_lineh" value="4" />
  690.         <variable name="slidervalue_padding" value="48" />
  691.         <variable name="slidervalue_sliderw" value="80" />
  692.         <variable name="slidervalue_sliderh" value="120" />
  693.     </variables>
  694.  
  695.     <mousecursor>
  696.         <placement w="10" h="10" />
  697.         <background color="#FFFF00FF" resource="cursor" />
  698.         <speed multiplier="2.5" />
  699.     </mousecursor>
  700.    
  701.     <templates>
  702.         <template name="body">
  703.             <background color="%background%" />
  704.  
  705.             <!--object type="image">
  706.                 <image resource="background" />
  707.                 <placement x="0" y="0" />
  708.             </object-->
  709.            
  710.             <object type="image">
  711.                 <image resource="divider_wide" />
  712.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  713.             </object>
  714.            
  715.             <object type="button">
  716.                 <condition var1="tw_busy" var2="0" />
  717.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  718.                 <font resource="body1" color="%text_button%" />
  719.                 <text></text>
  720.                 <image resource="home" highlightresource="home_hl" />
  721.                 <action function="key">home</action>
  722.             </object>
  723.  
  724.             <object type="button">
  725.                 <condition var1="tw_busy" var2="0" />
  726.                 <condition var1="navbar_sams" var2="0" />
  727.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  728.                 <font resource="body1" color="%text_button%" />
  729.                 <text></text>
  730.                 <image resource="back" highlightresource="back_hl" />
  731.                 <action function="key">back</action>
  732.             </object>
  733.  
  734.             <object type="button">
  735.                 <condition var1="tw_busy" var2="0" />
  736.                 <condition var1="navbar_sams" var2="1" />
  737.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  738.                 <font resource="body1" color="%text_button%" />
  739.                 <text></text>
  740.                 <image resource="back" highlightresource="back_hl" />
  741.                 <action function="key">back</action>
  742.             </object>
  743.            
  744.             <object type="button">
  745.                 <condition var1="tw_busy" var2="0" />
  746.                 <condition var1="navbar_sams" var2="0" />
  747.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  748.                 <font resource="body1" color="%text_button%" />
  749.                 <text></text>
  750.                 <image resource="slideout" highlightresource="slideout_hl" />
  751.                 <action function="overlay">console</action>
  752.             </object>
  753.            
  754.             <object type="button">
  755.                 <condition var1="tw_busy" var2="0" />
  756.                 <condition var1="navbar_sams" var2="1" />
  757.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  758.                 <font resource="body1" color="%text_button%" />
  759.                 <text></text>
  760.                 <image resource="slideout" highlightresource="slideout_hl" />
  761.                 <action function="overlay">console</action>
  762.             </object>
  763.            
  764.             <object type="action">
  765.                 <touch key="power" />
  766.                 <action function="overlay">lock</action>
  767.             </object>
  768.            
  769.             <object type="action">
  770.                 <touch key="power+voldown" />
  771.                 <action function="screenshot"/>
  772.             </object>
  773.         </template>
  774.        
  775.         <template name="body_install">
  776.             <background color="%background%" />
  777.  
  778.             <!--object type="image">
  779.                 <image resource="background" />
  780.                 <placement x="0" y="0" />
  781.             </object-->
  782.            
  783.             <object type="image">
  784.                 <image resource="divider_wide" />
  785.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  786.             </object>
  787.            
  788.             <object type="button">
  789.                 <condition var1="tw_busy" var2="0" />
  790.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  791.                 <font resource="body1" color="%text_button%" />
  792.                 <text></text>
  793.                 <image resource="home_install" highlightresource="home_hl_install" />
  794.                 <action function="key">home</action>
  795.             </object>
  796.  
  797.             <object type="button">
  798.                 <condition var1="tw_busy" var2="0" />
  799.                 <condition var1="navbar_sams" var2="0" />
  800.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  801.                 <font resource="body1" color="%text_button%" />
  802.                 <text></text>
  803.                 <image resource="back_install" highlightresource="back_hl_install" />
  804.                 <action function="key">back</action>
  805.             </object>
  806.  
  807.             <object type="button">
  808.                 <condition var1="tw_busy" var2="0" />
  809.                 <condition var1="navbar_sams" var2="1" />
  810.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  811.                 <font resource="body1" color="%text_button%" />
  812.                 <text></text>
  813.                 <image resource="back_install" highlightresource="back_hl_install" />
  814.                 <action function="key">back</action>
  815.             </object>
  816.            
  817.             <object type="button">
  818.                 <condition var1="tw_busy" var2="0" />
  819.                 <condition var1="navbar_sams" var2="0" />
  820.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  821.                 <font resource="body1" color="%text_button%" />
  822.                 <text></text>
  823.                 <image resource="slideout_install" highlightresource="slideout_hl_install" />
  824.                 <action function="overlay">console</action>
  825.             </object>
  826.            
  827.             <object type="button">
  828.                 <condition var1="tw_busy" var2="0" />
  829.                 <condition var1="navbar_sams" var2="1" />
  830.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  831.                 <font resource="body1" color="%text_button%" />
  832.                 <text></text>
  833.                 <image resource="slideout_install" highlightresource="slideout_hl_install" />
  834.                 <action function="overlay">console</action>
  835.             </object>
  836.            
  837.             <object type="action">
  838.                 <touch key="power" />
  839.                 <action function="overlay">lock</action>
  840.             </object>
  841.            
  842.             <object type="action">
  843.                 <touch key="power+voldown" />
  844.                 <action function="screenshot"/>
  845.             </object>
  846.         </template>
  847.        
  848.         <template name="body_wipe">
  849.             <background color="%background%" />
  850.  
  851.             <!--object type="image">
  852.                 <image resource="background" />
  853.                 <placement x="0" y="0" />
  854.             </object-->
  855.            
  856.             <object type="image">
  857.                 <image resource="divider_wide" />
  858.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  859.             </object>
  860.            
  861.             <object type="button">
  862.                 <condition var1="tw_busy" var2="0" />
  863.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  864.                 <font resource="body1" color="%text_button%" />
  865.                 <text></text>
  866.                 <image resource="home_wipe" highlightresource="home_hl_wipe" />
  867.                 <action function="key">home</action>
  868.             </object>
  869.  
  870.             <object type="button">
  871.                 <condition var1="tw_busy" var2="0" />
  872.                 <condition var1="navbar_sams" var2="0" />
  873.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  874.                 <font resource="body1" color="%text_button%" />
  875.                 <text></text>
  876.                 <image resource="back_wipe" highlightresource="back_hl_wipe" />
  877.                 <action function="key">back</action>
  878.             </object>
  879.  
  880.             <object type="button">
  881.                 <condition var1="tw_busy" var2="0" />
  882.                 <condition var1="navbar_sams" var2="1" />
  883.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  884.                 <font resource="body1" color="%text_button%" />
  885.                 <text></text>
  886.                 <image resource="back_wipe" highlightresource="back_hl_wipe" />
  887.                 <action function="key">back</action>
  888.             </object>
  889.            
  890.             <object type="button">
  891.                 <condition var1="tw_busy" var2="0" />
  892.                 <condition var1="navbar_sams" var2="0" />
  893.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  894.                 <font resource="body1" color="%text_button%" />
  895.                 <text></text>
  896.                 <image resource="slideout_wipe" highlightresource="slideout_hl_wipe" />
  897.                 <action function="overlay">console</action>
  898.             </object>
  899.            
  900.             <object type="button">
  901.                 <condition var1="tw_busy" var2="0" />
  902.                 <condition var1="navbar_sams" var2="1" />
  903.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  904.                 <font resource="body1" color="%text_button%" />
  905.                 <text></text>
  906.                 <image resource="slideout_wipe" highlightresource="slideout_hl_wipe" />
  907.                 <action function="overlay">console</action>
  908.             </object>
  909.            
  910.             <object type="action">
  911.                 <touch key="power" />
  912.                 <action function="overlay">lock</action>
  913.             </object>
  914.            
  915.             <object type="action">
  916.                 <touch key="power+voldown" />
  917.                 <action function="screenshot"/>
  918.             </object>
  919.         </template>
  920.        
  921.         <template name="body_backup">
  922.             <background color="%background%" />
  923.  
  924.             <!--object type="image">
  925.                 <image resource="background" />
  926.                 <placement x="0" y="0" />
  927.             </object-->
  928.            
  929.             <object type="image">
  930.                 <image resource="divider_wide" />
  931.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  932.             </object>
  933.            
  934.             <object type="button">
  935.                 <condition var1="tw_busy" var2="0" />
  936.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  937.                 <font resource="body1" color="%text_button%" />
  938.                 <text></text>
  939.                 <image resource="home_backup" highlightresource="home_hl_backup" />
  940.                 <action function="key">home</action>
  941.             </object>
  942.  
  943.             <object type="button">
  944.                 <condition var1="tw_busy" var2="0" />
  945.                 <condition var1="navbar_sams" var2="0" />
  946.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  947.                 <font resource="body1" color="%text_button%" />
  948.                 <text></text>
  949.                 <image resource="back_backup" highlightresource="back_hl_backup" />
  950.                 <action function="key">back</action>
  951.             </object>
  952.  
  953.             <object type="button">
  954.                 <condition var1="tw_busy" var2="0" />
  955.                 <condition var1="navbar_sams" var2="1" />
  956.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  957.                 <font resource="body1" color="%text_button%" />
  958.                 <text></text>
  959.                 <image resource="back_backup" highlightresource="back_hl_backup" />
  960.                 <action function="key">back</action>
  961.             </object>
  962.            
  963.             <object type="button">
  964.                 <condition var1="tw_busy" var2="0" />
  965.                 <condition var1="navbar_sams" var2="0" />
  966.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  967.                 <font resource="body1" color="%text_button%" />
  968.                 <text></text>
  969.                 <image resource="slideout_backup" highlightresource="slideout_hl_backup" />
  970.                 <action function="overlay">console</action>
  971.             </object>
  972.            
  973.             <object type="button">
  974.                 <condition var1="tw_busy" var2="0" />
  975.                 <condition var1="navbar_sams" var2="1" />
  976.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  977.                 <font resource="body1" color="%text_button%" />
  978.                 <text></text>
  979.                 <image resource="slideout_backup" highlightresource="slideout_hl_backup" />
  980.                 <action function="overlay">console</action>
  981.             </object>
  982.            
  983.             <object type="action">
  984.                 <touch key="power" />
  985.                 <action function="overlay">lock</action>
  986.             </object>
  987.            
  988.             <object type="action">
  989.                 <touch key="power+voldown" />
  990.                 <action function="screenshot"/>
  991.             </object>
  992.         </template>
  993.        
  994.         <template name="body_restore">
  995.             <background color="%background%" />
  996.  
  997.             <!--object type="image">
  998.                 <image resource="background" />
  999.                 <placement x="0" y="0" />
  1000.             </object-->
  1001.            
  1002.             <object type="image">
  1003.                 <image resource="divider_wide" />
  1004.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  1005.             </object>
  1006.            
  1007.             <object type="button">
  1008.                 <condition var1="tw_busy" var2="0" />
  1009.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  1010.                 <font resource="body1" color="%text_button%" />
  1011.                 <text></text>
  1012.                 <image resource="home_restore" highlightresource="home_hl_restore" />
  1013.                 <action function="key">home</action>
  1014.             </object>
  1015.  
  1016.             <object type="button">
  1017.                 <condition var1="tw_busy" var2="0" />
  1018.                 <condition var1="navbar_sams" var2="0" />
  1019.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1020.                 <font resource="body1" color="%text_button%" />
  1021.                 <text></text>
  1022.                 <image resource="back_restore" highlightresource="back_hl_restore" />
  1023.                 <action function="key">back</action>
  1024.             </object>
  1025.  
  1026.             <object type="button">
  1027.                 <condition var1="tw_busy" var2="0" />
  1028.                 <condition var1="navbar_sams" var2="1" />
  1029.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1030.                 <font resource="body1" color="%text_button%" />
  1031.                 <text></text>
  1032.                 <image resource="back_restore" highlightresource="back_hl_restore" />
  1033.                 <action function="key">back</action>
  1034.             </object>
  1035.            
  1036.             <object type="button">
  1037.                 <condition var1="tw_busy" var2="0" />
  1038.                 <condition var1="navbar_sams" var2="0" />
  1039.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1040.                 <font resource="body1" color="%text_button%" />
  1041.                 <text></text>
  1042.                 <image resource="slideout_restore" highlightresource="slideout_hl_restore" />
  1043.                 <action function="overlay">console</action>
  1044.             </object>
  1045.            
  1046.             <object type="button">
  1047.                 <condition var1="tw_busy" var2="0" />
  1048.                 <condition var1="navbar_sams" var2="1" />
  1049.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1050.                 <font resource="body1" color="%text_button%" />
  1051.                 <text></text>
  1052.                 <image resource="slideout_restore" highlightresource="slideout_hl_restore" />
  1053.                 <action function="overlay">console</action>
  1054.             </object>
  1055.            
  1056.             <object type="action">
  1057.                 <touch key="power" />
  1058.                 <action function="overlay">lock</action>
  1059.             </object>
  1060.            
  1061.             <object type="action">
  1062.                 <touch key="power+voldown" />
  1063.                 <action function="screenshot"/>
  1064.             </object>
  1065.         </template>
  1066.        
  1067.         <template name="body_mount">
  1068.             <background color="%background%" />
  1069.  
  1070.             <!--object type="image">
  1071.                 <image resource="background" />
  1072.                 <placement x="0" y="0" />
  1073.             </object-->
  1074.            
  1075.             <object type="image">
  1076.                 <image resource="divider_wide" />
  1077.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  1078.             </object>
  1079.            
  1080.             <object type="button">
  1081.                 <condition var1="tw_busy" var2="0" />
  1082.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  1083.                 <font resource="body1" color="%text_button%" />
  1084.                 <text></text>
  1085.                 <image resource="home_mount" highlightresource="home_hl_mount" />
  1086.                 <action function="key">home</action>
  1087.             </object>
  1088.  
  1089.             <object type="button">
  1090.                 <condition var1="tw_busy" var2="0" />
  1091.                 <condition var1="navbar_sams" var2="0" />
  1092.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1093.                 <font resource="body1" color="%text_button%" />
  1094.                 <text></text>
  1095.                 <image resource="back_mount" highlightresource="back_hl_mount" />
  1096.                 <action function="key">back</action>
  1097.             </object>
  1098.  
  1099.             <object type="button">
  1100.                 <condition var1="tw_busy" var2="0" />
  1101.                 <condition var1="navbar_sams" var2="1" />
  1102.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1103.                 <font resource="body1" color="%text_button%" />
  1104.                 <text></text>
  1105.                 <image resource="back_mount" highlightresource="back_hl_mount" />
  1106.                 <action function="key">back</action>
  1107.             </object>
  1108.            
  1109.             <object type="button">
  1110.                 <condition var1="tw_busy" var2="0" />
  1111.                 <condition var1="navbar_sams" var2="0" />
  1112.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1113.                 <font resource="body1" color="%text_button%" />
  1114.                 <text></text>
  1115.                 <image resource="slideout_mount" highlightresource="slideout_hl_mount" />
  1116.                 <action function="overlay">console</action>
  1117.             </object>
  1118.            
  1119.             <object type="button">
  1120.                 <condition var1="tw_busy" var2="0" />
  1121.                 <condition var1="navbar_sams" var2="1" />
  1122.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1123.                 <font resource="body1" color="%text_button%" />
  1124.                 <text></text>
  1125.                 <image resource="slideout_mount" highlightresource="slideout_hl_mount" />
  1126.                 <action function="overlay">console</action>
  1127.             </object>
  1128.            
  1129.             <object type="action">
  1130.                 <touch key="power" />
  1131.                 <action function="overlay">lock</action>
  1132.             </object>
  1133.            
  1134.             <object type="action">
  1135.                 <touch key="power+voldown" />
  1136.                 <action function="screenshot"/>
  1137.             </object>
  1138.         </template>
  1139.        
  1140.         <template name="body_filemanager">
  1141.             <background color="%background%" />
  1142.  
  1143.             <!--object type="image">
  1144.                 <image resource="background" />
  1145.                 <placement x="0" y="0" />
  1146.             </object-->
  1147.            
  1148.             <object type="image">
  1149.                 <image resource="divider_wide" />
  1150.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  1151.             </object>
  1152.            
  1153.             <object type="button">
  1154.                 <condition var1="tw_busy" var2="0" />
  1155.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  1156.                 <font resource="body1" color="%text_button%" />
  1157.                 <text></text>
  1158.                 <image resource="home_filemanager" highlightresource="home_hl_filemanager" />
  1159.                 <action function="key">home</action>
  1160.             </object>
  1161.  
  1162.             <object type="button">
  1163.                 <condition var1="tw_busy" var2="0" />
  1164.                 <condition var1="navbar_sams" var2="0" />
  1165.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1166.                 <font resource="body1" color="%text_button%" />
  1167.                 <text></text>
  1168.                 <image resource="back_filemanager" highlightresource="back_hl_filemanager" />
  1169.                 <action function="key">back</action>
  1170.             </object>
  1171.  
  1172.             <object type="button">
  1173.                 <condition var1="tw_busy" var2="0" />
  1174.                 <condition var1="navbar_sams" var2="1" />
  1175.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1176.                 <font resource="body1" color="%text_button%" />
  1177.                 <text></text>
  1178.                 <image resource="back_filemanager" highlightresource="back_hl_filemanager" />
  1179.                 <action function="key">back</action>
  1180.             </object>
  1181.            
  1182.             <object type="button">
  1183.                 <condition var1="tw_busy" var2="0" />
  1184.                 <condition var1="navbar_sams" var2="0" />
  1185.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1186.                 <font resource="body1" color="%text_button%" />
  1187.                 <text></text>
  1188.                 <image resource="slideout_filemanager" highlightresource="slideout_hl_filemanager" />
  1189.                 <action function="overlay">console</action>
  1190.             </object>
  1191.            
  1192.             <object type="button">
  1193.                 <condition var1="tw_busy" var2="0" />
  1194.                 <condition var1="navbar_sams" var2="1" />
  1195.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1196.                 <font resource="body1" color="%text_button%" />
  1197.                 <text></text>
  1198.                 <image resource="slideout_filemanager" highlightresource="slideout_hl_filemanager" />
  1199.                 <action function="overlay">console</action>
  1200.             </object>
  1201.            
  1202.             <object type="action">
  1203.                 <touch key="power" />
  1204.                 <action function="overlay">lock</action>
  1205.             </object>
  1206.            
  1207.             <object type="action">
  1208.                 <touch key="power+voldown" />
  1209.                 <action function="screenshot"/>
  1210.             </object>
  1211.         </template>
  1212.        
  1213.         <template name="body_advanced">
  1214.             <background color="%background%" />
  1215.  
  1216.             <!--object type="image">
  1217.                 <image resource="background" />
  1218.                 <placement x="0" y="0" />
  1219.             </object-->
  1220.            
  1221.             <object type="image">
  1222.                 <image resource="divider_wide" />
  1223.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  1224.             </object>
  1225.            
  1226.             <object type="button">
  1227.                 <condition var1="tw_busy" var2="0" />
  1228.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  1229.                 <font resource="body1" color="%text_button%" />
  1230.                 <text></text>
  1231.                 <image resource="home_advanced" highlightresource="home_hl_advanced" />
  1232.                 <action function="key">home</action>
  1233.             </object>
  1234.  
  1235.             <object type="button">
  1236.                 <condition var1="tw_busy" var2="0" />
  1237.                 <condition var1="navbar_sams" var2="0" />
  1238.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1239.                 <font resource="body1" color="%text_button%" />
  1240.                 <text></text>
  1241.                 <image resource="back_advanced" highlightresource="back_hl_advanced" />
  1242.                 <action function="key">back</action>
  1243.             </object>
  1244.  
  1245.             <object type="button">
  1246.                 <condition var1="tw_busy" var2="0" />
  1247.                 <condition var1="navbar_sams" var2="1" />
  1248.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1249.                 <font resource="body1" color="%text_button%" />
  1250.                 <text></text>
  1251.                 <image resource="back_advanced" highlightresource="back_hl_advanced" />
  1252.                 <action function="key">back</action>
  1253.             </object>
  1254.            
  1255.             <object type="button">
  1256.                 <condition var1="tw_busy" var2="0" />
  1257.                 <condition var1="navbar_sams" var2="0" />
  1258.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1259.                 <font resource="body1" color="%text_button%" />
  1260.                 <text></text>
  1261.                 <image resource="slideout_advanced" highlightresource="slideout_hl_advanced" />
  1262.                 <action function="overlay">console</action>
  1263.             </object>
  1264.            
  1265.             <object type="button">
  1266.                 <condition var1="tw_busy" var2="0" />
  1267.                 <condition var1="navbar_sams" var2="1" />
  1268.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1269.                 <font resource="body1" color="%text_button%" />
  1270.                 <text></text>
  1271.                 <image resource="slideout_advanced" highlightresource="slideout_hl_advanced" />
  1272.                 <action function="overlay">console</action>
  1273.             </object>
  1274.            
  1275.             <object type="action">
  1276.                 <touch key="power" />
  1277.                 <action function="overlay">lock</action>
  1278.             </object>
  1279.            
  1280.             <object type="action">
  1281.                 <touch key="power+voldown" />
  1282.                 <action function="screenshot"/>
  1283.             </object>
  1284.         </template>
  1285.        
  1286.         <template name="body_reboot">
  1287.             <background color="%background%" />
  1288.  
  1289.             <!--object type="image">
  1290.                 <image resource="background" />
  1291.                 <placement x="0" y="0" />
  1292.             </object-->
  1293.            
  1294.             <object type="image">
  1295.                 <image resource="divider_wide" />
  1296.                 <placement x="%center_x%" y="%row_nav_y%" placement="4" />
  1297.             </object>
  1298.            
  1299.             <object type="button">
  1300.                 <condition var1="tw_busy" var2="0" />
  1301.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  1302.                 <font resource="body1" color="%text_button%" />
  1303.                 <text></text>
  1304.                 <image resource="home_reboot" highlightresource="home_hl_reboot" />
  1305.                 <action function="key">home</action>
  1306.             </object>
  1307.  
  1308.             <object type="button">
  1309.                 <condition var1="tw_busy" var2="0" />
  1310.                 <condition var1="navbar_sams" var2="0" />
  1311.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1312.                 <font resource="body1" color="%text_button%" />
  1313.                 <text></text>
  1314.                 <image resource="back_reboot" highlightresource="back_hl_reboot" />
  1315.                 <action function="key">back</action>
  1316.             </object>
  1317.  
  1318.             <object type="button">
  1319.                 <condition var1="tw_busy" var2="0" />
  1320.                 <condition var1="navbar_sams" var2="1" />
  1321.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1322.                 <font resource="body1" color="%text_button%" />
  1323.                 <text></text>
  1324.                 <image resource="back_reboot" highlightresource="back_hl_reboot" />
  1325.                 <action function="key">back</action>
  1326.             </object>
  1327.            
  1328.             <object type="button">
  1329.                 <condition var1="tw_busy" var2="0" />
  1330.                 <condition var1="navbar_sams" var2="0" />
  1331.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  1332.                 <font resource="body1" color="%text_button%" />
  1333.                 <text></text>
  1334.                 <image resource="slideout_reboot" highlightresource="slideout_hl_reboot" />
  1335.                 <action function="overlay">console</action>
  1336.             </object>
  1337.            
  1338.             <object type="button">
  1339.                 <condition var1="tw_busy" var2="0" />
  1340.                 <condition var1="navbar_sams" var2="1" />
  1341.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  1342.                 <font resource="body1" color="%text_button%" />
  1343.                 <text></text>
  1344.                 <image resource="slideout_reboot" highlightresource="slideout_hl_reboot" />
  1345.                 <action function="overlay">console</action>
  1346.             </object>
  1347.            
  1348.             <object type="action">
  1349.                 <touch key="power" />
  1350.                 <action function="overlay">lock</action>
  1351.             </object>
  1352.            
  1353.             <object type="action">
  1354.                 <touch key="power+voldown" />
  1355.                 <action function="screenshot"/>
  1356.             </object>
  1357.         </template>
  1358.        
  1359.         <template name="statusbarinfo">
  1360.        
  1361.             <object type="text" color="%text_light%">
  1362.                 <condition var1="show_cpu_temp" var2="0" />
  1363.                 <font resource="status" />
  1364.                 <placement x="%version_x%" y="%status_info_y%" />
  1365.                 <text>%tw_version%</text>
  1366.             </object>
  1367.  
  1368.             <object type="text" color="%text_light%">
  1369.                 <condition var1="show_cpu_temp" var2="1" />
  1370.                 <font resource="status" />
  1371.                 <placement x="%version_x%" y="%status_info_y%" />
  1372.                 <text>CPU: %tw_cpu_temp% C</text>
  1373.             </object>
  1374.  
  1375.             <object type="text" color="%text_fail%">
  1376.                 <condition var1="tw_simulate_actions" var2="1" />
  1377.                 <font resource="status" />
  1378.                 <placement x="%center_x%" y="%status_info_y%" placement="5" />
  1379.                 <text>SIMULATING ACTIONS</text>
  1380.             </object>
  1381.            
  1382.             <object type="text" color="%text_light%">
  1383.                 <font resource="status" />
  1384.                 <placement x="%battery_x%" y="%status_info_y%" placement="1"/>
  1385.                 <conditions>
  1386.                     <condition var1="center_clock" op="!=" var2="1" />
  1387.                     <condition var1="tw_military_time" var2="0" />
  1388.                     <condition var1="tw_no_battery_percent" var2="0" />
  1389.                     <condition var1="tw_battery" op=">" var2="16" />
  1390.                     <condition var1="tw_battery" op="<" var2="101" />
  1391.                 </conditions>
  1392.                 <text>%tw_battery%</text>
  1393.             </object>
  1394.  
  1395.             <object type="text" color="#FF0000">
  1396.                 <font resource="status" />
  1397.                 <placement x="%battery_x%" y="%status_info_y%" placement="1"/>
  1398.                 <conditions>
  1399.                     <condition var1="center_clock" op="!=" var2="1" />
  1400.                     <condition var1="tw_military_time" var2="0" />
  1401.                     <condition var1="tw_battery" op=">" var2="0"/>
  1402.                     <condition var1="tw_battery" op="<" var2="15"/>
  1403.                 </conditions>
  1404.                 <text>%tw_battery%</text>
  1405.             </object>
  1406.            
  1407.             <object type="text" color="%text_light%">
  1408.                 <font resource="status" />
  1409.                 <placement x="%battery_x_m%" y="%status_info_y%" placement="1"/>
  1410.                 <conditions>
  1411.                     <condition var1="center_clock" op="!=" var2="1" />
  1412.                     <condition var1="tw_military_time" var2="1" />
  1413.                     <condition var1="tw_no_battery_percent" var2="0" />
  1414.                     <condition var1="tw_battery" op=">" var2="16" />
  1415.                     <condition var1="tw_battery" op="<" var2="101" />
  1416.                 </conditions>
  1417.                 <text>%tw_battery%</text>
  1418.             </object>
  1419.  
  1420.             <object type="text" color="#FF0000">
  1421.                 <font resource="status" />
  1422.                 <placement x="%battery_x_m%" y="%status_info_y%" placement="1"/>
  1423.                 <conditions>
  1424.                     <condition var1="center_clock" op="!=" var2="1" />
  1425.                     <condition var1="tw_military_time" var2="1" />
  1426.                     <condition var1="tw_battery" op=">" var2="0"/>
  1427.                     <condition var1="tw_battery" op="<" var2="15"/>
  1428.                 </conditions>
  1429.                 <text>%tw_battery%</text>
  1430.             </object>
  1431.            
  1432.             <object type="text" color="%text_light%">
  1433.                 <font resource="status" />
  1434.                 <placement x="%time_x%" y="%status_info_y%" placement="1"/>
  1435.                 <conditions>
  1436.                     <condition var1="center_clock" op="=" var2="1" />
  1437.                     <condition var1="tw_no_battery_percent" var2="0" />
  1438.                     <condition var1="tw_battery" op=">" var2="16" />
  1439.                     <condition var1="tw_battery" op="<" var2="101" />
  1440.                 </conditions>
  1441.                 <text>%tw_battery%</text>
  1442.             </object>
  1443.  
  1444.             <object type="text" color="#FF0000">
  1445.                 <font resource="status" />
  1446.                 <placement x="%time_x%" y="%status_info_y%" placement="1"/>
  1447.                 <conditions>
  1448.                     <condition var1="center_clock" op="=" var2="1" />
  1449.                     <condition var1="tw_battery" op=">" var2="0"/>
  1450.                     <condition var1="tw_battery" op="<" var2="15"/>
  1451.                 </conditions>
  1452.                 <text>%tw_battery%</text>
  1453.             </object>
  1454.            
  1455.             <object type="text" color="%text_light%">
  1456.                 <font resource="status" />
  1457.                 <placement x="%time_x%" y="%status_info_y%" placement="1"/> <!--right align-->
  1458.                 <conditions>
  1459.                     <condition var1="center_clock" op="!=" var2="1" />
  1460.                 </conditions>
  1461.                 <text>%tw_time%</text>
  1462.             </object>
  1463.            
  1464.             <object type="text" color="%text_light%">
  1465.                 <font resource="status" />
  1466.                 <placement x="%center_x%" y="%status_info_y%" placement="5"/> <!--centered-->
  1467.                 <conditions>
  1468.                     <condition var1="center_clock" var2="1" />
  1469.                     <condition var1="tw_simulate_actions" op="!=" var2="1" />
  1470.                 </conditions>
  1471.                 <text>%tw_time%</text>
  1472.             </object>
  1473.         </template>
  1474.        
  1475.         <template name="ab">
  1476.            
  1477.             <object type="image">
  1478.                 <image resource="actionbar" />
  1479.                 <placement x="0" y="0" />
  1480.             </object>
  1481.            
  1482.             <object type="image">
  1483.                 <image resource="statusbar" />
  1484.                 <placement x="0" y="0" />
  1485.             </object>
  1486.         </template>
  1487.        
  1488.         <template name="ab_backup">
  1489.             <object type="image">
  1490.                 <image resource="actionbar_backup" />
  1491.                 <placement x="0" y="0" />
  1492.             </object>
  1493.            
  1494.             <object type="image">
  1495.                 <image resource="statusbar_backup" />
  1496.                 <placement x="0" y="0" />
  1497.             </object>
  1498.         </template>
  1499.        
  1500.         <template name="ab_advanced">
  1501.             <object type="image">
  1502.                 <image resource="actionbar_advanced" />
  1503.                 <placement x="0" y="0" />
  1504.             </object>
  1505.            
  1506.             <object type="image">
  1507.                 <image resource="statusbar_advanced" />
  1508.                 <placement x="0" y="0" />
  1509.             </object>
  1510.         </template>
  1511.        
  1512.         <template name="ab_reboot">
  1513.             <object type="image">
  1514.                 <image resource="actionbar_reboot" />
  1515.                 <placement x="0" y="0" />
  1516.             </object>
  1517.            
  1518.             <object type="image">
  1519.                 <image resource="statusbar_reboot" />
  1520.                 <placement x="0" y="0" />
  1521.             </object>
  1522.         </template>
  1523.        
  1524.         <template name="ab_ex">
  1525.             <object type="image">
  1526.                 <image resource="actionbar_ex" />
  1527.                 <placement x="0" y="0" />
  1528.             </object>
  1529.            
  1530.             <object type="image">
  1531.                 <image resource="statusbar" />
  1532.                 <placement x="0" y="0" />
  1533.             </object>
  1534.         </template>
  1535.        
  1536.         <template name="ab_ex_install">
  1537.             <object type="image">
  1538.                 <image resource="actionbar_ex_install" />
  1539.                 <placement x="0" y="0" />
  1540.             </object>
  1541.            
  1542.             <object type="image">
  1543.                 <image resource="statusbar_install" />
  1544.                 <placement x="0" y="0" />
  1545.             </object>
  1546.         </template>
  1547.        
  1548.         <template name="ab_ex_wipe">
  1549.             <object type="image">
  1550.                 <image resource="actionbar_ex_wipe" />
  1551.                 <placement x="0" y="0" />
  1552.             </object>
  1553.            
  1554.             <object type="image">
  1555.                 <image resource="statusbar_wipe" />
  1556.                 <placement x="0" y="0" />
  1557.             </object>
  1558.         </template>
  1559.        
  1560.         <template name="ab_ex_backup">
  1561.             <object type="image">
  1562.                 <image resource="actionbar_ex_backup" />
  1563.                 <placement x="0" y="0" />
  1564.             </object>
  1565.            
  1566.             <object type="image">
  1567.                 <image resource="statusbar_backup" />
  1568.                 <placement x="0" y="0" />
  1569.             </object>
  1570.         </template>
  1571.        
  1572.         <template name="ab_ex_restore">
  1573.             <object type="image">
  1574.                 <image resource="actionbar_ex_restore" />
  1575.                 <placement x="0" y="0" />
  1576.             </object>
  1577.            
  1578.             <object type="image">
  1579.                 <image resource="statusbar_restore" />
  1580.                 <placement x="0" y="0" />
  1581.             </object>
  1582.         </template>
  1583.        
  1584.         <template name="ab_ex_mount">
  1585.             <object type="image">
  1586.                 <image resource="actionbar_ex_mount" />
  1587.                 <placement x="0" y="0" />
  1588.             </object>
  1589.            
  1590.             <object type="image">
  1591.                 <image resource="statusbar_mount" />
  1592.                 <placement x="0" y="0" />
  1593.             </object>
  1594.         </template>
  1595.        
  1596.         <template name="ab_ex_filemanager">
  1597.             <object type="image">
  1598.                 <image resource="actionbar_ex_filemanager" />
  1599.                 <placement x="0" y="0" />
  1600.             </object>
  1601.            
  1602.             <object type="image">
  1603.                 <image resource="statusbar_filemanager" />
  1604.                 <placement x="0" y="0" />
  1605.             </object>
  1606.         </template>
  1607.        
  1608.         <template name="ab_ex_advanced">
  1609.             <object type="image">
  1610.                 <image resource="actionbar_ex_advanced" />
  1611.                 <placement x="0" y="0" />
  1612.             </object>
  1613.            
  1614.             <object type="image">
  1615.                 <image resource="statusbar_advanced" />
  1616.                 <placement x="0" y="0" />
  1617.             </object>
  1618.         </template>
  1619.        
  1620.         <template name="ab_ex_reboot">
  1621.             <object type="image">
  1622.                 <image resource="actionbar_ex_reboot" />
  1623.                 <placement x="0" y="0" />
  1624.             </object>
  1625.            
  1626.             <object type="image">
  1627.                 <image resource="statusbar_reboot" />
  1628.                 <placement x="0" y="0" />
  1629.             </object>
  1630.         </template>
  1631.        
  1632.         <template name="ab_tab">
  1633.             <object type="image">
  1634.                 <image resource="actionbar_tab" />
  1635.                 <placement x="0" y="0" />
  1636.             </object>
  1637.            
  1638.             <object type="image">
  1639.                 <image resource="statusbar" />
  1640.                 <placement x="0" y="0" />
  1641.             </object>
  1642.         </template>
  1643.        
  1644.         <template name="progress_bar">
  1645.             <object type="progressbar">
  1646.                 <placement x="%progressbar_x%" y="%progressbar_y%" />
  1647.                 <resource empty="progress_empty" full="progress_fill" />
  1648.                 <data name="ui_progress" />
  1649.             </object>
  1650.            
  1651.             <object type="animation">
  1652.                 <placement x="%progressbar_x%" y="%progressbar_y%" />
  1653.                 <resource name="progress" />
  1654.                 <speed fps="24" render="2" />
  1655.                 <loop frame="1" />
  1656.             </object>
  1657.         </template>
  1658.  
  1659.         <template name="action_page_console">
  1660.        
  1661.             <object type="image">
  1662.                 <image resource="divider" />
  1663.                 <placement x="%center_x%" y="%row2_1_y%" placement="4" />
  1664.             </object>
  1665.            
  1666.             <object type="console">
  1667.                 <placement x="%col1_x%" y="%row2_1_y%" w="%console_width%" h="%console_action_height%" />
  1668.                 <color foreground="%console_foreground%" background="%background%" scroll="%background%" />
  1669.                 <font resource="fixed" />
  1670.             </object>
  1671.  
  1672.             <object type="image">
  1673.                 <image resource="divider" />
  1674.                 <placement x="%center_x%" y="%row7_1_y%" placement="4" />
  1675.             </object>
  1676.            
  1677.         </template>
  1678.        
  1679.         <template name="keyboardtemplate">
  1680.        
  1681.             <object type="image">
  1682.                 <placement x="0" y="712" />
  1683.                 <image resource="keyboard_shadow" />
  1684.             </object>
  1685.            
  1686.             <object type="keyboard">
  1687.                 <placement x="0" y="722" />
  1688.                 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
  1689.                 <highlight color="%highlight_color%" />
  1690.                 <capshighlight color="%highlight_color%" />
  1691.                 <layout1>
  1692.                     <keysize height="115" width="77" />
  1693.                     <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" />
  1694.                     <row2 key01="115:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="115:l" long09="_"/>
  1695.                     <row3 key01="115:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="115:c:8" />
  1696.                     <row4 key01="115:layout3" key02="/" key03="384: " key04="." key05="115:a:action" />
  1697.                 </layout1>
  1698.                 <layout2>
  1699.                     <keysize height="115" width="77" capslock="0" revert_layout="1"/>
  1700.                     <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" />
  1701.                     <row2 key01="115:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="115:L" long09="_"/>
  1702.                     <row3 key01="115:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="115:c:8" />
  1703.                     <row4 key01="115:layout3" key02="/" key03="384: " key04="." key05="115:action" />
  1704.                 </layout2>
  1705.                 <layout3>
  1706.                     <keysize height="115" width="77" />
  1707.                     <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
  1708.                     <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
  1709.                     <row3 key01="115:layout4" key02="!" key03="77:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="115:c:8" />
  1710.                     <row4 key01="115:layout1" key02="," key03="384: " key04="." key05="115:action" />
  1711.                 </layout3>
  1712.                 <layout4>
  1713.                     <keysize height="115" width="77" />
  1714.                     <row1 key01="~" key02="`" key03="|" key04="77:" key05="77:" key06="77:" key07="%" key08="77:" key09="{" key10="}" />
  1715.                     <row2 key01="77:" key02="77:" key03="77:" key04="77:" key05="77:" key06="^" key07="_" key08="=" key09="[" key10="]" />
  1716.                     <row3 key01="115:layout3" key02="77:" key03="77:" key04="77:" key05="77:" key06="\" key07="<" key08=">" key09="115:c:8" />
  1717.                     <row4 key01="115:layout1" key02="," key03="384: " key04="." key05="115:action" />
  1718.                 </layout4>
  1719.             </object>
  1720.         </template>
  1721.     </templates>
  1722.  
  1723.     <pages>
  1724.         <page name="main">
  1725.             <object type="action">
  1726.                 <actions>
  1727.                     <action function="set">tw_clear_destination=main2</action>
  1728.                     <action function="page">clear_vars</action>
  1729.                 </actions>
  1730.             </object>
  1731.         </page>
  1732.  
  1733.         <page name="main2">
  1734.             <object type="template" name="body" />
  1735.            
  1736.             <object type="template" name="ab" />
  1737.            
  1738.             <object type="template" name="statusbarinfo" />
  1739.            
  1740.             <object type="button">
  1741.                 <placement x="0" y="%ab_y%" />
  1742.                 <font resource="body1" color="%text_button%" />
  1743.                 <text></text>
  1744.                 <image resource="actionbar_logo" />
  1745.                 <action function="page">about</action>
  1746.             </object>
  1747.            
  1748.             <object type="button">
  1749.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  1750.                 <font resource="body1" color="%text_button%" />
  1751.                 <text></text>
  1752.                 <image resource="actionbar_theme" highlightresource="actionbar_theme_hl" />
  1753.                 <action function="page">theme_settings</action>
  1754.             </object>
  1755.  
  1756.             <object type="button">
  1757.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  1758.                 <font resource="body1" color="%text_button%" />
  1759.                 <text></text>
  1760.                 <image resource="actionbar_settings" highlightresource="actionbar_settings_hl" />
  1761.                 <action function="page">settings</action>
  1762.             </object>
  1763.            
  1764.             <object type="button">
  1765.                 <condition var1="menu_btn_solid" var2="0" />
  1766.                 <highlight color="%highlight_color%" />
  1767.                 <placement x="%col1_x%" y="%mb_row1_y%" />
  1768.                 <font resource="title" color="%text_button%" />
  1769.                 <text></text>
  1770.                 <image resource="mb_install" />
  1771.                 <actions>
  1772.                     <action function="queueclear"></action>
  1773.                     <action function="page">install</action>
  1774.                 </actions>
  1775.             </object>
  1776.            
  1777.             <object type="button">
  1778.                 <condition var1="menu_btn_solid" var2="1" />
  1779.                 <highlight color="%highlight_color%" />
  1780.                 <placement x="%col1_x%" y="%mb_row1_y%" />
  1781.                 <font resource="title" color="%text_button%" />
  1782.                 <text></text>
  1783.                 <image resource="mb_install_color" />
  1784.                 <actions>
  1785.                     <action function="queueclear"></action>
  1786.                     <action function="page">install</action>
  1787.                 </actions>
  1788.             </object>
  1789.  
  1790.             <object type="image">
  1791.                 <condition var1="menu_btn_solid" var2="0" />
  1792.                 <image resource="divider_list" />
  1793.                 <placement x="%center_x%" y="%mb_row2_y%" placement="4" />
  1794.             </object>
  1795.            
  1796.             <object type="button">
  1797.                 <condition var1="menu_btn_solid" var2="0" />
  1798.                 <highlight color="%highlight_color%" />
  1799.                 <placement x="%col1_x%" y="%mb_row2_y%" />
  1800.                 <font resource="title" color="%text_button%" />
  1801.                 <text></text>
  1802.                 <image resource="mb_wipe" />
  1803.                 <action function="page">wipe</action>
  1804.             </object>
  1805.            
  1806.             <object type="button">
  1807.                 <condition var1="menu_btn_solid" var2="1" />
  1808.                 <highlight color="%highlight_color%" />
  1809.                 <placement x="%col1_x%" y="%mb_row2_y%" />
  1810.                 <font resource="title" color="%text_button%" />
  1811.                 <text></text>
  1812.                 <image resource="mb_wipe_color" />
  1813.                 <action function="page">wipe</action>
  1814.             </object>
  1815.  
  1816.             <object type="image">
  1817.                 <condition var1="menu_btn_solid" var2="0" />
  1818.                 <image resource="divider_list" />
  1819.                 <placement x="%center_x%" y="%mb_row3_y%" placement="4" />
  1820.             </object>
  1821.            
  1822.             <object type="button">
  1823.                 <condition var1="menu_btn_solid" var2="0" />
  1824.                 <highlight color="%highlight_color%" />
  1825.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  1826.                 <font resource="title" color="%text_button%" />
  1827.                 <text></text>
  1828.                 <image resource="mb_backup" />
  1829.                 <actions>
  1830.                     <action function="set">tw_backup_name=(Auto Generate)</action>
  1831.                     <action function="page">backup</action>
  1832.                 </actions>
  1833.             </object>
  1834.            
  1835.             <object type="button">
  1836.                 <condition var1="menu_btn_solid" var2="1" />
  1837.                 <highlight color="%highlight_color%" />
  1838.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  1839.                 <font resource="title" color="%text_button%" />
  1840.                 <text></text>
  1841.                 <image resource="mb_backup_color" />
  1842.                 <actions>
  1843.                     <action function="set">tw_backup_name=(Auto Generate)</action>
  1844.                     <action function="page">backup</action>
  1845.                 </actions>
  1846.             </object>
  1847.  
  1848.             <object type="image">
  1849.                 <condition var1="menu_btn_solid" var2="0" />
  1850.                 <image resource="divider_list" />
  1851.                 <placement x="%center_x%" y="%mb_row4_y%" placement="4" />
  1852.             </object>
  1853.            
  1854.             <object type="button">
  1855.                 <condition var1="menu_btn_solid" var2="0" />
  1856.                 <highlight color="%highlight_color%" />
  1857.                 <placement x="%col1_x%" y="%mb_row4_y%" />
  1858.                 <font resource="title" color="%text_button%" />
  1859.                 <text></text>
  1860.                 <image resource="mb_restore" />
  1861.                 <action function="page">restore</action>
  1862.             </object>
  1863.            
  1864.             <object type="button">
  1865.                 <condition var1="menu_btn_solid" var2="1" />
  1866.                 <highlight color="%highlight_color%" />
  1867.                 <placement x="%col1_x%" y="%mb_row4_y%" />
  1868.                 <font resource="title" color="%text_button%" />
  1869.                 <text></text>
  1870.                 <image resource="mb_restore_color" />
  1871.                 <action function="page">restore</action>
  1872.             </object>
  1873.  
  1874.             <object type="image">
  1875.                 <condition var1="menu_btn_solid" var2="0" />
  1876.                 <image resource="divider_list" />
  1877.                 <placement x="%center_x%" y="%mb_row5_y%" placement="4" />
  1878.             </object>
  1879.            
  1880.             <object type="button">
  1881.                 <condition var1="menu_btn_solid" var2="0" />
  1882.                 <highlight color="%highlight_color%" />
  1883.                 <placement x="%col1_x%" y="%mb_row5_y%" />
  1884.                 <font resource="title" color="%text_button%" />
  1885.                 <text></text>
  1886.                 <image resource="mb_mount" />
  1887.                 <action function="page">mount</action>
  1888.             </object>
  1889.            
  1890.             <object type="button">
  1891.                 <condition var1="menu_btn_solid" var2="1" />
  1892.                 <highlight color="%highlight_color%" />
  1893.                 <placement x="%col1_x%" y="%mb_row5_y%" />
  1894.                 <font resource="title" color="%text_button%" />
  1895.                 <text></text>
  1896.                 <image resource="mb_mount_color" />
  1897.                 <action function="page">mount</action>
  1898.             </object>
  1899.  
  1900.             <object type="image">
  1901.                 <condition var1="menu_btn_solid" var2="0" />
  1902.                 <image resource="divider_list" />
  1903.                 <placement x="%center_x%" y="%mb_row6_y%" placement="4" />
  1904.             </object>
  1905.            
  1906.             <object type="button">
  1907.                 <condition var1="menu_btn_solid" var2="0" />
  1908.                 <condition var1="aromafm" var2="1" />
  1909.                 <highlight color="%highlight_color%" />
  1910.                 <placement x="%col1_x%" y="%mb_row6_y%" />
  1911.                 <font resource="title" color="%text_button%" />
  1912.                 <text></text>
  1913.                 <image resource="mb_filemanager" />
  1914.                 <actions>
  1915.                     <action function="queueclear"></action>
  1916.                     <action function="set">tw_screen_timeout_temp=%tw_screen_timeout_secs%</action>
  1917.                     <action function="set">tw_screen_timeout_secs=0</action>
  1918.                     <action function="set">tw_file=AROMA Filemanager</action>
  1919.                     <action function="set">tw_filename=/sdcard/TWRP/aromafm/aromafm.zip</action>
  1920.                     <action function="queuezip"></action>
  1921.                     <action function="page">flash_aromafm_confirm</action>
  1922.                 </actions>
  1923.             </object>
  1924.            
  1925.             <object type="button">
  1926.                 <condition var1="menu_btn_solid" var2="1" />
  1927.                 <condition var1="aromafm" var2="1" />
  1928.                 <highlight color="%highlight_color%" />
  1929.                 <placement x="%col1_x%" y="%mb_row6_y%" />
  1930.                 <font resource="title" color="%text_button%" />
  1931.                 <text></text>
  1932.                 <image resource="mb_filemanager_color" />
  1933.                 <actions>
  1934.                     <action function="queueclear"></action>
  1935.                     <action function="set">tw_screen_timeout_temp=%tw_screen_timeout_secs%</action>
  1936.                     <action function="set">tw_screen_timeout_secs=0</action>
  1937.                     <action function="set">tw_file=AROMA Filemanager</action>
  1938.                     <action function="set">tw_filename=/sdcard/TWRP/aromafm/aromafm.zip</action>
  1939.                     <action function="queuezip"></action>
  1940.                     <action function="page">flash_aromafm_confirm</action>
  1941.                 </actions>
  1942.             </object>
  1943.            
  1944.             <object type="button">
  1945.                 <condition var1="menu_btn_solid" var2="0" />
  1946.                 <condition var1="aromafm" op="!=" var2="1" />
  1947.                 <highlight color="%highlight_color%" />
  1948.                 <placement x="%col1_x%" y="%mb_row6_y%" />
  1949.                 <font resource="title" color="%text_button%" />
  1950.                 <text></text>
  1951.                 <image resource="mb_filemanager" />
  1952.                 <action function="page">filemanagerlist</action>
  1953.             </object>
  1954.            
  1955.             <object type="button">
  1956.                 <condition var1="menu_btn_solid" var2="1" />
  1957.                 <condition var1="aromafm" op="!=" var2="1" />
  1958.                 <highlight color="%highlight_color%" />
  1959.                 <placement x="%col1_x%" y="%mb_row6_y%" />
  1960.                 <font resource="title" color="%text_button%" />
  1961.                 <text></text>
  1962.                 <image resource="mb_filemanager_color" />
  1963.                 <action function="page">filemanagerlist</action>
  1964.             </object>
  1965.  
  1966.             <object type="image">
  1967.                 <condition var1="menu_btn_solid" var2="0" />
  1968.                 <image resource="divider_list" />
  1969.                 <placement x="%center_x%" y="%mb_row7_y%" placement="4" />
  1970.             </object>
  1971.            
  1972.             <object type="button">
  1973.                 <condition var1="menu_btn_solid" var2="0" />
  1974.                 <highlight color="%highlight_color%" />
  1975.                 <placement x="%col1_x%" y="%mb_row7_y%" />
  1976.                 <font resource="title" color="%text_button%" />
  1977.                 <text></text>
  1978.                 <image resource="mb_advanced" />
  1979.                 <action function="page">advanced</action>
  1980.             </object>
  1981.            
  1982.             <object type="button">
  1983.                 <condition var1="menu_btn_solid" var2="1" />
  1984.                 <highlight color="%highlight_color%" />
  1985.                 <placement x="%col1_x%" y="%mb_row7_y%" />
  1986.                 <font resource="title" color="%text_button%" />
  1987.                 <text></text>
  1988.                 <image resource="mb_advanced_color" />
  1989.                 <action function="page">advanced</action>
  1990.             </object>
  1991.  
  1992.             <object type="image">
  1993.                 <condition var1="menu_btn_solid" var2="0" />
  1994.                 <image resource="divider_list" />
  1995.                 <placement x="%center_x%" y="%mb_row8_y%" placement="4" />
  1996.             </object>
  1997.            
  1998.             <object type="button">
  1999.                 <condition var1="menu_btn_solid" var2="0" />
  2000.                 <highlight color="%highlight_color%" />
  2001.                 <placement x="%col1_x%" y="%mb_row8_y%" />
  2002.                 <font resource="title" color="%text_button%" />
  2003.                 <text></text>
  2004.                 <image resource="mb_restart" />
  2005.                 <action function="page">reboot</action>
  2006.             </object>
  2007.            
  2008.             <object type="button">
  2009.                 <condition var1="menu_btn_solid" var2="1" />
  2010.                 <highlight color="%highlight_color%" />
  2011.                 <placement x="%col1_x%" y="%mb_row8_y%" />
  2012.                 <font resource="title" color="%text_button%" />
  2013.                 <text></text>
  2014.                 <image resource="mb_restart_color" />
  2015.                 <action function="page">reboot</action>
  2016.             </object>
  2017.            
  2018.         </page>
  2019.        
  2020.         <page name="settings">
  2021.            
  2022.             <object type="template" name="body" />
  2023.            
  2024.             <object type="template" name="ab_tab" />
  2025.            
  2026.             <object type="template" name="statusbarinfo" />
  2027.            
  2028.             <object type="button">
  2029.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2030.                 <font resource="body1" color="%text_button%" />
  2031.                 <text></text>
  2032.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2033.                 <action function="page">main</action>
  2034.             </object>
  2035.  
  2036.             <object type="image">
  2037.                 <image resource="bc_settings" />
  2038.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2039.             </object>
  2040.  
  2041.             <object type="button">
  2042.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2043.                 <font resource="body1" color="%text_button%" />
  2044.                 <text></text>
  2045.                 <image resource="actionbar_reset" highlightresource="actionbar_reset_hl" />
  2046.                 <action function="overlay">dialog_reset</action>
  2047.             </object>
  2048.            
  2049.             <object type="image">
  2050.                 <placement x="%tab4_col1_x%" y="%row0_y%" />
  2051.                 <image resource="tab_misc_a" />
  2052.             </object>
  2053.            
  2054.             <object type="button">
  2055.                 <placement x="%tab4_col2_x%" y="%row0_y%" />
  2056.                 <font resource="menu" color="%text_button%" />
  2057.                 <text></text>
  2058.                 <image resource="tab_time" />
  2059.                 <action function="page">timezone</action>
  2060.             </object>
  2061.            
  2062.             <object type="button">
  2063.                 <placement x="%tab4_col3_x%" y="%row0_y%" />
  2064.                 <font resource="menu" color="%text_button%" />
  2065.                 <text></text>
  2066.                 <image resource="tab_display" />
  2067.                 <action function="page">screen</action>
  2068.             </object>
  2069.            
  2070.             <object type="button">
  2071.                 <placement x="%tab4_col4_x%" y="%row0_y%" />
  2072.                 <font resource="menu" color="%text_button%" />
  2073.                 <text></text>
  2074.                 <image resource="tab_vibration" />
  2075.                 <action function="page">vibrate</action>
  2076.             </object>
  2077.            
  2078.             <object type="text" color="%text_dark%">
  2079.                 <font resource="caption" />
  2080.                 <placement x="%col1_x%" y="%row2_1_y%" />
  2081.                 <text>TWRP Settings</text>
  2082.             </object>
  2083.            
  2084.             <object type="checkbox">
  2085.                 <placement x="%col1_x%" y="%row2_2_y%" />
  2086.                 <font resource="body2" color="%text%" />
  2087.                 <text>Zip file signature verification</text>
  2088.                 <data variable="tw_signed_zip_verify" />
  2089.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2090.             </object>
  2091.            
  2092.             <object type="checkbox">
  2093.                 <placement x="%col1_x%" y="%row2_3a_y%" />
  2094.                 <font resource="body2" color="%text%" />
  2095.                 <text>Use rm -rf instead of formatting</text>
  2096.                 <data variable="tw_rm_rf" />
  2097.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2098.             </object>
  2099.            
  2100.             <object type="checkbox">
  2101.                 <placement x="%col1_x%" y="%row3_2_y%" />
  2102.                 <font resource="body2" color="%text%" />
  2103.                 <text>Skip MD5 generation on backups</text>
  2104.                 <data variable="tw_skip_md5_generate" />
  2105.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2106.             </object>
  2107.            
  2108.             <object type="checkbox">
  2109.                 <placement x="%col1_x%" y="%row3_3a_y%" />
  2110.                 <font resource="body2" color="%text%" />
  2111.                 <text>Enable MD5 checking of backup files</text>
  2112.                 <data variable="tw_skip_md5_check" />
  2113.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2114.             </object>
  2115.            
  2116.             <!--object type="checkbox">
  2117.                 <placement x="%col1_x%" y="%row4_2_y%" />
  2118.                 <font resource="body2" color="%text%" />
  2119.                 <text>Use 24h clock</text>
  2120.                 <data variable="tw_military_time" />
  2121.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2122.             </object-->
  2123.            
  2124.             <object type="checkbox">
  2125.                 <placement x="%col1_x%" y="%row4_2_y%" />
  2126.                 <font resource="body2" color="%text%" />
  2127.                 <text>Simulate most actions for theme testing</text>
  2128.                 <data variable="tw_simulate_actions" />
  2129.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2130.             </object>
  2131.            
  2132.             <object type="checkbox">
  2133.                 <condition var1="tw_simulate_actions" var2="1" />
  2134.                 <placement x="%col1_x%" y="%row4_3a_y%" />
  2135.                 <font resource="body2" color="%text%" />
  2136.                 <text>Simulate failure for actions</text>
  2137.                 <data variable="tw_simulate_fail" />
  2138.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2139.             </object>
  2140.            
  2141.             <object type="action">
  2142.                 <touch key="home" />
  2143.                 <action function="page">main</action>
  2144.             </object>
  2145.  
  2146.             <object type="action">
  2147.                 <touch key="back" />
  2148.                 <action function="page">main</action>
  2149.             </object>
  2150.            
  2151.         </page>
  2152.        
  2153.         <page name="timezone">
  2154.            
  2155.             <object type="template" name="body" />
  2156.            
  2157.             <object type="template" name="ab_tab" />
  2158.            
  2159.             <object type="template" name="statusbarinfo" />
  2160.            
  2161.             <object type="button">
  2162.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2163.                 <font resource="body1" color="%text_button%" />
  2164.                 <text></text>
  2165.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2166.                 <action function="page">main</action>
  2167.             </object>
  2168.            
  2169.             <object type="image">
  2170.                 <image resource="bc_settings" />
  2171.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2172.             </object>
  2173.  
  2174.             <object type="button">
  2175.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2176.                 <font resource="body1" color="%text_button%" />
  2177.                 <text></text>
  2178.                 <image resource="actionbar_reset" highlightresource="actionbar_reset_hl" />
  2179.                 <action function="overlay">dialog_reset</action>
  2180.             </object>
  2181.            
  2182.             <object type="button">
  2183.                 <placement x="%tab4_col1_x%" y="%row0_y%" />
  2184.                 <font resource="menu" color="%text_button%" />
  2185.                 <text></text>
  2186.                 <image resource="tab_misc" />
  2187.                 <action function="page">settings</action>
  2188.             </object>
  2189.            
  2190.             <object type="image">
  2191.                 <placement x="%tab4_col2_x%" y="%row0_y%" />
  2192.                 <image resource="tab_time_a" />
  2193.             </object>
  2194.            
  2195.             <object type="button">
  2196.                 <placement x="%tab4_col3_x%" y="%row0_y%" />
  2197.                 <font resource="menu" color="%text_button%" />
  2198.                 <text></text>
  2199.                 <image resource="tab_display" />
  2200.                 <action function="page">screen</action>
  2201.             </object>
  2202.            
  2203.             <object type="button">
  2204.                 <placement x="%tab4_col4_x%" y="%row0_y%" />
  2205.                 <font resource="menu" color="%text_button%" />
  2206.                 <text></text>
  2207.                 <image resource="tab_vibration" />
  2208.                 <action function="page">vibrate</action>
  2209.             </object>
  2210.            
  2211.             <object type="listbox">
  2212.                 <placement x="%col1_x%" y="%row1_3a_y%" w="%listbox_tz_width%" h="%listbox_tz_height%" />
  2213.                 <fastscroll rectcolor="%text_highlight%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  2214.                 <icon selected="radio_true" unselected="radio_false" />
  2215.                 <background color="%background%" />
  2216.                 <font resource="body2" spacing="%listbox_spacing%" color="%text%" highlight="%text_highlight%" />
  2217.                 <data name="tw_time_zone_guisel" />
  2218.                 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
  2219.                 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
  2220.                 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
  2221.                 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
  2222.                 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
  2223.                 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
  2224.                 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
  2225.                 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
  2226.                 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
  2227.                 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
  2228.                 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
  2229.                 <listitem name="(UTC  0) London, Dublin, Lisbon">GMT0;BST</listitem>
  2230.                 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
  2231.                 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
  2232.                 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
  2233.                 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
  2234.                 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
  2235.                 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
  2236.                 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
  2237.                 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
  2238.                 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
  2239.                 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
  2240.                 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
  2241.                 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
  2242.             </object>
  2243.            
  2244.             <object type="text" color="%text_dark%">
  2245.                 <font resource="caption" />
  2246.                 <placement x="%col1_x%" y="%row2_1_y%" />
  2247.                 <text>Time Zone</text>
  2248.             </object>
  2249.            
  2250.             <object type="image">
  2251.                 <image resource="divider" />
  2252.                 <placement x="%center_x%" y="%row2_2_y%" placement="4" />
  2253.             </object>
  2254.            
  2255.             <object type="image">
  2256.                 <image resource="divider" />
  2257.                 <placement x="%center_x%" y="%row5_3a_y%" placement="4" />
  2258.             </object>
  2259.            
  2260.             <object type="text" color="%text_dark%">
  2261.                 <font resource="caption" />
  2262.                 <placement x="%col1_x%" y="%row6_1a_y%" />
  2263.                 <text>Options</text>
  2264.             </object>
  2265.            
  2266.             <object type="checkbox">
  2267.                 <placement x="%col1_x%" y="%row6_2a_y%" />
  2268.                 <font resource="body2" color="%text%" />
  2269.                 <text>Use Daylight Savings Time (DST)</text>
  2270.                 <data variable="tw_time_zone_guidst" />
  2271.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2272.             </object>
  2273.            
  2274.             <object type="checkbox">
  2275.                 <placement x="%col1_x%" y="%row7_1_y%" />
  2276.                 <font resource="body2" color="%text%" />
  2277.                 <text>Use 24h clock</text>
  2278.                 <data variable="tw_military_time" />
  2279.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2280.             </object>
  2281.            
  2282.             <object type="text" color="%text_dark%">
  2283.                 <font resource="caption" />
  2284.                 <placement x="%col1_x%" y="%row7_3a_y%" />
  2285.                 <text>Offset</text>
  2286.             </object>
  2287.            
  2288.             <object type="text" color="%text%">
  2289.                 <font resource="body2" />
  2290.                 <placement x="%col1_x%" y="%row8_1a_y%" />
  2291.                 <text>Current Offset (usually 0): %tw_time_zone_guioffset%</text>
  2292.             </object>
  2293.            
  2294.             <object type="button">
  2295.                 <placement x="%col1_x%" y="%row7_3a_y%" />
  2296.                 <font resource="menu" color="%text_button%" />
  2297.                 <text></text>
  2298.                 <image resource="mb_empty" />
  2299.                 <action function="overlay">dialog_offset</action>
  2300.             </object>
  2301.            
  2302.             <object type="button">
  2303.                 <placement x="%btn_float_x%" y="%row7_3_y%" />
  2304.                 <font resource="body1" color="%text_button%" />
  2305.                 <text></text>
  2306.                 <image resource="btn_float_accept" />
  2307.                 <highlight color="%highlight_color%" />
  2308.                 <action function="setguitimezone"></action>
  2309.             </object>
  2310.            
  2311.             <object type="action">
  2312.                 <touch key="home" />
  2313.                 <action function="page">main</action>
  2314.             </object>
  2315.            
  2316.             <object type="action">
  2317.                 <touch key="back" />
  2318.                 <action function="page">settings</action>
  2319.             </object>
  2320.            
  2321.         </page>
  2322.        
  2323.         <page name="screen">
  2324.            
  2325.             <object type="template" name="body" />
  2326.            
  2327.             <object type="template" name="ab_tab" />
  2328.            
  2329.             <object type="template" name="statusbarinfo" />
  2330.            
  2331.             <object type="button">
  2332.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2333.                 <font resource="body1" color="%text_button%" />
  2334.                 <text></text>
  2335.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2336.                 <action function="page">main</action>
  2337.             </object>
  2338.  
  2339.             <object type="image">
  2340.                 <image resource="bc_settings" />
  2341.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2342.             </object>
  2343.  
  2344.             <object type="button">
  2345.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2346.                 <font resource="body1" color="%text_button%" />
  2347.                 <text></text>
  2348.                 <image resource="actionbar_reset" highlightresource="actionbar_reset_hl" />
  2349.                 <action function="overlay">dialog_reset</action>
  2350.             </object>
  2351.            
  2352.             <object type="button">
  2353.                 <placement x="%tab4_col1_x%" y="%row0_y%" />
  2354.                 <font resource="menu" color="%text_button%" />
  2355.                 <text></text>
  2356.                 <image resource="tab_misc" />
  2357.                 <action function="page">settings</action>
  2358.             </object>
  2359.            
  2360.             <object type="button">
  2361.                 <placement x="%tab4_col2_x%" y="%row0_y%" />
  2362.                 <font resource="menu" color="%text_button%" />
  2363.                 <text></text>
  2364.                 <image resource="tab_time" />
  2365.                 <action function="page">timezone</action>
  2366.             </object>
  2367.            
  2368.             <object type="image">
  2369.                 <placement x="%tab4_col3_x%" y="%row0_y%" />
  2370.                 <image resource="tab_display_a" />
  2371.             </object>
  2372.            
  2373.             <object type="button">
  2374.                 <placement x="%tab4_col4_x%" y="%row0_y%" />
  2375.                 <font resource="menu" color="%text_button%" />
  2376.                 <text></text>
  2377.                 <image resource="tab_vibration" />
  2378.                 <action function="page">vibrate</action>
  2379.             </object>
  2380.            
  2381.             <object type="text" color="%text_dark%">
  2382.                 <font resource="caption" />
  2383.                 <placement x="%col1_x%" y="%row2_1_y%" />
  2384.                 <text>Screen Settings</text>
  2385.             </object>
  2386.            
  2387.             <object type="text" color="%text%">
  2388.                 <condition var1="tw_has_brightnesss_file" var2="1" />
  2389.                 <font resource="body2" />
  2390.                 <placement x="%col1_x%" y="%row2_2a_y%" />
  2391.                 <text>Brightness: %tw_brightness_pct%%</text>
  2392.             </object>
  2393.            
  2394.             <object type="slidervalue">
  2395.                 <condition var1="tw_has_brightnesss_file" var2="1" />
  2396.                 <placement x="%slider_x%" y="%row2_3_y%" w="%slidervalue_w%" />
  2397.                 <resource background="slider" handle="handle" handlehover="handle_h" />
  2398.                 <font resource="caption" color="%text%" />
  2399.                 <colors line="%text_dark%" slider="%text_highlight%" />
  2400.                 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
  2401.                 <text></text>
  2402.                 <data variable="tw_brightness_pct" min="10" max="100" showrange="0" showcurr="0" changeondrag="1" />
  2403.                 <actions>
  2404.                     <action function="set">tw_brightness=%tw_brightness_max%</action>
  2405.                     <action function="compute">tw_brightness*%tw_brightness_pct%</action>
  2406.                     <action function="compute">tw_brightness/100</action>
  2407.                     <!--action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action-->
  2408.                     <action function="setbrightness">%tw_brightness%</action>
  2409.                 </actions>
  2410.             </object>
  2411.            
  2412.             <object type="text" color="%text%">
  2413.                 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
  2414.                 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
  2415.                 <font resource="body2" />
  2416.                 <placement x="%col1_x%" y="%row4_1_y%" />
  2417.                 <text>Timeout</text>
  2418.             </object>
  2419.            
  2420.             <object type="text" color="%text%">
  2421.                 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
  2422.                 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
  2423.                 <font resource="body2" />
  2424.                 <placement x="%col1_x%" y="%row4_1_y%" />
  2425.                 <text>Timeout: %tw_screen_timeout_secs% seconds</text>
  2426.             </object>
  2427.            
  2428.             <object type="button">
  2429.                 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
  2430.                 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
  2431.                 <placement x="%col1_x%" y="%row4_2_y%" />
  2432.                 <font resource="body2" color="%text%" />
  2433.                 <text>Enable screen timeout</text>
  2434.                 <image resource="checkbox_false" />
  2435.                 <action function="set">tw_screen_timeout_secs=60</action>
  2436.             </object>
  2437.  
  2438.             <object type="button">
  2439.                 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
  2440.                 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
  2441.                 <placement x="%col1_x%" y="%row4_2_y%" />
  2442.                 <font resource="body2" color="%text%" />
  2443.                 <text>Enable screen timeout</text>
  2444.                 <image resource="checkbox_true" />
  2445.                 <action function="set">tw_screen_timeout_secs=0</action>
  2446.             </object>
  2447.            
  2448.             <object type="slidervalue">
  2449.                 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
  2450.                 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
  2451.                 <placement x="%slider_x%" y="%row4_3_y%" w="%slidervalue_w%" />
  2452.                 <resource background="slider" handle="handle" handlehover="handle_h" />
  2453.                 <font resource="caption" color="%text%" />
  2454.                 <colors line="%text_dark%" slider="%text_highlight%" />
  2455.                 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
  2456.                 <text></text>
  2457.                 <data variable="tw_screen_timeout_secs" min="15" max="300" showrange="0" showcurr="0" changeondrag="1" />
  2458.             </object>
  2459.            
  2460.             <object type="action">
  2461.                 <touch key="home" />
  2462.                 <action function="page">main</action>
  2463.             </object>
  2464.  
  2465.             <object type="action">
  2466.                 <touch key="back" />
  2467.                 <action function="page">settings</action>
  2468.             </object>
  2469.            
  2470.         </page>
  2471.        
  2472.         <page name="vibrate">
  2473.            
  2474.             <object type="template" name="body" />
  2475.            
  2476.             <object type="template" name="ab_tab" />
  2477.            
  2478.             <object type="template" name="statusbarinfo" />
  2479.            
  2480.             <object type="button">
  2481.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2482.                 <font resource="body1" color="%text_button%" />
  2483.                 <text></text>
  2484.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2485.                 <action function="page">main</action>
  2486.             </object>
  2487.  
  2488.             <object type="image">
  2489.                 <image resource="bc_settings" />
  2490.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2491.             </object>
  2492.  
  2493.             <object type="button">
  2494.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2495.                 <font resource="body1" color="%text_button%" />
  2496.                 <text></text>
  2497.                 <image resource="actionbar_reset" highlightresource="actionbar_reset_hl" />
  2498.                 <action function="overlay">dialog_reset</action>
  2499.             </object>
  2500.            
  2501.             <object type="button">
  2502.                 <placement x="%tab4_col1_x%" y="%row0_y%" />
  2503.                 <font resource="menu" color="%text_button%" />
  2504.                 <text></text>
  2505.                 <image resource="tab_misc" />
  2506.                 <action function="page">settings</action>
  2507.             </object>
  2508.            
  2509.             <object type="button">
  2510.                 <placement x="%tab4_col2_x%" y="%row0_y%" />
  2511.                 <font resource="menu" color="%text_button%" />
  2512.                 <text></text>
  2513.                 <image resource="tab_time" />
  2514.                 <action function="page">timezone</action>
  2515.             </object>
  2516.            
  2517.             <object type="button">
  2518.                 <placement x="%tab4_col3_x%" y="%row0_y%" />
  2519.                 <font resource="menu" color="%text_button%" />
  2520.                 <text></text>
  2521.                 <image resource="tab_display" />
  2522.                 <action function="page">screen</action>
  2523.             </object>
  2524.            
  2525.             <object type="image">
  2526.                 <placement x="%tab4_col4_x%" y="%row0_y%" />
  2527.                 <image resource="tab_vibration_a" />
  2528.             </object>
  2529.            
  2530.             <object type="text" color="%text_dark%">
  2531.                 <font resource="caption" />
  2532.                 <placement x="%col1_x%" y="%row2_1_y%" />
  2533.                 <text>Vibration Settings</text>
  2534.             </object>
  2535.            
  2536.             <object type="text" color="%text%">
  2537.                 <font resource="body2" />
  2538.                 <placement x="%col1_x%" y="%row2_2a_y%" />
  2539.                 <text>Button Vibration: %tw_button_vibrate%</text>
  2540.             </object>
  2541.            
  2542.             <object type="slidervalue">
  2543.                 <placement x="%slider_x%" y="%row2_3_y%" w="%slidervalue_w%" />
  2544.                 <resource background="slider" handle="handle" handlehover="handle_h" />
  2545.                 <font resource="caption" color="%text%" />
  2546.                 <colors line="%text_dark%" slider="%text_highlight%" />
  2547.                 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
  2548.                 <text></text>
  2549.                 <data variable="tw_button_vibrate" min="0" max="300" showrange="0" showcurr="0" changeondrag="1" />
  2550.             </object>
  2551.            
  2552.             <object type="text" color="%text%">
  2553.                 <font resource="body2" />
  2554.                 <placement x="%col1_x%" y="%row4_1_y%" />
  2555.                 <text>Keyboard Vibration: %tw_keyboard_vibrate%</text>
  2556.             </object>
  2557.            
  2558.             <object type="slidervalue">
  2559.                 <placement x="%slider_x%" y="%row4_1a_y%" w="%slidervalue_w%" />
  2560.                 <resource background="slider" handle="handle" handlehover="handle_h" />
  2561.                 <font resource="caption" color="%text%" />
  2562.                 <colors line="%text_dark%" slider="%text_highlight%" />
  2563.                 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
  2564.                 <text></text>
  2565.                 <data variable="tw_keyboard_vibrate" min="0" max="300" showrange="0" showcurr="0" changeondrag="1" />
  2566.             </object>
  2567.            
  2568.             <object type="text" color="%text%">
  2569.                 <font resource="body2" />
  2570.                 <placement x="%col1_x%" y="%row5_2a_y%" />
  2571.                 <text>Action Vibration: %tw_action_vibrate%</text>
  2572.             </object>
  2573.            
  2574.             <object type="slidervalue">
  2575.                 <placement x="%slider_x%" y="%row5_3_y%" w="%slidervalue_w%" />
  2576.                 <resource background="slider" handle="handle" handlehover="handle_h" />
  2577.                 <font resource="caption" color="%text%" />
  2578.                 <colors line="%text_dark%" slider="%text_highlight%" />
  2579.                 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
  2580.                 <text></text>
  2581.                 <data variable="tw_action_vibrate" min="0" max="500" showrange="0" showcurr="0" changeondrag="1" />
  2582.             </object>
  2583.            
  2584.             <object type="action">
  2585.                 <touch key="home" />
  2586.                 <action function="page">main</action>
  2587.             </object>
  2588.  
  2589.             <object type="action">
  2590.                 <touch key="back" />
  2591.                 <action function="page">settings</action>
  2592.             </object>
  2593.            
  2594.         </page>
  2595.        
  2596.         <page name="theme_settings">
  2597.            
  2598.             <object type="template" name="body" />
  2599.            
  2600.             <object type="template" name="ab_ex" />
  2601.            
  2602.             <object type="template" name="statusbarinfo" />
  2603.            
  2604.             <object type="button">
  2605.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2606.                 <font resource="body1" color="%text_button%" />
  2607.                 <text></text>
  2608.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2609.                 <action function="page">main</action>
  2610.             </object>
  2611.  
  2612.             <object type="image">
  2613.                 <image resource="bc_settings_theme" />
  2614.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2615.             </object>
  2616.  
  2617.             <object type="button">
  2618.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  2619.                 <font resource="body1" color="%text_button%" />
  2620.                 <text></text>
  2621.                 <image resource="actionbar_delete" highlightresource="actionbar_delete_hl" />
  2622.                 <action function="overlay">dialog_remove_theme</action>
  2623.             </object>
  2624.  
  2625.             <object type="button">
  2626.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2627.                 <font resource="body1" color="%text_button%" />
  2628.                 <text></text>
  2629.                 <image resource="actionbar_reset" highlightresource="actionbar_reset_hl" />
  2630.                 <action function="overlay">dialog_reset_theme</action>
  2631.             </object>
  2632.            
  2633.             <object type="text" color="%text_actionbar%">
  2634.                 <font resource="title" />
  2635.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  2636.                 <text>Theme Settings</text>
  2637.             </object>
  2638.            
  2639.             <object type="text" color="%text_dark%">
  2640.                 <font resource="caption" />
  2641.                 <placement x="%col1_x%" y="%row2_2_y%" />
  2642.                 <text>Functional</text>
  2643.             </object>
  2644.            
  2645.             <object type="checkbox">
  2646.                 <placement x="%col1_x%" y="%row2_3_y%" />
  2647.                 <font resource="body2" color="%text%" />
  2648.                 <text>Use Aroma File Manager</text>
  2649.                 <data variable="aromafm" />
  2650.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2651.             </object>
  2652.            
  2653.             <object type="checkbox">
  2654.                 <placement x="%col1_x%" y="%row3_1a_y%" />
  2655.                 <font resource="body2" color="%text%" />
  2656.                 <text>Use bookmark function for file lists</text>
  2657.                 <data variable="bookmark" />
  2658.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2659.             </object>
  2660.            
  2661.             <object type="text" color="%text_dark%">
  2662.                 <font resource="caption" />
  2663.                 <placement x="%col1_x%" y="%row4_1_y%" />
  2664.                 <text>Visual</text>
  2665.             </object>
  2666.            
  2667.             <object type="checkbox">
  2668.                 <placement x="%col1_x%" y="%row4_2_y%" />
  2669.                 <font resource="body2" color="%text%" />
  2670.                 <text>Center clock in statusbar</text>
  2671.                 <data variable="center_clock" />
  2672.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2673.             </object>
  2674.            
  2675.             <object type="checkbox">
  2676.                 <placement x="%col1_x%" y="%row4_3a_y%" />
  2677.                 <font resource="body2" color="%text%" />
  2678.                 <text>Samsung button layout for navbar</text>
  2679.                 <data variable="navbar_sams" />
  2680.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2681.             </object>
  2682.            
  2683.             <object type="checkbox">
  2684.                 <placement x="%col1_x%" y="%row5_2_y%" />
  2685.                 <font resource="body2" color="%text%" />
  2686.                 <text>Use buttons on main menu</text>
  2687.                 <data variable="menu_btn_solid" />
  2688.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2689.             </object>
  2690.            
  2691.             <object type="checkbox">
  2692.                 <condition var1="tw_no_cpu_temp" var2="0" />
  2693.                 <placement x="%col1_x%" y="%row5_3a_y%" />
  2694.                 <font resource="body2" color="%text%" />
  2695.                 <text>Show CPU temperature</text>
  2696.                 <data variable="show_cpu_temp" />
  2697.                 <image checked="checkbox_true" unchecked="checkbox_false" />
  2698.             </object>
  2699.            
  2700.             <!--object type="button">
  2701.                 <highlight color="%highlight_color%" />
  2702.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  2703.                 <font resource="menu" color="%text_button%" />
  2704.                 <text></text>
  2705.                 <image resource="btn_raised_changecolor" />
  2706.                 <action function="page">theme_color</action>
  2707.             </object-->
  2708.            
  2709.             <object type="button">
  2710.                 <highlight color="%highlight_color%" />
  2711.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  2712.                 <font resource="menu" color="%text_button%" />
  2713.                 <text></text>
  2714.                 <image resource="btn_raised_changetheme" />
  2715.                 <action function="page">theme_swap</action>
  2716.             </object>
  2717.            
  2718.             <object type="action">
  2719.                 <touch key="home" />
  2720.                 <action function="page">main</action>
  2721.             </object>
  2722.  
  2723.             <object type="action">
  2724.                 <touch key="back" />
  2725.                 <action function="page">main</action>
  2726.             </object>
  2727.            
  2728.         </page>
  2729.        
  2730.         <page name="theme_color">
  2731.            
  2732.             <object type="template" name="body" />
  2733.            
  2734.             <object type="template" name="ab_ex" />
  2735.            
  2736.             <object type="template" name="statusbarinfo" />
  2737.            
  2738.             <object type="button">
  2739.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2740.                 <font resource="body1" color="%text_button%" />
  2741.                 <text></text>
  2742.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2743.                 <action function="page">main</action>
  2744.             </object>
  2745.  
  2746.             <object type="image">
  2747.                 <image resource="bc_settings_theme" />
  2748.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2749.             </object>
  2750.  
  2751.             <object type="button">
  2752.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2753.                 <font resource="body1" color="%text_button%" />
  2754.                 <text></text>
  2755.                 <image resource="actionbar_reset" highlightresource="actionbar_reset_hl" />
  2756.                 <action function="overlay">dialog_reset_theme</action>
  2757.             </object>
  2758.            
  2759.             <object type="text" color="%text_actionbar%">
  2760.                 <font resource="title" />
  2761.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  2762.                 <text>Select Color</text>
  2763.             </object>
  2764.            
  2765.             <object type="text" color="%text_actionbar%">
  2766.                 <font resource="body1" />
  2767.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  2768.                 <text>Color</text>
  2769.             </object>
  2770.            
  2771.             <object type="action">
  2772.                 <touch key="home" />
  2773.                 <action function="page">main</action>
  2774.             </object>
  2775.  
  2776.             <object type="action">
  2777.                 <touch key="back" />
  2778.                 <action function="page">theme_settings</action>
  2779.             </object>
  2780.            
  2781.         </page>
  2782.        
  2783.         <page name="theme_swap">
  2784.            
  2785.             <object type="action">
  2786.                 <condition var1="bookmark" var2="1" />
  2787.                 <action function="set">tw_zip_location=%location_themes%</action>
  2788.             </object>
  2789.            
  2790.             <object type="template" name="body" />
  2791.            
  2792.             <object type="fileselector">
  2793.                 <condition var1="list_font" var2="big" />
  2794.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  2795.                 <fastscroll rectcolor="%text_highlight%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  2796.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  2797.                 <sort name="tw_gui_sort_order" />
  2798.                 <icon folder="folder_icon" file="file_icon" />
  2799.                 <background color="%background%" />
  2800.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_default%" />
  2801.                 <filter extn=".zip" folders="1" files="1" />
  2802.                 <path name="tw_zip_location" default="/sdcard" />
  2803.                 <data name="tw_filename" />
  2804.                 <selection name="tw_file" />
  2805.             </object>
  2806.            
  2807.             <object type="fileselector">
  2808.                 <condition var1="list_font" var2="small" />
  2809.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  2810.                 <fastscroll rectcolor="%text_highlight%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  2811.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  2812.                 <sort name="tw_gui_sort_order" />
  2813.                 <icon folder="folder_icon" file="file_icon" />
  2814.                 <background color="%background%" />
  2815.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_default%" />
  2816.                 <filter extn=".zip" folders="1" files="1" />
  2817.                 <path name="tw_zip_location" default="/sdcard" />
  2818.                 <data name="tw_filename" />
  2819.                 <selection name="tw_file" />
  2820.             </object>
  2821.            
  2822.             <object type="template" name="ab_ex" />
  2823.            
  2824.             <object type="template" name="statusbarinfo" />
  2825.            
  2826.             <object type="button">
  2827.                 <placement x="%ab_back_x%" y="%ab_y%" />
  2828.                 <font resource="body1" color="%text_button%" />
  2829.                 <text></text>
  2830.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  2831.                 <action function="page">main</action>
  2832.             </object>
  2833.  
  2834.             <object type="image">
  2835.                 <image resource="bc_settings_theme" />
  2836.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  2837.                 <font resource="menu" color="%text_button%" />
  2838.                 <text></text>
  2839.             </object>
  2840.  
  2841.             <object type="image">
  2842.                 <condition var1="bookmark" var2="1" />
  2843.                 <condition var1="tw_zip_location" var2="%location_themes%" />
  2844.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  2845.                 <image resource="actionbar_pinned" />
  2846.             </object>
  2847.            
  2848.             <object type="button">
  2849.                 <condition var1="bookmark" var2="1" />
  2850.                 <condition var1="dialog_hide_folder" var2="1" />
  2851.                 <condition var1="tw_zip_location" op="!=" var2="%location_themes%" />
  2852.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  2853.                 <font resource="body1" color="%text_button%" />
  2854.                 <text></text>
  2855.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  2856.                 <actions>
  2857.                     <action function="set">location_themes=%tw_zip_location%</action>
  2858.                     <action function="set">tw_zip_location=%location_themes%</action>
  2859.                 </actions>
  2860.             </object>
  2861.            
  2862.             <object type="button">
  2863.                 <condition var1="bookmark" var2="1" />
  2864.                 <condition var1="dialog_hide_folder" var2="0" />
  2865.                 <condition var1="tw_zip_location" op="!=" var2="%location_themes%" />
  2866.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  2867.                 <font resource="body1" color="%text_button%" />
  2868.                 <text></text>
  2869.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  2870.                 <actions>
  2871.                     <action function="set">dialog_context=loc_theme</action>
  2872.                     <action function="overlay">dialog_folder</action>
  2873.                 </actions>
  2874.             </object>
  2875.            
  2876.             <object type="button">
  2877.                 <condition var1="list_font" var2="big" />
  2878.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2879.                 <font resource="body1" color="%text_button%" />
  2880.                 <text></text>
  2881.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  2882.                 <actions>
  2883.                     <action function="set">list_font=small</action>
  2884.                 </actions>
  2885.             </object>
  2886.            
  2887.             <object type="button">
  2888.                 <condition var1="list_font" var2="small" />
  2889.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  2890.                 <font resource="body1" color="%text_button%" />
  2891.                 <text></text>
  2892.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  2893.                 <actions>
  2894.                     <action function="set">list_font=big</action>
  2895.                 </actions>
  2896.             </object>
  2897.            
  2898.             <object type="text" color="%text_actionbar%">
  2899.                 <font resource="title" />
  2900.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  2901.                 <text>Change Theme</text>
  2902.             </object>
  2903.            
  2904.             <object type="text" color="%text_actionbar%">
  2905.                 <font resource="body1" />
  2906.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  2907.                 <text>Select the theme you want to apply</text>
  2908.             </object>
  2909.            
  2910.             <object type="image">
  2911.                 <image resource="divider_wide" />
  2912.                 <placement x="%center_x%" y="%row_btn_y%" placement="4" />
  2913.             </object>
  2914.            
  2915.             <object type="button">
  2916.                 <highlight color="%highlight_color%" />
  2917.                 <placement x="%col1_x%" y="row_btn_y" />
  2918.                 <font resource="menu" color="%text%" />
  2919.                 <text>SELECT STORAGE</text>
  2920.                 <image resource="mb_empty_s" />
  2921.                 <actions>
  2922.                     <action function="set">tw_back=theme_swap</action>
  2923.                     <action function="overlay">dialog_storage</action>
  2924.                 </actions>
  2925.             </object>
  2926.            
  2927.             <object type="action">
  2928.                 <actions>
  2929.                     <action function="set">tw_fm_type=File</action>
  2930.                     <action function="set">tw_fm_isfolder=0</action>
  2931.                 </actions>
  2932.             </object>
  2933.  
  2934.             <object type="action">
  2935.                 <condition var1="tw_filename" op="modified" />
  2936.                 <actions>
  2937.                     <action function="overlay">dialog_settheme</action>
  2938.                 </actions>
  2939.             </object>
  2940.            
  2941.             <object type="action">
  2942.                 <touch key="home" />
  2943.                 <action function="page">main</action>
  2944.             </object>
  2945.  
  2946.             <object type="action">
  2947.                 <touch key="back" />
  2948.                 <action function="page">theme_settings</action>
  2949.             </object>
  2950.            
  2951.         </page>
  2952.        
  2953.         <page name="install">          
  2954.             <object type="action">
  2955.                 <action function="set">tw_back=install</action>
  2956.             </object>
  2957.            
  2958.             <object type="action">
  2959.                 <condition var1="bookmark" var2="1" />
  2960.                 <action function="set">tw_zip_location=%location_install%</action>
  2961.             </object>
  2962.            
  2963.             <object type="template" name="body_install" />
  2964.            
  2965.             <object type="fileselector">
  2966.                 <condition var1="list_font" var2="big" />
  2967.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  2968.                 <fastscroll rectcolor="%text_highlight_install%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  2969.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  2970.                 <sort name="tw_gui_sort_order" />
  2971.                 <icon folder="folder_icon" file="file_icon" />
  2972.                 <background color="%background%" />
  2973.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_install%" />
  2974.                 <filter extn=".zip" folders="1" files="1" />
  2975.                 <path name="tw_zip_location" default="/sdcard" />
  2976.                 <data name="tw_filename" />
  2977.                 <selection name="tw_file" />
  2978.             </object>
  2979.            
  2980.             <object type="fileselector">
  2981.                 <condition var1="list_font" var2="small" />
  2982.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  2983.                 <fastscroll rectcolor="%text_highlight_install%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  2984.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  2985.                 <sort name="tw_gui_sort_order" />
  2986.                 <icon folder="folder_icon" file="file_icon" />
  2987.                 <background color="%background%" />
  2988.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_install%" />
  2989.                 <filter extn=".zip" folders="1" files="1" />
  2990.                 <path name="tw_zip_location" default="/sdcard" />
  2991.                 <data name="tw_filename" />
  2992.                 <selection name="tw_file" />
  2993.             </object>
  2994.            
  2995.             <object type="template" name="ab_ex_install" />
  2996.            
  2997.             <object type="template" name="statusbarinfo" />
  2998.  
  2999.             <object type="button">
  3000.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3001.                 <font resource="body1" color="%text_button%" />
  3002.                 <text></text>
  3003.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3004.                 <action function="page">main</action>
  3005.             </object>
  3006.  
  3007.             <object type="button">
  3008.                 <image resource="bc_install_zip_m" />
  3009.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3010.                 <font resource="body1" color="%text_button%" />
  3011.                 <text></text>
  3012.                 <action function="overlay">menu_install</action>
  3013.             </object>
  3014.  
  3015.             <object type="image">
  3016.                 <condition var1="bookmark" var2="1" />
  3017.                 <condition var1="tw_zip_location" var2="%location_install%" />
  3018.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3019.                 <image resource="actionbar_pinned" />
  3020.             </object>
  3021.            
  3022.             <object type="button">
  3023.                 <condition var1="bookmark" var2="1" />
  3024.                 <condition var1="dialog_hide_folder" var2="1" />
  3025.                 <condition var1="tw_zip_location" op="!=" var2="%location_install%" />
  3026.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3027.                 <font resource="body1" color="%text_button%" />
  3028.                 <text></text>
  3029.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  3030.                 <actions>
  3031.                     <action function="set">location_install=%tw_zip_location%</action>
  3032.                     <action function="set">tw_zip_location=%location_install%</action>
  3033.                 </actions>
  3034.             </object>
  3035.            
  3036.             <object type="button">
  3037.                 <condition var1="bookmark" var2="1" />
  3038.                 <condition var1="dialog_hide_folder" var2="0" />
  3039.                 <condition var1="tw_zip_location" op="!=" var2="%location_install%" />
  3040.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3041.                 <font resource="body1" color="%text_button%" />
  3042.                 <text></text>
  3043.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  3044.                 <actions>
  3045.                     <action function="set">dialog_context=loc_install</action>
  3046.                     <action function="overlay">dialog_folder_install</action>
  3047.                 </actions>
  3048.             </object>
  3049.            
  3050.             <object type="button">
  3051.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  3052.                 <font resource="body1" color="%text_button%" />
  3053.                 <text></text>
  3054.                 <image resource="actionbar_sort" highlightresource="actionbar_sort_hl" />
  3055.                 <action function="overlay">menu_sort_install</action>
  3056.             </object>
  3057.            
  3058.             <object type="button">
  3059.                 <condition var1="list_font" var2="big" />
  3060.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  3061.                 <font resource="body1" color="%text_button%" />
  3062.                 <text></text>
  3063.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  3064.                 <actions>
  3065.                     <action function="set">list_font=small</action>
  3066.                 </actions>
  3067.             </object>
  3068.            
  3069.             <object type="button">
  3070.                 <condition var1="list_font" var2="small" />
  3071.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  3072.                 <font resource="body1" color="%text_button%" />
  3073.                 <text></text>
  3074.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  3075.                 <actions>
  3076.                     <action function="set">list_font=big</action>
  3077.                 </actions>
  3078.             </object>
  3079.            
  3080.             <object type="text" color="%text_actionbar_install%">
  3081.                 <font resource="title" />
  3082.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3083.                 <text>Select Zip File</text>
  3084.             </object>
  3085.            
  3086.             <object type="text" color="%text_actionbar_install%">
  3087.                 <font resource="body1" />
  3088.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  3089.                 <text>%tw_zip_location%</text>
  3090.             </object>
  3091.            
  3092.             <object type="image">
  3093.                 <image resource="hider_ab_ex_install" />
  3094.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  3095.             </object>
  3096.            
  3097.             <object type="image">
  3098.                 <image resource="divider_wide" />
  3099.                 <placement x="%center_x%" y="%row_btn_y%" placement="4" />
  3100.             </object>
  3101.            
  3102.             <object type="button">
  3103.                 <highlight color="%highlight_color%" />
  3104.                 <placement x="%col1_x%" y="row_btn_y" />
  3105.                 <font resource="menu" color="%text%" />
  3106.                 <text>SELECT STORAGE</text>
  3107.                 <image resource="mb_empty_s" />
  3108.                 <actions>
  3109.                     <action function="set">tw_back=install</action>
  3110.                     <action function="overlay">dialog_storage_install</action>
  3111.                 </actions>
  3112.             </object>
  3113.            
  3114.             <object type="action">
  3115.                 <condition var1="tw_filename" op="modified" />
  3116.                 <actions>
  3117.                     <action function="queuezip"></action>
  3118.                     <action function="page">flash_confirm</action>
  3119.                 </actions>
  3120.             </object>
  3121.  
  3122.             <object type="action">
  3123.                 <touch key="back" />
  3124.                 <action function="page">main</action>
  3125.             </object>
  3126.  
  3127.             <object type="action">
  3128.                 <touch key="home" />
  3129.                 <action function="page">main</action>
  3130.             </object>
  3131.         </page>
  3132.        
  3133.         <page name="install_image">            
  3134.             <object type="action">
  3135.                 <action function="set">tw_back=install_image</action>
  3136.             </object>
  3137.            
  3138.             <object type="action">
  3139.                 <condition var1="bookmark" var2="1" />
  3140.                 <action function="set">tw_zip_location=%location_install_image%</action>
  3141.             </object>
  3142.            
  3143.             <object type="template" name="body_install" />
  3144.            
  3145.             <object type="fileselector">
  3146.                 <condition var1="list_font" var2="big" />
  3147.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  3148.                 <fastscroll rectcolor="%text_highlight_install%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  3149.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  3150.                 <sort name="tw_gui_sort_order" />
  3151.                 <icon folder="folder_icon" file="file_icon" />
  3152.                 <background color="%background%" />
  3153.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_install%" />
  3154.                 <filter extn=".img" folders="1" files="1" />
  3155.                 <path name="tw_zip_location" default="/sdcard" />
  3156.                 <data name="tw_filename" />
  3157.                 <selection name="tw_file" />
  3158.             </object>
  3159.            
  3160.             <object type="fileselector">
  3161.                 <condition var1="list_font" var2="small" />
  3162.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  3163.                 <fastscroll rectcolor="%text_highlight_install%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  3164.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  3165.                 <sort name="tw_gui_sort_order" />
  3166.                 <icon folder="folder_icon" file="file_icon" />
  3167.                 <background color="%background%" />
  3168.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_install%" />
  3169.                 <filter extn=".img" folders="1" files="1" />
  3170.                 <path name="tw_zip_location" default="/sdcard" />
  3171.                 <data name="tw_filename" />
  3172.                 <selection name="tw_file" />
  3173.             </object>
  3174.            
  3175.             <object type="template" name="ab_ex_install" />
  3176.            
  3177.             <object type="template" name="statusbarinfo" />
  3178.  
  3179.             <object type="button">
  3180.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3181.                 <font resource="body1" color="%text_button%" />
  3182.                 <text></text>
  3183.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3184.                 <action function="page">main</action>
  3185.             </object>
  3186.  
  3187.             <object type="button">
  3188.                 <image resource="bc_install_image_m" />
  3189.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3190.                 <font resource="body1" color="%text_button%" />
  3191.                 <text></text>
  3192.                 <action function="overlay">menu_install</action>
  3193.             </object>
  3194.  
  3195.             <object type="image">
  3196.                 <condition var1="bookmark" var2="1" />
  3197.                 <condition var1="tw_zip_location" var2="%location_install_image%" />
  3198.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3199.                 <image resource="actionbar_pinned" />
  3200.             </object>
  3201.            
  3202.             <object type="button">
  3203.                 <condition var1="bookmark" var2="1" />
  3204.                 <condition var1="dialog_hide_folder" var2="1" />
  3205.                 <condition var1="tw_zip_location" op="!=" var2="%location_install_image%" />
  3206.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3207.                 <font resource="body1" color="%text_button%" />
  3208.                 <text></text>
  3209.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  3210.                 <actions>
  3211.                     <action function="set">location_install_image=%tw_zip_location%</action>
  3212.                     <action function="set">tw_zip_location=%location_install_image%</action>
  3213.                 </actions>
  3214.             </object>
  3215.            
  3216.             <object type="button">
  3217.                 <condition var1="bookmark" var2="1" />
  3218.                 <condition var1="dialog_hide_folder" var2="0" />
  3219.                 <condition var1="tw_zip_location" op="!=" var2="%location_install_image%" />
  3220.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3221.                 <font resource="body1" color="%text_button%" />
  3222.                 <text></text>
  3223.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  3224.                 <actions>
  3225.                     <action function="set">dialog_context=loc_image</action>
  3226.                     <action function="overlay">dialog_folder_install</action>
  3227.                 </actions>
  3228.             </object>
  3229.            
  3230.             <object type="button">
  3231.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  3232.                 <font resource="body1" color="%text_button%" />
  3233.                 <text></text>
  3234.                 <image resource="actionbar_sort" highlightresource="actionbar_sort_hl" />
  3235.                 <action function="overlay">menu_sort</action>
  3236.             </object>
  3237.            
  3238.             <object type="button">
  3239.                 <condition var1="list_font" var2="big" />
  3240.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  3241.                 <font resource="body1" color="%text_button%" />
  3242.                 <text></text>
  3243.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  3244.                 <actions>
  3245.                     <action function="set">list_font=small</action>
  3246.                 </actions>
  3247.             </object>
  3248.            
  3249.             <object type="button">
  3250.                 <condition var1="list_font" var2="small" />
  3251.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  3252.                 <font resource="body1" color="%text_button%" />
  3253.                 <text></text>
  3254.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  3255.                 <actions>
  3256.                     <action function="set">list_font=big</action>
  3257.                 </actions>
  3258.             </object>
  3259.            
  3260.             <object type="text" color="%text_actionbar_install%">
  3261.                 <font resource="title" />
  3262.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3263.                 <text>Select Image File</text>
  3264.             </object>
  3265.            
  3266.             <object type="text" color="%text_actionbar_install%">
  3267.                 <font resource="body1" />
  3268.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  3269.                 <text>%tw_zip_location%</text>
  3270.             </object>
  3271.            
  3272.             <object type="image">
  3273.                 <image resource="hider_ab_ex_install" />
  3274.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  3275.             </object>
  3276.            
  3277.             <object type="image">
  3278.                 <image resource="divider_wide" />
  3279.                 <placement x="%center_x%" y="%row_btn_y%" placement="4" />
  3280.             </object>
  3281.            
  3282.             <object type="button">
  3283.                 <highlight color="%highlight_color%" />
  3284.                 <placement x="%col1_x%" y="row_btn_y" />
  3285.                 <font resource="menu" color="%text%" />
  3286.                 <text>SELECT STORAGE</text>
  3287.                 <image resource="mb_empty_s" />
  3288.                 <actions>
  3289.                     <action function="set">tw_back=install</action>
  3290.                     <action function="overlay">dialog_storage_install</action>
  3291.                 </actions>
  3292.             </object>
  3293.            
  3294.             <object type="action">
  3295.                 <condition var1="tw_filename" op="modified" />
  3296.                 <actions>
  3297.                     <action function="set">tw_fm_type=File</action>
  3298.                     <action function="set">tw_fm_isfolder=0</action>
  3299.                     <action function="set">tw_image_type=none</action>
  3300.                     <action function="cmd">
  3301.                     i=/sdcard/TWRP/flashify;
  3302.                     rm $i/boot*.img $i/*recovery*.img $i/radio*.img $i/modem*.img;
  3303.                     </action>
  3304.                     <action function="set">tw_back=install_image</action>
  3305.                     <action function="set">tw_filecheck=/sdcard/TWRP/flashify/flashify.zip</action>
  3306.                     <action function="set">tw_existpage=flash_image_confirm</action>
  3307.                     <action function="set">tw_notexistpage=flash_image_confirm</action>
  3308.                     <action function="page">filecheck</action>
  3309.                 </actions>
  3310.             </object>
  3311.  
  3312.             <object type="action">
  3313.                 <touch key="back" />
  3314.                 <action function="page">main</action>
  3315.             </object>
  3316.  
  3317.             <object type="action">
  3318.                 <touch key="home" />
  3319.                 <action function="page">main</action>
  3320.             </object>
  3321.         </page>
  3322.  
  3323.         <page name="flash_confirm">
  3324.             <object type="template" name="body_install" />
  3325.            
  3326.             <object type="template" name="ab_ex_install" />
  3327.            
  3328.             <object type="template" name="statusbarinfo" />
  3329.  
  3330.             <object type="button">
  3331.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3332.                 <font resource="body1" color="%text_button%" />
  3333.                 <text></text>
  3334.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3335.                 <action function="page">main</action>
  3336.             </object>
  3337.            
  3338.             <object type="image">
  3339.                 <image resource="bc_install_zip" />
  3340.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3341.             </object>
  3342.            
  3343.             <object type="button">
  3344.                 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
  3345.                 <placement x="%btn_float_x%" y="%row1_2_y%" />
  3346.                 <font resource="body1" color="%text_button%" />
  3347.                 <text></text>
  3348.                 <image resource="btn_float_addtoqueue" highlightresource="btn_float_addtoqueue_hl" />
  3349.                 <action function="page">add_zip</action>
  3350.             </object>
  3351.            
  3352.             <object type="text" color="%text_actionbar_install%">
  3353.                 <font resource="title" />
  3354.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3355.                 <text>Files queued</text>
  3356.             </object>
  3357.            
  3358.             <object type="text" color="%text_actionbar_install%">
  3359.                 <font resource="body1" />
  3360.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  3361.                 <text>%tw_zip_queue_count% of 10</text>
  3362.             </object>
  3363.            
  3364.             <object type="text" color="%text_dark%">
  3365.                 <font resource="caption" />
  3366.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  3367.                 <text>File</text>
  3368.             </object>
  3369.  
  3370.             <object type="text" color="%text%">
  3371.                 <font resource="body2" />
  3372.                 <placement x="%col1_x%" y="%row2_3_y%" />
  3373.                 <text>%tw_file%</text>
  3374.             </object>
  3375.            
  3376.             <object type="text" color="%text_dark%">
  3377.                 <font resource="caption" />
  3378.                 <placement x="%col1_x%" y="%row3_2_y%"  />
  3379.                 <text>Folder</text>
  3380.             </object>
  3381.  
  3382.             <object type="text" color="%text%">
  3383.                 <font resource="body2" />
  3384.                 <placement x="%col1_x%" y="%row3_3_y%" />
  3385.                 <text>%tw_zip_location%</text>
  3386.             </object>
  3387.  
  3388.             <object type="text" color="%text_dark%">
  3389.                 <font resource="caption" />
  3390.                 <placement x="%col1_x%" y="%row4_2_y%"/>
  3391.                 <text>Options</text>
  3392.             </object>
  3393.            
  3394.             <object type="checkbox">
  3395.                 <placement x="%col1_x%" y="%row4_3_y%" />
  3396.                 <font resource="body2" color="%text%" />
  3397.                 <text>Zip file Signature Verification</text>
  3398.                 <data variable="tw_signed_zip_verify" />
  3399.                 <image checked="checkbox_true_install" unchecked="checkbox_false" />
  3400.             </object>
  3401.  
  3402.             <object type="checkbox">
  3403.                 <placement x="%col1_x%" y="%row5_1a_y%" />
  3404.                 <font resource="body2" color="%text%" />
  3405.                 <text>Force MD5 check on all Zip files</text>
  3406.                 <data variable="tw_force_md5_check" />
  3407.                 <image checked="checkbox_true_install" unchecked="checkbox_false" />
  3408.             </object>
  3409.  
  3410.             <object type="checkbox">
  3411.                 <condition var1="tw_has_injecttwrp" var2="1" />
  3412.                 <placement x="%col1_x%" y="%row5_3_y%" />
  3413.                 <font resource="body2" color="%text%" />
  3414.                 <text>Inject TWRP after install</text>
  3415.                 <data variable="tw_inject_after_zip" />
  3416.                 <image checked="checkbox_true_install" unchecked="checkbox_false" />
  3417.             </object>
  3418.            
  3419.             <object type="button">
  3420.                 <highlight color="%highlight_color%" />
  3421.                 <placement x="%btn_raised_right_x%" y="%row6_3_y%" placement="1" />
  3422.                 <font resource="menu" color="%text_button%" />
  3423.                 <text></text>
  3424.                 <image resource="btn_raised_clearqueue" />
  3425.                 <actions>
  3426.                     <action function="queueclear"></action>
  3427.                     <action function="page">install</action>
  3428.                 </actions>
  3429.             </object>
  3430.  
  3431.             <object type="text" color="%text_dark%">
  3432.                 <font resource="caption" />
  3433.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  3434.                 <text>Swipe to Install</text>
  3435.             </object>
  3436.            
  3437.             <object type="slider">
  3438.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  3439.                 <resource base="slider" used="slider_used_install" touch="handle_h_install" />
  3440.                 <action function="flash">flash_zip</action>
  3441.             </object>
  3442.            
  3443.             <object type="action">
  3444.                 <touch key="back" />
  3445.                 <actions>
  3446.                     <action function="cancelzip"></action>
  3447.                     <action function="page">install</action>
  3448.                 </actions>
  3449.             </object>
  3450.  
  3451.             <object type="action">
  3452.                 <touch key="home" />
  3453.                 <action function="page">main</action>
  3454.             </object>
  3455.         </page>
  3456.        
  3457.         <page name="flash_aromafm_confirm">
  3458.             <object type="template" name="body_filemanager" />
  3459.            
  3460.             <object type="template" name="ab_ex_filemanager" />
  3461.            
  3462.             <object type="template" name="statusbarinfo" />
  3463.  
  3464.             <object type="button">
  3465.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3466.                 <font resource="body1" color="%text_button%" />
  3467.                 <text></text>
  3468.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3469.                 <action function="page">main</action>
  3470.             </object>
  3471.            
  3472.             <object type="image">
  3473.                 <image resource="bc_filemanager" />
  3474.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3475.             </object>
  3476.            
  3477.             <object type="text" color="%text_actionbar_filemanager%">
  3478.                 <font resource="title" />
  3479.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3480.                 <text>Start Aroma File Manager</text>
  3481.             </object>
  3482.  
  3483.             <object type="text" color="%text_dark%">
  3484.                 <font resource="caption" />
  3485.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  3486.                 <text>Swipe to start AromaFM</text>
  3487.             </object>
  3488.            
  3489.             <object type="slider">
  3490.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  3491.                 <resource base="slider" used="slider_used_filemanager" touch="handle_h_filemanager" />
  3492.                 <action function="flash">flash_zip</action>
  3493.             </object>
  3494.            
  3495.             <object type="action">
  3496.                 <touch key="back" />
  3497.                 <actions>
  3498.                     <action function="cancelzip"></action>
  3499.                     <action function="page">main</action>
  3500.                 </actions>
  3501.             </object>
  3502.  
  3503.             <object type="action">
  3504.                 <touch key="home" />
  3505.                 <action function="page">main</action>
  3506.             </object>
  3507.         </page>
  3508.        
  3509.         <page name="flash_image_confirm">
  3510.        
  3511.             <object type="template" name="body_install" />
  3512.            
  3513.             <object type="template" name="ab_ex_install" />
  3514.            
  3515.             <object type="template" name="statusbarinfo" />
  3516.            
  3517.             <object type="button">
  3518.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3519.                 <font resource="body1" color="%text_button%" />
  3520.                 <text></text>
  3521.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3522.                 <action function="page">main</action>
  3523.             </object>
  3524.            
  3525.             <object type="image">
  3526.                 <image resource="bc_install_image" />
  3527.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3528.             </object>
  3529.            
  3530.             <object type="button">
  3531.                 <placement x="%btn_float_x%" y="%row1_2_y%" />
  3532.                 <font resource="body1" color="%text_button%" />
  3533.                 <text></text>
  3534.                 <image resource="btn_float_flashifyinfo" highlightresource="btn_float_flashifyinfo_hl" />
  3535.                 <action function="page">flash_image_info</action>
  3536.             </object>
  3537.            
  3538.             <object type="text" color="%text_actionbar_install%">
  3539.                 <font resource="title" />
  3540.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3541.                 <text>Flashify Script</text>
  3542.             </object>
  3543.            
  3544.             <object type="text" color="%text_dark%">
  3545.                 <font resource="caption" />
  3546.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  3547.                 <text>File</text>
  3548.             </object>
  3549.            
  3550.             <object type="text" color="%text%">
  3551.                 <font resource="body2" />
  3552.                 <placement x="%col1_x%" y="%row2_3_y%" />
  3553.                 <text>%tw_file%</text>
  3554.             </object>
  3555.            
  3556.             <object type="text" color="%text_dark%">
  3557.                 <font resource="caption" />
  3558.                 <placement x="%col1_x%" y="%row3_2_y%"  />
  3559.                 <text>Folder</text>
  3560.             </object>
  3561.            
  3562.             <object type="text" color="%text%">
  3563.                 <font resource="body2" />
  3564.                 <placement x="%col1_x%" y="%row3_3_y%" />
  3565.                 <text>%tw_zip_location%</text>
  3566.             </object>
  3567.            
  3568.             <object type="text" color="%text_dark%">
  3569.                 <font resource="caption" />
  3570.                 <placement x="%col1_x%" y="%row4_2_y%"  />
  3571.                 <text>Image Type</text>
  3572.             </object>
  3573.            
  3574.             <object type="button">
  3575.                 <condition var1="tw_image_type" op="!=" var2="recovery" />
  3576.                 <placement x="%col1_x%" y="%row4_3_y%" />
  3577.                 <font resource="body2" color="%text%" />
  3578.                 <text>Recovery Image</text>
  3579.                 <image resource="radio_false" />
  3580.                 <action function="set">tw_image_type=recovery</action>
  3581.             </object>
  3582.            
  3583.             <object type="button">
  3584.                 <condition var1="tw_image_type" var2="recovery" />
  3585.                 <placement x="%col1_x%" y="%row4_3_y%" />
  3586.                 <font resource="body2" color="%text%" />
  3587.                 <text>Recovery Image</text>
  3588.                 <image resource="radio_true_install" />
  3589.                 <action function="set">tw_image_type=recovery</action>
  3590.             </object>
  3591.            
  3592.             <object type="button">
  3593.                 <condition var1="tw_image_type" op="!=" var2="boot" />
  3594.                 <placement x="%col1_x%" y="%row5_1a_y%" />
  3595.                 <font resource="body2" color="%text%" />
  3596.                 <text>Boot Image</text>
  3597.                 <image resource="radio_false" />
  3598.                 <action function="set">tw_image_type=boot</action>
  3599.             </object>
  3600.  
  3601.             <object type="button">
  3602.                 <condition var1="tw_image_type" var2="boot" />
  3603.                 <placement x="%col1_x%" y="%row5_1a_y%" />
  3604.                 <font resource="body2" color="%text%" />
  3605.                 <text>Boot Image</text>
  3606.                 <image resource="radio_true_install" />
  3607.                 <action function="set">tw_image_type=boot</action>
  3608.             </object>
  3609.  
  3610.             <object type="button">
  3611.                 <condition var1="tw_image_type" op="!=" var2="radio" />
  3612.                 <placement x="%col1_x%" y="%row5_3_y%" />
  3613.                 <font resource="body2" color="%text%" />
  3614.                 <text>Radio / Modem Image</text>
  3615.                 <image resource="radio_false" />
  3616.                 <action function="set">tw_image_type=radio</action>
  3617.             </object>
  3618.  
  3619.             <object type="button">
  3620.                 <condition var1="tw_image_type" var2="radio" />
  3621.                 <placement x="%col1_x%" y="%row5_3_y%" />
  3622.                 <font resource="body2" color="%text%" />
  3623.                 <text>Radio / Modem Image</text>
  3624.                 <image resource="radio_true_install" />
  3625.                 <action function="set">tw_image_type=radio</action>
  3626.             </object>
  3627.            
  3628.             <object type="image">
  3629.                 <condition var1="tw_fileexists" var2="0" />
  3630.                 <condition var1="partitionlisterror" var2="1" />
  3631.                 <placement x="%col1_x%" y="%row7_1_y%" />
  3632.                 <image resource="icon_info" />
  3633.             </object>
  3634.            
  3635.             <object type="text" color="%text_highlight_install%">
  3636.                 <condition var1="tw_fileexists" var2="0" />
  3637.                 <condition var1="partitionlisterror" var2="1" />
  3638.                 <font resource="body2" />
  3639.                 <placement x="%col1_x_indent%" y="%row7_1_y%" />
  3640.                 <text>Install the flashify script to continue!</text>
  3641.             </object>
  3642.            
  3643.             <object type="button">
  3644.                 <condition var1="tw_fileexists" var2="0" />
  3645.                 <highlight color="%highlight_color%" />
  3646.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  3647.                 <font resource="font_medium" color="%text_button%" />
  3648.                 <text></text>
  3649.                 <image resource="btn_raised_installscript" />
  3650.                 <action function="cmd">
  3651.                 mkdir "/sdcard/TWRP/flashify";                 
  3652.                 mkdir "/cache/twrp";
  3653.                 unzip -o "/sdcard/TWRP/theme/ui.zip" -d "/cache/twrp";
  3654.                 cp -r /cache/twrp/flashify/* /sdcard/TWRP/flashify;
  3655.                 chmod 777 "/sdcard/TWRP/flashify/flashify.zip";
  3656.                 rm -r /cache/twrp;
  3657.                 </action>
  3658.                 <action function="set">tw_fileexists=1</action>
  3659.             </object>
  3660.            
  3661.             <object type="text" color="%text_dark%">
  3662.                 <conditions>
  3663.                     <condition var1="tw_fileexists" var2="1" />
  3664.                     <condition var1="tw_image_type" var2="recovery" />
  3665.                 </conditions>
  3666.                 <font resource="caption" />
  3667.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  3668.                 <text>Swipe to install Recovery Image</text>
  3669.             </object>
  3670.  
  3671.             <object type="text" color="%text_dark%">
  3672.                 <conditions>
  3673.                     <condition var1="tw_fileexists" var2="1" />
  3674.                     <condition var1="tw_image_type" var2="boot" />
  3675.                 </conditions>
  3676.                 <font resource="caption" />
  3677.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  3678.                 <text>Swipe to install Boot Image</text>
  3679.             </object>
  3680.  
  3681.             <object type="text" color="%text_dark%">
  3682.                 <conditions>
  3683.                     <condition var1="tw_fileexists" var2="1" />
  3684.                     <condition var1="tw_image_type" var2="radio" />
  3685.                 </conditions>
  3686.                 <font resource="caption" />
  3687.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  3688.                 <text>Swipe to install Radio / Modem</text>
  3689.             </object>
  3690.  
  3691.             <object type="text" color="%text_highlight%">
  3692.                 <conditions>
  3693.                     <condition var1="tw_fileexists" var2="1" />
  3694.                     <condition var1="tw_image_type" op="=" var2="none" />
  3695.                 </conditions>
  3696.                 <font resource="body2" />
  3697.                 <placement x="%center_x%" y="%row8_2_y%" placement="4" />
  3698.                 <text>Select Image Type!</text>
  3699.             </object>
  3700.            
  3701.             <object type="slider">
  3702.                 <conditions>
  3703.                     <condition var1="tw_fileexists" var2="1" />
  3704.                     <condition var1="tw_image_type" op="!=" var2="none" />
  3705.                 </conditions>
  3706.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  3707.                 <resource base="slider" used="slider_used_install" touch="handle_h_install" />
  3708.                 <actions>
  3709.                     <action function="queueclear"></action>
  3710.                     <action function="cmd">
  3711.                     cp &quot;%tw_filename%&quot; /sdcard/TWRP/flashify/%tw_image_type%.img;
  3712.                     </action>
  3713.                     <action function="set">tw_filename=/sdcard/TWRP/flashify/flashify.zip</action>
  3714.                     <action function="queuezip"></action>
  3715.                     <action function="flash">flash_zip</action>
  3716.                 </actions>
  3717.             </object>
  3718.            
  3719.             <object type="action">
  3720.                 <touch key="back" />
  3721.                 <actions>
  3722.                     <action function="cancelzip"></action>
  3723.                     <action function="page">install_image</action>
  3724.                 </actions>
  3725.             </object>
  3726.  
  3727.             <object type="action">
  3728.                 <touch key="home" />
  3729.                 <action function="page">main</action>
  3730.             </object>
  3731.         </page>
  3732.        
  3733.         <page name="flash_image_info">
  3734.             <object type="template" name="body_install" />
  3735.            
  3736.             <object type="template" name="ab_ex_install" />
  3737.            
  3738.             <object type="template" name="statusbarinfo" />
  3739.  
  3740.             <object type="button">
  3741.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3742.                 <font resource="body1" color="%text_button%" />
  3743.                 <text></text>
  3744.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3745.                 <action function="page">main</action>
  3746.             </object>
  3747.            
  3748.             <object type="image">
  3749.                 <image resource="bc_install_image" />
  3750.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3751.             </object>
  3752.            
  3753.             <object type="text" color="%text_actionbar_install%">
  3754.                 <font resource="title" />
  3755.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3756.                 <text>Flashify Script</text>
  3757.             </object>
  3758.            
  3759.             <object type="text" color="%text_actionbar_install%">
  3760.                 <font resource="body1" />
  3761.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  3762.                 <text>Information</text>
  3763.             </object>
  3764.  
  3765.             <object type="listbox">
  3766.                 <placement x="%col1_x%" y="%row2_2_y%" w="%console_width%" h="900" />
  3767.                 <fastscroll rectcolor="%highlight_install%" w="%fastscroll_rectw%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  3768.                 <background color="%background%" />
  3769.                 <font resource="body2" spacing="%textbox_spacing%" color="%text%" />
  3770.                 <listitem name="This will directly flash .img files.">1</listitem>
  3771.                 <listitem name="The selected image file is copied to a">2</listitem>
  3772.                 <listitem name="temporary directory and renamed according">2</listitem>
  3773.                 <listitem name="to the selected image type.">2</listitem>
  3774.                 <listitem name="The script will then search for a partition">2</listitem>
  3775.                 <listitem name="matching the selected type.">2</listitem>
  3776.                 <listitem name="">2</listitem>
  3777.                 <listitem name="If a matching partition is found">2</listitem>
  3778.                 <listitem name="the image will be flashed.">2</listitem>
  3779.                 <listitem name="">2</listitem>
  3780.                 <listitem name="If no matching partition is found">2</listitem>
  3781.                 <listitem name="the script will not flash anything.">2</listitem>
  3782.                 <listitem name="">2</listitem>
  3783.                 <listitem name="This script will only work on devices">2</listitem>
  3784.                 <listitem name="with standard by-name partition naming,">2</listitem>
  3785.                 <listitem name="e.g. &quot;boot&quot;, &quot;recovery&quot; and ">2</listitem>
  3786.                 <listitem name="&quot;modem&quot; or &quot;radio&quot;.">2</listitem>
  3787.                 <listitem name="If your device uses other partition names">2</listitem>
  3788.                 <listitem name="the script will let you know and stop.">2</listitem>
  3789.                 <listitem name="">2</listitem>
  3790.                 <listitem name="Be certain the image you have selected also">2</listitem>
  3791.                 <listitem name="has the correct type selected. Do not">2</listitem>
  3792.                 <listitem name="attempt to flash an image to the incorrect">2</listitem>
  3793.                 <listitem name="partition and then reboot, or you may need">2</listitem>
  3794.                 <listitem name="to use fastboot/ODIN to recover!">2</listitem>
  3795.                 <listitem name="">2</listitem>
  3796.             </object>
  3797.            
  3798.             <object type="text" color="%text_dark%">
  3799.                 <font resource="caption" />
  3800.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  3801.                 <text>How it works</text>
  3802.             </object>
  3803.            
  3804.             <object type="image">
  3805.                 <image resource="divider" />
  3806.                 <placement x="%center_x%" y="%row2_3_y%" placement="4" />
  3807.             </object>
  3808.            
  3809.             <object type="image">
  3810.                 <image resource="divider" />
  3811.                 <placement x="%center_x%" y="%row7_2_y%" placement="4" />
  3812.             </object>
  3813.            
  3814.             <object type="button">
  3815.                 <placement x="%btn_float_x%" y="%row7_3_y%" />
  3816.                 <font resource="body1" color="%text_button%" />
  3817.                 <text></text>
  3818.                 <image resource="btn_float_accept_install" />
  3819.                 <highlight color="%highlight_color%" />
  3820.                 <action function="page">flash_image_confirm</action>
  3821.             </object>
  3822.            
  3823.             <object type="action">
  3824.                 <touch key="back" />
  3825.                 <action function="page">flash_image_confirm</action>
  3826.             </object>
  3827.  
  3828.             <object type="action">
  3829.                 <touch key="home" />
  3830.                 <action function="page">main</action>
  3831.             </object>
  3832.         </page>
  3833.        
  3834.         <page name="add_zip">
  3835.            
  3836.             <object type="action">
  3837.                 <condition var1="bookmark" var2="1" />
  3838.                 <action function="set">tw_zip_location=%location_addfile%</action>
  3839.             </object>
  3840.            
  3841.             <object type="template" name="body_install" />
  3842.            
  3843.             <object type="fileselector">
  3844.                 <condition var1="list_font" var2="big" />
  3845.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  3846.                 <fastscroll rectcolor="%text_highlight_install%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  3847.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  3848.                 <sort name="tw_gui_sort_order" />
  3849.                 <icon folder="folder_icon" file="file_icon" />
  3850.                 <background color="%background%" />
  3851.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_install%" />
  3852.                 <filter extn=".zip" folders="1" files="1" />
  3853.                 <path name="tw_zip_location" default="/sdcard" />
  3854.                 <data name="tw_filename" />
  3855.                 <selection name="tw_file" />
  3856.             </object>
  3857.            
  3858.             <object type="fileselector">
  3859.                 <condition var1="list_font" var2="small" />
  3860.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  3861.                 <fastscroll rectcolor="%text_highlight_install%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  3862.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  3863.                 <sort name="tw_gui_sort_order" />
  3864.                 <icon folder="folder_icon" file="file_icon" />
  3865.                 <background color="%background%" />
  3866.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_install%" />
  3867.                 <filter extn=".zip" folders="1" files="1" />
  3868.                 <path name="tw_zip_location" default="/sdcard" />
  3869.                 <data name="tw_filename" />
  3870.                 <selection name="tw_file" />
  3871.             </object>
  3872.            
  3873.             <object type="template" name="ab_ex_install" />
  3874.            
  3875.             <object type="template" name="statusbarinfo" />
  3876.  
  3877.             <object type="button">
  3878.                 <placement x="%ab_back_x%" y="%ab_y%" />
  3879.                 <font resource="body1" color="%text_button%" />
  3880.                 <text></text>
  3881.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  3882.                 <action function="page">main</action>
  3883.             </object>
  3884.  
  3885.             <object type="image">
  3886.                 <image resource="bc_install_zip" />
  3887.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  3888.             </object>
  3889.  
  3890.             <object type="image">
  3891.                 <condition var1="bookmark" var2="1" />
  3892.                 <condition var1="tw_zip_location" var2="%location_addfile%" />
  3893.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3894.                 <image resource="actionbar_pinned" />
  3895.             </object>
  3896.            
  3897.             <object type="button">
  3898.                 <condition var1="bookmark" var2="1" />
  3899.                 <condition var1="dialog_hide_folder" var2="1" />
  3900.                 <condition var1="tw_zip_location" op="!=" var2="%location_addfile%" />
  3901.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3902.                 <font resource="body1" color="%text_button%" />
  3903.                 <text></text>
  3904.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  3905.                 <actions>
  3906.                     <action function="set">location_addfile=%tw_zip_location%</action>
  3907.                     <action function="set">tw_zip_location=%location_addfile%</action>
  3908.                 </actions>
  3909.             </object>
  3910.            
  3911.             <object type="button">
  3912.                 <condition var1="bookmark" var2="1" />
  3913.                 <condition var1="dialog_hide_folder" var2="0" />
  3914.                 <condition var1="tw_zip_location" op="!=" var2="%location_addfile%" />
  3915.                 <placement x="%ab_btn3_x%" y="%ab_y%" />
  3916.                 <font resource="body1" color="%text_button%" />
  3917.                 <text></text>
  3918.                 <image resource="actionbar_pin" highlightresource="actionbar_pin_hl" />
  3919.                 <actions>
  3920.                     <action function="set">dialog_context=loc_addfile</action>
  3921.                     <action function="overlay">dialog_folder_install</action>
  3922.                 </actions>
  3923.             </object>
  3924.            
  3925.             <object type="button">
  3926.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  3927.                 <font resource="body1" color="%text_button%" />
  3928.                 <text></text>
  3929.                 <image resource="actionbar_sort" highlightresource="actionbar_sort_hl" />
  3930.                 <action function="overlay">menu_sort</action>
  3931.             </object>
  3932.            
  3933.             <object type="button">
  3934.                 <condition var1="list_font" var2="big" />
  3935.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  3936.                 <font resource="body1" color="%text_button%" />
  3937.                 <text></text>
  3938.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  3939.                 <actions>
  3940.                     <action function="set">list_font=small</action>
  3941.                 </actions>
  3942.             </object>
  3943.            
  3944.             <object type="button">
  3945.                 <condition var1="list_font" var2="small" />
  3946.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  3947.                 <font resource="body1" color="%text_button%" />
  3948.                 <text></text>
  3949.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  3950.                 <actions>
  3951.                     <action function="set">list_font=big</action>
  3952.                 </actions>
  3953.             </object>
  3954.            
  3955.             <object type="text" color="%text_actionbar_install%">
  3956.                 <font resource="title" />
  3957.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  3958.                 <text>Add File to Queue</text>
  3959.             </object>
  3960.            
  3961.             <object type="text" color="%text_actionbar_install%">
  3962.                 <font resource="body1" />
  3963.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  3964.                 <text>%tw_zip_location%</text>
  3965.             </object>
  3966.            
  3967.             <object type="image">
  3968.                 <image resource="hider_ab_ex_install" />
  3969.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  3970.             </object>
  3971.            
  3972.             <object type="image">
  3973.                 <image resource="divider_wide" />
  3974.                 <placement x="%center_x%" y="%row_btn_y%" placement="4" />
  3975.             </object>
  3976.            
  3977.             <object type="button">
  3978.                 <highlight color="%highlight_color%" />
  3979.                 <placement x="%col1_x%" y="row_btn_y" />
  3980.                 <font resource="menu" color="%text%" />
  3981.                 <text>SELECT STORAGE</text>
  3982.                 <image resource="mb_empty_s" />
  3983.                 <actions>
  3984.                     <action function="set">tw_back=add_zip</action>
  3985.                     <action function="overlay">dialog_storage_install</action>
  3986.                 </actions>
  3987.             </object>
  3988.            
  3989.             <object type="action">
  3990.                 <condition var1="tw_filename" op="modified" />
  3991.                 <actions>
  3992.                     <action function="queuezip"></action>
  3993.                     <action function="page">flash_confirm</action>
  3994.                 </actions>
  3995.             </object>
  3996.  
  3997.             <object type="action">
  3998.                 <touch key="back" />
  3999.                 <action function="page">flash_confirm</action>
  4000.             </object>
  4001.  
  4002.             <object type="action">
  4003.                 <touch key="home" />
  4004.                 <action function="page">main</action>
  4005.             </object>
  4006.         </page>
  4007.        
  4008.         <page name="flash_zip">
  4009.  
  4010.             <object type="template" name="body_install" />
  4011.            
  4012.             <object type="template" name="progress_bar" />
  4013.            
  4014.             <object type="template" name="ab_ex_install" />
  4015.            
  4016.             <object type="template" name="statusbarinfo" />
  4017.  
  4018.             <object type="button">
  4019.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4020.                 <font resource="body1" color="%text_button%" />
  4021.                 <text></text>
  4022.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  4023.                 <action function="page">main</action>
  4024.             </object>
  4025.  
  4026.             <object type="image">
  4027.                 <condition var1="tw_file" op="!=" var2="AROMA Filemanager" />
  4028.                 <image resource="bc_install" />
  4029.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4030.             </object>
  4031.  
  4032.             <object type="image">
  4033.                 <condition var1="tw_file" var2="AROMA Filemanager" />
  4034.                 <image resource="bc_working" />
  4035.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4036.             </object>
  4037.            
  4038.             <object type="text" color="%text_actionbar_install%">
  4039.                 <condition var1="tw_file" op="!=" var2="AROMA Filemanager" />
  4040.                 <font resource="title" />
  4041.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4042.                 <text>Installing file %tw_zip_index% of %tw_zip_queue_count%</text>
  4043.             </object>
  4044.            
  4045.             <object type="text" color="%text_actionbar_install%">
  4046.                 <condition var1="tw_file" var2="AROMA Filemanager" />
  4047.                 <font resource="title" />
  4048.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4049.                 <text>Run</text>
  4050.             </object>
  4051.            
  4052.             <object type="text" color="%text_actionbar_install%">
  4053.                 <condition var1="tw_file" op="!=" var2="AROMA Filemanager" />
  4054.                 <font resource="body1" />
  4055.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  4056.                 <text>%tw_filename%</text>
  4057.             </object>
  4058.            
  4059.             <object type="text" color="%text_actionbar_install%">
  4060.                 <condition var1="tw_file" var2="AROMA Filemanager" />
  4061.                 <font resource="body1" />
  4062.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  4063.                 <text>%tw_file%</text>
  4064.             </object>
  4065.            
  4066.             <object type="image">
  4067.                 <image resource="hider_ab_ex_install" />
  4068.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  4069.             </object>
  4070.  
  4071.             <object type="template" name="action_page_console" />
  4072.  
  4073.             <object type="action">
  4074.                 <condition var1="tw_file" op="!=" var2="AROMA Filemanager" />
  4075.                 <condition var1="tw_operation_state" var2="1" />
  4076.                 <action function="page">flash_done</action>
  4077.             </object>
  4078.            
  4079.             <object type="action">
  4080.                 <condition var1="tw_file" var2="AROMA Filemanager" />
  4081.                 <condition var1="tw_operation_state" var2="1" />
  4082.                 <action function="set">tw_screen_timeout_secs=%tw_screen_timeout_temp%</action>
  4083.                 <action function="page">main</action>
  4084.             </object>
  4085.         </page>
  4086.        
  4087.         <page name="flash_done">
  4088.             <object type="template" name="body_install" />
  4089.            
  4090.             <object type="template" name="ab_ex_install" />
  4091.            
  4092.             <object type="template" name="statusbarinfo" />
  4093.  
  4094.             <object type="button">
  4095.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4096.                 <font resource="body1" color="%text_button%" />
  4097.                 <text></text>
  4098.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  4099.                 <action function="page">main</action>
  4100.             </object>
  4101.  
  4102.             <object type="image">
  4103.                 <condition var1="tw_file" op="!=" var2="AROMA Filemanager" />
  4104.                 <image resource="bc_install" />
  4105.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4106.             </object>
  4107.  
  4108.             <object type="image">
  4109.                 <condition var1="tw_file" var2="AROMA Filemanager" />
  4110.                 <image resource="bc_working" />
  4111.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4112.             </object>
  4113.            
  4114.             <object type="text" color="%text_actionbar_install%">
  4115.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  4116.                 <font resource="title" />
  4117.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4118.                 <text>FAILED</text>
  4119.             </object>
  4120.            
  4121.             <object type="text" color="%text_actionbar_install%">
  4122.                 <condition var1="tw_operation_status" var2="0" />
  4123.                 <font resource="title" />
  4124.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4125.                 <text>SUCCESSFUL</text>
  4126.             </object>
  4127.  
  4128.             <object type="template" name="action_page_console" />
  4129.            
  4130.             <object type="button">
  4131.                 <highlight color="%highlight_color%" />
  4132.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  4133.                 <font resource="menu" color="%text_button%" />
  4134.                 <text></text>
  4135.                 <image resource="btn_raised_wipecaches" />
  4136.                 <actions>
  4137.                     <action function="set">tw_back=flash_done</action>
  4138.                     <action function="set">tw_action=wipe</action>
  4139.                     <action function="set">tw_action_param=/cache</action>
  4140.                     <action function="set">tw_has_action2=1</action>
  4141.                     <action function="set">tw_action2=wipe</action>
  4142.                     <action function="set">tw_action2_param=dalvik</action>
  4143.                     <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
  4144.                     <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
  4145.                     <action function="set">tw_complete_text1=Cache & Dalvik Wipe complete</action>
  4146.                     <action function="set">tw_slider_text=Swipe to Wipe</action>
  4147.                     <action function="page">confirm_action</action>
  4148.                 </actions>
  4149.             </object>
  4150.            
  4151.             <object type="button">
  4152.                 <highlight color="%highlight_color%" />
  4153.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  4154.                 <font resource="menu" color="%text_button%" />
  4155.                 <text></text>
  4156.                 <image resource="btn_raised_rebootsystem" />
  4157.                 <actions>
  4158.                     <action function="set">tw_back=main2</action>
  4159.                     <action function="set">tw_action=reboot</action>
  4160.                     <action function="set">tw_action_param=system</action>
  4161.                     <action function="set">tw_has_action2=0</action>
  4162.                     <action function="set">tw_text1=No OS Installed!</action>
  4163.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4164.                     <action function="set">tw_action_text1=Restarting...</action>
  4165.                     <action function="set">tw_complete_text1=Restarting...</action>
  4166.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4167.                     <action function="page">rebootcheck</action>
  4168.                 </actions>
  4169.             </object>
  4170.  
  4171.             <object type="action">
  4172.                 <touch key="back" />
  4173.                 <actions>
  4174.                     <action function="set">tw_clear_destination=install</action>
  4175.                     <action function="page">clear_vars</action>
  4176.                 </actions>
  4177.             </object>
  4178.            
  4179.             <object type="action">
  4180.                 <touch key="home" />
  4181.                 <actions>
  4182.                     <action function="set">tw_clear_destination=main2</action>
  4183.                     <action function="page">clear_vars</action>
  4184.                 </actions>
  4185.             </object>
  4186.         </page>
  4187.        
  4188.         <page name="clear_vars">
  4189.             <object type="action">
  4190.                 <action function="set">tw_operation_state=0</action>
  4191.                 <action function="set">tw_text1=</action>
  4192.                 <action function="set">tw_text2=</action>
  4193.                 <action function="set">tw_text3=</action>
  4194.                 <action function="set">tw_text4=</action>
  4195.                 <action function="set">tw_action_text1=</action>
  4196.                 <action function="set">tw_action_text2=</action>
  4197.                 <action function="set">tw_action_param=</action>
  4198.                 <action function="set">tw_has_action2=0</action>
  4199.                 <action function="set">tw_action2=</action>
  4200.                 <action function="set">tw_action2_param=</action>
  4201.                 <action function="set">tw_has_cancel=0</action>
  4202.                 <action function="set">tw_cancel_action=</action>
  4203.                 <action function="set">tw_cancel_param=</action>
  4204.                 <action function="set">tw_show_exclamation=0</action>
  4205.                 <action function="set">tw_show_reboot=0</action>
  4206.                 <action function="page">%tw_clear_destination%</action>
  4207.             </object>
  4208.         </page>
  4209.        
  4210.         <page name="confirm_action">
  4211.             <object type="template" name="body" />
  4212.            
  4213.             <object type="template" name="ab_ex" />
  4214.            
  4215.             <object type="template" name="statusbarinfo" />
  4216.  
  4217.             <object type="button">
  4218.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4219.                 <font resource="body1" color="%text_button%" />
  4220.                 <text></text>
  4221.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  4222.                 <action function="page">main</action>
  4223.             </object>
  4224.            
  4225.             <object type="image">
  4226.                 <image resource="bc_confirmaction" />
  4227.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4228.                 <font resource="menu" color="%text_button%" />
  4229.                 <text></text>
  4230.             </object>
  4231.            
  4232.             <object type="text" color="%text_actionbar_install%">
  4233.                 <font resource="title" />
  4234.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4235.                 <text>%tw_text1%</text>
  4236.             </object>
  4237.            
  4238.             <object type="image">
  4239.                 <image resource="hider_ab_ex" />
  4240.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  4241.             </object>
  4242.            
  4243.             <object type="image">
  4244.                 <condition var1="tw_action" var2="fixpermissions" />
  4245.                 <placement x="%col1_x%" y="%row2_3_y%" />
  4246.                 <image resource="icon_info" />
  4247.             </object>
  4248.  
  4249.             <object type="text" color="%text_highlight%">
  4250.                 <condition var1="tw_action" var2="fixpermissions" />
  4251.                 <font resource="body2" />
  4252.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  4253.                 <text>%tw_text2%</text>
  4254.             </object>
  4255.  
  4256.             <object type="text" color="%text_highlight%">
  4257.                 <condition var1="tw_action" op="!=" var2="fixpermissions" />
  4258.                 <font resource="body2" />
  4259.                 <placement x="%col1_x%" y="%row2_3_y%" />
  4260.                 <text>%tw_text2%</text>
  4261.             </object>
  4262.  
  4263.             <object type="text" color="%text%">
  4264.                 <font resource="body2" />
  4265.                 <placement x="%col1_x%" y="%row3_3_y%" />
  4266.                 <text>%tw_text3%</text>
  4267.             </object>
  4268.  
  4269.             <object type="text" color="%text%">
  4270.                 <font resource="body2" />
  4271.                 <placement x="%col1_x%" y="%row4_1_y%" />
  4272.                 <text>%tw_text4%</text>
  4273.             </object>
  4274.  
  4275.             <object type="text" color="%text_dark%">
  4276.                 <font resource="caption" />
  4277.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  4278.                 <text>%tw_slider_text%</text>
  4279.             </object>
  4280.            
  4281.             <object type="slider">
  4282.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  4283.                 <resource base="slider" used="slider_used" touch="handle_h" />
  4284.                 <action function="page">action_page</action>
  4285.             </object>
  4286.            
  4287.             <object type="action">
  4288.                 <touch key="back" />
  4289.                 <actions>
  4290.                     <action function="set">tw_clear_destination=%tw_back%</action>
  4291.                     <action function="page">clear_vars</action>
  4292.                 </actions>
  4293.             </object>
  4294.  
  4295.             <object type="action">
  4296.                 <touch key="home" />
  4297.                 <action function="page">main</action>
  4298.             </object>
  4299.         </page>
  4300.        
  4301.         <page name="action_page">
  4302.  
  4303.             <object type="template" name="body" />
  4304.            
  4305.             <object type="template" name="progress_bar" />
  4306.            
  4307.             <object type="template" name="ab_ex" />
  4308.            
  4309.             <object type="template" name="statusbarinfo" />
  4310.  
  4311.             <object type="image">
  4312.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4313.                 <image resource="actionbar_back" />
  4314.             </object>
  4315.  
  4316.             <object type="image">
  4317.                 <condition var1="tw_action" op="!=" var2="adbsideload" />
  4318.                 <image resource="bc_working" />
  4319.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4320.             </object>
  4321.  
  4322.             <object type="image">
  4323.                 <condition var1="tw_action" var2="adbsideload" />
  4324.                 <image resource="bc_sideload" />
  4325.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4326.             </object>
  4327.            
  4328.             <object type="text" color="%text_actionbar_install%">
  4329.                 <font resource="title" />
  4330.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4331.                 <text>%tw_action_text1%</text>
  4332.             </object>
  4333.            
  4334.             <object type="text" color="%text_actionbar_install%">
  4335.                 <font resource="body1" />
  4336.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  4337.                 <text>%tw_action_text2%</text>
  4338.             </object>
  4339.  
  4340.             <object type="image">
  4341.                 <image resource="hider_ab_ex" />
  4342.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  4343.             </object>
  4344.  
  4345.             <object type="template" name="action_page_console" />
  4346.            
  4347.             <object type="button">
  4348.                 <condition var1="tw_has_cancel" var2="1" />
  4349.                 <highlight color="%highlight_color%" />
  4350.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  4351.                 <font resource="menu" color="%text_button%" />
  4352.                 <text></text>
  4353.                 <image resource="btn_raised_cancel" />
  4354.                 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
  4355.             </object>
  4356.            
  4357.             <object type="action">
  4358.                 <conditions>
  4359.                     <condition var1="tw_operation_state" var2="1" />
  4360.                     <condition var1="tw_operation_status" var2="0" />
  4361.                 </conditions>
  4362.                 <actions>
  4363.                     <action function="page">action_complete</action>
  4364.                 </actions>
  4365.             </object>
  4366.  
  4367.             <object type="action">
  4368.                 <conditions>
  4369.                     <condition var1="tw_operation_state" var2="1" />
  4370.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  4371.                 </conditions>
  4372.                 <actions>
  4373.                     <action function="page">action_complete</action>
  4374.                 </actions>
  4375.             </object>
  4376.  
  4377.             <object type="action">
  4378.                 <condition var1="tw_has_action2" var2="0" />
  4379.                 <actions>
  4380.                     <action function="%tw_action%">%tw_action_param%</action>
  4381.                 </actions>
  4382.             </object>
  4383.  
  4384.             <object type="action">
  4385.                 <condition var1="tw_has_action2" var2="1" />
  4386.                 <actions>
  4387.                     <action function="%tw_action%">%tw_action_param%</action>
  4388.                     <action function="%tw_action2%">%tw_action2_param%</action>
  4389.                 </actions>
  4390.             </object>
  4391.         </page>
  4392.        
  4393.         <page name="singleaction_page">
  4394.  
  4395.             <object type="template" name="body" />
  4396.            
  4397.             <object type="template" name="progress_bar" />
  4398.            
  4399.             <object type="template" name="ab_ex" />
  4400.            
  4401.             <object type="template" name="statusbarinfo" />
  4402.  
  4403.             <object type="image">
  4404.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4405.                 <image resource="actionbar_back" />
  4406.             </object>
  4407.  
  4408.             <object type="image">
  4409.                 <image resource="bc_working" />
  4410.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4411.             </object>
  4412.            
  4413.             <object type="text" color="%text_actionbar_install%">
  4414.                 <font resource="title" />
  4415.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4416.                 <text>%tw_action_text1%</text>
  4417.             </object>
  4418.            
  4419.             <object type="text" color="%text_actionbar_install%">
  4420.                 <font resource="body1" />
  4421.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  4422.                 <text>%tw_action_text2%</text>
  4423.             </object>
  4424.  
  4425.             <object type="image">
  4426.                 <image resource="hider_ab_ex" />
  4427.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  4428.             </object>
  4429.  
  4430.             <object type="template" name="action_page_console" />
  4431.  
  4432.             <object type="action">
  4433.                 <condition var1="tw_operation_state" var2="1" />
  4434.                 <actions>
  4435.                     <action function="set">tw_page_done=1</action>
  4436.                 </actions>
  4437.             </object>
  4438.  
  4439.             <object type="action">
  4440.                 <condition var1="tw_has_action2" var2="0" />
  4441.                 <actions>
  4442.                     <action function="%tw_action%">%tw_action_param%</action>
  4443.                 </actions>
  4444.             </object>
  4445.  
  4446.             <object type="action">
  4447.                 <condition var1="tw_has_action2" var2="1" />
  4448.                 <actions>
  4449.                     <action function="%tw_action%">%tw_action_param%</action>
  4450.                     <action function="%tw_action2%">%tw_action2_param%</action>
  4451.                 </actions>
  4452.             </object>
  4453.         </page>
  4454.        
  4455.         <page name="action_complete">
  4456.            
  4457.             <object type="template" name="body" />
  4458.            
  4459.             <object type="template" name="ab_ex" />
  4460.            
  4461.             <object type="template" name="statusbarinfo" />
  4462.  
  4463.             <object type="button">
  4464.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4465.                 <font resource="body1" color="%text_button%" />
  4466.                 <text></text>
  4467.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  4468.                 <actions>
  4469.                     <action function="set">tw_clear_destination=main2</action>
  4470.                     <action function="page">clear_vars</action>
  4471.                 </actions>
  4472.             </object>
  4473.  
  4474.             <object type="image">
  4475.                 <condition var1="tw_action" op="!=" var2="adbsideload" />
  4476.                 <image resource="bc_done" />
  4477.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4478.             </object>
  4479.  
  4480.             <object type="image">
  4481.                 <condition var1="tw_action" var2="adbsideload" />
  4482.                 <image resource="bc_sideload" />
  4483.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4484.             </object>
  4485.            
  4486.             <object type="text" color="%text_actionbar_install%">
  4487.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  4488.                 <font resource="title" />
  4489.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4490.                 <text>FAILED</text>
  4491.             </object>
  4492.            
  4493.             <object type="text" color="%text_actionbar_install%">
  4494.                 <condition var1="tw_operation_status" var2="0" />
  4495.                 <font resource="title" />
  4496.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4497.                 <text>SUCCESSFUL</text>
  4498.             </object>
  4499.            
  4500.             <object type="text" color="%text_actionbar_install%">
  4501.                 <font resource="body1" />
  4502.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  4503.                 <text>%tw_complete_text1%</text>
  4504.             </object>
  4505.  
  4506.             <object type="image">
  4507.                 <image resource="hider_ab_ex" />
  4508.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  4509.             </object>
  4510.  
  4511.             <object type="template" name="action_page_console" />
  4512.            
  4513.             <object type="button">
  4514.                 <highlight color="%highlight_color%" />
  4515.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  4516.                 <font resource="menu" color="%text_button%" />
  4517.                 <text></text>
  4518.                 <image resource="btn_raised_back" />
  4519.                 <actions>
  4520.                     <action function="set">tw_clear_destination=%tw_back%</action>
  4521.                     <action function="page">clear_vars</action>
  4522.                 </actions>
  4523.             </object>
  4524.            
  4525.             <object type="button">
  4526.                 <highlight color="%highlight_color%" />
  4527.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  4528.                 <font resource="menu" color="%text_button%" />
  4529.                 <text></text>
  4530.                 <image resource="btn_raised_rebootsystem" />
  4531.                 <actions>
  4532.                     <action function="set">tw_back=main2</action>
  4533.                     <action function="set">tw_action=reboot</action>
  4534.                     <action function="set">tw_action_param=system</action>
  4535.                     <action function="set">tw_has_action2=0</action>
  4536.                     <action function="set">tw_text1=No OS Installed!</action>
  4537.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4538.                     <action function="set">tw_action_text1=Restarting...</action>
  4539.                     <action function="set">tw_complete_text1=Restarting...</action>
  4540.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4541.                     <action function="page">rebootcheck</action>
  4542.                 </actions>
  4543.             </object>
  4544.  
  4545.             <object type="action">
  4546.                 <touch key="home" />
  4547.                 <actions>
  4548.                     <action function="set">tw_clear_destination=main2</action>
  4549.                     <action function="page">clear_vars</action>
  4550.                 </actions>
  4551.             </object>
  4552.  
  4553.             <object type="action">
  4554.                 <touch key="back" />
  4555.                 <actions>
  4556.                     <action function="set">tw_clear_destination=%tw_back%</action>
  4557.                     <action function="page">clear_vars</action>
  4558.                 </actions>
  4559.             </object>
  4560.         </page>
  4561.        
  4562.         <page name="reboot">
  4563.             <object type="template" name="body_reboot" />
  4564.            
  4565.             <object type="template" name="ab_reboot" />
  4566.            
  4567.             <object type="template" name="statusbarinfo" />
  4568.  
  4569.             <object type="button">
  4570.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4571.                 <font resource="body1" color="%text_button%" />
  4572.                 <text></text>
  4573.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  4574.                 <action function="page">main</action>
  4575.             </object>
  4576.  
  4577.             <object type="image">
  4578.                 <image resource="bc_restart" />
  4579.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4580.             </object>
  4581.            
  4582.             <object type="button">
  4583.                 <condition var1="menu_btn_solid" var2="0" />
  4584.                 <condition var1="tw_reboot_system" var2="1" />
  4585.                 <highlight color="%highlight_color%" />
  4586.                 <placement x="%col1_x%" y="%mb_row1_y%" />
  4587.                 <font resource="title" color="%text_button%" />
  4588.                 <text></text>
  4589.                 <image resource="mb_system" />
  4590.                 <actions>
  4591.                     <action function="set">tw_back=reboot</action>
  4592.                     <action function="set">tw_action=reboot</action>
  4593.                     <action function="set">tw_action_param=system</action>
  4594.                     <action function="set">tw_has_action2=0</action>
  4595.                     <action function="set">tw_text1=No OS Installed!</action>
  4596.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4597.                     <action function="set">tw_action_text1=Restarting...</action>
  4598.                     <action function="set">tw_complete_text1=Restarting...</action>
  4599.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4600.                     <action function="page">rebootcheck</action>
  4601.                 </actions>
  4602.             </object>
  4603.            
  4604.             <object type="button">
  4605.                 <condition var1="menu_btn_solid" var2="1" />
  4606.                 <condition var1="tw_reboot_system" var2="1" />
  4607.                 <highlight color="%highlight_color%" />
  4608.                 <placement x="%col1_x%" y="%mb_row1_y%" />
  4609.                 <font resource="title" color="%text_button%" />
  4610.                 <text></text>
  4611.                 <image resource="mb_system_color" />
  4612.                 <actions>
  4613.                     <action function="set">tw_back=reboot</action>
  4614.                     <action function="set">tw_action=reboot</action>
  4615.                     <action function="set">tw_action_param=system</action>
  4616.                     <action function="set">tw_has_action2=0</action>
  4617.                     <action function="set">tw_text1=No OS Installed!</action>
  4618.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4619.                     <action function="set">tw_action_text1=Restarting...</action>
  4620.                     <action function="set">tw_complete_text1=Restarting...</action>
  4621.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4622.                     <action function="page">rebootcheck</action>
  4623.                 </actions>
  4624.             </object>
  4625.  
  4626.             <object type="image">
  4627.                 <condition var1="menu_btn_solid" var2="0" />
  4628.                 <image resource="divider_list" />
  4629.                 <placement x="%center_x%" y="%mb_row2_y%" placement="4" />
  4630.             </object>
  4631.            
  4632.             <object type="button">
  4633.                 <condition var1="menu_btn_solid" var2="0" />
  4634.                 <condition var1="tw_reboot_recovery" var2="1" />
  4635.                 <highlight color="%highlight_color%" />
  4636.                 <placement x="%col1_x%" y="%mb_row2_y%" />
  4637.                 <font resource="title" color="%text_button%" />
  4638.                 <text></text>
  4639.                 <image resource="mb_recovery" />
  4640.                 <actions>
  4641.                     <action function="set">tw_back=reboot</action>
  4642.                     <action function="set">tw_action=reboot</action>
  4643.                     <action function="set">tw_action_param=recovery</action>
  4644.                     <action function="set">tw_has_action2=0</action>
  4645.                     <action function="set">tw_text1=No OS Installed!</action>
  4646.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4647.                     <action function="set">tw_action_text1=Restarting...</action>
  4648.                     <action function="set">tw_complete_text1=Restarting...</action>
  4649.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4650.                     <action function="page">rebootcheck</action>
  4651.                 </actions>
  4652.             </object>
  4653.            
  4654.             <object type="button">
  4655.                 <condition var1="menu_btn_solid" var2="1" />
  4656.                 <condition var1="tw_reboot_recovery" var2="1" />
  4657.                 <highlight color="%highlight_color%" />
  4658.                 <placement x="%col1_x%" y="%mb_row2_y%" />
  4659.                 <font resource="title" color="%text_button%" />
  4660.                 <text></text>
  4661.                 <image resource="mb_recovery_color" />
  4662.                 <actions>
  4663.                     <action function="set">tw_back=reboot</action>
  4664.                     <action function="set">tw_action=reboot</action>
  4665.                     <action function="set">tw_action_param=recovery</action>
  4666.                     <action function="set">tw_has_action2=0</action>
  4667.                     <action function="set">tw_text1=No OS Installed!</action>
  4668.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4669.                     <action function="set">tw_action_text1=Restarting...</action>
  4670.                     <action function="set">tw_complete_text1=Restarting...</action>
  4671.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4672.                     <action function="page">rebootcheck</action>
  4673.                 </actions>
  4674.             </object>
  4675.  
  4676.             <object type="image">
  4677.                 <condition var1="menu_btn_solid" var2="0" />
  4678.                 <image resource="divider_list" />
  4679.                 <placement x="%center_x%" y="%mb_row3_y%" placement="4" />
  4680.             </object>
  4681.            
  4682.             <object type="button">
  4683.                 <condition var1="menu_btn_solid" var2="0" />
  4684.                 <condition var1="tw_reboot_bootloader" var2="1" />
  4685.                 <highlight color="%highlight_color%" />
  4686.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  4687.                 <font resource="title" color="%text_button%" />
  4688.                 <text></text>
  4689.                 <image resource="mb_bootloader" />
  4690.                 <actions>
  4691.                     <action function="set">tw_back=reboot</action>
  4692.                     <action function="set">tw_action=reboot</action>
  4693.                     <action function="set">tw_action_param=bootloader</action>
  4694.                     <action function="set">tw_has_action2=0</action>
  4695.                     <action function="set">tw_text1=No OS Installed!</action>
  4696.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4697.                     <action function="set">tw_action_text1=Restarting...</action>
  4698.                     <action function="set">tw_complete_text1=Restarting...</action>
  4699.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4700.                     <action function="page">rebootcheck</action>
  4701.                 </actions>
  4702.             </object>
  4703.            
  4704.             <object type="button">
  4705.                 <condition var1="menu_btn_solid" var2="1" />
  4706.                 <condition var1="tw_reboot_bootloader" var2="1" />
  4707.                 <highlight color="%highlight_color%" />
  4708.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  4709.                 <font resource="title" color="%text_button%" />
  4710.                 <text></text>
  4711.                 <image resource="mb_bootloader_color" />
  4712.                 <actions>
  4713.                     <action function="set">tw_back=reboot</action>
  4714.                     <action function="set">tw_action=reboot</action>
  4715.                     <action function="set">tw_action_param=bootloader</action>
  4716.                     <action function="set">tw_has_action2=0</action>
  4717.                     <action function="set">tw_text1=No OS Installed!</action>
  4718.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4719.                     <action function="set">tw_action_text1=Restarting...</action>
  4720.                     <action function="set">tw_complete_text1=Restarting...</action>
  4721.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4722.                     <action function="page">rebootcheck</action>
  4723.                 </actions>
  4724.             </object>
  4725.            
  4726.             <object type="button">
  4727.                 <condition var1="menu_btn_solid" var2="0" />
  4728.                 <condition var1="tw_download_mode" var2="1" />
  4729.                 <highlight color="%highlight_color%" />
  4730.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  4731.                 <font resource="title" color="%text_button%" />
  4732.                 <text></text>
  4733.                 <image resource="mb_download" />
  4734.                 <actions>
  4735.                     <action function="set">tw_back=reboot</action>
  4736.                     <action function="set">tw_action=reboot</action>
  4737.                     <action function="set">tw_action_param=download</action>
  4738.                     <action function="set">tw_has_action2=0</action>
  4739.                     <action function="set">tw_text1=No OS Installed!</action>
  4740.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4741.                     <action function="set">tw_action_text1=Restarting...</action>
  4742.                     <action function="set">tw_complete_text1=Restarting...</action>
  4743.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4744.                     <action function="page">rebootcheck</action>
  4745.                 </actions>
  4746.             </object>
  4747.            
  4748.             <object type="button">
  4749.                 <condition var1="menu_btn_solid" var2="1" />
  4750.                 <condition var1="tw_download_mode" var2="1" />
  4751.                 <highlight color="%highlight_color%" />
  4752.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  4753.                 <font resource="title" color="%text_button%" />
  4754.                 <text></text>
  4755.                 <image resource="mb_download_color" />
  4756.                 <actions>
  4757.                     <action function="set">tw_back=reboot</action>
  4758.                     <action function="set">tw_action=reboot</action>
  4759.                     <action function="set">tw_action_param=download</action>
  4760.                     <action function="set">tw_has_action2=0</action>
  4761.                     <action function="set">tw_text1=No OS Installed!</action>
  4762.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  4763.                     <action function="set">tw_action_text1=Restarting...</action>
  4764.                     <action function="set">tw_complete_text1=Restarting...</action>
  4765.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  4766.                     <action function="page">rebootcheck</action>
  4767.                 </actions>
  4768.             </object>
  4769.            
  4770.             <object type="image">
  4771.                 <condition var1="menu_btn_solid" var2="0" />
  4772.                 <image resource="divider_list" />
  4773.                 <placement x="%center_x%" y="%mb_row4_y%" placement="4" />
  4774.             </object>
  4775.            
  4776.             <object type="button">
  4777.                 <condition var1="menu_btn_solid" var2="0" />
  4778.                 <highlight color="%highlight_color%" />
  4779.                 <placement x="%col1_x%" y="%mb_row4_y%" />
  4780.                 <font resource="body1edium" color="%text_button%" />
  4781.                 <text></text>
  4782.                 <image resource="mb_theme" />
  4783.                 <action function="reload"></action>
  4784.             </object>
  4785.            
  4786.             <object type="button">
  4787.                 <condition var1="menu_btn_solid" var2="1" />
  4788.                 <highlight color="%highlight_color%" />
  4789.                 <placement x="%col1_x%" y="%mb_row4_y%" />
  4790.                 <font resource="body1edium" color="%text_button%" />
  4791.                 <text></text>
  4792.                 <image resource="mb_theme_color" />
  4793.                 <action function="reload"></action>
  4794.             </object>
  4795.            
  4796.             <object type="image">
  4797.                 <condition var1="menu_btn_solid" var2="0" />
  4798.                 <image resource="divider_list" />
  4799.                 <placement x="%center_x%" y="%mb_row5_y%" placement="4" />
  4800.             </object>
  4801.            
  4802.             <object type="button">
  4803.                 <condition var1="menu_btn_solid" var2="0" />
  4804.                 <condition var1="tw_reboot_poweroff" var2="1" />
  4805.                 <highlight color="%highlight_color%" />
  4806.                 <placement x="%col1_x%" y="%mb_row5_y%" />
  4807.                 <font resource="title" color="%text_button%" />
  4808.                 <text></text>
  4809.                 <image resource="mb_poweroff" />
  4810.                 <actions>
  4811.                     <action function="set">tw_back=reboot</action>
  4812.                     <action function="set">tw_action=reboot</action>
  4813.                     <action function="set">tw_action_param=poweroff</action>
  4814.                     <action function="set">tw_has_action2=0</action>
  4815.                     <action function="set">tw_text1=No OS Installed!</action>
  4816.                     <action function="set">tw_text2=Are you sure you wish to Power Off?</action>
  4817.                     <action function="set">tw_action_text1=Turning Off...</action>
  4818.                     <action function="set">tw_complete_text1=Turning Off...</action>
  4819.                     <action function="set">tw_slider_text=Swipe to Power Off</action>
  4820.                     <action function="page">rebootcheck</action>
  4821.                 </actions>
  4822.             </object>
  4823.            
  4824.             <object type="button">
  4825.                 <condition var1="menu_btn_solid" var2="1" />
  4826.                 <condition var1="tw_reboot_poweroff" var2="1" />
  4827.                 <highlight color="%highlight_color%" />
  4828.                 <placement x="%col1_x%" y="%mb_row5_y%" />
  4829.                 <font resource="title" color="%text_button%" />
  4830.                 <text></text>
  4831.                 <image resource="mb_poweroff_color" />
  4832.                 <actions>
  4833.                     <action function="set">tw_back=reboot</action>
  4834.                     <action function="set">tw_action=reboot</action>
  4835.                     <action function="set">tw_action_param=poweroff</action>
  4836.                     <action function="set">tw_has_action2=0</action>
  4837.                     <action function="set">tw_text1=No OS Installed!</action>
  4838.                     <action function="set">tw_text2=Are you sure you wish to Power Off?</action>
  4839.                     <action function="set">tw_action_text1=Turning Off...</action>
  4840.                     <action function="set">tw_complete_text1=Turning Off...</action>
  4841.                     <action function="set">tw_slider_text=Swipe to Power Off</action>
  4842.                     <action function="page">rebootcheck</action>
  4843.                 </actions>
  4844.             </object>
  4845.            
  4846.             <object type="action">
  4847.                 <touch key="home" />
  4848.                 <action function="page">main</action>
  4849.             </object>
  4850.  
  4851.             <object type="action">
  4852.                 <touch key="back" />
  4853.                 <action function="page">main</action>
  4854.             </object>
  4855.         </page>
  4856.        
  4857.         <page name="filecheck">
  4858.             <object type="action">
  4859.                 <action function="fileexists">%tw_filecheck%</action>
  4860.             </object>
  4861.  
  4862.             <object type="action">
  4863.                 <conditions>
  4864.                     <condition var1="tw_operation_state" var2="1" />
  4865.                     <condition var1="tw_operation_status" var2="0" />
  4866.                 </conditions>
  4867.                 <actions>
  4868.                     <action function="set">tw_fileexists=1</action>
  4869.                     <action function="page">%tw_existpage%</action>
  4870.                 </actions>
  4871.             </object>
  4872.  
  4873.             <object type="action">
  4874.                 <conditions>
  4875.                     <condition var1="tw_operation_state" var2="1" />
  4876.                     <condition var1="tw_operation_status" var2="1" />
  4877.                 </conditions>
  4878.                 <actions>
  4879.                     <action function="set">tw_fileexists=0</action>
  4880.                     <action function="page">%tw_notexistpage%</action>
  4881.                 </actions>
  4882.             </object>
  4883.         </page>
  4884.        
  4885.         <page name="rebootcheck">
  4886.             <object type="action">
  4887.                 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
  4888.                 <action function="reboot">%tw_action_param%</action>
  4889.             </object>
  4890.  
  4891.             <object type="action">
  4892.                 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
  4893.                 <action function="page">confirm_action</action>
  4894.             </object>
  4895.         </page>
  4896.        
  4897.         <page name="wipe">
  4898.            
  4899.             <object type="template" name="body_wipe" />
  4900.            
  4901.             <object type="template" name="ab_ex_wipe" />
  4902.            
  4903.             <object type="template" name="statusbarinfo" />
  4904.  
  4905.             <object type="button">
  4906.                 <placement x="%ab_back_x%" y="%ab_y%" />
  4907.                 <font resource="body1" color="%text_button%" />
  4908.                 <text></text>
  4909.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  4910.                 <action function="page">main</action>
  4911.             </object>
  4912.  
  4913.             <object type="image">
  4914.                 <image resource="bc_wipe" />
  4915.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  4916.             </object>
  4917.            
  4918.             <object type="text" color="%text_actionbar_wipe%">
  4919.                 <font resource="title" />
  4920.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  4921.                 <text>Factory Reset</text>
  4922.             </object>
  4923.            
  4924.             <object type="image">
  4925.                 <placement x="%col1_x%" y="%row2_2_y%" />
  4926.                 <image resource="icon_info" />
  4927.             </object>
  4928.  
  4929.             <object type="text" color="%highlight_wipe%">
  4930.                 <font resource="body2" />
  4931.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  4932.                 <text>Wipes Data, Cache, and Dalvik</text>
  4933.             </object>
  4934.  
  4935.             <object type="text" color="%highlight_wipe%">
  4936.                 <condition var1="tw_has_data_media" var2="1" />
  4937.                 <font resource="body2" />
  4938.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  4939.                 <text>(not including Internal Storage)</text>
  4940.             </object>
  4941.  
  4942.             <object type="text" color="%highlight_wipe%">
  4943.                 <conditions>
  4944.                     <condition var1="tw_has_android_secure" var2="1" />
  4945.                     <condition var1="fileexists" var2="/and-sec" />
  4946.                 </conditions>
  4947.                 <font resource="body2" />
  4948.                 <placement x="%col1_x_indent%" y="%row3_1_y%" />
  4949.                 <text>Also wipes .android_secure</text>
  4950.             </object>
  4951.  
  4952.             <object type="text" color="%highlight_wipe%">
  4953.                 <condition var1="tw_has_sdext_partition" var2="1" />
  4954.                 <font resource="body2" />
  4955.                 <placement x="%col1_x_indent%" y="%row3_2_y%" />
  4956.                 <text>Also wipes SD-EXT</text>
  4957.             </object>
  4958.  
  4959.             <object type="text" color="%text%">
  4960.                 <font resource="body2" />
  4961.                 <placement x="%col1_x_indent%" y="%row4_1_y%" />
  4962.                 <text>Most of the time this is</text>
  4963.             </object>
  4964.  
  4965.             <object type="text" color="%text%">
  4966.                 <font resource="body2" />
  4967.                 <placement x="%col1_x_indent%" y="%row4_2_y%" />
  4968.                 <text>the only wipe you need.</text>
  4969.             </object>
  4970.            
  4971.             <object type="button">
  4972.                 <highlight color="%highlight_color%" />
  4973.                 <placement x="%btn_raised_left_x%" y="%row6_3_y%" />
  4974.                 <font resource="menu" color="%text_button%" />
  4975.                 <text></text>
  4976.                 <image resource="btn_raised_formatdata" />
  4977.                 <actions>
  4978.                     <action function="page">formatdata</action>
  4979.                 </actions>
  4980.             </object>
  4981.            
  4982.             <object type="button">
  4983.                 <highlight color="%highlight_color%" />
  4984.                 <placement x="%btn_raised_right_x%" y="%row6_3_y%" placement="1" />
  4985.                 <font resource="menu" color="%text_button%" />
  4986.                 <text></text>
  4987.                 <image resource="btn_raised_advancedwipe" />
  4988.                 <actions>
  4989.                     <action function="set">partitionlisterror=0</action>
  4990.                     <action function="page">advancedwipe</action>
  4991.                 </actions>
  4992.             </object>
  4993.            
  4994.             <object type="text" color="%text_dark%">
  4995.                 <font resource="caption" />
  4996.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  4997.                 <text>Swipe to Factory Reset</text>
  4998.             </object>
  4999.  
  5000.             <object type="slider">
  5001.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  5002.                 <resource base="slider" used="slider_used_wipe" touch="handle_h_wipe" />
  5003.                 <actions>
  5004.                     <action function="set">tw_back=wipe</action>
  5005.                     <action function="set">tw_action=wipe</action>
  5006.                     <action function="set">tw_action_param=data</action>
  5007.                     <action function="set">tw_action_text1=Factory Reset</action>
  5008.                     <action function="set">tw_action_text2=Wiping Data, Cache and Dalvik...</action>
  5009.                     <action function="set">tw_complete_text1=Factory Reset complete</action>
  5010.                     <action function="page">wipe_action_page</action>
  5011.                 </actions>
  5012.             </object>
  5013.            
  5014.             <object type="action">
  5015.                 <touch key="home" />
  5016.                 <action function="page">main</action>
  5017.             </object>
  5018.  
  5019.             <object type="action">
  5020.                 <touch key="back" />
  5021.                 <action function="page">main</action>
  5022.             </object>
  5023.         </page>
  5024.        
  5025.         <page name="advancedwipe">
  5026.        
  5027.             <object type="action">
  5028.                 <action function="set">tw_wipe_list=</action>
  5029.             </object>
  5030.            
  5031.             <object type="template" name="body_wipe" />
  5032.            
  5033.             <object type="template" name="ab_ex_wipe" />
  5034.            
  5035.             <object type="template" name="statusbarinfo" />
  5036.  
  5037.             <object type="button">
  5038.                 <placement x="%ab_back_x%" y="%ab_y%" />
  5039.                 <font resource="body1" color="%text_button%" />
  5040.                 <text></text>
  5041.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  5042.                 <action function="page">main</action>
  5043.             </object>
  5044.  
  5045.             <object type="image">
  5046.                 <image resource="bc_wipe" />
  5047.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  5048.             </object>
  5049.            
  5050.             <object type="text" color="%text_actionbar_wipe%">
  5051.                 <font resource="title" />
  5052.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  5053.                 <text>Advanced Wipe</text>
  5054.             </object>
  5055.            
  5056.             <object type="text" color="%text_actionbar_wipe%">
  5057.                 <font resource="body1" />
  5058.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  5059.                 <text>Manual Partition Selection</text>
  5060.             </object>
  5061.            
  5062.             <object type="image">
  5063.                 <condition var1="partitionlisterror" op="!=" var2="1" />
  5064.                 <placement x="%col1_x%" y="%row2_2_y%" />
  5065.                 <image resource="icon_info" />
  5066.             </object>
  5067.  
  5068.             <object type="text" color="%highlight_wipe%">
  5069.                 <condition var1="partitionlisterror" op="!=" var2="1" />
  5070.                 <font resource="body2" />
  5071.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  5072.                 <text>Single select partitions if you want</text>
  5073.             </object>
  5074.  
  5075.             <object type="text" color="%highlight_wipe%">
  5076.                 <condition var1="partitionlisterror" op="!=" var2="1" />
  5077.                 <font resource="body2" />
  5078.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  5079.                 <text>to use the File System Options!</text>
  5080.             </object>
  5081.            
  5082.             <object type="image">
  5083.                 <condition var1="partitionlisterror" var2="1" />
  5084.                 <placement x="%col1_x%" y="%row2_2_y%" />
  5085.                 <image resource="icon_warning" />
  5086.             </object>
  5087.  
  5088.             <object type="text" color="%text_fail%">
  5089.                 <condition var1="partitionlisterror" var2="1" />
  5090.                 <font resource="body2" />
  5091.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  5092.                 <text>File System Options are not</text>
  5093.             </object>
  5094.  
  5095.             <object type="text" color="%text_fail%">
  5096.                 <condition var1="partitionlisterror" var2="1" />
  5097.                 <font resource="body2" />
  5098.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  5099.                 <text>available for this partition!</text>
  5100.             </object>
  5101.            
  5102.             <object type="partitionlist">
  5103.                 <placement x="%col1_x%" y="%row3_1a_y%" w="%content_w%" h="%fileselector_part_height%" />
  5104.                 <fastscroll rectcolor="%text_highlight_wipe%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  5105.                 <text></text>
  5106.                 <icon selected="checkbox_true_wipe" unselected="checkbox_false" />
  5107.                 <background color="%background%" />
  5108.                 <font resource="body2" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_wipe%" />
  5109.                 <data name="tw_wipe_list" />
  5110.                 <listtype name="wipe" />
  5111.             </object>
  5112.            
  5113.             <object type="text" color="%text_dark%">
  5114.                 <font resource="caption" />
  5115.                 <placement x="%col1_x%" y="%row3_2_y%"  />
  5116.                 <text>Partitions</text>
  5117.             </object>
  5118.            
  5119.             <object type="button">
  5120.                 <highlight color="%highlight_color%" />
  5121.                 <placement x="%btn_raised_right_x%" y="%row6_3_y%" placement="1" />
  5122.                 <font resource="menu" color="%text_button%" />
  5123.                 <text></text>
  5124.                 <image resource="btn_raised_fsoptions" />
  5125.                 <actions>
  5126.                     <action function="checkpartitionlist"></action>
  5127.                     <action function="page">checkpartitionlist</action>
  5128.                 </actions>
  5129.             </object>
  5130.            
  5131.             <object type="text" color="%text_dark%">
  5132.                 <font resource="caption" />
  5133.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  5134.                 <text>Swipe to Wipe</text>
  5135.             </object>
  5136.  
  5137.             <object type="slider">
  5138.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  5139.                 <resource base="slider" used="slider_used_wipe" touch="handle_h_wipe" />
  5140.                 <actions>
  5141.                     <action function="set">tw_back=advancedwipe</action>
  5142.                     <action function="set">tw_action=wipe</action>
  5143.                     <action function="set">tw_action_param=LIST</action>
  5144.                     <action function="set">tw_text1=Wipe selected Partition(s)?</action>
  5145.                     <action function="set">tw_action_text1=Wipe</action>
  5146.                     <action function="set">tw_action_text2=Wiping selected Partition(s)...</action>
  5147.                     <action function="set">tw_complete_text1=Wipe complete</action>
  5148.                     <action function="page">wipe_action_page</action>
  5149.                 </actions>
  5150.             </object>
  5151.            
  5152.             <object type="action">
  5153.                 <touch key="home" />
  5154.                 <action function="page">main</action>
  5155.             </object>
  5156.  
  5157.             <object type="action">
  5158.                 <touch key="back" />
  5159.                 <action function="page">wipe</action>
  5160.             </object>
  5161.         </page>
  5162.        
  5163.         <page name="formatdata">
  5164.            
  5165.             <object type="template" name="body_wipe" />
  5166.            
  5167.             <object type="template" name="ab_ex_wipe" />
  5168.            
  5169.             <object type="template" name="statusbarinfo" />
  5170.  
  5171.             <object type="button">
  5172.                 <placement x="%ab_back_x%" y="%ab_y%" />
  5173.                 <font resource="body1" color="%text_button%" />
  5174.                 <text></text>
  5175.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  5176.                 <action function="page">main</action>
  5177.             </object>
  5178.  
  5179.             <object type="image">
  5180.                 <image resource="bc_wipe" />
  5181.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  5182.             </object>
  5183.            
  5184.             <object type="text" color="%text_actionbar_wipe%">
  5185.                 <font resource="title" />
  5186.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  5187.                 <text>Factory Reset</text>
  5188.             </object>
  5189.            
  5190.             <object type="text" color="%text_actionbar_wipe%">
  5191.                 <font resource="body1" />
  5192.                 <placement x="%col1_x_indent%" y="%row1_2_y%"/>
  5193.                 <text>Format Data Partition</text>
  5194.             </object>
  5195.            
  5196.             <object type="image">
  5197.                 <placement x="%col1_x%" y="%row2_2_y%" />
  5198.                 <image resource="icon_warning" />
  5199.             </object>
  5200.  
  5201.             <object type="text" color="%text_fail%">
  5202.                 <font resource="body2" />
  5203.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  5204.                 <text>Format Data will wipe all of your apps,</text>
  5205.             </object>
  5206.  
  5207.             <object type="text" color="%text_fail%">
  5208.                 <font resource="body2" />
  5209.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  5210.                 <text>backups, pictures, videos, media, and</text>
  5211.             </object>
  5212.  
  5213.             <object type="text" color="%text_fail%">
  5214.                 <font resource="body2" />
  5215.                 <placement x="%col1_x_indent%" y="%row3_1_y%" />
  5216.                 <text>removes encryption on internal storage.</text>
  5217.             </object>
  5218.  
  5219.             <object type="text" color="%text%">
  5220.                 <font resource="body2" />
  5221.                 <placement x="%col1_x_indent%" y="%row3_3_y%" />
  5222.                 <text>Type "yes" to confirm.</text>
  5223.             </object>
  5224.  
  5225.             <object type="text" color="%text_highlight_wipe%">
  5226.                 <font resource="caption" />
  5227.                 <placement x="%col1_x%" y="%row4_2_y%" />
  5228.                 <text>Confirm Wipe</text>
  5229.             </object>
  5230.            
  5231.             <object type="input">
  5232.                 <placement x="%col1_x%" y="%input_format_y%" w="%input_width%" h="%input_height%" />
  5233.                 <background color="%background%" />
  5234.                 <cursor color="%text_highlight_wipe%" hasfocus="1" width="%input_cursor_width%" />
  5235.                 <font resource="body2" color="%text%" />
  5236.                 <text>%tw_confirm_formatdata%</text>
  5237.                 <data name="tw_confirm_formatdata" />
  5238.                 <restrict minlen="3" maxlen="3" allow="yes" />
  5239.                 <action function="page">formatdata_confirm</action>
  5240.             </object>
  5241.            
  5242.             <object type="image">
  5243.                 <image resource="input_line_wipe" />
  5244.                 <placement x="%col1_x%" y="%row5_1_y%" />
  5245.             </object>
  5246.            
  5247.             <object type="template" name="keyboardtemplate" />
  5248.            
  5249.             <object type="action">
  5250.                 <touch key="home" />
  5251.                 <action function="page">main</action>
  5252.             </object>
  5253.  
  5254.             <object type="action">
  5255.                 <touch key="back" />
  5256.                 <action function="page">wipe</action>
  5257.             </object>
  5258.         </page>
  5259.        
  5260.         <page name="formatdata_confirm">
  5261.             <object type="action">
  5262.                 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
  5263.                 <actions>
  5264.                     <action function="set">tw_back=formatdata</action>
  5265.                     <action function="set">tw_action=wipe</action>
  5266.                     <action function="set">tw_action_param=DATAMEDIA</action>
  5267.                     <action function="set">tw_action_text1=Formatting Data...</action>
  5268.                     <action function="set">tw_complete_text1=Data format complete</action>
  5269.                     <action function="page">wipe_action_page</action>
  5270.                 </actions>
  5271.             </object>
  5272.  
  5273.             <object type="action">
  5274.                 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
  5275.                 <action function="page">formatdata</function>
  5276.             </object>
  5277.         </page>
  5278.        
  5279.         <page name="checkpartitionlist">
  5280.             <object type="action">
  5281.                 <condition var1="tw_check_partition_list" op="=" var2="1" />
  5282.                 <actions>
  5283.                     <action function="set">partitionlisterror=0</action>
  5284.                     <action function="getpartitiondetails"></action>
  5285.                     <action function="page">partitionoptions</action>
  5286.                 </actions>
  5287.             </object>
  5288.            
  5289.             <object type="action">
  5290.                 <condition var1="tw_check_partition_list" op="!=" var2="1" />
  5291.                 <actions>
  5292.                     <action function="set">partitionlisterror=1</action>
  5293.                     <action function="set">tw_wipe_list=</action>
  5294.                     <action function="page">advancedwipe</action>
  5295.                 </actions>
  5296.             </object>
  5297.         </page>
  5298.        
  5299.         <page name="partitionoptions">
  5300.            
  5301.             <object type="template" name="body_wipe" />
  5302.            
  5303.             <object type="template" name="ab_ex_wipe" />
  5304.            
  5305.             <object type="template" name="statusbarinfo" />
  5306.  
  5307.             <object type="button">
  5308.                 <placement x="%ab_back_x%" y="%ab_y%" />
  5309.                 <font resource="body1" color="%text_button%" />
  5310.                 <text></text>
  5311.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  5312.                 <action function="page">main</action>
  5313.             </object>
  5314.  
  5315.             <object type="image">
  5316.                 <image resource="bc_wipe" />
  5317.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  5318.             </object>
  5319.            
  5320.             <object type="text" color="%text_actionbar_wipe%">
  5321.                 <font resource="title" />
  5322.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  5323.                 <text>Advanced Wipe</text>
  5324.             </object>
  5325.            
  5326.             <object type="text" color="%text_actionbar_wipe%">
  5327.                 <font resource="body1" />
  5328.                 <placement x="%col1_x_indent%" y="%row1_2_y%"/>
  5329.                 <text>File System Options</text>
  5330.             </object>
  5331.            
  5332.             <object type="text" color="%text_dark%">
  5333.                 <font resource="caption" />
  5334.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  5335.                 <text>Selected Partition</text>
  5336.             </object>
  5337.  
  5338.             <object type="text" color="%text_highlight_wipe%">
  5339.                 <font resource="title" />
  5340.                 <placement x="%col1_x%" y="%row2_3_y%" />
  5341.                 <text>%tw_partition_name%</text>
  5342.             </object>
  5343.            
  5344.             <object type="text" color="%text_dark%">
  5345.                 <font resource="caption" />
  5346.                 <placement x="%col1_x%" y="%row3_2_y%"  />
  5347.                 <text>Mount Point</text>
  5348.             </object>
  5349.            
  5350.             <object type="text" color="%text%">
  5351.                 <font resource="body2" />
  5352.                 <placement x="%col1_x%" y="%row3_3_y%" />
  5353.                 <text>%tw_partition_mount_point%</text>
  5354.             </object>
  5355.            
  5356.             <object type="text" color="%text_dark%">
  5357.                 <font resource="caption" />
  5358.                 <placement x="%col2_x%" y="%row3_2_y%"  />
  5359.                 <text>Current File System</text>
  5360.             </object>
  5361.            
  5362.             <object type="text" color="%text%">
  5363.                 <font resource="body2" />
  5364.                 <placement x="%col2_x%" y="%row3_3_y%" />
  5365.                 <text>%tw_partition_file_system%</text>
  5366.             </object>
  5367.            
  5368.             <object type="text" color="%text_dark%">
  5369.                 <font resource="caption" />
  5370.                 <placement x="%col1_x%" y="%row4_2_y%"  />
  5371.                 <text>Present</text>
  5372.             </object>
  5373.            
  5374.             <object type="text" color="%text%">
  5375.                 <condition var1="tw_partition_is_present" op="!=" var2="0" />
  5376.                 <font resource="body2" />
  5377.                 <placement x="%col1_x%" y="%row4_3_y%" />
  5378.                 <text>Yes</text>
  5379.             </object>
  5380.            
  5381.             <object type="text" color="%text%">
  5382.                 <condition var1="tw_partition_is_present" op="=" var2="0" />
  5383.                 <font resource="body2" />
  5384.                 <placement x="%col1_x%" y="%row4_3_y%" />
  5385.                 <text>No</text>
  5386.             </object>
  5387.            
  5388.             <object type="text" color="%text_dark%">
  5389.                 <font resource="caption" />
  5390.                 <placement x="%col2_x%" y="%row4_2_y%"  />
  5391.                 <text>Removable</text>
  5392.             </object>
  5393.            
  5394.             <object type="text" color="%text%">
  5395.                 <condition var1="tw_partition_removable" op="!=" var2="0" />
  5396.                 <font resource="body2" />
  5397.                 <placement x="%col2_x%" y="%row4_3_y%" />
  5398.                 <text>Yes</text>
  5399.             </object>
  5400.            
  5401.             <object type="text" color="%text%">
  5402.                 <condition var1="tw_partition_removable" op="=" var2="0" />
  5403.                 <font resource="body2" />
  5404.                 <placement x="%col2_x%" y="%row4_3_y%" />
  5405.                 <text>No</text>
  5406.             </object>
  5407.            
  5408.             <object type="text" color="%text_dark%">
  5409.                 <font resource="caption" />
  5410.                 <placement x="%col1_x%" y="%row5_2_y%"  />
  5411.                 <text>Size</text>
  5412.             </object>
  5413.            
  5414.             <object type="text" color="%text%">
  5415.                 <font resource="body2" />
  5416.                 <placement x="%col1_x%" y="%row5_3_y%" />
  5417.                 <text>%tw_partition_size%MB</text>
  5418.             </object>
  5419.            
  5420.             <object type="text" color="%text_dark%">
  5421.                 <font resource="caption" />
  5422.                 <placement x="%col2_x%" y="%row5_2_y%"  />
  5423.                 <text>Backup Size</text>
  5424.             </object>
  5425.            
  5426.             <object type="text" color="%text%">
  5427.                 <font resource="body2" />
  5428.                 <placement x="%col2_x%" y="%row5_3_y%" />
  5429.                 <text>%tw_partition_backup_size%MB</text>
  5430.             </object>
  5431.            
  5432.             <object type="text" color="%text_dark%">
  5433.                 <font resource="caption" />
  5434.                 <placement x="%col1_x%" y="%row6_2_y%"  />
  5435.                 <text>Used</text>
  5436.             </object>
  5437.            
  5438.             <object type="text" color="%text%">
  5439.                 <font resource="body2" />
  5440.                 <placement x="%col1_x%" y="%row6_3_y%" />
  5441.                 <text>%tw_partition_used%MB</text>
  5442.             </object>
  5443.            
  5444.             <object type="text" color="%text_dark%">
  5445.                 <font resource="caption" />
  5446.                 <placement x="%col2_x%" y="%row6_2_y%"  />
  5447.                 <text>Free</text>
  5448.             </object>
  5449.            
  5450.             <object type="text" color="%text%">
  5451.                 <font resource="body2" />
  5452.                 <placement x="%col2_x%" y="%row6_3_y%" />
  5453.                 <text>%tw_partition_free%MB</text>
  5454.             </object>
  5455.            
  5456.             <object type="button">
  5457.                 <condition var1="tw_partition_can_repair" op="=" var2="1" />
  5458.                 <highlight color="%highlight_color%" />
  5459.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  5460.                 <font resource="menu" color="%text_button%" />
  5461.                 <text></text>
  5462.                 <image resource="btn_raised_fsrepair" />
  5463.                 <actions>
  5464.                     <action function="set">tw_back=partitionoptions</action>
  5465.                     <action function="set">tw_action=repair</action>
  5466.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5467.                     <action function="set">tw_has_action2=0</action>
  5468.                     <action function="set">tw_text1=Repair %tw_partition_name%?</action>
  5469.                     <action function="set">tw_text2=</action>
  5470.                     <action function="set">tw_action_text1=Repairing...</action>
  5471.                     <action function="set">tw_complete_text1=Repair Complete</action>
  5472.                     <action function="set">tw_slider_text=Swipe to Repair</action>
  5473.                     <action function="page">wipe_confirm_action</action>
  5474.                 </actions>
  5475.             </object>
  5476.            
  5477.             <object type="button">
  5478.                 <highlight color="%highlight_color%" />
  5479.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  5480.                 <font resource="menu" color="%text_button%" />
  5481.                 <text></text>
  5482.                 <image resource="btn_raised_fschange" />
  5483.                 <action function="page">selectfilesystem</action>
  5484.             </object>
  5485.  
  5486.             <object type="action">
  5487.                 <touch key="home" />
  5488.                 <action function="page">main</action>
  5489.             </object>
  5490.  
  5491.             <object type="action">
  5492.                 <touch key="back" />
  5493.                 <action function="page">advancedwipe</action>
  5494.             </object>
  5495.        
  5496.         </page>
  5497.        
  5498.         <page name="refreshfilesystem">
  5499.        
  5500.             <object type="action">
  5501.                 <condition var1="tw_check_partition_list" op="=" var2="1" />
  5502.                 <actions>
  5503.                     <action function="set">partitionlisterror=0</action>
  5504.                     <action function="getpartitiondetails"></action>
  5505.                     <action function="page">selectfilesystem</action>
  5506.                 </actions>
  5507.             </object>
  5508.  
  5509.             <object type="action">
  5510.                 <condition var1="tw_check_partition_list" op="!=" var2="1" />
  5511.                 <actions>
  5512.                     <action function="set">partitionlisterror=1</action>
  5513.                     <action function="set">tw_wipe_list=</action>
  5514.                     <action function="page">advancedwipe</action>
  5515.                 </actions>
  5516.             </object>
  5517.            
  5518.         </page>
  5519.        
  5520.         <page name="selectfilesystem">
  5521.            
  5522.             <object type="template" name="body_wipe" />
  5523.            
  5524.             <object type="template" name="ab_ex_wipe" />
  5525.            
  5526.             <object type="template" name="statusbarinfo" />
  5527.            
  5528.             <object type="action">
  5529.                 <action function="set">tw_action_new_file_system=_</action>
  5530.             </object>
  5531.            
  5532.             <object type="button">
  5533.                 <placement x="%ab_back_x%" y="%ab_y%" />
  5534.                 <font resource="body1" color="%text_button%" />
  5535.                 <text></text>
  5536.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  5537.                 <action function="page">main</action>
  5538.             </object>
  5539.  
  5540.             <object type="image">
  5541.                 <image resource="bc_wipe" />
  5542.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  5543.             </object>
  5544.            
  5545.             <object type="text" color="%text_actionbar_wipe%">
  5546.                 <font resource="title" />
  5547.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  5548.                 <text>Advanced Wipe</text>
  5549.             </object>
  5550.            
  5551.             <object type="text" color="%text_actionbar_wipe%">
  5552.                 <font resource="body1" />
  5553.                 <placement x="%col1_x_indent%" y="%row1_2_y%"/>
  5554.                 <text>Change File System</text>
  5555.             </object>
  5556.            
  5557.             <object type="text" color="%text_dark%">
  5558.                 <font resource="caption" />
  5559.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  5560.                 <text>Selected Partition</text>
  5561.             </object>
  5562.  
  5563.             <object type="text" color="%text_highlight_wipe%">
  5564.                 <font resource="title" />
  5565.                 <placement x="%col1_x%" y="%row2_3_y%" />
  5566.                 <text>%tw_partition_name%</text>
  5567.             </object>
  5568.            
  5569.             <object type="text" color="%text_dark%">
  5570.                 <font resource="caption" />
  5571.                 <placement x="%col1_x%" y="%row3_2_y%"  />
  5572.                 <text>Mount Point</text>
  5573.             </object>
  5574.            
  5575.             <object type="text" color="%text%">
  5576.                 <font resource="body2" />
  5577.                 <placement x="%col1_x%" y="%row3_3_y%" />
  5578.                 <text>%tw_partition_mount_point%</text>
  5579.             </object>
  5580.            
  5581.             <object type="text" color="%text_dark%">
  5582.                 <font resource="caption" />
  5583.                 <placement x="%col2_x%" y="%row3_2_y%"  />
  5584.                 <text>Current File System</text>
  5585.             </object>
  5586.            
  5587.             <object type="text" color="%text%">
  5588.                 <font resource="body2" />
  5589.                 <placement x="%col2_x%" y="%row3_3_y%" />
  5590.                 <text>%tw_partition_file_system%</text>
  5591.             </object>
  5592.            
  5593.             <object type="image">
  5594.                 <condition var1="tw_partition_is_present" op="!=" var2="0" />
  5595.                 <placement x="%col1_x%" y="%row4_2_y%" />
  5596.                 <image resource="icon_warning" />
  5597.             </object>
  5598.  
  5599.             <object type="text" color="%text_fail%">
  5600.                 <condition var1="tw_partition_is_present" op="!=" var2="0" />
  5601.                 <font resource="body2" />
  5602.                 <placement x="%col1_x_indent%" y="%row4_2_y%" />
  5603.                 <text>Some ROMs or kernels may not support</text>
  5604.             </object>
  5605.  
  5606.             <object type="text" color="%text_fail%">
  5607.                 <condition var1="tw_partition_is_present" op="!=" var2="0" />
  5608.                 <font resource="body2" />
  5609.                 <placement x="%col1_x_indent%" y="%row4_3_y%" />
  5610.                 <text>some file systems. Proceed with caution!</text>
  5611.             </object>
  5612.            
  5613.             <object type="text" color="%text_dark%">
  5614.                 <font resource="caption" />
  5615.                 <placement x="%col1_x%" y="%row5_2_y%"  />
  5616.                 <text>New File System</text>
  5617.             </object>
  5618.            
  5619.             <object type="button">
  5620.                 <condition var1="tw_action_new_file_system" op="!=" var2="ext2" />
  5621.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5622.                 <placement x="%col1_x%" y="%row5_3_y%" />
  5623.                 <font resource="body2" color="%text%" />
  5624.                 <text>EXT2          </text>
  5625.                 <image resource="radio_false" />
  5626.                 <actions>
  5627.                     <action function="set">tw_back=refreshfilesystem</action>
  5628.                     <action function="set">tw_action=changefilesystem</action>
  5629.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5630.                     <action function="set">tw_action_new_file_system=ext2</action>
  5631.                     <action function="set">tw_has_action2=0</action>
  5632.                     <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
  5633.                     <action function="set">tw_text2=</action>
  5634.                     <action function="set">tw_action_text1=Formatting...</action>
  5635.                     <action function="set">tw_complete_text1=Format Complete</action>
  5636.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5637.                 </actions>
  5638.             </object>
  5639.            
  5640.             <object type="button">
  5641.                 <condition var1="tw_action_new_file_system" op="=" var2="ext2" />
  5642.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5643.                 <placement x="%col1_x%" y="%row5_3_y%" />
  5644.                 <font resource="body2" color="%text%" />
  5645.                 <text>EXT2          </text>
  5646.                 <image resource="radio_true_wipe" />
  5647.                 <actions>
  5648.                     <action function="set">tw_back=refreshfilesystem</action>
  5649.                     <action function="set">tw_action=changefilesystem</action>
  5650.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5651.                     <action function="set">tw_action_new_file_system=ext2</action>
  5652.                     <action function="set">tw_has_action2=0</action>
  5653.                     <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
  5654.                     <action function="set">tw_text2=</action>
  5655.                     <action function="set">tw_action_text1=Formatting...</action>
  5656.                     <action function="set">tw_complete_text1=Format Complete</action>
  5657.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5658.                 </actions>
  5659.             </object>
  5660.            
  5661.             <object type="button">
  5662.                 <condition var1="tw_action_new_file_system" op="!=" var2="ext3" />
  5663.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5664.                 <placement x="%col1_x%" y="%row6_1a_y%" />
  5665.                 <font resource="body2" color="%text%" />
  5666.                 <text>EXT3          </text>
  5667.                 <image resource="radio_false" />
  5668.                 <actions>
  5669.                     <action function="set">tw_back=refreshfilesystem</action>
  5670.                     <action function="set">tw_action=changefilesystem</action>
  5671.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5672.                     <action function="set">tw_action_new_file_system=ext3</action>
  5673.                     <action function="set">tw_has_action2=0</action>
  5674.                     <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
  5675.                     <action function="set">tw_text2=</action>
  5676.                     <action function="set">tw_action_text1=Formatting...</action>
  5677.                     <action function="set">tw_complete_text1=Format Complete</action>
  5678.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5679.                 </actions>
  5680.             </object>
  5681.            
  5682.             <object type="button">
  5683.                 <condition var1="tw_action_new_file_system" op="=" var2="ext3" />
  5684.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5685.                 <placement x="%col1_x%" y="%row6_1a_y%" />
  5686.                 <font resource="body2" color="%text%" />
  5687.                 <text>EXT3          </text>
  5688.                 <image resource="radio_true_wipe" />
  5689.                 <actions>
  5690.                     <action function="set">tw_back=refreshfilesystem</action>
  5691.                     <action function="set">tw_action=changefilesystem</action>
  5692.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5693.                     <action function="set">tw_action_new_file_system=ext3</action>
  5694.                     <action function="set">tw_has_action2=0</action>
  5695.                     <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
  5696.                     <action function="set">tw_text2=</action>
  5697.                     <action function="set">tw_action_text1=Formatting...</action>
  5698.                     <action function="set">tw_complete_text1=Format Complete</action>
  5699.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5700.                 </actions>
  5701.             </object>
  5702.            
  5703.             <object type="button">
  5704.                 <condition var1="tw_action_new_file_system" op="!=" var2="ext4" />
  5705.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5706.                 <placement x="%col1_x%" y="%row6_3_y%" />
  5707.                 <font resource="body2" color="%text%" />
  5708.                 <text>EXT4          </text>
  5709.                 <image resource="radio_false" />
  5710.                 <actions>
  5711.                     <action function="set">tw_back=refreshfilesystem</action>
  5712.                     <action function="set">tw_action=changefilesystem</action>
  5713.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5714.                     <action function="set">tw_action_new_file_system=ext4</action>
  5715.                     <action function="set">tw_has_action2=0</action>
  5716.                     <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
  5717.                     <action function="set">tw_text2=</action>
  5718.                     <action function="set">tw_action_text1=Formatting...</action>
  5719.                     <action function="set">tw_complete_text1=Format Complete</action>
  5720.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5721.                 </actions>
  5722.             </object>
  5723.            
  5724.             <object type="button">
  5725.                 <condition var1="tw_action_new_file_system" op="=" var2="ext4" />
  5726.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5727.                 <placement x="%col1_x%" y="%row6_3_y%" />
  5728.                 <font resource="body2" color="%text%" />
  5729.                 <text>EXT4          </text>
  5730.                 <image resource="radio_true_wipe" />
  5731.                 <actions>
  5732.                     <action function="set">tw_back=refreshfilesystem</action>
  5733.                     <action function="set">tw_action=changefilesystem</action>
  5734.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5735.                     <action function="set">tw_action_new_file_system=ext4</action>
  5736.                     <action function="set">tw_has_action2=0</action>
  5737.                     <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
  5738.                     <action function="set">tw_text2=</action>
  5739.                     <action function="set">tw_action_text1=Formatting...</action>
  5740.                     <action function="set">tw_complete_text1=Format Complete</action>
  5741.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5742.                 </actions>
  5743.             </object>
  5744.            
  5745.             <object type="button">
  5746.                 <condition var1="tw_action_new_file_system" op="!=" var2="fat" />
  5747.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5748.                 <placement x="%col2_x%" y="%row5_3_y%" />
  5749.                 <font resource="body2" color="%text%" />
  5750.                 <text>FAT          </text>
  5751.                 <image resource="radio_false" />
  5752.                 <actions>
  5753.                     <action function="set">tw_back=refreshfilesystem</action>
  5754.                     <action function="set">tw_action=changefilesystem</action>
  5755.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5756.                     <action function="set">tw_action_new_file_system=fat</action>
  5757.                     <action function="set">tw_has_action2=0</action>
  5758.                     <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
  5759.                     <action function="set">tw_text2=</action>
  5760.                     <action function="set">tw_action_text1=Formatting...</action>
  5761.                     <action function="set">tw_complete_text1=Format Complete</action>
  5762.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5763.                 </actions>
  5764.             </object>
  5765.            
  5766.             <object type="button">
  5767.                 <condition var1="tw_action_new_file_system" op="=" var2="fat" />
  5768.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5769.                 <placement x="%col2_x%" y="%row5_3_y%" />
  5770.                 <font resource="body2" color="%text%" />
  5771.                 <text>FAT          </text>
  5772.                 <image resource="radio_true_wipe" />
  5773.                 <actions>
  5774.                     <action function="set">tw_back=refreshfilesystem</action>
  5775.                     <action function="set">tw_action=changefilesystem</action>
  5776.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5777.                     <action function="set">tw_action_new_file_system=fat</action>
  5778.                     <action function="set">tw_has_action2=0</action>
  5779.                     <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
  5780.                     <action function="set">tw_text2=</action>
  5781.                     <action function="set">tw_action_text1=Formatting...</action>
  5782.                     <action function="set">tw_complete_text1=Format Complete</action>
  5783.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5784.                 </actions>
  5785.             </object>
  5786.            
  5787.             <object type="button">
  5788.                 <condition var1="tw_action_new_file_system" op="!=" var2="exfat" />
  5789.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5790.                 <placement x="%col2_x%" y="%row6_1a_y%" />
  5791.                 <font resource="body2" color="%text%" />
  5792.                 <text>exFAT          </text>
  5793.                 <image resource="radio_false" />
  5794.                 <actions>
  5795.                     <action function="set">tw_back=refreshfilesystem</action>
  5796.                     <action function="set">tw_action=changefilesystem</action>
  5797.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5798.                     <action function="set">tw_action_new_file_system=exfat</action>
  5799.                     <action function="set">tw_has_action2=0</action>
  5800.                     <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
  5801.                     <action function="set">tw_text2=</action>
  5802.                     <action function="set">tw_action_text1=Formatting...</action>
  5803.                     <action function="set">tw_complete_text1=Format Complete</action>
  5804.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5805.                 </actions>
  5806.             </object>
  5807.            
  5808.             <object type="button">
  5809.                 <condition var1="tw_action_new_file_system" op="=" var2="exfat" />
  5810.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5811.                 <placement x="%col2_x%" y="%row6_1a_y%" />
  5812.                 <font resource="body2" color="%text%" />
  5813.                 <text>exFAT          </text>
  5814.                 <image resource="radio_true_wipe" />
  5815.                 <actions>
  5816.                     <action function="set">tw_back=refreshfilesystem</action>
  5817.                     <action function="set">tw_action=changefilesystem</action>
  5818.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5819.                     <action function="set">tw_action_new_file_system=exfat</action>
  5820.                     <action function="set">tw_has_action2=0</action>
  5821.                     <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
  5822.                     <action function="set">tw_text2=</action>
  5823.                     <action function="set">tw_action_text1=Formatting...</action>
  5824.                     <action function="set">tw_complete_text1=Format Complete</action>
  5825.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5826.                 </actions>
  5827.             </object>
  5828.            
  5829.             <object type="button">
  5830.                 <condition var1="tw_action_new_file_system" op="!=" var2="f2fs" />
  5831.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5832.                 <placement x="%col2_x%" y="%row6_3_y%" />
  5833.                 <font resource="body2" color="%text%" />
  5834.                 <text>F2FS          </text>
  5835.                 <image resource="radio_false" />
  5836.                 <actions>
  5837.                     <action function="set">tw_back=refreshfilesystem</action>
  5838.                     <action function="set">tw_action=changefilesystem</action>
  5839.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5840.                     <action function="set">tw_action_new_file_system=f2fs</action>
  5841.                     <action function="set">tw_has_action2=0</action>
  5842.                     <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
  5843.                     <action function="set">tw_text2=</action>
  5844.                     <action function="set">tw_action_text1=Formatting...</action>
  5845.                     <action function="set">tw_complete_text1=Format Complete</action>
  5846.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5847.                 </actions>
  5848.             </object>
  5849.            
  5850.             <object type="button">
  5851.                 <condition var1="tw_action_new_file_system" op="=" var2="f2fs" />
  5852.                 <condition var1="tw_partition_ext" op="=" var2="1" />
  5853.                 <placement x="%col2_x%" y="%row6_3_y%" />
  5854.                 <font resource="body2" color="%text%" />
  5855.                 <text>F2FS          </text>
  5856.                 <image resource="radio_true_wipe" />
  5857.                 <actions>
  5858.                     <action function="set">tw_back=refreshfilesystem</action>
  5859.                     <action function="set">tw_action=changefilesystem</action>
  5860.                     <action function="set">tw_action_param=%tw_partition_mount_point%</action>
  5861.                     <action function="set">tw_action_new_file_system=f2fs</action>
  5862.                     <action function="set">tw_has_action2=0</action>
  5863.                     <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
  5864.                     <action function="set">tw_text2=</action>
  5865.                     <action function="set">tw_action_text1=Formatting...</action>
  5866.                     <action function="set">tw_complete_text1=Format Complete</action>
  5867.                     <action function="set">tw_slider_text=Swipe to Change</action>
  5868.                 </actions>
  5869.             </object>
  5870.  
  5871.             <object type="text" color="%text_dark%">
  5872.                 <condition var1="tw_action_new_file_system" op="!=" var2="_" />
  5873.                 <font resource="caption" />
  5874.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  5875.                 <text>%tw_slider_text%</text>
  5876.             </object>
  5877.            
  5878.             <object type="slider">
  5879.                 <condition var1="tw_action_new_file_system" op="!=" var2="_" />
  5880.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  5881.                 <resource base="slider" used="slider_used_wipe" touch="handle_h_wipe" />
  5882.                 <action function="page">wipe_action_page</action>
  5883.             </object>
  5884.  
  5885.             <object type="action">
  5886.                 <touch key="home" />
  5887.                 <action function="page">main</action>
  5888.             </object>
  5889.  
  5890.             <object type="action">
  5891.                 <touch key="back" />
  5892.                 <action function="page">partitionoptions</action>
  5893.             </object>
  5894.        
  5895.         </page>
  5896.        
  5897.         <page name="wipe_confirm_action">
  5898.             <object type="template" name="body_wipe" />
  5899.            
  5900.             <object type="template" name="ab_ex_wipe" />
  5901.            
  5902.             <object type="template" name="statusbarinfo" />
  5903.  
  5904.             <object type="button">
  5905.                 <placement x="%ab_back_x%" y="%ab_y%" />
  5906.                 <font resource="body1" color="%text_button%" />
  5907.                 <text></text>
  5908.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  5909.                 <action function="page">main</action>
  5910.             </object>
  5911.            
  5912.             <object type="image">
  5913.                 <image resource="bc_wipe" />
  5914.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  5915.                 <font resource="menu" color="%text_button%" />
  5916.                 <text></text>
  5917.             </object>
  5918.            
  5919.             <object type="text" color="%text_actionbar_wipe%">
  5920.                 <font resource="title" />
  5921.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  5922.                 <text>%tw_text1%</text>
  5923.             </object>
  5924.  
  5925.             <object type="image">
  5926.                 <image resource="hider_ab_ex_wipe" />
  5927.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  5928.             </object>
  5929.  
  5930.             <object type="text" color="%text%">
  5931.                 <font resource="body2" />
  5932.                 <placement x="%col1_x%" y="%row2_3_y%" />
  5933.                 <text>%tw_text2%</text>
  5934.             </object>
  5935.  
  5936.             <object type="text" color="%text%">
  5937.                 <font resource="body2" />
  5938.                 <placement x="%col1_x%" y="%row3_3_y%" />
  5939.                 <text>%tw_text3%</text>
  5940.             </object>
  5941.  
  5942.             <object type="text" color="%text%">
  5943.                 <font resource="body2" />
  5944.                 <placement x="%col1_x%" y="%row4_1_y%" />
  5945.                 <text>%tw_text4%</text>
  5946.             </object>
  5947.  
  5948.             <object type="text" color="%text_dark%">
  5949.                 <font resource="caption" />
  5950.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  5951.                 <text>%tw_slider_text%</text>
  5952.             </object>
  5953.            
  5954.             <object type="slider">
  5955.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  5956.                 <resource base="slider" used="slider_used_wipe" touch="handle_h_wipe" />
  5957.                 <action function="page">wipe_action_page</action>
  5958.             </object>
  5959.            
  5960.             <object type="action">
  5961.                 <touch key="back" />
  5962.                 <actions>
  5963.                     <action function="set">tw_clear_destination=%tw_back%</action>
  5964.                     <action function="page">clear_vars</action>
  5965.                 </actions>
  5966.             </object>
  5967.  
  5968.             <object type="action">
  5969.                 <touch key="home" />
  5970.                 <action function="page">main</action>
  5971.             </object>
  5972.         </page>
  5973.        
  5974.         <page name="wipe_action_page">
  5975.  
  5976.             <object type="template" name="body_wipe" />
  5977.            
  5978.             <object type="template" name="progress_bar" />
  5979.            
  5980.             <object type="template" name="ab_ex_wipe" />
  5981.            
  5982.             <object type="template" name="statusbarinfo" />
  5983.  
  5984.             <object type="image">
  5985.                 <placement x="%ab_back_x%" y="%ab_y%" />
  5986.                 <image resource="actionbar_back" />
  5987.             </object>
  5988.  
  5989.             <object type="image">
  5990.                 <image resource="bc_wipe" />
  5991.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  5992.             </object>
  5993.            
  5994.             <object type="text" color="%text_actionbar_wipe%">
  5995.                 <font resource="title" />
  5996.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  5997.                 <text>%tw_action_text1%</text>
  5998.             </object>
  5999.            
  6000.             <object type="text" color="%text_actionbar_wipe%">
  6001.                 <font resource="body1" />
  6002.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6003.                 <text>%tw_action_text2%</text>
  6004.             </object>
  6005.  
  6006.             <object type="image">
  6007.                 <image resource="hider_ab_ex_wipe" />
  6008.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  6009.             </object>
  6010.  
  6011.             <object type="template" name="action_page_console" />
  6012.  
  6013.             <object type="action">
  6014.                 <conditions>
  6015.                     <condition var1="tw_operation_state" var2="1" />
  6016.                     <condition var1="tw_operation_status" var2="0" />
  6017.                 </conditions>
  6018.                 <actions>
  6019.                     <action function="page">wipe_action_complete</action>
  6020.                 </actions>
  6021.             </object>
  6022.  
  6023.             <object type="action">
  6024.                 <conditions>
  6025.                     <condition var1="tw_operation_state" var2="1" />
  6026.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  6027.                 </conditions>
  6028.                 <actions>
  6029.                     <action function="page">wipe_action_complete</action>
  6030.                 </actions>
  6031.             </object>
  6032.  
  6033.             <object type="action">
  6034.                 <condition var1="tw_has_action2" var2="0" />
  6035.                 <actions>
  6036.                     <action function="%tw_action%">%tw_action_param%</action>
  6037.                 </actions>
  6038.             </object>
  6039.  
  6040.             <object type="action">
  6041.                 <condition var1="tw_has_action2" var2="1" />
  6042.                 <actions>
  6043.                     <action function="%tw_action%">%tw_action_param%</action>
  6044.                     <action function="%tw_action2%">%tw_action2_param%</action>
  6045.                 </actions>
  6046.             </object>
  6047.         </page>
  6048.        
  6049.         <page name="wipe_action_complete">
  6050.            
  6051.             <object type="template" name="body_wipe" />
  6052.            
  6053.             <object type="template" name="ab_ex_wipe" />
  6054.            
  6055.             <object type="template" name="statusbarinfo" />
  6056.  
  6057.             <object type="button">
  6058.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6059.                 <font resource="body1" color="%text_button%" />
  6060.                 <text></text>
  6061.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  6062.                 <actions>
  6063.                     <action function="set">tw_clear_destination=main2</action>
  6064.                     <action function="page">clear_vars</action>
  6065.                 </actions>
  6066.             </object>
  6067.  
  6068.             <object type="image">
  6069.                 <image resource="bc_wipe" />
  6070.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6071.             </object>
  6072.            
  6073.             <object type="text" color="%text_actionbar_wipe%">
  6074.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  6075.                 <font resource="title" />
  6076.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6077.                 <text>FAILED</text>
  6078.             </object>
  6079.            
  6080.             <object type="text" color="%text_actionbar_wipe%">
  6081.                 <condition var1="tw_operation_status" var2="0" />
  6082.                 <font resource="title" />
  6083.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6084.                 <text>SUCCESSFUL</text>
  6085.             </object>
  6086.            
  6087.             <object type="text" color="%text_actionbar_wipe%">
  6088.                 <font resource="body1" />
  6089.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6090.                 <text>%tw_complete_text1%</text>
  6091.             </object>
  6092.  
  6093.             <object type="image">
  6094.                 <image resource="hider_ab_ex_wipe" />
  6095.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  6096.             </object>
  6097.  
  6098.             <object type="template" name="action_page_console" />
  6099.            
  6100.             <object type="button">
  6101.                 <highlight color="%highlight_color%" />
  6102.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  6103.                 <font resource="menu" color="%text_button%" />
  6104.                 <text></text>
  6105.                 <image resource="btn_raised_back" />
  6106.                 <actions>
  6107.                     <action function="set">tw_clear_destination=%tw_back%</action>
  6108.                     <action function="page">clear_vars</action>
  6109.                 </actions>
  6110.             </object>
  6111.            
  6112.             <object type="button">
  6113.                 <highlight color="%highlight_color%" />
  6114.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  6115.                 <font resource="menu" color="%text_button%" />
  6116.                 <text></text>
  6117.                 <image resource="btn_raised_rebootsystem_wipe" />
  6118.                 <actions>
  6119.                     <action function="set">tw_back=main2</action>
  6120.                     <action function="set">tw_action=reboot</action>
  6121.                     <action function="set">tw_action_param=system</action>
  6122.                     <action function="set">tw_has_action2=0</action>
  6123.                     <action function="set">tw_text1=No OS Installed!</action>
  6124.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  6125.                     <action function="set">tw_action_text1=Restarting...</action>
  6126.                     <action function="set">tw_complete_text1=Restarting...</action>
  6127.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  6128.                     <action function="page">rebootcheck</action>
  6129.                 </actions>
  6130.             </object>
  6131.  
  6132.             <object type="action">
  6133.                 <touch key="home" />
  6134.                 <actions>
  6135.                     <action function="set">tw_clear_destination=main2</action>
  6136.                     <action function="page">clear_vars</action>
  6137.                 </actions>
  6138.             </object>
  6139.  
  6140.             <object type="action">
  6141.                 <touch key="back" />
  6142.                 <actions>
  6143.                     <action function="page">advancedwipe</action>
  6144.                 </actions>
  6145.             </object>
  6146.         </page>
  6147.        
  6148.         <page name="backup">
  6149.            
  6150.             <object type="template" name="body_backup" />
  6151.            
  6152.             <object type="template" name="ab_backup" />
  6153.            
  6154.             <object type="template" name="statusbarinfo" />
  6155.            
  6156.             <object type="button">
  6157.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6158.                 <font resource="body1" color="%text_button%" />
  6159.                 <text></text>
  6160.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  6161.                 <action function="page">main</action>
  6162.             </object>
  6163.            
  6164.             <object type="image">
  6165.                 <image resource="bc_backup" />
  6166.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6167.             </object>
  6168.            
  6169.             <object type="button">
  6170.                 <conditions>
  6171.                     <condition var1="tw_include_encrypted_backup" var2="1" />
  6172.                     <condition var1="tw_encrypt_backup" var2="0" />
  6173.                 </conditions>
  6174.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6175.                 <font resource="body1" color="%text_button%" />
  6176.                 <text></text>
  6177.                 <image resource="actionbar_encr_dis" highlightresource="actionbar_encr_dis_hl" />
  6178.                 <actions>
  6179.                     <action function="set">tw_password_not_match=0</action>
  6180.                     <action function="overlay">dialog_encryption1</action>
  6181.                 </actions>
  6182.             </object>
  6183.            
  6184.             <object type="button">
  6185.                 <conditions>
  6186.                     <condition var1="tw_include_encrypted_backup" var2="1" />
  6187.                     <condition var1="tw_encrypt_backup" var2="1" />
  6188.                 </conditions>
  6189.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6190.                 <font resource="body1" color="%text_button%" />
  6191.                 <text></text>
  6192.                 <image resource="actionbar_encr_ena" highlightresource="actionbar_encr_ena_hl" />
  6193.                 <actions>
  6194.                     <action function="set">tw_password_not_match=0</action>
  6195.                     <action function="overlay">dialog_encryption1</action>
  6196.                 </actions>
  6197.             </object>
  6198.            
  6199.             <object type="text" color="%text_dark%">
  6200.                 <font resource="caption" />
  6201.                 <placement x="%col1_x%" y="%row1_1_y%"  />
  6202.                 <text>Name</text>
  6203.             </object>
  6204.  
  6205.             <object type="text" color="%text%">
  6206.                 <font resource="body2" />
  6207.                 <placement x="%col1_x%" y="%row1_2_y%" />
  6208.                 <text>%tw_backup_name%</text>
  6209.             </object>
  6210.            
  6211.             <object type="image">
  6212.                 <image resource="divider" />
  6213.                 <placement x="%col1_x%" y="%row1_3_y%" />
  6214.             </object>
  6215.            
  6216.             <object type="button">
  6217.                 <placement x="%col1_x%" y="%row1_1_y%" />
  6218.                 <font resource="menu" color="%text_button%" />
  6219.                 <text></text>
  6220.                 <image resource="mb_empty" />
  6221.                 <actions>
  6222.                     <action function="set">tw_fileexists=0</action>
  6223.                     <action function="page">backupname1</action>
  6224.                 </actions>
  6225.             </object>
  6226.            
  6227.             <object type="text" color="%text_dark%">
  6228.                 <font resource="caption" />
  6229.                 <placement x="%col1_x%" y="%row2_1_y%"  />
  6230.                 <text>Storage</text>
  6231.             </object>
  6232.  
  6233.             <object type="text" color="%text%">
  6234.                 <font resource="body2" />
  6235.                 <placement x="%col1_x%" y="%row2_2_y%" />
  6236.                 <text>%tw_storage_display_name% (%tw_storage_free_size% MB)</text>
  6237.             </object>
  6238.            
  6239.             <object type="button">
  6240.                 <placement x="%col1_x%" y="%row2_1_y%" />
  6241.                 <font resource="menu" color="%text_button%" />
  6242.                 <text></text>
  6243.                 <image resource="mb_empty" />
  6244.                 <actions>
  6245.                     <action function="set">tw_back=backup</action>
  6246.                     <action function="overlay">dialog_storage_backup</action>
  6247.                 </actions>
  6248.             </object>
  6249.            
  6250.             <object type="button">
  6251.                 <placement x="%ab_btn1_x%" y="%row2_1_y%" />
  6252.                 <font resource="body1" color="%text_button%" />
  6253.                 <text></text>
  6254.                 <image resource="actionbar_refresh" />
  6255.                 <highlight color="%highlight_color%" />
  6256.                 <actions>
  6257.                     <action function="refreshsizes"></action>
  6258.                     <action function="page">backup</action>
  6259.                 </actions>
  6260.             </object>
  6261.            
  6262.             <object type="partitionlist">
  6263.                 <placement x="%col1_x%" y="%row2_3a_y%" w="%content_w%" h="%fileselector_wipe_height%" />
  6264.                 <fastscroll rectcolor="%text_highlight_backup%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  6265.                 <text></text>
  6266.                 <icon selected="checkbox_true_backup" unselected="checkbox_false" />
  6267.                 <background color="%background%" />
  6268.                 <font resource="body2" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_backup%" />
  6269.                 <data name="tw_backup_list" />
  6270.                 <listtype name="backup" />
  6271.             </object>
  6272.            
  6273.             <object type="text" color="%text_dark%">
  6274.                 <font resource="caption" />
  6275.                 <placement x="%col1_x%" y="%row3_1_y%"  />
  6276.                 <text>Partitions</text>
  6277.             </object>
  6278.            
  6279.             <object type="text" color="%text_dark%">
  6280.                 <font resource="caption" />
  6281.                 <placement x="%col1_x%" y="%row6_1a_y%"  />
  6282.                 <text>Options</text>
  6283.             </object>
  6284.  
  6285.             <object type="checkbox">
  6286.                 <placement x="%col1_x%" y="%row6_2a_y%" />
  6287.                 <font resource="body2" color="%text%" />
  6288.                 <text>Enable compression</text>
  6289.                 <data variable="tw_use_compression" />
  6290.                 <image checked="checkbox_true_backup" unchecked="checkbox_false" />
  6291.             </object>
  6292.  
  6293.             <object type="checkbox">
  6294.                 <placement x="%col1_x%" y="%row7_1_y%" />
  6295.                 <font resource="body2" color="%text%" />
  6296.                 <text>Skip MD5 generation</text>
  6297.                 <data variable="tw_skip_md5_generate" />
  6298.                 <image checked="checkbox_true_backup" unchecked="checkbox_false" />
  6299.             </object>
  6300.            
  6301.             <object type="text" color="%text_dark%">
  6302.                 <font resource="caption" />
  6303.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  6304.                 <text>Swipe to Backup</text>
  6305.             </object>
  6306.            
  6307.             <object type="slider">
  6308.                 <placement x="%slider_x%" y="%slider_y%" />
  6309.                 <resource base="slider" used="slider_used_backup" touch="handle_h_backup" />
  6310.                 <action function="page">backup_run</action>
  6311.             </object>
  6312.  
  6313.             <object type="action">
  6314.                 <touch key="home" />
  6315.                 <action function="page">main</action>
  6316.             </object>
  6317.  
  6318.             <object type="action">
  6319.                 <touch key="back" />
  6320.                 <action function="page">main</action>
  6321.             </object>
  6322.            
  6323.         </page>
  6324.        
  6325.         <page name="backupname1">
  6326.             <object type="action">
  6327.                 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
  6328.                 <action function="set">tw_backup_name=</function>
  6329.                 <!--action function="generatebackupname"></function-->
  6330.             </object>
  6331.  
  6332.             <object type="action">
  6333.                 <action function="page">backupname2</function>
  6334.             </object>
  6335.         </page>
  6336.        
  6337.         <page name="backupname2">
  6338.            
  6339.             <object type="template" name="body_backup" />
  6340.            
  6341.             <object type="template" name="ab_backup" />
  6342.            
  6343.             <object type="template" name="statusbarinfo" />
  6344.            
  6345.             <object type="button">
  6346.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6347.                 <font resource="body1" color="%text_button%" />
  6348.                 <text></text>
  6349.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  6350.                 <action function="page">main</action>
  6351.             </object>
  6352.            
  6353.             <object type="image">
  6354.                 <image resource="bc_backup" />
  6355.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6356.             </object>
  6357.            
  6358.             <object type="image">
  6359.                 <conditions>
  6360.                     <condition var1="tw_include_encrypted_backup" var2="1" />
  6361.                     <condition var1="tw_encrypt_backup" var2="0" />
  6362.                 </conditions>
  6363.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6364.                 <image resource="actionbar_encr_dis" />
  6365.             </object>
  6366.            
  6367.             <object type="image">
  6368.                 <conditions>
  6369.                     <condition var1="tw_include_encrypted_backup" var2="1" />
  6370.                     <condition var1="tw_encrypt_backup" var2="1" />
  6371.                 </conditions>
  6372.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6373.                 <image resource="actionbar_encr_ena" />
  6374.             </object>
  6375.            
  6376.             <object type="text" color="%text_highlight_backup%">
  6377.                 <font resource="caption" />
  6378.                 <placement x="%col1_x%" y="%row1_1_y%"  />
  6379.                 <text>Name</text>
  6380.             </object>
  6381.            
  6382.             <object type="input">
  6383.                 <placement x="%col1_x%" y="%input_backup_y%" w="%input_backup_width%" h="%input_height%" />
  6384.                 <background color="%background%" />
  6385.                 <cursor color="%text_highlight_backup%" hasfocus="1" width="%input_cursor_width%" />
  6386.                 <font resource="body2" color="%text%" />
  6387.                 <text>%tw_backup_name%</text>
  6388.                 <data name="tw_backup_name" />
  6389.                 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
  6390.                 <actions>
  6391.                     <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
  6392.                     <action function="set">tw_existpage=backupname2</action>
  6393.                     <action function="set">tw_notexistpage=backup</action>
  6394.                     <action function="page">filecheck</action>
  6395.                 </actions>
  6396.             </object>
  6397.  
  6398.             <object type="button">
  6399.                 <placement x="%plusdate_x%" y="%input_backup_y%" placement="1" />
  6400.                 <font resource="body2" color="%text_highlight%" />
  6401.                 <text></text>
  6402.                 <image resource="btn_appenddate" />
  6403.                 <action function="appenddatetobackupname"></action>
  6404.             </object>
  6405.            
  6406.             <object type="image">
  6407.                 <condition var1="tw_fileexists" var2="0" />
  6408.                 <image resource="input_line_backup" />
  6409.                 <placement x="%col1_x%" y="%row1_3_y%" />
  6410.             </object>
  6411.            
  6412.             <object type="image">
  6413.                 <condition var1="tw_fileexists" var2="1" />
  6414.                 <image resource="input_line_fail_backupname" />
  6415.                 <placement x="%col1_x%" y="%row1_3_y%" />
  6416.             </object>
  6417.            
  6418.             <object type="text" color="%text_dark%">
  6419.                 <font resource="caption" />
  6420.                 <placement x="%col1_x%" y="%row2_1_y%"  />
  6421.                 <text>Storage</text>
  6422.             </object>
  6423.  
  6424.             <object type="text" color="%text%">
  6425.                 <font resource="body2" />
  6426.                 <placement x="%col1_x%" y="%row2_2_y%" />
  6427.                 <text>%tw_storage_display_name% (%tw_storage_free_size% MB)</text>
  6428.             </object>
  6429.            
  6430.             <object type="image">
  6431.                 <placement x="%ab_btn1_x%" y="%row2_1_y%" />
  6432.                 <image resource="actionbar_refresh" />
  6433.             </object>
  6434.            
  6435.             <object type="partitionlist">
  6436.                 <placement x="%col1_x%" y="%row2_3a_y%" w="%content_w%" h="%fileselector_wipe_height%" />
  6437.                 <fastscroll rectcolor="%text_highlight%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  6438.                 <text></text>
  6439.                 <icon selected="checkbox_true_backup" unselected="checkbox_false" />
  6440.                 <background color="%background%" />
  6441.                 <font resource="body2" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_default%" />
  6442.                 <data name="tw_backup_list" />
  6443.                 <listtype name="backup" />
  6444.             </object>
  6445.            
  6446.             <object type="text" color="%text_dark%">
  6447.                 <font resource="caption" />
  6448.                 <placement x="%col1_x%" y="%row3_1_y%"  />
  6449.                 <text>Partitions</text>
  6450.             </object>
  6451.  
  6452.             <object type="button">
  6453.                 <fill color="%transparent%" />
  6454.                 <placement x="0" y="row2_1_y" w="%screen_w%" h="%input_backup_bg_height%" />
  6455.                 <font resource="font" color="%text_button%" />
  6456.                 <text></text>
  6457.                 <action function="page">backupname1</action>
  6458.             </object>
  6459.  
  6460.             <object type="template" name="keyboardtemplate" />
  6461.  
  6462.             <object type="action">
  6463.                 <touch key="home" />
  6464.                 <actions>
  6465.                     <action function="set">tw_backup_name=(Auto Generate)</action>
  6466.                     <action function="page">main</action>
  6467.                 </actions>
  6468.             </object>
  6469.  
  6470.             <object type="action">
  6471.                 <touch key="back" />
  6472.                 <actions>
  6473.                     <action function="set">tw_backup_name=(Auto Generate)</action>
  6474.                     <action function="page">backup</action>
  6475.                 </actions>
  6476.             </object>
  6477.            
  6478.         </page>
  6479.        
  6480.         <page name="checkbackuppassword">
  6481.             <object type="action">
  6482.                 <condition var1="tw_backup_password2" var2="tw_backup_password" />
  6483.                 <actions>
  6484.                     <action function="set">tw_encrypt_backup=1</action>
  6485.                     <action function="page">backup</action>
  6486.                 </actions>
  6487.             </object>
  6488.  
  6489.             <object type="action">
  6490.                 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
  6491.                 <actions>
  6492.                     <action function="set">tw_encrypt_backup=0</action>
  6493.                     <action function="set">tw_password_not_match=1</action>
  6494.                     <action function="set">tw_backup_password=</action>
  6495.                     <action function="set">tw_backup_password2=</action>
  6496.                     <action function="set">tw_backup_encrypt_display=</action>
  6497.                     <action function="set">tw_backup_encrypt_display2=</action>
  6498.                     <action function="overlay">dialog_encryption1</action>
  6499.                 </actions>
  6500.             </object>
  6501.         </page>
  6502.        
  6503.         <page name="backup_run">
  6504.  
  6505.             <object type="template" name="body_backup" />
  6506.            
  6507.             <object type="template" name="progress_bar" />
  6508.            
  6509.             <object type="template" name="ab_ex_backup" />
  6510.            
  6511.             <object type="template" name="statusbarinfo" />
  6512.  
  6513.             <object type="image">
  6514.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6515.                 <image resource="actionbar_back" />
  6516.             </object>
  6517.  
  6518.             <object type="image">
  6519.                 <image resource="bc_backup" />
  6520.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6521.             </object>
  6522.            
  6523.             <object type="text" color="%text_actionbar_backup%">
  6524.                 <font resource="title" />
  6525.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6526.                 <text>%tw_operation%</text>
  6527.             </object>
  6528.            
  6529.             <object type="text" color="%text_actionbar_backup%">
  6530.                 <font resource="body1" />
  6531.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6532.                 <text>%tw_partition%</text>
  6533.             </object>
  6534.  
  6535.             <object type="image">
  6536.                 <image resource="hider_ab_ex_backup" />
  6537.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  6538.             </object>
  6539.  
  6540.             <object type="template" name="action_page_console" />
  6541.            
  6542.             <object type="text" color="%text_dark%">
  6543.                 <font resource="caption" />
  6544.                 <placement x="%col1_x%" y="%row7_2_y%" />
  6545.                 <text>Progress</text>
  6546.             </object>
  6547.            
  6548.             <object type="text" color="%text%">
  6549.                 <font resource="body2" />
  6550.                 <placement x="%col1_x%" y="%row7_3_y%" />
  6551.                 <text>%tw_file_progress%</text>
  6552.             </object>
  6553.            
  6554.             <object type="text" color="%text%">
  6555.                 <font resource="body2" />
  6556.                 <placement x="%col1_x%" y="%row8_1_y%" />
  6557.                 <text>%tw_size_progress%</text>
  6558.             </object>
  6559.  
  6560.             <object type="action">
  6561.                 <action function="nandroid">backup</action>
  6562.             </object>
  6563.  
  6564.             <object type="action">
  6565.                 <condition var1="tw_operation_state" var2="1" />
  6566.                 <actions>
  6567.                     <action function="set">tw_back=backup</action>
  6568.                     <action function="set">tw_complete_text1=Backup complete</action>
  6569.                     <action function="set">tw_show_reboot=1</action>
  6570.                     <action function="page">backup_action_complete</action>
  6571.                 </actions>
  6572.             </object>
  6573.         </page>
  6574.        
  6575.         <page name="backup_action_complete">
  6576.            
  6577.             <object type="template" name="body_backup" />
  6578.            
  6579.             <object type="template" name="ab_ex_backup" />
  6580.            
  6581.             <object type="template" name="statusbarinfo" />
  6582.  
  6583.             <object type="button">
  6584.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6585.                 <font resource="body1" color="%text_button%" />
  6586.                 <text></text>
  6587.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  6588.                 <actions>
  6589.                     <action function="set">tw_clear_destination=main2</action>
  6590.                     <action function="page">clear_vars</action>
  6591.                 </actions>
  6592.             </object>
  6593.  
  6594.             <object type="image">
  6595.                 <image resource="bc_backup" />
  6596.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6597.             </object>
  6598.            
  6599.             <object type="text" color="%text_actionbar_backup%">
  6600.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  6601.                 <font resource="title" />
  6602.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6603.                 <text>FAILED</text>
  6604.             </object>
  6605.            
  6606.             <object type="text" color="%text_actionbar_backup%">
  6607.                 <condition var1="tw_operation_status" var2="0" />
  6608.                 <font resource="title" />
  6609.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6610.                 <text>SUCCESSFUL</text>
  6611.             </object>
  6612.            
  6613.             <object type="text" color="%text_actionbar_backup%">
  6614.                 <font resource="body1" />
  6615.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6616.                 <text>%tw_complete_text1%</text>
  6617.             </object>
  6618.  
  6619.             <object type="image">
  6620.                 <image resource="hider_ab_ex_backup" />
  6621.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  6622.             </object>
  6623.  
  6624.             <object type="template" name="action_page_console" />
  6625.            
  6626.             <object type="button">
  6627.                 <highlight color="%highlight_color%" />
  6628.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  6629.                 <font resource="menu" color="%text_button%" />
  6630.                 <text></text>
  6631.                 <image resource="btn_raised_back" />
  6632.                 <actions>
  6633.                     <action function="set">tw_clear_destination=%tw_back%</action>
  6634.                     <action function="page">clear_vars</action>
  6635.                 </actions>
  6636.             </object>
  6637.            
  6638.             <object type="button">
  6639.                 <highlight color="%highlight_color%" />
  6640.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  6641.                 <font resource="menu" color="%text_button%" />
  6642.                 <text></text>
  6643.                 <image resource="btn_raised_rebootsystem_backup" />
  6644.                 <actions>
  6645.                     <action function="set">tw_back=main2</action>
  6646.                     <action function="set">tw_action=reboot</action>
  6647.                     <action function="set">tw_action_param=system</action>
  6648.                     <action function="set">tw_has_action2=0</action>
  6649.                     <action function="set">tw_text1=No OS Installed!</action>
  6650.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  6651.                     <action function="set">tw_action_text1=Restarting...</action>
  6652.                     <action function="set">tw_complete_text1=Restarting...</action>
  6653.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  6654.                     <action function="page">rebootcheck</action>
  6655.                 </actions>
  6656.             </object>
  6657.            
  6658.             <object type="action">
  6659.                 <touch key="home" />
  6660.                 <actions>
  6661.                     <action function="set">tw_clear_destination=main2</action>
  6662.                     <action function="page">clear_vars</action>
  6663.                 </actions>
  6664.             </object>
  6665.  
  6666.             <object type="action">
  6667.                 <touch key="back" />
  6668.                 <actions>
  6669.                     <action function="set">tw_clear_destination=%tw_back%</action>
  6670.                     <action function="page">clear_vars</action>
  6671.                 </actions>
  6672.             </object>
  6673.         </page>
  6674.        
  6675.         <page name="restore">
  6676.            
  6677.             <object type="template" name="body_restore" />
  6678.            
  6679.             <object type="fileselector">
  6680.                 <condition var1="list_font" var2="big" />
  6681.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  6682.                 <fastscroll rectcolor="%text_highlight_restore%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  6683.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  6684.                 <sort name="tw_gui_sort_order" />
  6685.                 <icon folder="folder_icon" file="file_icon" />
  6686.                 <background color="%background%" />
  6687.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_restore%" />
  6688.                 <filter folders="1" files="0" nav="0" />
  6689.                 <path name="tw_backups_folder" />
  6690.                 <data name="tw_restore" default="" />
  6691.                 <selection name="tw_restore_name" />
  6692.             </object>
  6693.            
  6694.             <object type="fileselector">
  6695.                 <condition var1="list_font" var2="small" />
  6696.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
  6697.                 <fastscroll rectcolor="%text_highlight_restore%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  6698.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  6699.                 <sort name="tw_gui_sort_order" />
  6700.                 <icon folder="folder_icon" file="file_icon" />
  6701.                 <background color="%background%" />
  6702.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_restore%" />
  6703.                 <filter folders="1" files="0" nav="0" />
  6704.                 <path name="tw_backups_folder" />
  6705.                 <data name="tw_restore" default="" />
  6706.                 <selection name="tw_restore_name" />
  6707.             </object>
  6708.            
  6709.             <object type="template" name="ab_ex_restore" />
  6710.            
  6711.             <object type="template" name="statusbarinfo" />
  6712.  
  6713.             <object type="button">
  6714.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6715.                 <font resource="body1" color="%text_button%" />
  6716.                 <text></text>
  6717.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  6718.                 <action function="page">main</action>
  6719.             </object>
  6720.  
  6721.             <object type="image">
  6722.                 <image resource="bc_restore" />
  6723.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6724.             </object>
  6725.            
  6726.             <object type="button">
  6727.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  6728.                 <font resource="body1" color="%text_button%" />
  6729.                 <text></text>
  6730.                 <image resource="actionbar_sort" highlightresource="actionbar_sort_hl" />
  6731.                 <action function="overlay">menu_sort_restore</action>
  6732.             </object>
  6733.            
  6734.             <object type="button">
  6735.                 <condition var1="list_font" var2="big" />
  6736.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6737.                 <font resource="body1" color="%text_button%" />
  6738.                 <text></text>
  6739.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  6740.                 <actions>
  6741.                     <action function="set">list_font=small</action>
  6742.                 </actions>
  6743.             </object>
  6744.            
  6745.             <object type="button">
  6746.                 <condition var1="list_font" var2="small" />
  6747.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6748.                 <font resource="body1" color="%text_button%" />
  6749.                 <text></text>
  6750.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  6751.                 <actions>
  6752.                     <action function="set">list_font=big</action>
  6753.                 </actions>
  6754.             </object>
  6755.            
  6756.             <object type="text" color="%text_actionbar_restore%">
  6757.                 <font resource="title" />
  6758.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6759.                 <text>Select Backup</text>
  6760.             </object>
  6761.            
  6762.             <object type="text" color="%text_actionbar_restore%">
  6763.                 <font resource="body1" />
  6764.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6765.                 <text></text>
  6766.             </object>
  6767.            
  6768.             <object type="image">
  6769.                 <image resource="divider_wide" />
  6770.                 <placement x="%center_x%" y="%row_btn_y%" placement="4" />
  6771.             </object>
  6772.            
  6773.             <object type="button">
  6774.                 <highlight color="%highlight_color%" />
  6775.                 <placement x="%col1_x%" y="row_btn_y" />
  6776.                 <font resource="menu" color="%text%" />
  6777.                 <text>SELECT STORAGE</text>
  6778.                 <image resource="mb_empty_s" />
  6779.                 <actions>
  6780.                     <action function="set">tw_back=restore</action>
  6781.                     <action function="overlay">dialog_storage_restore</action>
  6782.                 </actions>
  6783.             </object>
  6784.            
  6785.             <object type="action">
  6786.                 <condition var1="tw_restore" op="modified" />
  6787.                 <actions>
  6788.                     <action function="readBackup"></action>
  6789.                     <action function="page">restore_read</action>
  6790.                 </actions>
  6791.             </object>
  6792.  
  6793.             <object type="action">
  6794.                 <touch key="back" />
  6795.                 <action function="page">main</action>
  6796.             </object>
  6797.  
  6798.             <object type="action">
  6799.                 <touch key="home" />
  6800.                 <action function="page">main</action>
  6801.             </object>
  6802.         </page>
  6803.        
  6804.         <page name="restore_read">
  6805.             <object type="action">
  6806.                 <condition var1="tw_restore_encrypted" var2="1" />
  6807.                 <actions>
  6808.                     <action function="set">tw_password_fail=0</action>
  6809.                     <action function="page">restore_decrypt</action>
  6810.                 </actions>
  6811.             </object>
  6812.  
  6813.             <object type="action">
  6814.                 <condition var1="tw_restore_encrypted" var2="0" />
  6815.                 <actions>
  6816.                     <action function="page">restore_select</action>
  6817.                 </actions>
  6818.             </object>
  6819.            
  6820.         </page>
  6821.        
  6822.         <page name="restore_decrypt">
  6823.            
  6824.             <object type="template" name="body_restore" />
  6825.            
  6826.             <object type="template" name="ab_ex_restore" />
  6827.            
  6828.             <object type="template" name="statusbarinfo" />
  6829.  
  6830.             <object type="button">
  6831.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6832.                 <font resource="body1" color="%text_button%" />
  6833.                 <text></text>
  6834.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  6835.                 <action function="page">main</action>
  6836.             </object>
  6837.  
  6838.             <object type="image">
  6839.                 <image resource="bc_restore" />
  6840.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6841.             </object>
  6842.            
  6843.             <object type="button">
  6844.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  6845.                 <font resource="body1" color="%text_button%" />
  6846.                 <text></text>
  6847.                 <image resource="actionbar_delete" highlightresource="actionbar_delete_hl" />
  6848.                 <actions>
  6849.                     <action function="set">tw_back=restore_decrypt</action>
  6850.                     <action function="set">tw_action=cmd</action>
  6851.                     <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
  6852.                     <action function="set">tw_text1=Delete Backup?</action>
  6853.                     <action function="set">tw_text2=%tw_restore_name%</action>
  6854.                     <action function="set">tw_text4=This cannot be undone!</action>
  6855.                     <action function="set">tw_action_text1=Deleting Backup...</action>
  6856.                     <action function="set">tw_complete_text1=Backup deleted</action>
  6857.                     <action function="set">tw_slider_text=Swipe to Delete</action>
  6858.                     <action function="page">deletebackup</action>
  6859.                 </actions>
  6860.             </object>
  6861.            
  6862.             <object type="text" color="%text_actionbar_restore%">
  6863.                 <font resource="title" />
  6864.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6865.                 <text>Restore Backup</text>
  6866.             </object>
  6867.            
  6868.             <object type="text" color="%text_actionbar_restore%">
  6869.                 <font resource="body1" />
  6870.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6871.                 <text>%tw_restore_name%</text>
  6872.             </object>
  6873.            
  6874.             <object type="image">
  6875.                 <placement x="%col1_x%" y="%row2_2_y%" />
  6876.                 <image resource="icon_info" />
  6877.             </object>
  6878.  
  6879.             <object type="text" color="%text_highlight_restore%">
  6880.                 <font resource="body2" />
  6881.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  6882.                 <text>You have selected an encrypted backup.</text>
  6883.             </object>
  6884.  
  6885.             <object type="text" color="%text%">
  6886.                 <font resource="body2" />
  6887.                 <placement x="%col1_x_indent%" y="%row3_1_y%" />
  6888.                 <text>Please enter the password or</text>
  6889.             </object>
  6890.  
  6891.             <object type="text" color="%text%">
  6892.                 <font resource="body2" />
  6893.                 <placement x="%col1_x_indent%" y="%row3_2_y%" />
  6894.                 <text>press the back button to cancel.</text>
  6895.             </object>
  6896.  
  6897.             <object type="text" color="%text_highlight_restore%">
  6898.                 <font resource="caption" />
  6899.                 <placement x="%col1_x%" y="%row4_1_y%" />
  6900.                 <text>Password</text>
  6901.             </object>
  6902.            
  6903.             <object type="input">
  6904.                 <placement x="%col1_x%" y="%input_decr_y%" w="%input_width%" h="%input_height%" />
  6905.                 <background color="%background%" />
  6906.                 <cursor color="%text_highlight_restore%" hasfocus="1" width="%input_cursor_width%" />
  6907.                 <font resource="body2" color="%text%" />
  6908.                 <text>%tw_restore_display%</text>
  6909.                 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
  6910.                 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
  6911.                 <action function="page">try_restore_decrypt</action>
  6912.             </object>
  6913.            
  6914.             <object type="image">
  6915.                 <condition var1="tw_password_fail" op="!=" var2="1" />
  6916.                 <image resource="input_line_restore" />
  6917.                 <placement x="%col1_x%" y="%row4_3_y%" />
  6918.             </object>
  6919.            
  6920.             <object type="image">
  6921.                 <condition var1="tw_password_fail" var2="1" />
  6922.                 <image resource="input_line_fail_decr" />
  6923.                 <placement x="%col1_x%" y="%row4_3_y%" />
  6924.             </object>
  6925.            
  6926.             <object type="template" name="keyboardtemplate" />
  6927.            
  6928.             <object type="action">
  6929.                 <touch key="home" />
  6930.                 <action function="page">main</action>
  6931.             </object>
  6932.  
  6933.             <object type="action">
  6934.                 <touch key="back" />
  6935.                 <actions>
  6936.                     <action function="set">tw_page_done=1</action>
  6937.                     <action function="page">restore</action>
  6938.                 </actions>
  6939.             </object>
  6940.            
  6941.         </page>
  6942.        
  6943.         <page name="try_restore_decrypt">
  6944.            
  6945.             <object type="template" name="body_restore" />
  6946.  
  6947.             <object type="template" name="progress_bar" />
  6948.            
  6949.             <object type="template" name="ab_ex_restore" />
  6950.            
  6951.             <object type="template" name="statusbarinfo" />
  6952.  
  6953.             <object type="image">
  6954.                 <placement x="%ab_back_x%" y="%ab_y%" />
  6955.                 <image resource="actionbar_back" />
  6956.             </object>
  6957.  
  6958.             <object type="image">
  6959.                 <image resource="bc_restore" />
  6960.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  6961.             </object>
  6962.            
  6963.             <object type="text" color="%text_actionbar_restore%">
  6964.                 <font resource="title" />
  6965.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  6966.                 <text>Trying Decryption...</text>
  6967.             </object>
  6968.            
  6969.             <object type="text" color="%text_actionbar_restore%">
  6970.                 <font resource="body1" />
  6971.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  6972.                 <text>%tw_restore_name%</text>
  6973.             </object>
  6974.  
  6975.             <object type="template" name="action_page_console" />
  6976.            
  6977.             <object type="action">
  6978.                 <action function="decrypt_backup"></action>
  6979.             </object>
  6980.  
  6981.             <object type="action">
  6982.                 <conditions>
  6983.                     <condition var1="tw_operation_state" var2="1" />
  6984.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  6985.                 </conditions>
  6986.                 <actions>
  6987.                     <action function="set">tw_password_fail=1</action>
  6988.                     <action function="page">restore_decrypt</action>
  6989.                 </actions>
  6990.             </object>
  6991.  
  6992.             <object type="action">
  6993.                 <conditions>
  6994.                     <condition var1="tw_operation_state" var2="1" />
  6995.                     <condition var1="tw_operation_status" op="=" var2="0" />
  6996.                 </conditions>
  6997.                 <actions>
  6998.                     <action function="set">tw_page_done=1</action>
  6999.                     <action function="page">restore_select</action>
  7000.                 </actions>
  7001.             </object>
  7002.            
  7003.         </page>
  7004.        
  7005.         <page name="restore_select">
  7006.            
  7007.             <object type="template" name="body_restore" />
  7008.            
  7009.             <object type="template" name="ab_ex_restore" />
  7010.            
  7011.             <object type="template" name="statusbarinfo" />
  7012.  
  7013.             <object type="button">
  7014.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7015.                 <font resource="body1" color="%text_button%" />
  7016.                 <text></text>
  7017.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7018.                 <action function="page">main</action>
  7019.             </object>
  7020.  
  7021.             <object type="image">
  7022.                 <image resource="bc_restore" />
  7023.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7024.             </object>
  7025.            
  7026.             <object type="button">
  7027.                 <placement x="%ab_btn2_x%" y="%ab_y%" />
  7028.                 <font resource="body1" color="%text_button%" />
  7029.                 <text></text>
  7030.                 <image resource="actionbar_edit" highlightresource="actionbar_edit_hl" />
  7031.                 <actions>
  7032.                     <action function="set">tw_backup_rename=</action>
  7033.                     <action function="set">tw_fileexists=0</action>
  7034.                     <action function="page">renamebackup</action>
  7035.                 </actions>
  7036.             </object>
  7037.            
  7038.             <object type="button">
  7039.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  7040.                 <font resource="body1" color="%text_button%" />
  7041.                 <text></text>
  7042.                 <image resource="actionbar_delete" highlightresource="actionbar_delete_hl" />
  7043.                 <actions>
  7044.                     <action function="set">tw_back=restore_select</action>
  7045.                     <action function="set">tw_action=cmd</action>
  7046.                     <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
  7047.                     <action function="set">tw_text1=Delete Backup?</action>
  7048.                     <action function="set">tw_text2=%tw_restore_name%</action>
  7049.                     <action function="set">tw_text4=This cannot be undone!</action>
  7050.                     <action function="set">tw_action_text1=Deleting Backup...</action>
  7051.                     <action function="set">tw_complete_text1=Backup deleted</action>
  7052.                     <action function="set">tw_slider_text=Swipe to Delete</action>
  7053.                     <action function="page">deletebackup</action>
  7054.                 </actions>
  7055.             </object>
  7056.            
  7057.             <object type="text" color="%text_actionbar_restore%">
  7058.                 <font resource="title" />
  7059.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7060.                 <text>Restore Backup</text>
  7061.             </object>
  7062.            
  7063.             <object type="text" color="%text_actionbar_restore%">
  7064.                 <font resource="body1" />
  7065.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7066.                 <text>%tw_restore_name%</text>
  7067.             </object>
  7068.            
  7069.             <object type="text" color="%text_dark%">
  7070.                 <font resource="caption" />
  7071.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  7072.                 <text>Date</text>
  7073.             </object>
  7074.  
  7075.             <object type="text" color="%text%">
  7076.                 <font resource="body2" />
  7077.                 <placement x="%col1_x%" y="%row2_3_y%" />
  7078.                 <text>%tw_restore_file_date%</text>
  7079.             </object>
  7080.            
  7081.             <object type="partitionlist">
  7082.                 <placement x="%col1_x%" y="%row3_1a_y%" w="%content_w%" h="%fileselector_wipe_height%" />
  7083.                 <fastscroll rectcolor="%text_highlight_restore%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  7084.                 <text></text>
  7085.                 <icon selected="checkbox_true_restore" unselected="checkbox_false" />
  7086.                 <background color="%background%" />
  7087.                 <font resource="body2" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_default%" />
  7088.                 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
  7089.                 <listtype name="restore" />
  7090.             </object>
  7091.            
  7092.             <object type="text" color="%text_dark%">
  7093.                 <font resource="caption" />
  7094.                 <placement x="%col1_x%" y="%row3_2_y%"  />
  7095.                 <text>Partitions</text>
  7096.             </object>
  7097.            
  7098.             <object type="text" color="%text_dark%">
  7099.                 <font resource="caption" />
  7100.                 <placement x="%col1_x%" y="%row6_2a_y%"  />
  7101.                 <text>Options</text>
  7102.             </object>
  7103.  
  7104.             <object type="checkbox">
  7105.                 <placement x="%col1_x%" y="%row6_3a_y%" />
  7106.                 <font resource="body2" color="%text%" />
  7107.                 <text>Check MD5 of backup files</text>
  7108.                 <data variable="tw_skip_md5_check" />
  7109.                 <image checked="checkbox_true_restore" unchecked="checkbox_false" />
  7110.             </object>
  7111.            
  7112.             <object type="text" color="%text_dark%">
  7113.                 <font resource="caption" />
  7114.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  7115.                 <text>Swipe to Restore</text>
  7116.             </object>
  7117.            
  7118.             <object type="slider">
  7119.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  7120.                 <resource base="slider" used="slider_used_restore" touch="handle_h_restore" />
  7121.                 <action function="page">restore_run</action>
  7122.             </object>
  7123.            
  7124.             <object type="action">
  7125.                 <touch key="home" />
  7126.                 <action function="page">main</action>
  7127.             </object>
  7128.  
  7129.             <object type="action">
  7130.                 <touch key="back" />
  7131.                 <action function="page">restore</action>
  7132.             </object>
  7133.            
  7134.         </page>
  7135.        
  7136.         <page name="renamebackup">
  7137.            
  7138.             <object type="template" name="body_restore" />
  7139.            
  7140.             <object type="template" name="ab_ex_restore" />
  7141.            
  7142.             <object type="template" name="statusbarinfo" />
  7143.  
  7144.             <object type="button">
  7145.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7146.                 <font resource="body1" color="%text_button%" />
  7147.                 <text></text>
  7148.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7149.                 <action function="page">main</action>
  7150.             </object>
  7151.  
  7152.             <object type="image">
  7153.                 <image resource="bc_restore" />
  7154.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7155.             </object>
  7156.            
  7157.             <object type="text" color="%text_actionbar_restore%">
  7158.                 <font resource="title" />
  7159.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7160.                 <text>Rename Backup</text>
  7161.             </object>
  7162.            
  7163.             <object type="text" color="%text_actionbar_restore%">
  7164.                 <font resource="body1" />
  7165.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7166.                 <text>%tw_restore_name%</text>
  7167.             </object>
  7168.            
  7169.             <object type="text" color="%text_highlight_restore%">
  7170.                 <font resource="caption" />
  7171.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  7172.                 <text>New Name</text>
  7173.             </object>
  7174.            
  7175.             <object type="input">
  7176.                 <placement x="%col1_x%" y="%input_rename_y%" w="%input_width%" h="%input_height%" />
  7177.                 <background color="%background%" />
  7178.                 <cursor color="%text_highlight_restore%" hasfocus="1" width="%input_cursor_width%" />
  7179.                 <font resource="body2" color="%text%" />
  7180.                 <text>%tw_backup_rename%</text>
  7181.                 <data name="tw_backup_rename" />
  7182.                 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
  7183.                 <actions>
  7184.                     <action function="set">tw_back=restore</action>
  7185.                     <action function="set">tw_action=cmd</action>
  7186.                     <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
  7187.                     <action function="set">tw_text1=Rename Backup?</action>
  7188.                     <action function="set">tw_text2=This cannot be undone!</action>
  7189.                     <action function="set">tw_action_text1=Renaming Backup...</action>
  7190.                     <action function="set">tw_complete_text1=Backup Rename complete</action>
  7191.                     <action function="set">tw_slider_text=Swipe to Rename</action>
  7192.                     <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
  7193.                     <action function="set">tw_existpage=renamebackup</action>
  7194.                     <action function="set">tw_notexistpage=restore_confirm_action</action>
  7195.                     <action function="page">filecheck</action>
  7196.                 </actions>
  7197.             </object>
  7198.            
  7199.             <object type="image">
  7200.                 <condition var1="tw_fileexists" var2="0" />
  7201.                 <image resource="input_line_restore" />
  7202.                 <placement x="%col1_x%" y="%row3_1_y%" />
  7203.             </object>
  7204.            
  7205.             <object type="image">
  7206.                 <condition var1="tw_fileexists" var2="1" />
  7207.                 <image resource="input_line_fail_backupname" />
  7208.                 <placement x="%col1_x%" y="%row3_1_y%" />
  7209.             </object>
  7210.  
  7211.             <object type="template" name="keyboardtemplate" />
  7212.            
  7213.             <object type="action">
  7214.                 <touch key="home" />
  7215.                 <action function="page">main</action>
  7216.             </object>
  7217.  
  7218.             <object type="action">
  7219.                 <touch key="back" />
  7220.                 <action function="page">restore_select</action>
  7221.             </object>
  7222.            
  7223.         </page>
  7224.        
  7225.         <page name="deletebackup">
  7226.             <object type="template" name="body_restore" />
  7227.            
  7228.             <object type="template" name="ab_ex_restore" />
  7229.            
  7230.             <object type="template" name="statusbarinfo" />
  7231.  
  7232.             <object type="button">
  7233.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7234.                 <font resource="body1" color="%text_button%" />
  7235.                 <text></text>
  7236.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7237.                 <action function="page">main</action>
  7238.             </object>
  7239.            
  7240.             <object type="image">
  7241.                 <image resource="bc_restore" />
  7242.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7243.             </object>
  7244.            
  7245.             <object type="text" color="%text_actionbar_restore%">
  7246.                 <font resource="title" />
  7247.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7248.                 <text>%tw_text1%</text>
  7249.             </object>
  7250.            
  7251.             <object type="text" color="%text_actionbar_restore%">
  7252.                 <font resource="body1" />
  7253.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7254.                 <text>%tw_text2%</text>
  7255.             </object>
  7256.            
  7257.             <object type="image">
  7258.                 <placement x="%col1_x%" y="%row2_3_y%" />
  7259.                 <image resource="icon_warning" />
  7260.             </object>
  7261.  
  7262.             <object type="text" color="%text_fail%">
  7263.                 <font resource="body2" />
  7264.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  7265.                 <text>%tw_text4%</text>
  7266.             </object>
  7267.  
  7268.             <object type="text" color="%text_dark%">
  7269.                 <font resource="caption" />
  7270.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  7271.                 <text>%tw_slider_text%</text>
  7272.             </object>
  7273.            
  7274.             <object type="slider">
  7275.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  7276.                 <resource base="slider" used="slider_used_restore" touch="handle_h_restore" />
  7277.                 <action function="set">tw_back=restore</action>
  7278.                 <action function="page">restore_action_page</action>
  7279.             </object>
  7280.            
  7281.             <object type="action">
  7282.                 <touch key="back" />
  7283.                 <action function="page">%tw_back%</action>
  7284.             </object>
  7285.  
  7286.             <object type="action">
  7287.                 <touch key="home" />
  7288.                 <action function="page">main</action>
  7289.             </object>
  7290.         </page>
  7291.        
  7292.         <page name="restore_run">
  7293.  
  7294.             <object type="template" name="body_restore" />
  7295.            
  7296.             <object type="template" name="progress_bar" />
  7297.            
  7298.             <object type="template" name="ab_ex_restore" />
  7299.            
  7300.             <object type="template" name="statusbarinfo" />
  7301.  
  7302.             <object type="image">
  7303.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7304.                 <image resource="actionbar_back" />
  7305.             </object>
  7306.  
  7307.             <object type="image">
  7308.                 <image resource="bc_restore" />
  7309.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7310.             </object>
  7311.            
  7312.             <object type="text" color="%text_actionbar_restore%">
  7313.                 <font resource="title" />
  7314.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7315.                 <text>%tw_operation%</text>
  7316.             </object>
  7317.            
  7318.             <object type="text" color="%text_actionbar_restore%">
  7319.                 <font resource="body1" />
  7320.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7321.                 <text>%tw_partition%</text>
  7322.             </object>
  7323.  
  7324.             <object type="image">
  7325.                 <image resource="hider_ab_ex_restore" />
  7326.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  7327.             </object>
  7328.  
  7329.             <object type="template" name="action_page_console" />
  7330.            
  7331.             <object type="text" color="%text_dark%">
  7332.                 <font resource="caption" />
  7333.                 <placement x="%col1_x%" y="%row7_2_y%" />
  7334.                 <text>Progress</text>
  7335.             </object>
  7336.            
  7337.             <object type="text" color="%text%">
  7338.                 <font resource="body2" />
  7339.                 <placement x="%col1_x%" y="%row7_3_y%" />
  7340.                 <text>%tw_size_progress%</text>
  7341.             </object>
  7342.  
  7343.             <object type="action">
  7344.                 <conditions>
  7345.                     <condition var1="tw_operation_state" var2="1" />
  7346.                     <condition var1="tw_operation_status" var2="0" />
  7347.                 </conditions>
  7348.                 <actions>
  7349.                     <action function="set">tw_back=restore_select</action>
  7350.                     <action function="set">tw_complete_text1=Restore complete</action>
  7351.                     <action function="page">restore_action_complete</action>
  7352.                 </actions>
  7353.             </object>
  7354.  
  7355.             <object type="action">
  7356.                 <conditions>
  7357.                     <condition var1="tw_operation_state" var2="1" />
  7358.                     <condition var1="tw_operation_status" var2="1" />
  7359.                 </conditions>
  7360.                 <actions>
  7361.                     <action function="set">tw_back=restore_select</action>
  7362.                     <action function="set">tw_complete_text1=Restore complete</action>
  7363.                     <action function="page">restore_action_complete</action>
  7364.                 </actions>
  7365.             </object>
  7366.  
  7367.             <object type="action">
  7368.                 <action function="nandroid">restore</action>
  7369.             </object>
  7370.            
  7371.         </page>
  7372.        
  7373.         <page name="restore_confirm_action">
  7374.             <object type="template" name="body_restore" />
  7375.            
  7376.             <object type="template" name="ab_ex_restore" />
  7377.            
  7378.             <object type="template" name="statusbarinfo" />
  7379.  
  7380.             <object type="button">
  7381.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7382.                 <font resource="body1" color="%text_button%" />
  7383.                 <text></text>
  7384.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7385.                 <action function="page">main</action>
  7386.             </object>
  7387.            
  7388.             <object type="image">
  7389.                 <image resource="bc_restore" />
  7390.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7391.             </object>
  7392.            
  7393.             <object type="text" color="%text_actionbar_restore%">
  7394.                 <font resource="title" />
  7395.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7396.                 <text>%tw_text1%</text>
  7397.             </object>
  7398.            
  7399.             <object type="image">
  7400.                 <image resource="hider_ab_ex_restore" />
  7401.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  7402.             </object>
  7403.            
  7404.             <object type="image">
  7405.                 <placement x="%col1_x%" y="%row2_2_y%" />
  7406.                 <image resource="icon_warning" />
  7407.             </object>
  7408.  
  7409.             <object type="text" color="%text_fail%">
  7410.                 <font resource="body2" />
  7411.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  7412.                 <text>%tw_text2%</text>
  7413.             </object>
  7414.  
  7415.             <object type="text" color="%text_dark%">
  7416.                 <font resource="caption" />
  7417.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  7418.                 <text>%tw_slider_text%</text>
  7419.             </object>
  7420.            
  7421.             <object type="slider">
  7422.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  7423.                 <resource base="slider" used="slider_used_restore" touch="handle_h_restore" />
  7424.                 <action function="page">restore_action_page</action>
  7425.             </object>
  7426.            
  7427.             <object type="action">
  7428.                 <touch key="back" />
  7429.                 <actions>
  7430.                     <action function="set">tw_clear_destination=%tw_back%</action>
  7431.                     <action function="page">clear_vars</action>
  7432.                 </actions>
  7433.             </object>
  7434.  
  7435.             <object type="action">
  7436.                 <touch key="home" />
  7437.                 <action function="page">main</action>
  7438.             </object>
  7439.         </page>
  7440.        
  7441.         <page name="restore_action_page">
  7442.  
  7443.             <object type="template" name="body_restore" />
  7444.            
  7445.             <object type="template" name="progress_bar" />
  7446.            
  7447.             <object type="template" name="ab_ex_restore" />
  7448.            
  7449.             <object type="template" name="statusbarinfo" />
  7450.  
  7451.             <object type="image">
  7452.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7453.                 <image resource="actionbar_back" />
  7454.             </object>
  7455.  
  7456.             <object type="image">
  7457.                 <image resource="bc_restore" />
  7458.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7459.             </object>
  7460.            
  7461.             <object type="text" color="%text_actionbar_restore%">
  7462.                 <font resource="title" />
  7463.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7464.                 <text>%tw_action_text1%</text>
  7465.             </object>
  7466.            
  7467.             <object type="text" color="%text_actionbar_restore%">
  7468.                 <font resource="body1" />
  7469.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7470.                 <text>%tw_action_text2%</text>
  7471.             </object>
  7472.  
  7473.             <object type="image">
  7474.                 <image resource="hider_ab_ex_restore" />
  7475.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  7476.             </object>
  7477.  
  7478.             <object type="template" name="action_page_console" />
  7479.  
  7480.             <object type="action">
  7481.                 <conditions>
  7482.                     <condition var1="tw_operation_state" var2="1" />
  7483.                     <condition var1="tw_operation_status" var2="0" />
  7484.                 </conditions>
  7485.                 <actions>
  7486.                     <action function="page">restore_action_complete</action>
  7487.                 </actions>
  7488.             </object>
  7489.  
  7490.             <object type="action">
  7491.                 <conditions>
  7492.                     <condition var1="tw_operation_state" var2="1" />
  7493.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  7494.                 </conditions>
  7495.                 <actions>
  7496.                     <action function="page">restore_action_complete</action>
  7497.                 </actions>
  7498.             </object>
  7499.  
  7500.             <object type="action">
  7501.                 <condition var1="tw_has_action2" var2="0" />
  7502.                 <actions>
  7503.                     <action function="%tw_action%">%tw_action_param%</action>
  7504.                 </actions>
  7505.             </object>
  7506.  
  7507.             <object type="action">
  7508.                 <condition var1="tw_has_action2" var2="1" />
  7509.                 <actions>
  7510.                     <action function="%tw_action%">%tw_action_param%</action>
  7511.                     <action function="%tw_action2%">%tw_action2_param%</action>
  7512.                 </actions>
  7513.             </object>
  7514.         </page>
  7515.        
  7516.         <page name="restore_action_complete">
  7517.            
  7518.             <object type="template" name="body_restore" />
  7519.            
  7520.             <object type="template" name="ab_ex_restore" />
  7521.            
  7522.             <object type="template" name="statusbarinfo" />
  7523.  
  7524.             <object type="button">
  7525.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7526.                 <font resource="body1" color="%text_button%" />
  7527.                 <text></text>
  7528.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7529.                 <actions>
  7530.                     <action function="set">tw_clear_destination=main2</action>
  7531.                     <action function="page">clear_vars</action>
  7532.                 </actions>
  7533.             </object>
  7534.  
  7535.             <object type="image">
  7536.                 <image resource="bc_restore" />
  7537.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7538.             </object>
  7539.            
  7540.             <object type="text" color="%text_actionbar_restore%">
  7541.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  7542.                 <font resource="title" />
  7543.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7544.                 <text>FAILED</text>
  7545.             </object>
  7546.            
  7547.             <object type="text" color="%text_actionbar_restore%">
  7548.                 <condition var1="tw_operation_status" var2="0" />
  7549.                 <font resource="title" />
  7550.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7551.                 <text>SUCCESSFUL</text>
  7552.             </object>
  7553.            
  7554.             <object type="text" color="%text_actionbar_restore%">
  7555.                 <font resource="body1" />
  7556.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7557.                 <text>%tw_complete_text1%</text>
  7558.             </object>
  7559.  
  7560.             <object type="image">
  7561.                 <image resource="hider_ab_ex_restore" />
  7562.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  7563.             </object>
  7564.  
  7565.             <object type="template" name="action_page_console" />
  7566.            
  7567.             <object type="button">
  7568.                 <highlight color="%highlight_color%" />
  7569.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  7570.                 <font resource="menu" color="%text_button%" />
  7571.                 <text></text>
  7572.                 <image resource="btn_raised_back" />
  7573.                 <actions>
  7574.                     <action function="set">tw_clear_destination=%tw_back%</action>
  7575.                     <action function="page">clear_vars</action>
  7576.                 </actions>
  7577.             </object>
  7578.            
  7579.             <object type="button">
  7580.                 <highlight color="%highlight_color%" />
  7581.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  7582.                 <font resource="menu" color="%text_button%" />
  7583.                 <text></text>
  7584.                 <image resource="btn_raised_rebootsystem_restore" />
  7585.                 <actions>
  7586.                     <action function="set">tw_back=main2</action>
  7587.                     <action function="set">tw_action=reboot</action>
  7588.                     <action function="set">tw_action_param=system</action>
  7589.                     <action function="set">tw_has_action2=0</action>
  7590.                     <action function="set">tw_text1=No OS Installed!</action>
  7591.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  7592.                     <action function="set">tw_action_text1=Restarting...</action>
  7593.                     <action function="set">tw_complete_text1=Restarting...</action>
  7594.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  7595.                     <action function="page">rebootcheck</action>
  7596.                 </actions>
  7597.             </object>
  7598.  
  7599.             <object type="action">
  7600.                 <touch key="home" />
  7601.                 <actions>
  7602.                     <action function="set">tw_clear_destination=main2</action>
  7603.                     <action function="page">clear_vars</action>
  7604.                 </actions>
  7605.             </object>
  7606.  
  7607.             <object type="action">
  7608.                 <touch key="back" />
  7609.                 <actions>
  7610.                     <action function="set">tw_clear_destination=%tw_back%</action>
  7611.                     <action function="page">clear_vars</action>
  7612.                 </actions>
  7613.             </object>
  7614.         </page>
  7615.        
  7616.         <page name="mount">
  7617.            
  7618.             <object type="template" name="body_mount" />
  7619.            
  7620.             <object type="template" name="ab_ex_mount" />
  7621.            
  7622.             <object type="template" name="statusbarinfo" />
  7623.  
  7624.             <object type="button">
  7625.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7626.                 <font resource="body1" color="%text_button%" />
  7627.                 <text></text>
  7628.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7629.                 <action function="page">main</action>
  7630.             </object>
  7631.  
  7632.             <object type="image">
  7633.                 <image resource="bc_mount" />
  7634.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7635.             </object>
  7636.            
  7637.             <object type="text" color="%text_actionbar_mount%">
  7638.                 <font resource="title" />
  7639.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7640.                 <text>Select Partitions</text>
  7641.             </object>
  7642.            
  7643.             <object type="text" color="%text_actionbar_mount%">
  7644.                 <conditions>
  7645.                     <condition var1="tw_has_mtp" var2="1" />
  7646.                     <condition var1="tw_mtp_enabled" var2="0" />
  7647.                 </conditions>
  7648.                 <font resource="body1" />
  7649.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7650.                 <text>MTP is disabled</text>
  7651.             </object>
  7652.            
  7653.             <object type="text" color="%text_actionbar_mount%">
  7654.                 <conditions>
  7655.                     <condition var1="tw_has_mtp" var2="1" />
  7656.                     <condition var1="tw_mtp_enabled" var2="1" />
  7657.                 </conditions>
  7658.                 <font resource="body1" />
  7659.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7660.                 <text>MTP is enabled</text>
  7661.             </object>
  7662.            
  7663.             <object type="text" color="%text_dark%">
  7664.                 <font resource="caption" />
  7665.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  7666.                 <text>Storage</text>
  7667.             </object>
  7668.  
  7669.             <object type="text" color="%text%">
  7670.                 <font resource="body2" />
  7671.                 <placement x="%col1_x%" y="%row2_3_y%" />
  7672.                 <text>%tw_storage_display_name% (%tw_storage_free_size% MB)</text>
  7673.             </object>
  7674.            
  7675.             <object type="button">
  7676.                 <placement x="%col1_x%" y="%row2_2_y%" />
  7677.                 <font resource="menu" color="%text_button%" />
  7678.                 <text></text>
  7679.                 <image resource="mb_empty" />
  7680.                 <actions>
  7681.                     <action function="set">tw_back=mount</action>
  7682.                     <action function="overlay">dialog_storage_mount</action>
  7683.                 </actions>
  7684.             </object>
  7685.            
  7686.             <object type="button">
  7687.                 <placement x="%ab_btn1_x%" y="%row2_2_y%" />
  7688.                 <font resource="body1" color="%text_button%" />
  7689.                 <text></text>
  7690.                 <image resource="actionbar_refresh" />
  7691.                 <highlight color="%highlight_color%" />
  7692.                 <actions>
  7693.                     <action function="refreshsizes"></action>
  7694.                     <action function="page">mount</action>
  7695.                 </actions>
  7696.             </object>
  7697.            
  7698.             <object type="partitionlist">
  7699.                 <placement x="%col1_x%" y="%row3_1a_y%" w="%content_w%" h="%fileselector_mount_height%" />
  7700.                 <fastscroll rectcolor="%text_highlight_mount%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  7701.                 <text></text>
  7702.                 <icon selected="checkbox_true_mount" unselected="checkbox_false" />
  7703.                 <background color="%background%" />
  7704.                 <font resource="body2" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_default%" />
  7705.                 <listtype name="mount" />
  7706.             </object>
  7707.            
  7708.             <object type="text" color="%text_dark%">
  7709.                 <font resource="caption" />
  7710.                 <placement x="%col1_x%" y="%row3_2_y%" />
  7711.                 <text>Partitions</text>
  7712.             </object>
  7713.            
  7714.             <object type="button">
  7715.                 <condition var1="tw_has_usb_storage" var2="1" />
  7716.                 <highlight color="%highlight_color%" />
  7717.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  7718.                 <font resource="body1" color="%text_button%" />
  7719.                 <text></text>
  7720.                 <image resource="btn_raised_usbstorage" />
  7721.                 <actions>
  7722.                     <action function="mount">usb</action>
  7723.                     <action function="page">usb_mount</action>
  7724.                 </actions>
  7725.             </object>
  7726.            
  7727.             <object type="button">
  7728.                 <conditions>
  7729.                     <condition var1="tw_is_encrypted" var2="1" />
  7730.                     <condition var1="tw_is_decrypted" var2="0" />
  7731.                 </conditions>
  7732.                 <highlight color="%highlight_color%" />
  7733.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  7734.                 <font resource="body1" color="%text_button%" />
  7735.                 <text></text>
  7736.                 <image resource="btn_raised_decryptdata" />
  7737.                 <action function="page">decrypt</action>
  7738.             </object>
  7739.            
  7740.             <object type="button">
  7741.                 <conditions>
  7742.                     <condition var1="tw_has_mtp" var2="1" />
  7743.                     <condition var1="tw_mtp_enabled" var2="0" />
  7744.                 </conditions>
  7745.                 <highlight color="%highlight_color%" />
  7746.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  7747.                 <font resource="body1" color="%text_button%" />
  7748.                 <text></text>
  7749.                 <image resource="btn_raised_enablemtp" />
  7750.                 <action function="startmtp"></action>
  7751.             </object>
  7752.            
  7753.             <object type="button">
  7754.                 <conditions>
  7755.                     <condition var1="tw_has_mtp" var2="1" />
  7756.                     <condition var1="tw_mtp_enabled" var2="1" />
  7757.                 </conditions>
  7758.                 <highlight color="%highlight_color%" />
  7759.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  7760.                 <font resource="body1" color="%text_button%" />
  7761.                 <text></text>
  7762.                 <image resource="btn_raised_disablemtp" />
  7763.                 <action function="stopmtp"></action>
  7764.             </object>
  7765.  
  7766.             <object type="action">
  7767.                 <touch key="home" />
  7768.                 <action function="page">main</action>
  7769.             </object>
  7770.  
  7771.             <object type="action">
  7772.                 <touch key="back" />
  7773.                 <action function="page">main</action>
  7774.             </object>
  7775.            
  7776.         </page>
  7777.        
  7778.         <page name="usb_mount">
  7779.            
  7780.             <object type="template" name="body_mount" />
  7781.            
  7782.             <object type="template" name="ab_ex_mount" />
  7783.            
  7784.             <object type="template" name="statusbarinfo" />
  7785.  
  7786.             <object type="image">
  7787.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7788.                 <image resource="actionbar_back" />
  7789.             </object>
  7790.  
  7791.             <object type="image">
  7792.                 <image resource="bc_mount" />
  7793.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7794.             </object>
  7795.            
  7796.             <object type="text" color="%text_actionbar_mount%">
  7797.                 <font resource="title" />
  7798.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7799.                 <text>USB Storage</text>
  7800.             </object>
  7801.            
  7802.             <object type="text" color="%text_actionbar_mount%">
  7803.                 <font resource="body1" />
  7804.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7805.                 <text>MOUNTED</text>
  7806.             </object>
  7807.            
  7808.             <object type="image">
  7809.                 <image resource="usb" />
  7810.                 <placement x="%center_x%" y="%row5_1_y%" placement="4" />
  7811.             </object>
  7812.            
  7813.             <object type="button">
  7814.                 <highlight color="%highlight_color%" />
  7815.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  7816.                 <font resource="menu" color="%text_button%" />
  7817.                 <text></text>
  7818.                 <image resource="btn_raised_disconnect" />
  7819.                 <action function="page">usb_umount</action>
  7820.             </object>
  7821.  
  7822.             <object type="action">
  7823.                 <touch key="back" />
  7824.                 <action function="page">usb_umount</action>
  7825.                 <action function="set">tw_busy=1</action>
  7826.             </object>
  7827.            
  7828.         </page>
  7829.        
  7830.         <page name="usb_umount">
  7831.             <object type="action">
  7832.                 <action function="unmount">usb</action>
  7833.             </object>
  7834.  
  7835.             <object type="action">
  7836.                 <action function="page">mount</action>
  7837.                 <action function="set">tw_busy=0</action>
  7838.             </object>
  7839.         </page>
  7840.        
  7841.         <page name="decrypt">
  7842.            
  7843.             <object type="template" name="body_mount" />
  7844.            
  7845.             <object type="template" name="ab_ex_mount" />
  7846.            
  7847.             <object type="template" name="statusbarinfo" />
  7848.  
  7849.             <object type="button">
  7850.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7851.                 <font resource="body1" color="%text_button%" />
  7852.                 <text></text>
  7853.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  7854.                 <action function="page">main</action>
  7855.             </object>
  7856.  
  7857.             <object type="image">
  7858.                 <image resource="bc_mount" />
  7859.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7860.             </object>
  7861.            
  7862.             <object type="text" color="%text_actionbar_mount%">
  7863.                 <font resource="title" />
  7864.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7865.                 <text>Decrypt</text>
  7866.             </object>
  7867.            
  7868.             <object type="text" color="%text_actionbar_mount%">
  7869.                 <font resource="body1" />
  7870.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  7871.                 <text>Data Partition</text>
  7872.             </object>
  7873.            
  7874.             <object type="image">
  7875.                 <placement x="%col1_x%" y="%row2_2_y%" />
  7876.                 <image resource="icon_info" />
  7877.             </object>
  7878.  
  7879.             <object type="text" color="%text_highlight_mount%">
  7880.                 <font resource="body2" />
  7881.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  7882.                 <text>Data Partition is encrypted.</text>
  7883.             </object>
  7884.  
  7885.             <object type="text" color="%text%">
  7886.                 <font resource="body2" />
  7887.                 <placement x="%col1_x_indent%" y="%row3_1_y%" />
  7888.                 <text>Please enter the password or</text>
  7889.             </object>
  7890.  
  7891.             <object type="text" color="%text%">
  7892.                 <font resource="body2" />
  7893.                 <placement x="%col1_x_indent%" y="%row3_2_y%" />
  7894.                 <text>press the back button to cancel.</text>
  7895.             </object>
  7896.  
  7897.             <object type="text" color="%text_highlight_mount%">
  7898.                 <font resource="caption" />
  7899.                 <placement x="%col1_x%" y="%row4_1_y%" />
  7900.                 <text>Password</text>
  7901.             </object>
  7902.            
  7903.             <object type="input">
  7904.                 <placement x="%col1_x%" y="%input_decr_y%" w="%input_width%" h="%input_height%" />
  7905.                 <background color="%background%" />
  7906.                 <cursor color="%text_highlight_mount%" hasfocus="1" width="%input_cursor_width%" />
  7907.                 <font resource="body2" color="%text%" />
  7908.                 <text>%tw_crypto_display%</text>
  7909.                 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
  7910.                 <restrict minlen="1" maxlen="254" />
  7911.                 <actions>
  7912.                     <action function="page">trydecrypt</action>
  7913.                 </actions>
  7914.             </object>
  7915.            
  7916.             <object type="image">
  7917.                 <condition var1="tw_password_fail_mount" op="!=" var2="1" />
  7918.                 <image resource="input_line" />
  7919.                 <placement x="%col1_x%" y="%row4_3_y%" />
  7920.             </object>
  7921.            
  7922.             <object type="image">
  7923.                 <condition var1="tw_password_fail" var2="1" />
  7924.                 <image resource="input_line_fail_decr" />
  7925.                 <placement x="%col1_x%" y="%row4_3_y%" />
  7926.             </object>
  7927.            
  7928.             <object type="template" name="keyboardtemplate" />
  7929.  
  7930.             <object type="action">
  7931.                 <touch key="home" />
  7932.                 <actions>
  7933.                     <action function="page">main</action>
  7934.                 </actions>
  7935.             </object>
  7936.  
  7937.             <object type="action">
  7938.                 <touch key="back" />
  7939.                 <actions>
  7940.                     <action function="page">mount</action>
  7941.                 </actions>
  7942.             </object>
  7943.         </page>
  7944.        
  7945.         <page name="trydecrypt">
  7946.            
  7947.             <object type="template" name="body_mount" />
  7948.  
  7949.             <object type="template" name="progress_bar" />
  7950.            
  7951.             <object type="template" name="ab_ex_mount" />
  7952.            
  7953.             <object type="template" name="statusbarinfo" />
  7954.  
  7955.             <object type="image">
  7956.                 <placement x="%ab_back_x%" y="%ab_y%" />
  7957.                 <image resource="actionbar_back" />
  7958.             </object>
  7959.  
  7960.             <object type="image">
  7961.                 <image resource="bc_mount" />
  7962.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  7963.             </object>
  7964.            
  7965.             <object type="text" color="%text_actionbar_mount%">
  7966.                 <font resource="title" />
  7967.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  7968.                 <text>Trying Decryption...</text>
  7969.             </object>
  7970.  
  7971.             <object type="template" name="action_page_console" />
  7972.            
  7973.             <object type="action">
  7974.                 <action function="decrypt"></action>
  7975.             </object>
  7976.  
  7977.             <object type="action">
  7978.                 <conditions>
  7979.                     <condition var1="tw_operation_state" var2="1" />
  7980.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  7981.                 </conditions>
  7982.                 <actions>
  7983.                     <action function="set">tw_password_fail=1</action>
  7984.                     <action function="page">decrypt</action>
  7985.                 </actions>
  7986.             </object>
  7987.  
  7988.             <object type="action">
  7989.                 <conditions>
  7990.                     <condition var1="tw_operation_state" var2="1" />
  7991.                     <condition var1="tw_operation_status" op="=" var2="0" />
  7992.                 </conditions>
  7993.                 <action function="page">mount</action>
  7994.             </object>
  7995.            
  7996.         </page>
  7997.        
  7998.         <page name="filemanagerlist">
  7999.            
  8000.             <object type="template" name="body_filemanager" />
  8001.            
  8002.             <object type="fileselector">
  8003.                 <condition var1="list_font" var2="big" />
  8004.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  8005.                 <fastscroll rectcolor="%text_highlight_filemanager%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  8006.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  8007.                 <sort name="tw_gui_sort_order" />
  8008.                 <icon folder="folder_icon" file="file_icon" />
  8009.                 <background color="%background%" />
  8010.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_filemanager%" />
  8011.                 <folders="1" files="1" />
  8012.                 <path name="tw_file_location1" default="/" />
  8013.                 <data name="tw_filename1" />
  8014.                 <selection name="tw_selection1" />
  8015.             </object>
  8016.            
  8017.             <object type="fileselector">
  8018.                 <condition var1="list_font" var2="small" />
  8019.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  8020.                 <fastscroll rectcolor="%text_highlight_filemanager%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  8021.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  8022.                 <sort name="tw_gui_sort_order" />
  8023.                 <icon folder="folder_icon" file="file_icon" />
  8024.                 <background color="%background%" />
  8025.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_filemanager%" />
  8026.                 <folders="1" files="1" />
  8027.                 <path name="tw_file_location1" default="/" />
  8028.                 <data name="tw_filename1" />
  8029.                 <selection name="tw_selection1" />
  8030.             </object>
  8031.            
  8032.             <object type="template" name="ab_ex_filemanager" />
  8033.            
  8034.             <object type="template" name="statusbarinfo" />
  8035.  
  8036.             <object type="button">
  8037.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8038.                 <font resource="body1" color="%text_button%" />
  8039.                 <text></text>
  8040.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8041.                 <action function="page">main</action>
  8042.             </object>
  8043.  
  8044.             <object type="image">
  8045.                 <image resource="bc_filemanager" />
  8046.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8047.             </object>
  8048.            
  8049.             <object type="button">
  8050.                 <condition var1="list_font" var2="big" />
  8051.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  8052.                 <font resource="body1" color="%text_button%" />
  8053.                 <text></text>
  8054.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  8055.                 <actions>
  8056.                     <action function="set">list_font=small</action>
  8057.                 </actions>
  8058.             </object>
  8059.            
  8060.             <object type="button">
  8061.                 <condition var1="list_font" var2="small" />
  8062.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  8063.                 <font resource="body1" color="%text_button%" />
  8064.                 <text></text>
  8065.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  8066.                 <actions>
  8067.                     <action function="set">list_font=big</action>
  8068.                 </actions>
  8069.             </object>
  8070.            
  8071.             <object type="text" color="%text_actionbar_filemanager%">
  8072.                 <font resource="title" />
  8073.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8074.                 <text>Select File or Folder</text>
  8075.             </object>
  8076.            
  8077.             <object type="text" color="%text_actionbar_filemanager%">
  8078.                 <font resource="body1" />
  8079.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8080.                 <text>%tw_file_location1%</text>
  8081.             </object>
  8082.            
  8083.             <object type="image">
  8084.                 <image resource="hider_ab_ex_filemanager" />
  8085.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  8086.             </object>
  8087.  
  8088.             <object type="action">
  8089.                 <actions>
  8090.                     <action function="set">tw_fm_type=File</action>
  8091.                     <action function="set">tw_fm_isfolder=0</action>
  8092.                 </actions>
  8093.             </object>
  8094.  
  8095.             <object type="action">
  8096.                 <touch key="home" />
  8097.                 <action function="page">main</action>
  8098.             </object>
  8099.  
  8100.             <object type="action">
  8101.                 <touch key="back" />
  8102.                 <action function="page">main</action>
  8103.             </object>
  8104.  
  8105.             <object type="action">
  8106.                 <condition var1="tw_filename1" op="modified" />
  8107.                 <actions>
  8108.                     <action function="page">filemanageroptions</action>
  8109.                 </actions>
  8110.             </object>
  8111.            
  8112.             <object type="button">
  8113.                 <placement x="%btn_float_x%" y="%row7_3_y%" />
  8114.                 <font resource="body1" color="%text_button%" />
  8115.                 <text></text>
  8116.                 <image resource="btn_float_folder" />
  8117.                 <highlight color="%highlight_color%" />
  8118.                 <actions>
  8119.                     <action function="set">tw_filename1=tw_file_location1</action>
  8120.                     <action function="set">tw_fm_isfolder=1</action>
  8121.                     <action function="set">tw_fm_type=Folder</action>
  8122.                     <action function="page">filemanageroptions</action>
  8123.                 </actions>
  8124.             </object>
  8125.            
  8126.         </page>    
  8127.        
  8128.         <page name="filemanageroptions">
  8129.            
  8130.             <object type="template" name="body_filemanager" />
  8131.            
  8132.             <object type="fileselector">
  8133.                 <condition var1="list_font" var2="big" />
  8134.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  8135.                 <fastscroll rectcolor="%text_highlight_filemanager%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  8136.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  8137.                 <sort name="tw_gui_sort_order" />
  8138.                 <icon folder="folder_icon" file="file_icon" />
  8139.                 <background color="%background%" />
  8140.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_filemanager%" />
  8141.                 <filter folders="1" files="1" />
  8142.                 <path name="tw_file_location1" default="/" />
  8143.                 <!--data name="tw_filename1" /-->
  8144.                 <selection name="tw_selection1" />
  8145.             </object>
  8146.            
  8147.             <object type="fileselector">
  8148.                 <condition var1="list_font" var2="small" />
  8149.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  8150.                 <fastscroll rectcolor="%text_highlight_filemanager%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  8151.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  8152.                 <sort name="tw_gui_sort_order" />
  8153.                 <icon folder="folder_icon" file="file_icon" />
  8154.                 <background color="%background%" />
  8155.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_filemanager%" />
  8156.                 <filter folders="1" files="1" />
  8157.                 <path name="tw_file_location1" default="/" />
  8158.                 <!--data name="tw_filename1" /-->
  8159.                 <selection name="tw_selection1" />
  8160.             </object>
  8161.            
  8162.             <object type="button">
  8163.                 <fill color="%lightransparent%" />
  8164.                 <placement x="0" y="0" w="%screen_w%" h="%screen_h%" />
  8165.                 <font resource="font" color="%text_button%" />
  8166.                 <text></text>
  8167.                 <action function="page">filemanagerlist</action>
  8168.             </object>
  8169.            
  8170.             <object type="template" name="ab_ex_filemanager" />
  8171.            
  8172.             <object type="template" name="statusbarinfo" />
  8173.  
  8174.             <object type="button">
  8175.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8176.                 <font resource="body1" color="%text_button%" />
  8177.                 <text></text>
  8178.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8179.                 <action function="page">main</action>
  8180.             </object>
  8181.  
  8182.             <object type="image">
  8183.                 <image resource="bc_filemanager" />
  8184.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8185.             </object>
  8186.            
  8187.             <object type="button">
  8188.                 <condition var1="list_font" var2="big" />
  8189.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  8190.                 <font resource="body1" color="%text_button%" />
  8191.                 <text></text>
  8192.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  8193.                 <actions>
  8194.                     <action function="set">list_font=small</action>
  8195.                 </actions>
  8196.             </object>
  8197.            
  8198.             <object type="button">
  8199.                 <condition var1="list_font" var2="small" />
  8200.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  8201.                 <font resource="body1" color="%text_button%" />
  8202.                 <text></text>
  8203.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  8204.                 <actions>
  8205.                     <action function="set">list_font=big</action>
  8206.                 </actions>
  8207.             </object>
  8208.            
  8209.             <object type="text" color="%text_actionbar_filemanager%">
  8210.                 <font resource="title" />
  8211.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8212.                 <text>%tw_fm_type%</text>
  8213.             </object>
  8214.            
  8215.             <object type="text" color="%text_actionbar_filemanager%">
  8216.                 <font resource="body1" />
  8217.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8218.                 <text>%tw_filename1%</text>
  8219.             </object>
  8220.            
  8221.             <object type="image">
  8222.                 <image resource="hider_ab_ex_filemanager" />
  8223.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  8224.             </object>
  8225.  
  8226.             <object type="image">
  8227.                 <image resource="bs_bg" />
  8228.                 <placement x="0" y="%row_bs_console_y%" />
  8229.             </object>
  8230.            
  8231.             <object type="text" color="%text_dark%">
  8232.                 <font resource="menu" />
  8233.                 <placement x="%col1_x%" y="%row3_1_y%" />
  8234.                 <text>%tw_fm_type% Actions</text>
  8235.             </object>
  8236.            
  8237.             <object type="button">
  8238.                 <condition var1="tw_fm_isfolder" var2="0" />
  8239.                 <highlight color="%highlight_color%" />
  8240.                 <placement x="%col1_x%" y="%bs_row1_y%" />
  8241.                 <font resource="title" color="%text_button%" />
  8242.                 <text></text>
  8243.                 <image resource="bs_btn_copy" />
  8244.                 <actions>
  8245.                     <action function="set">tw_filemanager_command=cp</action>
  8246.                     <action function="set">tw_fm_text1=Copying</action>
  8247.                     <action function="page">choosedestinationfolder</action>
  8248.                 </actions>
  8249.             </object>
  8250.            
  8251.             <object type="button">
  8252.                 <condition var1="tw_fm_isfolder" var2="1" />
  8253.                 <highlight color="%highlight_color%" />
  8254.                 <placement x="%col1_x%" y="%bs_row1_y%" />
  8255.                 <font resource="title" color="%text_button%" />
  8256.                 <text></text>
  8257.                 <image resource="bs_btn_copy" />
  8258.                 <actions>
  8259.                     <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
  8260.                     <action function="set">tw_fm_text1=Copying</action>
  8261.                     <action function="page">choosedestinationfolder</action>
  8262.                 </actions>
  8263.             </object>
  8264.            
  8265.             <object type="button">
  8266.                 <highlight color="%highlight_color%" />
  8267.                 <placement x="%col1_x%" y="%bs_row2_y%" />
  8268.                 <font resource="title" color="%text_button%" />
  8269.                 <text></text>
  8270.                 <image resource="bs_btn_cut" />
  8271.                 <actions>
  8272.                     <action function="set">tw_filemanager_command=mv</action>
  8273.                     <action function="set">tw_fm_text1=Moving</action>
  8274.                     <action function="page">choosedestinationfolder</action>
  8275.                 </actions>
  8276.             </object>
  8277.            
  8278.             <object type="button">
  8279.                 <condition var1="tw_fm_isfolder" var2="0" />
  8280.                 <highlight color="%highlight_color%" />
  8281.                 <placement x="%col1_x%" y="%bs_row3_y%" />
  8282.                 <font resource="title" color="%text_button%" />
  8283.                 <text></text>
  8284.                 <image resource="bs_btn_rename" />
  8285.                 <actions>
  8286.                     <action function="set">tw_filemanager_rename=tw_selection1</action>
  8287.                     <action function="set">tw_fm_text1=Renaming</action>
  8288.                     <action function="set">tw_filemanager_command=mv</action>
  8289.                     <action function="page">filemanagerrenamefile</action>
  8290.                 </actions>
  8291.             </object>
  8292.            
  8293.             <object type="button">
  8294.                 <condition var1="tw_fm_isfolder" var2="1" />
  8295.                 <highlight color="%highlight_color%" />
  8296.                 <placement x="%col1_x%" y="%bs_row3_y%" />
  8297.                 <font resource="title" color="%text_button%" />
  8298.                 <text></text>
  8299.                 <image resource="bs_btn_rename" />
  8300.                 <actions>
  8301.                     <action function="set">tw_filemanager_rename=tw_selection1</action>
  8302.                     <action function="set">tw_fm_text1=Renaming</action>
  8303.                     <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
  8304.                     <action function="page">filemanagerrenamefolder</action>
  8305.                 </actions>
  8306.             </object>
  8307.            
  8308.             <object type="button">
  8309.                 <highlight color="%highlight_color%" />
  8310.                 <placement x="%col1_x%" y="%bs_row4_y%" />
  8311.                 <font resource="title" color="%text_button%" />
  8312.                 <text></text>
  8313.                 <image resource="bs_btn_delete" />
  8314.                 <actions>
  8315.                     <action function="set">tw_filemanager_command=rm -rf</action>
  8316.                     <action function="set">tw_fm_text1=Deleting</action>
  8317.                     <action function="set">tw_fm_text2=</action>
  8318.                     <action function="set">tw_fm_text3=</action>
  8319.                     <action function="set">tw_include_text3=0</action>
  8320.                     <action function="set">tw_back=filemanageroptions</action>
  8321.                     <action function="page">filemanagerconfirm</action>
  8322.                 </actions>
  8323.             </object>
  8324.            
  8325.             <object type="button">
  8326.                 <highlight color="%highlight_color%" />
  8327.                 <placement x="%col1_x%" y="%bs_row5_y%" />
  8328.                 <font resource="title" color="%text_button%" />
  8329.                 <text></text>
  8330.                 <image resource="bs_btn_chmod755" />
  8331.                 <actions>
  8332.                     <action function="set">tw_filemanager_command=chmod 755</action>
  8333.                     <action function="set">tw_fm_text1=chmod 755</action>
  8334.                     <action function="set">tw_fm_text2=</action>
  8335.                     <action function="set">tw_fm_text3=</action>
  8336.                     <action function="set">tw_include_text3=0</action>
  8337.                     <action function="set">tw_back=filemanageroptions</action>
  8338.                     <action function="page">filemanagerconfirm</action>
  8339.                 </actions>
  8340.             </object>
  8341.            
  8342.             <object type="button">
  8343.                 <highlight color="%highlight_color%" />
  8344.                 <placement x="%col1_x%" y="%bs_row6_y%" />
  8345.                 <font resource="title" color="%text_button%" />
  8346.                 <text></text>
  8347.                 <image resource="bs_btn_chmod644" />
  8348.                 <actions>
  8349.                     <action function="set">tw_filemanager_command=chmod 644</action>
  8350.                     <action function="set">tw_fm_text1=chmod 644</action>
  8351.                     <action function="set">tw_fm_text2=</action>
  8352.                     <action function="set">tw_fm_text3=</action>
  8353.                     <action function="set">tw_include_text3=0</action>
  8354.                     <action function="set">tw_back=filemanageroptions</action>
  8355.                     <action function="page">filemanagerconfirm</action>
  8356.                 </actions>
  8357.             </object>
  8358.            
  8359.             <object type="button">
  8360.                 <highlight color="%highlight_color%" />
  8361.                 <placement x="%col1_x%" y="%bs_row7_y%" />
  8362.                 <font resource="title" color="%text_button%" />
  8363.                 <text></text>
  8364.                 <image resource="bs_btn_chmod" />
  8365.                 <actions>
  8366.                     <action function="set">tw_filemanager_rename=0000</action>
  8367.                     <action function="set">tw_fm_text2=</action>
  8368.                     <action function="set">tw_fm_text3=</action>
  8369.                     <action function="set">tw_include_text3=0</action>
  8370.                     <action function="set">tw_back=filemanageroptions</action>
  8371.                     <action function="page">filemanagerchmod</action>
  8372.                 </actions>
  8373.             </object>
  8374.            
  8375.             <object type="button">
  8376.                 <placement x="%ab_btn1_x%" y="%row3_1_y%" />
  8377.                 <font resource="body1" color="%text_button%" />
  8378.                 <text></text>
  8379.                 <image resource="bs_close" />
  8380.                 <highlight color="%highlight_color%" />
  8381.                 <action function="page">filemanagerlist</action>
  8382.             </object>
  8383.            
  8384.             <object type="button">
  8385.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  8386.                 <font resource="body1" color="%text_button%" />
  8387.                 <text></text>
  8388.                 <image resource="home" highlightresource="home_hl" />
  8389.                 <action function="page">filemanagerlist</action>
  8390.             </object>
  8391.  
  8392.             <object type="button">
  8393.                 <condition var1="navbar_sams" var2="0" />
  8394.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  8395.                 <font resource="body1" color="%text_button%" />
  8396.                 <text></text>
  8397.                 <image resource="back" highlightresource="back_hl" />
  8398.                 <action function="page">filemanagerlist</action>
  8399.             </object>
  8400.  
  8401.             <object type="button">
  8402.                 <condition var1="navbar_sams" var2="1" />
  8403.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  8404.                 <font resource="body1" color="%text_button%" />
  8405.                 <text></text>
  8406.                 <image resource="back" highlightresource="back_hl" />
  8407.                 <action function="page">filemanagerlist</action>
  8408.             </object>
  8409.            
  8410.             <object type="button">
  8411.                 <condition var1="navbar_sams" var2="0" />
  8412.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  8413.                 <font resource="body1" color="%text_button%" />
  8414.                 <text></text>
  8415.                 <image resource="slideout" highlightresource="slideout_hl" />
  8416.                 <action function="page">filemanagerlist</action>
  8417.             </object>
  8418.            
  8419.             <object type="button">
  8420.                 <condition var1="navbar_sams" var2="1" />
  8421.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  8422.                 <font resource="body1" color="%text_button%" />
  8423.                 <text></text>
  8424.                 <image resource="slideout" highlightresource="slideout_hl" />
  8425.                 <action function="page">filemanagerlist</action>
  8426.             </object>
  8427.            
  8428.             <object type="action">
  8429.                 <touch key="power+voldown" />
  8430.                 <action function="screenshot"/>
  8431.             </object>
  8432.  
  8433.         </page>
  8434.        
  8435.         <page name="choosedestinationfolder">
  8436.            
  8437.             <object type="template" name="body_filemanager" />
  8438.            
  8439.             <object type="fileselector">
  8440.                 <condition var1="list_font" var2="big" />
  8441.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  8442.                 <fastscroll rectcolor="%text_highlight_filemanager%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  8443.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  8444.                 <sort name="tw_gui_sort_order" />
  8445.                 <icon folder="folder_icon" file="file_icon" />
  8446.                 <background color="%background%" />
  8447.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_filemanager%" />
  8448.                 <filter folders="1" files="0" />
  8449.                 <path name="tw_file_location2" default="/" />
  8450.                 <data name="tw_filename2" />
  8451.                 <selection name="tw_selection2" />
  8452.             </object>
  8453.            
  8454.             <object type="fileselector">
  8455.                 <condition var1="list_font" var2="small" />
  8456.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  8457.                 <fastscroll rectcolor="%text_highlight_filemanager%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  8458.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  8459.                 <sort name="tw_gui_sort_order" />
  8460.                 <icon folder="folder_icon" file="file_icon" />
  8461.                 <background color="%background%" />
  8462.                 <font resource="caption" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_filemanager%" />
  8463.                 <filter folders="1" files="0" />
  8464.                 <path name="tw_file_location2" default="/" />
  8465.                 <data name="tw_filename2" />
  8466.                 <selection name="tw_selection2" />
  8467.             </object>
  8468.            
  8469.             <object type="template" name="ab_ex_filemanager" />
  8470.            
  8471.             <object type="template" name="statusbarinfo" />
  8472.  
  8473.             <object type="button">
  8474.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8475.                 <font resource="body1" color="%text_button%" />
  8476.                 <text></text>
  8477.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8478.                 <action function="page">main</action>
  8479.             </object>
  8480.  
  8481.             <object type="image">
  8482.                 <image resource="bc_filemanager" />
  8483.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8484.             </object>
  8485.            
  8486.             <object type="button">
  8487.                 <condition var1="list_font" var2="big" />
  8488.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  8489.                 <font resource="body1" color="%text_button%" />
  8490.                 <text></text>
  8491.                 <image resource="actionbar_font_big" highlightresource="actionbar_font_big_hl" />
  8492.                 <actions>
  8493.                     <action function="set">list_font=small</action>
  8494.                 </actions>
  8495.             </object>
  8496.            
  8497.             <object type="button">
  8498.                 <condition var1="list_font" var2="small" />
  8499.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  8500.                 <font resource="body1" color="%text_button%" />
  8501.                 <text></text>
  8502.                 <image resource="actionbar_font_small" highlightresource="actionbar_font_small_hl" />
  8503.                 <actions>
  8504.                     <action function="set">list_font=big</action>
  8505.                 </actions>
  8506.             </object>
  8507.            
  8508.             <object type="text" color="%text_actionbar_filemanager%">
  8509.                 <font resource="title" />
  8510.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8511.                 <text>Destination Folder</text>
  8512.             </object>
  8513.            
  8514.             <object type="text" color="%text_actionbar_filemanager%">
  8515.                 <font resource="body1" />
  8516.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8517.                 <text>%tw_file_location2%</text>
  8518.             </object>
  8519.            
  8520.             <object type="image">
  8521.                 <image resource="hider_ab_ex_filemanager" />
  8522.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  8523.             </object>
  8524.            
  8525.             <object type="button">
  8526.                 <placement x="%btn_float_x%" y="%row7_3_y%" />
  8527.                 <font resource="body1" color="%text_button%" />
  8528.                 <text></text>
  8529.                 <image resource="btn_float_folder" />
  8530.                 <highlight color="%highlight_color%" />
  8531.                 <actions>
  8532.                     <action function="set">tw_fm_text2=to</action>
  8533.                     <action function="set">tw_fm_text3=%tw_file_location2%</action>
  8534.                     <action function="set">tw_include_text3=1</action>
  8535.                     <action function="set">tw_back=filemanageroptions</action>
  8536.                     <action function="page">filemanagerconfirm</action>
  8537.                 </actions>
  8538.             </object>
  8539.  
  8540.             <object type="action">
  8541.                 <touch key="home" />
  8542.                 <action function="page">main</action>
  8543.             </object>
  8544.  
  8545.             <object type="action">
  8546.                 <touch key="back" />
  8547.                 <action function="page">filemanageroptions</action>
  8548.             </object>
  8549.            
  8550.         </page>
  8551.        
  8552.         <page name="filemanagerrenamefile">
  8553.            
  8554.             <object type="template" name="body_filemanager" />
  8555.            
  8556.             <object type="template" name="ab_ex_filemanager" />
  8557.            
  8558.             <object type="template" name="statusbarinfo" />
  8559.  
  8560.             <object type="button">
  8561.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8562.                 <font resource="body1" color="%text_button%" />
  8563.                 <text></text>
  8564.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8565.                 <action function="page">main</action>
  8566.             </object>
  8567.  
  8568.             <object type="image">
  8569.                 <image resource="bc_filemanager" />
  8570.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8571.             </object>
  8572.            
  8573.             <object type="text" color="%text_actionbar_filemanager%">
  8574.                 <font resource="title" />
  8575.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8576.                 <text>Rename %tw_fm_type%</text>
  8577.             </object>
  8578.            
  8579.             <object type="text" color="%text_actionbar_filemanager%">
  8580.                 <font resource="body1" />
  8581.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8582.                 <text>%tw_file_location1%</text>
  8583.             </object>
  8584.            
  8585.             <object type="text" color="%text_highlight_filemanager%">
  8586.                 <font resource="caption" />
  8587.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  8588.                 <text>New Name</text>
  8589.             </object>
  8590.            
  8591.             <object type="input">
  8592.                 <placement x="%col1_x%" y="%input_rename_y%" w="%input_width%" h="%input_height%" />
  8593.                 <background color="%background%" />
  8594.                 <cursor color="%text_highlight_filemanager%" hasfocus="1" width="%input_cursor_width%" />
  8595.                 <font resource="body2" color="%text%" />
  8596.                 <text>%tw_filemanager_rename%</text>
  8597.                 <data name="tw_filemanager_rename" />
  8598.                 <restrict minlen="1" maxlen="64" />
  8599.                 <actions>
  8600.                     <action function="set">tw_fm_text2=to</action>
  8601.                     <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
  8602.                     <action function="set">tw_include_text3=1</action>
  8603.                     <action function="set">tw_back=filemanageroptions</action>
  8604.                     <action function="page">filemanagerconfirm</action>
  8605.                 </actions>
  8606.             </object>
  8607.            
  8608.             <object type="image">
  8609.                 <image resource="input_line_filemanager" />
  8610.                 <placement x="%col1_x%" y="%row3_1_y%" />
  8611.             </object>
  8612.  
  8613.             <object type="template" name="keyboardtemplate" />
  8614.            
  8615.             <object type="action">
  8616.                 <touch key="home" />
  8617.                 <action function="page">main</action>
  8618.             </object>
  8619.  
  8620.             <object type="action">
  8621.                 <touch key="back" />
  8622.                 <action function="page">filemanageroptions</action>
  8623.             </object>
  8624.            
  8625.         </page>
  8626.        
  8627.         <page name="filemanagerrenamefolder">
  8628.            
  8629.             <object type="template" name="body_filemanager" />
  8630.            
  8631.             <object type="template" name="ab_ex_filemanager" />
  8632.            
  8633.             <object type="template" name="statusbarinfo" />
  8634.  
  8635.             <object type="button">
  8636.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8637.                 <font resource="body1" color="%text_button%" />
  8638.                 <text></text>
  8639.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8640.                 <action function="page">main</action>
  8641.             </object>
  8642.  
  8643.             <object type="image">
  8644.                 <image resource="bc_filemanager" />
  8645.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8646.             </object>
  8647.            
  8648.             <object type="text" color="%text_actionbar_filemanager%">
  8649.                 <font resource="title" />
  8650.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8651.                 <text>Rename %tw_fm_type%</text>
  8652.             </object>
  8653.            
  8654.             <object type="text" color="%text_actionbar_filemanager%">
  8655.                 <font resource="body1" />
  8656.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8657.                 <text>%tw_file_location1%</text>
  8658.             </object>
  8659.            
  8660.             <object type="text" color="%text_highlight_filemanager%">
  8661.                 <font resource="caption" />
  8662.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  8663.                 <text>New Name</text>
  8664.             </object>
  8665.            
  8666.             <object type="input">
  8667.                 <placement x="%col1_x%" y="%input_rename_y%" w="%input_width%" h="%input_height%" />
  8668.                 <background color="%background%" />
  8669.                 <cursor color="%text_highlight_filemanager%" hasfocus="1" width="%input_cursor_width%" />
  8670.                 <font resource="body2" color="%text%" />
  8671.                 <text>%tw_filemanager_rename%</text>
  8672.                 <data name="tw_filemanager_rename" />
  8673.                 <restrict minlen="1" maxlen="64" />
  8674.                 <actions>
  8675.                     <action function="set">tw_fm_text2=to</action>
  8676.                     <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
  8677.                     <action function="set">tw_include_text3=1</action>
  8678.                     <action function="set">tw_back=filemanageroptions</action>
  8679.                     <action function="page">filemanagerconfirm</action>
  8680.                 </actions>
  8681.             </object>
  8682.            
  8683.             <object type="image">
  8684.                 <image resource="input_line_filemanager" />
  8685.                 <placement x="%col1_x%" y="%row3_1_y%" />
  8686.             </object>
  8687.  
  8688.             <object type="template" name="keyboardtemplate" />
  8689.            
  8690.             <object type="action">
  8691.                 <touch key="home" />
  8692.                 <action function="page">main</action>
  8693.             </object>
  8694.  
  8695.             <object type="action">
  8696.                 <touch key="back" />
  8697.                 <action function="page">filemanageroptions</action>
  8698.             </object>
  8699.            
  8700.         </page>
  8701.        
  8702.         <page name="filemanagerchmod">
  8703.            
  8704.             <object type="template" name="body_filemanager" />
  8705.            
  8706.             <object type="template" name="ab_ex_filemanager" />
  8707.            
  8708.             <object type="template" name="statusbarinfo" />
  8709.  
  8710.             <object type="button">
  8711.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8712.                 <font resource="body1" color="%text_button%" />
  8713.                 <text></text>
  8714.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8715.                 <action function="page">main</action>
  8716.             </object>
  8717.  
  8718.             <object type="image">
  8719.                 <image resource="bc_filemanager" />
  8720.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8721.             </object>
  8722.            
  8723.             <object type="text" color="%text_actionbar_filemanager%">
  8724.                 <font resource="title" />
  8725.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8726.                 <text>Set Permissions</text>
  8727.             </object>
  8728.            
  8729.             <object type="text" color="%text_actionbar_filemanager%">
  8730.                 <font resource="body1" />
  8731.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8732.                 <text>%tw_file_location1%</text>
  8733.             </object>
  8734.            
  8735.             <object type="text" color="%text_highlight_filemanager%">
  8736.                 <font resource="caption" />
  8737.                 <placement x="%col1_x%" y="%row2_2_y%"  />
  8738.                 <text>Permissions</text>
  8739.             </object>
  8740.            
  8741.             <object type="input">
  8742.                 <placement x="%col1_x%" y="%input_rename_y%" w="%input_width%" h="%input_height%" />
  8743.                 <background color="%background%" />
  8744.                 <cursor color="%text_highlight_filemanager%" hasfocus="1" width="%input_cursor_width%" />
  8745.                 <font resource="body2" color="%text%" />
  8746.                 <text>%tw_filemanager_rename%</text>
  8747.                 <data name="tw_filemanager_rename" />
  8748.                 <restrict minlen="3" maxlen="4" allow="0123456789" />
  8749.                 <actions>
  8750.                     <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
  8751.                     <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
  8752.                     <action function="set">tw_back=filemanageroptions</action>
  8753.                     <action function="page">filemanagerconfirm</action>
  8754.                 </actions>
  8755.             </object>
  8756.            
  8757.             <object type="image">
  8758.                 <image resource="input_line_filemanager" />
  8759.                 <placement x="%col1_x%" y="%row3_1_y%" />
  8760.             </object>
  8761.  
  8762.             <object type="template" name="keyboardtemplate" />
  8763.            
  8764.             <object type="action">
  8765.                 <touch key="home" />
  8766.                 <action function="page">main</action>
  8767.             </object>
  8768.  
  8769.             <object type="action">
  8770.                 <touch key="back" />
  8771.                 <action function="page">filemanageroptions</action>
  8772.             </object>
  8773.            
  8774.         </page>
  8775.        
  8776.         <page name="filemanagerconfirm">
  8777.             <object type="template" name="body_filemanager" />
  8778.            
  8779.             <object type="template" name="ab_ex_filemanager" />
  8780.            
  8781.             <object type="template" name="statusbarinfo" />
  8782.  
  8783.             <object type="button">
  8784.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8785.                 <font resource="body1" color="%text_button%" />
  8786.                 <text></text>
  8787.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8788.                 <action function="page">main</action>
  8789.             </object>
  8790.            
  8791.             <object type="image">
  8792.                 <image resource="bc_filemanager" />
  8793.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8794.             </object>
  8795.            
  8796.             <object type="text" color="%text_actionbar_filemanager%">
  8797.                 <font resource="title" />
  8798.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8799.                 <text>Confirm Action</text>
  8800.             </object>
  8801.  
  8802.             <object type="text" color="%text%">
  8803.                 <font resource="body2" />
  8804.                 <placement x="%col1_x%" y="%row2_3_y%" />
  8805.                 <text>%tw_fm_text1%</text>
  8806.             </object>
  8807.  
  8808.             <object type="text" color="%text_highlight_filemanager%">
  8809.                 <font resource="body2" />
  8810.                 <placement x="%col1_x%" y="%row3_1_y%" />
  8811.                 <text>%tw_filename1%</text>
  8812.             </object>
  8813.  
  8814.             <object type="text" color="%text%">
  8815.                 <font resource="body2" />
  8816.                 <placement x="%col1_x%" y="%row3_3_y%" />
  8817.                 <text>%tw_fm_text2%</text>
  8818.             </object>
  8819.  
  8820.             <object type="text" color="%text_highlight_filemanager%">
  8821.                 <font resource="body2" />
  8822.                 <placement x="%col1_x%" y="%row4_1_y%" />
  8823.                 <text>%tw_fm_text3%</text>
  8824.             </object>
  8825.  
  8826.             <object type="text" color="%text_dark%">
  8827.                 <font resource="caption" />
  8828.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  8829.                 <text>Swipe to Confirm</text>
  8830.             </object>
  8831.            
  8832.             <object type="slider">
  8833.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  8834.                 <resource base="slider" used="slider_used_filemanager" touch="handle_h_filemanager" />
  8835.                 <action function="page">filemanageraction</action>
  8836.             </object>
  8837.  
  8838.             <object type="action">
  8839.                 <touch key="back" />
  8840.                 <action function="page">%tw_back%</action>
  8841.             </object>
  8842.  
  8843.             <object type="action">
  8844.                 <touch key="home" />
  8845.                 <action function="page">main</action>
  8846.             </object>
  8847.            
  8848.         </page>
  8849.        
  8850.         <page name="filemanageraction">
  8851.  
  8852.             <object type="template" name="body_filemanager" />
  8853.            
  8854.             <object type="template" name="progress_bar" />
  8855.            
  8856.             <object type="template" name="ab_ex_filemanager" />
  8857.            
  8858.             <object type="template" name="statusbarinfo" />
  8859.  
  8860.             <object type="image">
  8861.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8862.                 <image resource="actionbar_back" />
  8863.             </object>
  8864.  
  8865.             <object type="image">
  8866.                 <image resource="bc_filemanager" />
  8867.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8868.             </object>
  8869.            
  8870.             <object type="text" color="%text_actionbar_filemanager%">
  8871.                 <font resource="title" />
  8872.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8873.                 <text>%tw_fm_text1%</text>
  8874.             </object>
  8875.  
  8876.             <object type="image">
  8877.                 <image resource="hider_ab_ex_filemanager" />
  8878.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  8879.             </object>
  8880.  
  8881.             <object type="template" name="action_page_console" />
  8882.            
  8883.             <object type="action">
  8884.                 <conditions>
  8885.                     <condition var1="tw_operation_state" var2="1" />
  8886.                     <condition var1="tw_operation_status" var2="0" />
  8887.                 </conditions>
  8888.                 <actions>
  8889.                     <action function="set">tw_back=filemanagerlist</action>
  8890.                     <action function="set">tw_complete_text1=File operation complete</action>
  8891.                     <action function="page">filemanagercomplete</action>
  8892.                 </actions>
  8893.             </object>
  8894.  
  8895.             <object type="action">
  8896.                 <conditions>
  8897.                     <condition var1="tw_operation_state" var2="1" />
  8898.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  8899.                 </conditions>
  8900.                 <actions>
  8901.                     <action function="set">tw_complete_text1=File operation complete</action>
  8902.                     <action function="page">filemanagercomplete</action>
  8903.                 </actions>
  8904.             </object>
  8905.  
  8906.             <object type="action">
  8907.                 <condition var1="tw_include_text3" var2="0" />
  8908.                 <actions>
  8909.                     <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
  8910.                 </actions>
  8911.             </object>
  8912.  
  8913.             <object type="action">
  8914.                 <condition var1="tw_include_text3" var2="1" />
  8915.                 <actions>
  8916.                     <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
  8917.                 </actions>
  8918.             </object>
  8919.            
  8920.         </page>
  8921.        
  8922.         <page name="filemanagercomplete">
  8923.            
  8924.             <object type="template" name="body_filemanager" />
  8925.            
  8926.             <object type="template" name="ab_ex_filemanager" />
  8927.            
  8928.             <object type="template" name="statusbarinfo" />
  8929.  
  8930.             <object type="button">
  8931.                 <placement x="%ab_back_x%" y="%ab_y%" />
  8932.                 <font resource="body1" color="%text_button%" />
  8933.                 <text></text>
  8934.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  8935.                 <actions>
  8936.                     <action function="set">tw_clear_destination=main2</action>
  8937.                     <action function="page">clear_vars</action>
  8938.                 </actions>
  8939.             </object>
  8940.  
  8941.             <object type="image">
  8942.                 <image resource="bc_filemanager" />
  8943.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  8944.             </object>
  8945.            
  8946.             <object type="text" color="%text_actionbar_filemanager%">
  8947.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  8948.                 <font resource="title" />
  8949.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8950.                 <text>FAILED</text>
  8951.             </object>
  8952.            
  8953.             <object type="text" color="%text_actionbar_filemanager%">
  8954.                 <condition var1="tw_operation_status" var2="0" />
  8955.                 <font resource="title" />
  8956.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  8957.                 <text>SUCCESSFUL</text>
  8958.             </object>
  8959.            
  8960.             <object type="text" color="%text_actionbar_filemanager%">
  8961.                 <font resource="body1" />
  8962.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  8963.                 <text>%tw_complete_text1%</text>
  8964.             </object>
  8965.  
  8966.             <object type="image">
  8967.                 <image resource="hider_ab_ex_filemanager" />
  8968.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  8969.             </object>
  8970.  
  8971.             <object type="template" name="action_page_console" />
  8972.            
  8973.             <object type="button">
  8974.                 <highlight color="%highlight_color%" />
  8975.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  8976.                 <font resource="menu" color="%text_button%" />
  8977.                 <text></text>
  8978.                 <image resource="btn_raised_back" />
  8979.                 <actions>
  8980.                     <action function="set">tw_clear_destination=%tw_back%</action>
  8981.                     <action function="page">clear_vars</action>
  8982.                 </actions>
  8983.             </object>
  8984.            
  8985.             <object type="button">
  8986.                 <highlight color="%highlight_color%" />
  8987.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  8988.                 <font resource="menu" color="%text_button%" />
  8989.                 <text></text>
  8990.                 <image resource="btn_raised_rebootsystem_filemanager" />
  8991.                 <actions>
  8992.                     <action function="set">tw_back=main2</action>
  8993.                     <action function="set">tw_action=reboot</action>
  8994.                     <action function="set">tw_action_param=system</action>
  8995.                     <action function="set">tw_has_action2=0</action>
  8996.                     <action function="set">tw_text1=No OS Installed!</action>
  8997.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  8998.                     <action function="set">tw_action_text1=Restarting...</action>
  8999.                     <action function="set">tw_complete_text1=Restarting...</action>
  9000.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  9001.                     <action function="page">rebootcheck</action>
  9002.                 </actions>
  9003.             </object>
  9004.  
  9005.             <object type="action">
  9006.                 <touch key="home" />
  9007.                 <actions>
  9008.                     <action function="set">tw_clear_destination=main2</action>
  9009.                     <action function="page">clear_vars</action>
  9010.                 </actions>
  9011.             </object>
  9012.  
  9013.             <object type="action">
  9014.                 <touch key="back" />
  9015.                 <actions>
  9016.                     <action function="set">tw_clear_destination=%tw_back%</action>
  9017.                     <action function="page">clear_vars</action>
  9018.                 </actions>
  9019.             </object>
  9020.         </page>
  9021.        
  9022.         <page name="advanced">
  9023.             <object type="template" name="body_advanced" />
  9024.            
  9025.             <object type="template" name="ab_advanced" />
  9026.            
  9027.             <object type="template" name="statusbarinfo" />
  9028.  
  9029.             <object type="button">
  9030.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9031.                 <font resource="body1" color="%text_button%" />
  9032.                 <text></text>
  9033.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9034.                 <action function="page">main</action>
  9035.             </object>
  9036.  
  9037.             <object type="image">
  9038.                 <image resource="bc_advanced" />
  9039.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9040.             </object>
  9041.            
  9042.             <object type="button">
  9043.                 <condition var1="menu_btn_solid" var2="0" />
  9044.                 <highlight color="%highlight_color%" />
  9045.                 <placement x="%col1_x%" y="%mb_row1_y%" />
  9046.                 <font resource="title" color="%text_button%" />
  9047.                 <text></text>
  9048.                 <image resource="mb_logtosd" />
  9049.                 <actions>
  9050.                     <action function="set">tw_back=advanced</action>
  9051.                     <action function="set">tw_action=copylog</action>
  9052.                     <action function="set">tw_text1=Copy Log to SD Card?</action>
  9053.                     <action function="set">tw_action_text1=Copy Log</action>
  9054.                     <action function="set">tw_action_text2=Copying Log to SD Card...</action>
  9055.                     <action function="set">tw_complete_text1=Copy Log complete</action>
  9056.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9057.                     <action function="page">advanced_confirm_action</action>
  9058.                 </actions>
  9059.             </object>
  9060.            
  9061.             <object type="button">
  9062.                 <condition var1="menu_btn_solid" var2="1" />
  9063.                 <highlight color="%highlight_color%" />
  9064.                 <placement x="%col1_x%" y="%mb_row1_y%" />
  9065.                 <font resource="title" color="%text_button%" />
  9066.                 <text></text>
  9067.                 <image resource="mb_logtosd_color" />
  9068.                 <actions>
  9069.                     <action function="set">tw_back=advanced</action>
  9070.                     <action function="set">tw_action=copylog</action>
  9071.                     <action function="set">tw_text1=Copy Log to SD Card?</action>
  9072.                     <action function="set">tw_action_text1=Copy Log</action>
  9073.                     <action function="set">tw_action_text2=Copying Log to SD Card...</action>
  9074.                     <action function="set">tw_complete_text1=Copy Log complete</action>
  9075.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9076.                     <action function="page">advanced_confirm_action</action>
  9077.                 </actions>
  9078.             </object>
  9079.  
  9080.             <object type="image">
  9081.                 <condition var1="menu_btn_solid" var2="0" />
  9082.                 <image resource="divider_list" />
  9083.                 <placement x="%center_x%" y="%mb_row2_y%" placement="4" />
  9084.             </object>
  9085.            
  9086.             <object type="button">
  9087.                 <condition var1="menu_btn_solid" var2="0" />
  9088.                 <highlight color="%highlight_color%" />
  9089.                 <placement x="%col1_x%" y="%mb_row2_y%" />
  9090.                 <font resource="title" color="%text_button%" />
  9091.                 <text></text>
  9092.                 <image resource="mb_fixpermissions" />
  9093.                 <actions>
  9094.                     <action function="set">tw_back=advanced</action>
  9095.                     <action function="set">tw_action=fixpermissions</action>
  9096.                     <action function="set">tw_text1=Fix Permissions?</action>
  9097.                     <action function="set">tw_text2=This might take a few minutes.</action>
  9098.                     <action function="set">tw_action_text1=Fixing Permissions...</action>
  9099.                     <action function="set">tw_action_text2=This might take a few minutes.</action>
  9100.                     <action function="set">tw_complete_text1=Fix Permissions complete</action>
  9101.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9102.                     <action function="page">advanced_confirm_action</action>
  9103.                 </actions>
  9104.             </object>
  9105.            
  9106.             <object type="button">
  9107.                 <condition var1="menu_btn_solid" var2="1" />
  9108.                 <highlight color="%highlight_color%" />
  9109.                 <placement x="%col1_x%" y="%mb_row2_y%" />
  9110.                 <font resource="title" color="%text_button%" />
  9111.                 <text></text>
  9112.                 <image resource="mb_fixpermissions_color" />
  9113.                 <actions>
  9114.                     <action function="set">tw_back=advanced</action>
  9115.                     <action function="set">tw_action=fixpermissions</action>
  9116.                     <action function="set">tw_text1=Fix Permissions?</action>
  9117.                     <action function="set">tw_text2=This might take a few minutes.</action>
  9118.                     <action function="set">tw_action_text1=Fixing Permissions...</action>
  9119.                     <action function="set">tw_action_text2=This might take a few minutes.</action>
  9120.                     <action function="set">tw_complete_text1=Fix Permissions complete</action>
  9121.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9122.                     <action function="page">advanced_confirm_action</action>
  9123.                 </actions>
  9124.             </object>
  9125.  
  9126.             <object type="image">
  9127.                 <condition var1="menu_btn_solid" var2="0" />
  9128.                 <image resource="divider_list" />
  9129.                 <placement x="%center_x%" y="%mb_row3_y%" placement="4" />
  9130.             </object>
  9131.            
  9132.             <object type="button">
  9133.                 <condition var1="menu_btn_solid" var2="0" />
  9134.                 <highlight color="%highlight_color%" />
  9135.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  9136.                 <font resource="title" color="%text_button%" />
  9137.                 <text></text>
  9138.                 <image resource="mb_terminalcommand" />
  9139.                 <action function="page">terminalfolder</action>
  9140.             </object>
  9141.            
  9142.             <object type="button">
  9143.                 <condition var1="menu_btn_solid" var2="1" />
  9144.                 <highlight color="%highlight_color%" />
  9145.                 <placement x="%col1_x%" y="%mb_row3_y%" />
  9146.                 <font resource="title" color="%text_button%" />
  9147.                 <text></text>
  9148.                 <image resource="mb_terminalcommand_color" />
  9149.                 <action function="page">terminalfolder</action>
  9150.             </object>
  9151.            
  9152.             <object type="image">
  9153.                 <condition var1="menu_btn_solid" var2="0" />
  9154.                 <image resource="divider_list" />
  9155.                 <placement x="%center_x%" y="%mb_row4_y%" placement="4" />
  9156.             </object>
  9157.            
  9158.             <object type="button">
  9159.                 <condition var1="menu_btn_solid" var2="0" />
  9160.                 <highlight color="%highlight_color%" />
  9161.                 <placement x="%col1_x%" y="%mb_row4_y%" />
  9162.                 <font resource="title" color="%text_button%" />
  9163.                 <text></text>
  9164.                 <image resource="mb_adbsideload" />
  9165.                 <action function="page">sideload</action>
  9166.             </object>
  9167.            
  9168.             <object type="button">
  9169.                 <condition var1="menu_btn_solid" var2="1" />
  9170.                 <highlight color="%highlight_color%" />
  9171.                 <placement x="%col1_x%" y="%mb_row4_y%" />
  9172.                 <font resource="title" color="%text_button%" />
  9173.                 <text></text>
  9174.                 <image resource="mb_adbsideload_color" />
  9175.                 <action function="page">sideload</action>
  9176.             </object>
  9177.            
  9178.             <object type="image">
  9179.                 <condition var1="menu_btn_solid" var2="0" />
  9180.                 <condition var1="tw_show_dumlock" var2="1" />
  9181.                 <image resource="divider_list" />
  9182.                 <placement x="%center_x%" y="%mb_row5_y%" placement="4" />
  9183.             </object>
  9184.            
  9185.             <object type="image">
  9186.                 <condition var1="menu_btn_solid" var2="0" />
  9187.                 <condition var1="tw_show_dumlock" var2="0" />
  9188.                 <condition var1="tw_has_injecttwrp" var2="1" />
  9189.                 <image resource="divider_list" />
  9190.                 <placement x="%center_x%" y="%mb_row5_y%" placement="4" />
  9191.             </object>
  9192.            
  9193.             <object type="image">
  9194.                 <condition var1="menu_btn_solid" var2="0" />
  9195.                 <condition var1="tw_show_dumlock" var2="0" />
  9196.                 <condition var1="tw_allow_partition_sdcard" var2="1" />
  9197.                 <image resource="divider_list" />
  9198.                 <placement x="%center_x%" y="%mb_row5_y%" placement="4" />
  9199.             </object>
  9200.            
  9201.             <object type="button">
  9202.                 <condition var1="menu_btn_solid" var2="0" />
  9203.                 <condition var1="tw_show_dumlock" var2="1" />
  9204.                 <highlight color="%highlight_color%" />
  9205.                 <placement x="%col1_x%" y="%mb_row5_y%" />
  9206.                 <font resource="body1" color="%text_button%" />
  9207.                 <text></text>
  9208.                 <image resource="mb_dumlock" />
  9209.                 <action function="page">htcdumlock</action>
  9210.             </object>
  9211.            
  9212.             <object type="button">
  9213.                 <condition var1="menu_btn_solid" var2="1" />
  9214.                 <condition var1="tw_show_dumlock" var2="1" />
  9215.                 <highlight color="%highlight_color%" />
  9216.                 <placement x="%col1_x%" y="%mb_row5_y%" />
  9217.                 <font resource="body1" color="%text_button%" />
  9218.                 <text></text>
  9219.                 <image resource="mb_dumlock_color" />
  9220.                 <action function="page">htcdumlock</action>
  9221.             </object>
  9222.            
  9223.             <object type="image">
  9224.                 <condition var1="menu_btn_solid" var2="0" />
  9225.                 <condition var1="tw_has_injecttwrp" var2="1" />
  9226.                 <image resource="divider_list" />
  9227.                 <placement x="%center_x%" y="%mb_row6_y%" placement="4" />
  9228.             </object>
  9229.            
  9230.             <object type="image">
  9231.                 <condition var1="menu_btn_solid" var2="0" />
  9232.                 <condition var1="tw_has_injecttwrp" var2="0" />
  9233.                 <condition var1="tw_allow_partition_sdcard" var2="1" />
  9234.                 <image resource="divider_list" />
  9235.                 <placement x="%center_x%" y="%mb_row6_y%" placement="4" />
  9236.             </object>
  9237.            
  9238.             <object type="button">
  9239.                 <condition var1="menu_btn_solid" var2="0" />
  9240.                 <condition var1="tw_has_injecttwrp" var2="1" />
  9241.                 <highlight color="%highlight_color%" />
  9242.                 <placement x="%col1_x%" y="%mb_row6_y%" />
  9243.                 <font resource="title" color="%text_button%" />
  9244.                 <text></text>
  9245.                 <image resource="mb_reinjecttwrp" />
  9246.                 <actions>
  9247.                     <action function="set">tw_back=advanced</action>
  9248.                     <action function="set">tw_action=reinjecttwrp</action>
  9249.                     <action function="set">tw_text1=Re-Inject TWRP?</action>
  9250.                     <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
  9251.                     <action function="set">tw_complete_text1=TWRP Injection complete</action>
  9252.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9253.                     <action function="page">advanced_confirm_action</action>
  9254.                 </actions>
  9255.             </object>
  9256.            
  9257.             <object type="button">
  9258.                 <condition var1="menu_btn_solid" var2="1" />
  9259.                 <condition var1="tw_has_injecttwrp" var2="1" />
  9260.                 <highlight color="%highlight_color%" />
  9261.                 <placement x="%col1_x%" y="%mb_row6_y%" />
  9262.                 <font resource="title" color="%text_button%" />
  9263.                 <text></text>
  9264.                 <image resource="mb_reinjecttwrp_color" />
  9265.                 <actions>
  9266.                     <action function="set">tw_back=advanced</action>
  9267.                     <action function="set">tw_action=reinjecttwrp</action>
  9268.                     <action function="set">tw_text1=Re-Inject TWRP?</action>
  9269.                     <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
  9270.                     <action function="set">tw_complete_text1=TWRP Injection complete</action>
  9271.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9272.                     <action function="page">advanced_confirm_action</action>
  9273.                 </actions>
  9274.             </object>
  9275.            
  9276.             <object type="image">
  9277.                 <condition var1="menu_btn_solid" var2="0" />
  9278.                 <condition var1="tw_has_injecttwrp" var2="0" />
  9279.                 <condition var1="tw_allow_partition_sdcard" var2="1" />
  9280.                 <image resource="divider_list" />
  9281.                 <placement x="%center_x%" y="%mb_row7_y%" placement="4" />
  9282.             </object>
  9283.            
  9284.             <object type="image">
  9285.                 <condition var1="menu_btn_solid" var2="0" />
  9286.                 <condition var1="tw_has_injecttwrp" var2="1" />
  9287.                 <condition var1="tw_allow_partition_sdcard" var2="1" />
  9288.                 <image resource="divider_list" />
  9289.                 <placement x="%center_x%" y="%mb_row7_y%" placement="4" />
  9290.             </object>
  9291.            
  9292.             <object type="button">
  9293.                 <condition var1="menu_btn_solid" var2="0" />
  9294.                 <condition var1="tw_allow_partition_sdcard" var2="1" />
  9295.                 <highlight color="%highlight_color%" />
  9296.                 <placement x="%col1_x%" y="%mb_row7_y%" />
  9297.                 <font resource="body1" color="%text_button%" />
  9298.                 <text></text>
  9299.                 <image resource="mb_partsdcard" />
  9300.                 <action function="page">partsdcard</action>
  9301.             </object>
  9302.            
  9303.             <object type="button">
  9304.                 <condition var1="menu_btn_solid" var2="1" />
  9305.                 <condition var1="tw_allow_partition_sdcard" var2="1" />
  9306.                 <highlight color="%highlight_color%" />
  9307.                 <placement x="%col1_x%" y="%mb_row7_y%" />
  9308.                 <font resource="body1" color="%text_button%" />
  9309.                 <text></text>
  9310.                 <image resource="mb_partsdcard_color" />
  9311.                 <action function="page">partsdcard</action>
  9312.             </object>
  9313.            
  9314.             <object type="action">
  9315.                 <touch key="home" />
  9316.                 <action function="page">main</action>
  9317.             </object>
  9318.  
  9319.             <object type="action">
  9320.                 <touch key="back" />
  9321.                 <action function="page">main</action>
  9322.             </object>
  9323.         </page>
  9324.        
  9325.         <page name="advanced_confirm_action">
  9326.             <object type="template" name="body_advanced" />
  9327.            
  9328.             <object type="template" name="ab_ex_advanced" />
  9329.            
  9330.             <object type="template" name="statusbarinfo" />
  9331.  
  9332.             <object type="button">
  9333.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9334.                 <font resource="body1" color="%text_button%" />
  9335.                 <text></text>
  9336.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9337.                 <action function="page">main</action>
  9338.             </object>
  9339.            
  9340.             <object type="image">
  9341.                 <image resource="bc_advanced" />
  9342.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9343.             </object>
  9344.            
  9345.             <object type="text" color="%text_actionbar_advanced%">
  9346.                 <font resource="title" />
  9347.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  9348.                 <text>%tw_text1%</text>
  9349.             </object>
  9350.  
  9351.             <object type="image">
  9352.                 <image resource="hider_ab_ex_advanced" />
  9353.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  9354.             </object>
  9355.  
  9356.             <object type="text" color="%text%">
  9357.                 <font resource="body2" />
  9358.                 <placement x="%col1_x%" y="%row2_3_y%" />
  9359.                 <text>%tw_text2%</text>
  9360.             </object>
  9361.  
  9362.             <object type="text" color="%text%">
  9363.                 <font resource="body2" />
  9364.                 <placement x="%col1_x%" y="%row3_3_y%" />
  9365.                 <text>%tw_text3%</text>
  9366.             </object>
  9367.  
  9368.             <object type="text" color="%text%">
  9369.                 <font resource="body2" />
  9370.                 <placement x="%col1_x%" y="%row4_1_y%" />
  9371.                 <text>%tw_text4%</text>
  9372.             </object>
  9373.  
  9374.             <object type="text" color="%text_dark%">
  9375.                 <font resource="caption" />
  9376.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  9377.                 <text>%tw_slider_text%</text>
  9378.             </object>
  9379.            
  9380.             <object type="slider">
  9381.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  9382.                 <resource base="slider" used="slider_used_advanced" touch="handle_h_advanced" />
  9383.                 <action function="page">advanced_action_page</action>
  9384.             </object>
  9385.            
  9386.             <object type="action">
  9387.                 <touch key="back" />
  9388.                 <actions>
  9389.                     <action function="set">tw_clear_destination=%tw_back%</action>
  9390.                     <action function="page">clear_vars</action>
  9391.                 </actions>
  9392.             </object>
  9393.  
  9394.             <object type="action">
  9395.                 <touch key="home" />
  9396.                 <action function="page">main</action>
  9397.             </object>
  9398.         </page>
  9399.        
  9400.         <page name="advanced_action_page">
  9401.  
  9402.             <object type="template" name="body_advanced" />
  9403.            
  9404.             <object type="template" name="progress_bar" />
  9405.            
  9406.             <object type="template" name="ab_ex_advanced" />
  9407.            
  9408.             <object type="template" name="statusbarinfo" />
  9409.  
  9410.             <object type="image">
  9411.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9412.                 <image resource="actionbar_back" />
  9413.             </object>
  9414.  
  9415.             <object type="image">
  9416.                 <image resource="bc_advanced" />
  9417.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9418.             </object>
  9419.            
  9420.             <object type="text" color="%text_actionbar_advanced%">
  9421.                 <font resource="title" />
  9422.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  9423.                 <text>%tw_action_text1%</text>
  9424.             </object>
  9425.            
  9426.             <object type="text" color="%text_actionbar_advanced%">
  9427.                 <font resource="body1" />
  9428.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  9429.                 <text>%tw_action_text2%</text>
  9430.             </object>
  9431.  
  9432.             <object type="image">
  9433.                 <image resource="hider_ab_ex_advanced" />
  9434.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  9435.             </object>
  9436.  
  9437.             <object type="template" name="action_page_console" />
  9438.            
  9439.             <object type="button">
  9440.                 <condition var1="tw_has_cancel" var2="1" />
  9441.                 <highlight color="%highlight_color%" />
  9442.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  9443.                 <font resource="menu" color="%text_button%" />
  9444.                 <text></text>
  9445.                 <image resource="btn_raised_cancel_advanced" />
  9446.                 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
  9447.             </object>
  9448.  
  9449.             <object type="action">
  9450.                 <conditions>
  9451.                     <condition var1="tw_operation_state" var2="1" />
  9452.                     <condition var1="tw_operation_status" var2="0" />
  9453.                 </conditions>
  9454.                 <actions>
  9455.                     <action function="page">advanced_action_complete</action>
  9456.                 </actions>
  9457.             </object>
  9458.  
  9459.             <object type="action">
  9460.                 <conditions>
  9461.                     <condition var1="tw_operation_state" var2="1" />
  9462.                     <condition var1="tw_operation_status" op="!=" var2="0" />
  9463.                 </conditions>
  9464.                 <actions>
  9465.                     <action function="page">advanced_action_complete</action>
  9466.                 </actions>
  9467.             </object>
  9468.  
  9469.             <object type="action">
  9470.                 <condition var1="tw_has_action2" var2="0" />
  9471.                 <actions>
  9472.                     <action function="%tw_action%">%tw_action_param%</action>
  9473.                 </actions>
  9474.             </object>
  9475.  
  9476.             <object type="action">
  9477.                 <condition var1="tw_has_action2" var2="1" />
  9478.                 <actions>
  9479.                     <action function="%tw_action%">%tw_action_param%</action>
  9480.                     <action function="%tw_action2%">%tw_action2_param%</action>
  9481.                 </actions>
  9482.             </object>
  9483.         </page>
  9484.        
  9485.         <page name="advanced_action_complete">
  9486.            
  9487.             <object type="template" name="body_advanced" />
  9488.            
  9489.             <object type="template" name="ab_ex_advanced" />
  9490.            
  9491.             <object type="template" name="statusbarinfo" />
  9492.  
  9493.             <object type="button">
  9494.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9495.                 <font resource="body1" color="%text_button%" />
  9496.                 <text></text>
  9497.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9498.                 <actions>
  9499.                     <action function="set">tw_clear_destination=main2</action>
  9500.                     <action function="page">clear_vars</action>
  9501.                 </actions>
  9502.             </object>
  9503.  
  9504.             <object type="image">
  9505.                 <image resource="bc_advanced" />
  9506.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9507.             </object>
  9508.            
  9509.             <object type="text" color="%text_actionbar_wipe%">
  9510.                 <condition var1="tw_operation_status" op="!=" var2="0" />
  9511.                 <font resource="title" />
  9512.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  9513.                 <text>FAILED</text>
  9514.             </object>
  9515.            
  9516.             <object type="text" color="%text_actionbar_advanced%">
  9517.                 <condition var1="tw_operation_status" var2="0" />
  9518.                 <font resource="title" />
  9519.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  9520.                 <text>SUCCESSFUL</text>
  9521.             </object>
  9522.            
  9523.             <object type="text" color="%text_actionbar_advanced%">
  9524.                 <font resource="body1" />
  9525.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  9526.                 <text>%tw_complete_text1%</text>
  9527.             </object>
  9528.  
  9529.             <object type="image">
  9530.                 <image resource="hider_ab_ex_advanced" />
  9531.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  9532.             </object>
  9533.  
  9534.             <object type="template" name="action_page_console" />
  9535.            
  9536.             <object type="button">
  9537.                 <highlight color="%highlight_color%" />
  9538.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  9539.                 <font resource="menu" color="%text_button%" />
  9540.                 <text></text>
  9541.                 <image resource="btn_raised_back" />
  9542.                 <actions>
  9543.                     <action function="set">tw_clear_destination=%tw_back%</action>
  9544.                     <action function="page">clear_vars</action>
  9545.                 </actions>
  9546.             </object>
  9547.            
  9548.             <object type="button">
  9549.                 <highlight color="%highlight_color%" />
  9550.                 <placement x="%btn_raised_right_x%" y="%row8_1_y%" placement="1" />
  9551.                 <font resource="menu" color="%text_button%" />
  9552.                 <text></text>
  9553.                 <image resource="btn_raised_rebootsystem_advanced" />
  9554.                 <actions>
  9555.                     <action function="set">tw_back=main2</action>
  9556.                     <action function="set">tw_action=reboot</action>
  9557.                     <action function="set">tw_action_param=system</action>
  9558.                     <action function="set">tw_has_action2=0</action>
  9559.                     <action function="set">tw_text1=No OS Installed!</action>
  9560.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  9561.                     <action function="set">tw_action_text1=Restarting...</action>
  9562.                     <action function="set">tw_complete_text1=Restarting...</action>
  9563.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  9564.                     <action function="page">rebootcheck</action>
  9565.                 </actions>
  9566.             </object>
  9567.  
  9568.             <object type="action">
  9569.                 <touch key="home" />
  9570.                 <actions>
  9571.                     <action function="set">tw_clear_destination=main2</action>
  9572.                     <action function="page">clear_vars</action>
  9573.                 </actions>
  9574.             </object>
  9575.  
  9576.             <object type="action">
  9577.                 <touch key="back" />
  9578.                 <actions>
  9579.                     <action function="page">advancedwipe</action>
  9580.                 </actions>
  9581.             </object>
  9582.         </page>
  9583.        
  9584.         <page name="partsdcard">
  9585.            
  9586.             <object type="template" name="body_advanced" />
  9587.            
  9588.             <object type="template" name="ab_advanced" />
  9589.            
  9590.             <object type="template" name="statusbarinfo" />
  9591.  
  9592.             <object type="button">
  9593.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9594.                 <font resource="body1" color="%text_button%" />
  9595.                 <text></text>
  9596.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9597.                 <action function="page">main</action>
  9598.             </object>
  9599.  
  9600.             <object type="image">
  9601.                 <image resource="bc_partsdcard" />
  9602.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9603.             </object>
  9604.            
  9605.             <object type="image">
  9606.                 <placement x="%col1_x%" y="%row1_1_y%" />
  9607.                 <image resource="icon_warning" />
  9608.             </object>
  9609.  
  9610.             <object type="text" color="%text_fail%">
  9611.                 <font resource="body2" />
  9612.                 <placement x="%col1_x_indent%" y="%row1_1_y%" />
  9613.                 <text>Partitioning will delete all files</text>
  9614.             </object>
  9615.  
  9616.             <object type="text" color="%text_fail%">
  9617.                 <font resource="body2" />
  9618.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  9619.                 <text>on your SD card!</text>
  9620.             </object>
  9621.  
  9622.             <object type="text" color="%text_fail%">
  9623.                 <font resource="body2" />
  9624.                 <placement x="%col1_x_indent%" y="%row2_1_y%" />
  9625.                 <text>This action cannot be undone!</text>
  9626.             </object>
  9627.  
  9628.             <object type="text" color="%text_dark%">
  9629.                 <font resource="caption" />
  9630.                 <placement x="%col1_x%" y="%row2_3_y%" />
  9631.                 <text>Size</text>
  9632.             </object>
  9633.  
  9634.             <object type="button">
  9635.                 <placement x="%btn_raised_left_x%" y="%row3_1_y%" />
  9636.                 <font resource="body1" color="%text_button%" />
  9637.                 <text></text>
  9638.                 <image resource="btn_flat_less" />
  9639.                 <highlight color="%highlight_color%" />
  9640.                 <action function="addsubtract">tw_sdext_size-128</action>
  9641.             </object>
  9642.  
  9643.             <object type="text" color="%text%">
  9644.                 <font resource="body2" />
  9645.                 <placement x="%center_x%" y="%row3_2_y%" placement="5" />
  9646.                 <text>EXT Size: %tw_sdext_size%</text>
  9647.             </object>
  9648.  
  9649.             <object type="button">
  9650.                 <placement x="%btn_raised_right_x%" y="%row3_1_y%" placement="1" />
  9651.                 <font resource="body1" color="%text_button%" />
  9652.                 <text></text>
  9653.                 <image resource="btn_flat_more" />
  9654.                 <highlight color="%highlight_color%" />
  9655.                 <action function="addsubtract">tw_sdext_size+128</action>
  9656.             </object>
  9657.  
  9658.             <object type="button">
  9659.                 <placement x="%btn_raised_left_x%" y="%row4_2_y%" />
  9660.                 <font resource="body1" color="%text_button%" />
  9661.                 <text></text>
  9662.                 <image resource="btn_flat_less" />
  9663.                 <highlight color="%highlight_color%" />
  9664.                 <action function="addsubtract">tw_swap_size-32</action>
  9665.             </object>
  9666.  
  9667.             <object type="text" color="%text%">
  9668.                 <font resource="body2" />
  9669.                 <placement x="%center_x%" y="%row4_3_y%" placement="5" />
  9670.                 <text>Swap Size: %tw_swap_size%</text>
  9671.             </object>
  9672.  
  9673.             <object type="button">
  9674.                 <placement x="%btn_raised_right_x%" y="%row4_2_y%" placement="1" />
  9675.                 <font resource="body1" color="%text_button%" />
  9676.                 <text></text>
  9677.                 <image resource="btn_flat_more" />
  9678.                 <highlight color="%highlight_color%" />
  9679.                 <action function="addsubtract">tw_swap_size+32</action>
  9680.             </object>
  9681.  
  9682.             <object type="text" color="%text_dark%">
  9683.                 <font resource="caption" />
  9684.                 <placement x="%col1_x%" y="%row5_3_y%" />
  9685.                 <text>File System</text>
  9686.             </object>
  9687.  
  9688.             <object type="button">
  9689.                 <placement x="%btn_raised_left_x%" y="%row6_1_y%" />
  9690.                 <font resource="body1" color="%text_button%" />
  9691.                 <text></text>
  9692.                 <image resource="btn_flat_ext3" />
  9693.                 <highlight color="%highlight_color%" />
  9694.                 <action function="set">tw_sdpart_file_system=ext3</action>
  9695.             </object>
  9696.  
  9697.             <object type="text" color="%text%">
  9698.                 <font resource="body2" />
  9699.                 <placement x="%center_x%" y="%row6_2_y%" placement="5" />
  9700.                 <text>File Sytem: %tw_sdpart_file_system%</text>
  9701.             </object>
  9702.  
  9703.             <object type="button">
  9704.                 <placement x="%btn_raised_right_x%" y="%row6_1_y%" placement="1" />
  9705.                 <font resource="body1" color="%text_button%" />
  9706.                 <text></text>
  9707.                 <image resource="btn_flat_ext4" />
  9708.                 <highlight color="%highlight_color%" />
  9709.                 <action function="set">tw_sdpart_file_system=ext4</action>
  9710.             </object>
  9711.  
  9712.             <object type="text" color="%text_dark%">
  9713.                 <font resource="caption" />
  9714.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  9715.                 <text>Swipe to partition SD</text>
  9716.             </object>
  9717.            
  9718.             <object type="slider">
  9719.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  9720.                 <resource base="slider" used="slider_used_advanced" touch="handle_h_advanced" />
  9721.                 <action function="page">partsdcardaction</action>
  9722.                 <actions>
  9723.                     <action function="set">tw_back=partsdcard</action>
  9724.                     <action function="set">tw_action=partitionsd</action>
  9725.                     <action function="set">tw_has_action2=1</action>
  9726.                     <action function="set">tw_action2=set</action>
  9727.                     <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
  9728.                     <action function="set">tw_action_text1=Partitioning SD Card...</action>
  9729.                     <action function="set">tw_action_text2=This will take a few minutes.</action>
  9730.                     <action function="set">tw_complete_text1=Fix Permissions complete</action>
  9731.                     <action function="page">advanced_action_page</action>
  9732.                 </actions>
  9733.             </object>
  9734.            
  9735.             <object type="action">
  9736.                 <touch key="home" />
  9737.                 <action function="page">main</action>
  9738.             </object>
  9739.  
  9740.             <object type="action">
  9741.                 <touch key="back" />
  9742.                 <action function="page">advanced</action>
  9743.             </object>
  9744.            
  9745.         </page>
  9746.        
  9747.         <page name="htcdumlock">
  9748.            
  9749.             <object type="template" name="body_advanced" />
  9750.            
  9751.             <object type="template" name="ab_advanced" />
  9752.            
  9753.             <object type="template" name="statusbarinfo" />
  9754.  
  9755.             <object type="button">
  9756.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9757.                 <font resource="body1" color="%text_button%" />
  9758.                 <text></text>
  9759.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9760.                 <action function="page">main</action>
  9761.             </object>
  9762.  
  9763.             <object type="image">
  9764.                 <image resource="bc_dumlock" />
  9765.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9766.             </object>
  9767.            
  9768.             <object type="image">
  9769.                 <placement x="%col1_x%" y="%row1_1_y%" />
  9770.                 <image resource="icon_info" />
  9771.             </object>
  9772.  
  9773.             <object type="text" color="%text_highlight_advanced%">
  9774.                 <font resource="body2" />
  9775.                 <placement x="%col1_x_indent%" y="%row1_1_y%" />
  9776.                 <text>For information about the workings</text>
  9777.             </object>
  9778.  
  9779.             <object type="text" color="%text_highlight_advanced%">
  9780.                 <font resource="body2" />
  9781.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  9782.                 <text>of HTC Dumlock please see:</text>
  9783.             </object>
  9784.  
  9785.             <object type="text" color="%text%">
  9786.                 <font resource="body2" />
  9787.                 <placement x="%col1_x_indent%" y="%row2_1_y%" />
  9788.                 <text>http://teamw.in/project/htcdumlock</text>
  9789.             </object>
  9790.            
  9791.             <object type="button">
  9792.                 <highlight color="%highlight_color%" />
  9793.                 <placement x="%btn_raised_left_x%" y="%row6_1_y%" />
  9794.                 <font resource="menu" color="%text_button%" />
  9795.                 <text></text>
  9796.                 <image resource="btn_flat_restoreboot" />
  9797.                 <actions>
  9798.                     <action function="set">tw_back=htcdumlock</action>
  9799.                     <action function="set">tw_action=htcdumlockrestoreboot</action>
  9800.                     <action function="set">tw_text1=Restore original boot image</action>
  9801.                     <action function="set">tw_action_text1=Restoring original Boot...</action>
  9802.                     <action function="set">tw_complete_text1=Restore original Boot complete</action>
  9803.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9804.                     <action function="page">advanced_confirm_action</action>
  9805.                 </actions>
  9806.             </object>
  9807.            
  9808.             <object type="button">
  9809.                 <highlight color="%highlight_color%" />
  9810.                 <placement x="%btn_raised_left_x%" y="%row7_1_y%" />
  9811.                 <font resource="menu" color="%text_button%" />
  9812.                 <text></text>
  9813.                 <image resource="btn_flat_reflashrecovery" />
  9814.                 <actions>
  9815.                     <action function="set">tw_back=htcdumlock</action>
  9816.                     <action function="set">tw_action=htcdumlockreflashrecovery</action>
  9817.                     <action function="set">tw_text1=Reflash recovery to boot</action>
  9818.                     <action function="set">tw_action_text1=Flashing recovery to boot...</action>
  9819.                     <action function="set">tw_complete_text1=Recovery flash to Boot complete</action>
  9820.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9821.                     <action function="page">advanced_confirm_action</action>
  9822.                 </actions>
  9823.             </object>
  9824.            
  9825.             <object type="button">
  9826.                 <highlight color="%highlight_color%" />
  9827.                 <placement x="%btn_raised_left_x%" y="%row8_1_y%" />
  9828.                 <font resource="menu" color="%text_button%" />
  9829.                 <text></text>
  9830.                 <image resource="btn_flat_installdumlock" />
  9831.                 <actions>
  9832.                     <action function="set">tw_back=htcdumlock</action>
  9833.                     <action function="set">tw_action=installhtcdumlock</action>
  9834.                     <action function="set">tw_text1=Install HTC Dumlock files</action>
  9835.                     <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
  9836.                     <action function="set">tw_complete_text1=HTC Dumlock install complete</action>
  9837.                     <action function="set">tw_slider_text=Swipe to Confirm</action>
  9838.                     <action function="page">advanced_confirm_action</action>
  9839.                 </actions>
  9840.             </object>
  9841.            
  9842.             <object type="action">
  9843.                 <touch key="home" />
  9844.                 <action function="page">main</action>
  9845.             </object>
  9846.  
  9847.             <object type="action">
  9848.                 <touch key="back" />
  9849.                 <action function="page">advanced</action>
  9850.             </object>
  9851.            
  9852.         </page>
  9853.        
  9854.         <page name="terminalfolder">
  9855.            
  9856.             <object type="template" name="body_advanced" />
  9857.            
  9858.             <object type="fileselector">
  9859.                 <placement x="%col1_x%" y="%row_ab_ex_list_y%" w="%fileselector_width%" h="%fileselector_terminal_height%" />
  9860.                 <fastscroll rectcolor="%text_highlight_advanced%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
  9861.                 <separator color="%linecolor%" height="%fileselector_separatorheight%" />
  9862.                 <sort name="tw_gui_sort_order" />
  9863.                 <icon folder="folder_icon" file="file_icon" />
  9864.                 <background color="%background%" />
  9865.                 <font resource="body1" spacing="%fileselector_spacing%" color="%text%" highlightcolor="%highlight_advanced%" />
  9866.                 <filter folders="1" files="0" />
  9867.                 <path name="tw_terminal_location" default="/" />
  9868.                 <data name="tw_terminal" />
  9869.                 <selection name="tw_terminal_selection" />
  9870.             </object>
  9871.            
  9872.             <object type="template" name="ab_ex_advanced" />
  9873.            
  9874.             <object type="template" name="statusbarinfo" />
  9875.            
  9876.             <object type="button">
  9877.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9878.                 <font resource="body1" color="%text_button%" />
  9879.                 <text></text>
  9880.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9881.                 <action function="page">main</action>
  9882.             </object>
  9883.  
  9884.             <object type="image">
  9885.                 <image resource="bc_terminal" />
  9886.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9887.             </object>
  9888.            
  9889.             <object type="text" color="%text_actionbar_advanced%">
  9890.                 <font resource="title" />
  9891.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  9892.                 <text>Select Start Folder</text>
  9893.             </object>
  9894.            
  9895.             <object type="text" color="%text_actionbar_advanced%">
  9896.                 <font resource="body1" />
  9897.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  9898.                 <text>%tw_terminal_location%</text>
  9899.             </object>
  9900.            
  9901.             <object type="image">
  9902.                 <image resource="hider_ab_ex_advanced" />
  9903.                 <placement x="%screen_w%" y="%row0_y%" placement="1" />
  9904.             </object>
  9905.            
  9906.             <object type="button">
  9907.                 <placement x="%btn_float_x%" y="%row7_3_y%" />
  9908.                 <font resource="body1" color="%text_button%" />
  9909.                 <text></text>
  9910.                 <image resource="btn_float_accept_advanced" />
  9911.                 <highlight color="%highlight_color%" />
  9912.                 <action function="page">terminalcommand</action>
  9913.             </object>
  9914.  
  9915.             <object type="action">
  9916.                 <touch key="home" />
  9917.                 <action function="page">main</action>
  9918.             </object>
  9919.  
  9920.             <object type="action">
  9921.                 <touch key="back" />
  9922.                 <action function="page">advanced</action>
  9923.             </object>
  9924.            
  9925.         </page>
  9926.        
  9927.         <page name="terminalcommand">
  9928.            
  9929.             <object type="template" name="body_advanced" />
  9930.            
  9931.             <object type="template" name="ab_ex_advanced" />
  9932.            
  9933.             <object type="template" name="statusbarinfo" />
  9934.  
  9935.             <object type="button">
  9936.                 <placement x="%ab_back_x%" y="%ab_y%" />
  9937.                 <font resource="body1" color="%text_button%" />
  9938.                 <text></text>
  9939.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  9940.                 <action function="page">main</action>
  9941.             </object>
  9942.  
  9943.             <object type="image">
  9944.                 <image resource="bc_terminal" />
  9945.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  9946.             </object>
  9947.            
  9948.             <object type="button">
  9949.                 <condition var1="tw_terminal_state" var2="1" />
  9950.                 <placement x="%ab_btn1_x%" y="%ab_y%" />
  9951.                 <font resource="body1" color="%text_button%" />
  9952.                 <text></text>
  9953.                 <image resource="actionbar_close" highlightresource="actionbar_close_hl" />
  9954.                 <action function="killterminal"></action>
  9955.             </object>
  9956.            
  9957.             <object type="text" color="%text_actionbar%">
  9958.                 <font resource="title" />
  9959.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  9960.                 <text>Starting Path</text>
  9961.             </object>
  9962.            
  9963.             <object type="text" color="%text_actionbar%">
  9964.                 <font resource="body1" />
  9965.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  9966.                 <text>%tw_terminal_location%</text>
  9967.             </object>
  9968.  
  9969.             <object type="image">
  9970.                 <image resource="divider" />
  9971.                 <placement x="%center_x%" y="%row2_1_y%" placement="4" />
  9972.             </object>
  9973.            
  9974.             <object type="console">
  9975.                 <placement x="%col1_x%" y="%row2_1_y%" w="%console_width%" h="%console_t_height%" />
  9976.                 <color foreground="%console_foreground%" background="%background%" scroll="%background%" />
  9977.                 <font resource="fixed" />
  9978.             </object>
  9979.  
  9980.             <object type="image">
  9981.                 <image resource="divider" />
  9982.                 <placement x="%center_x%" y="%row4_3_y%" placement="4" />
  9983.             </object>
  9984.            
  9985.             <object type="input">
  9986.                 <placement x="%col1_x%" y="%input_terminal_y%" w="%input_width%" h="%input_height%" />
  9987.                 <background color="%background%" />
  9988.                 <cursor color="%text_highlight_advanced%" hasfocus="1" width="%input_cursor_width%" />
  9989.                 <font resource="body2" color="%text%" />
  9990.                 <text>%tw_terminal_command%</text>
  9991.                 <data name="tw_terminal_command" />
  9992.                 <restrict minlen="1" />
  9993.                 <action function="terminalcommand">%tw_terminal_command%</action>
  9994.             </object>
  9995.            
  9996.             <object type="image">
  9997.                 <image resource="input_line_advanced" />
  9998.                 <placement x="%col1_x%" y="%row5_1a_y%" />
  9999.             </object>
  10000.            
  10001.             <object type="template" name="keyboardtemplate" />
  10002.            
  10003.             <object type="action">
  10004.                 <touch key="home" />
  10005.                 <action function="page">main</action>
  10006.             </object>
  10007.  
  10008.             <object type="action">
  10009.                 <touch key="back" />
  10010.                 <action function="page">terminalfolder</action>
  10011.             </object>
  10012.            
  10013.         </page>
  10014.        
  10015.         <page name="sideload">
  10016.             <object type="template" name="body_advanced" />
  10017.            
  10018.             <object type="template" name="ab_ex_advanced" />
  10019.            
  10020.             <object type="template" name="statusbarinfo" />
  10021.  
  10022.             <object type="button">
  10023.                 <placement x="%ab_back_x%" y="%ab_y%" />
  10024.                 <font resource="body1" color="%text_button%" />
  10025.                 <text></text>
  10026.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  10027.                 <action function="page">main</action>
  10028.             </object>
  10029.            
  10030.             <object type="image">
  10031.                 <image resource="bc_sideload" />
  10032.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  10033.             </object>
  10034.            
  10035.             <object type="text" color="%text_actionbar_advanced%">
  10036.                 <font resource="title" />
  10037.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  10038.                 <text>Sideload Options</text>
  10039.             </object>
  10040.  
  10041.             <object type="text" color="%text_dark%">
  10042.                 <font resource="caption" />
  10043.                 <placement x="%col1_x%" y="%row2_2_y%" />
  10044.                 <text>Options</text>
  10045.             </object>
  10046.            
  10047.             <object type="checkbox">
  10048.                 <placement x="%col1_x%" y="%row2_3_y%" />
  10049.                 <font resource="body2" color="%text%" />
  10050.                 <text>Wipe Dalvik Cache</text>
  10051.                 <data variable="tw_wipe_dalvik" />
  10052.                 <image checked="checkbox_true_advanced" unchecked="checkbox_false" />
  10053.             </object>
  10054.  
  10055.             <object type="checkbox">
  10056.                 <placement x="%col1_x%" y="%row3_1a_y%" />
  10057.                 <font resource="body2" color="%text%" />
  10058.                 <text>Wipe Cache</text>
  10059.                 <data variable="tw_wipe_cache" />
  10060.                 <image checked="checkbox_true_advanced" unchecked="checkbox_false" />
  10061.             </object>
  10062.  
  10063.             <object type="text" color="%text_dark%">
  10064.                 <font resource="caption" />
  10065.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  10066.                 <text>Swipe to start Sideload</text>
  10067.             </object>
  10068.            
  10069.             <object type="slider">
  10070.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  10071.                 <resource base="slider" used="slider_used_advanced" touch="handle_h_advanced" />
  10072.                 <actions>
  10073.                     <action function="set">tw_back=advanced</action>
  10074.                     <action function="set">tw_action=adbsideload</action>
  10075.                     <action function="set">tw_action_text1=ADB Sideload</action>
  10076.                     <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
  10077.                     <action function="set">tw_complete_text1=ADB Sideload complete</action>
  10078.                     <action function="set">tw_has_cancel=1</action>
  10079.                     <action function="set">tw_show_reboot=1</action>
  10080.                     <action function="set">tw_cancel_action=adbsideloadcancel</action>
  10081.                     <action function="page">advanced_action_page</action>
  10082.                 </actions>
  10083.             </object>
  10084.  
  10085.             <object type="action">
  10086.                 <touch key="home" />
  10087.                 <action function="page">main</action>
  10088.             </object>
  10089.  
  10090.             <object type="action">
  10091.                 <touch key="back" />
  10092.                 <action function="page">advanced</action>
  10093.             </object>
  10094.            
  10095.         </page>
  10096.        
  10097.         <page name="installsu">
  10098.             <object type="template" name="body_advanced" />
  10099.            
  10100.             <object type="template" name="ab_ex_advanced" />
  10101.            
  10102.             <object type="template" name="statusbarinfo" />
  10103.  
  10104.             <object type="button">
  10105.                 <placement x="%ab_back_x%" y="%ab_y%" />
  10106.                 <font resource="body1" color="%text_button%" />
  10107.                 <text></text>
  10108.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  10109.                 <action function="page">main</action>
  10110.             </object>
  10111.            
  10112.             <object type="image">
  10113.                 <image resource="bc_installsu" />
  10114.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  10115.             </object>
  10116.            
  10117.             <object type="text" color="%text_actionbar_advanced%">
  10118.                 <font resource="title" />
  10119.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  10120.                 <text>Root the Device</text>
  10121.             </object>
  10122.            
  10123.             <object type="image">
  10124.                 <placement x="%col1_x%" y="%row2_3_y%" />
  10125.                 <image resource="icon_info" />
  10126.             </object>
  10127.  
  10128.             <object type="text" color="%text_highlight_advanced%">
  10129.                 <font resource="body2" />
  10130.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  10131.                 <text>Your device does not appear</text>
  10132.             </object>
  10133.  
  10134.             <object type="text" color="%text_highlight_advanced%">
  10135.                 <font resource="body2" />
  10136.                 <placement x="%col1_x_indent%" y="%row3_1_y%" />
  10137.                 <text>to be rooted. Install SuperSU now?</text>
  10138.             </object>
  10139.  
  10140.             <object type="text" color="%text%">
  10141.                 <font resource="body2" />
  10142.                 <placement x="%col1_x_indent%" y="%row3_3_y%" />
  10143.                 <text>This will root your device.</text>
  10144.             </object>
  10145.            
  10146.             <object type="button">
  10147.                 <highlight color="%highlight_color%" />
  10148.                 <placement x="%btn_raised_right_x%" y="%row6_3_y%" placement="1" />
  10149.                 <font resource="menu" color="%text_button%" />
  10150.                 <text></text>
  10151.                 <image resource="btn_raised_noinstall" />
  10152.                 <action function="set">tw_page_done=1</action>
  10153.             </object>
  10154.  
  10155.             <object type="text" color="%text_dark%">
  10156.                 <font resource="caption" />
  10157.                 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
  10158.                 <text>Swipe to Install</text>
  10159.             </object>
  10160.            
  10161.             <object type="slider">
  10162.                 <placement x="%slider_x%" y="%slider_y%" placement="5" />
  10163.                 <resource base="slider" used="slider_used_advanced" touch="handle_h_advanced" />
  10164.                 <actions>
  10165.                     <action function="set">tw_action=installsu</action>
  10166.                     <action function="set">tw_action_text1=Installing SuperSU</action>
  10167.                     <action function="set">tw_action_text2=</action>
  10168.                     <action function="page">singleaction_page</action>
  10169.                 </actions>
  10170.             </object>
  10171.         </page>
  10172.        
  10173.         <page name="lock">
  10174.        
  10175.             <background color="%darktransparent%" />
  10176.            
  10177.             <object type="slider">
  10178.                 <placement x="0" y="0" placement="5" />
  10179.                 <resource base="slider_lock" used="slider_lock_used" touch="slider_lock_handle" />
  10180.                 <action function="overlay"></action>
  10181.             </object>
  10182.  
  10183.         </page>
  10184.        
  10185.         <page name="about">
  10186.            
  10187.             <object type="template" name="body" />
  10188.            
  10189.             <object type="template" name="ab_ex" />
  10190.            
  10191.             <object type="template" name="statusbarinfo" />
  10192.  
  10193.             <object type="button">
  10194.                 <placement x="%ab_back_x%" y="%ab_y%" />
  10195.                 <font resource="body1" color="%text_button%" />
  10196.                 <text></text>
  10197.                 <image resource="actionbar_back" highlightresource="actionbar_back_hl" />
  10198.                 <action function="page">main</action>
  10199.             </object>
  10200.  
  10201.             <object type="image">
  10202.                 <image resource="bc_about" />
  10203.                 <placement x="%ab_bc_x%" y="%ab_y%" />
  10204.             </object>
  10205.            
  10206.             <object type="text" color="%text_actionbar%">
  10207.                 <font resource="title" />
  10208.                 <placement x="%col1_x_indent%" y="%row1_2_y%" placement="2" />
  10209.                 <text>TWRP Materialised</text>
  10210.             </object>
  10211.            
  10212.             <object type="text" color="%text_actionbar%">
  10213.                 <font resource="body1" />
  10214.                 <placement x="%col1_x_indent%" y="%row1_2_y%" />
  10215.                 <text>Recovery gone App</text>
  10216.             </object>
  10217.            
  10218.             <object type="image">
  10219.                 <placement x="%col1_x%" y="%row2_2_y%" />
  10220.                 <image resource="icon_person" />
  10221.             </object>
  10222.            
  10223.             <object type="text" color="%text_dark%">
  10224.                 <font resource="caption" />
  10225.                 <placement x="%col1_x_indent%" y="%row2_2_y%" />
  10226.                 <text>Author</text>
  10227.             </object>
  10228.            
  10229.             <object type="text" color="%text%">
  10230.                 <font resource="body2" />
  10231.                 <placement x="%col1_x_indent%" y="%row2_3_y%" />
  10232.                 <text>z31s1g</text>
  10233.             </object>
  10234.            
  10235.             <object type="image">
  10236.                 <placement x="%col1_x%" y="%row3_2_y%" />
  10237.                 <image resource="icon_mail" />
  10238.             </object>
  10239.            
  10240.             <object type="text" color="%text_dark%">
  10241.                 <font resource="caption" />
  10242.                 <placement x="%col1_x_indent%" y="%row3_2_y%" />
  10243.                 <text>Contact</text>
  10244.             </object>
  10245.            
  10246.             <object type="text" color="%text%">
  10247.                 <font resource="body2" />
  10248.                 <placement x="%col1_x_indent%" y="%row3_3_y%" />
  10249.                 <text>forum.xda-developers.com</text>
  10250.             </object>
  10251.            
  10252.             <object type="image">
  10253.                 <placement x="%col1_x%" y="%row4_2_y%" />
  10254.                 <image resource="icon_cake" />
  10255.             </object>
  10256.            
  10257.             <object type="text" color="%text_dark%">
  10258.                 <font resource="caption" />
  10259.                 <placement x="%col1_x_indent%" y="%row4_2_y%" />
  10260.                 <text>Credits</text>
  10261.             </object>
  10262.            
  10263.             <object type="text" color="%text%">
  10264.                 <font resource="body2" />
  10265.                 <placement x="%col1_x_indent%" y="%row4_3_y%" />
  10266.                 <text>to "Tasssadar" for always being helpful</text>
  10267.             </object>
  10268.            
  10269.             <object type="text" color="%text%">
  10270.                 <font resource="body2" />
  10271.                 <placement x="%col1_x_indent%" y="%row5_1a_y%" />
  10272.                 <text>to "osm0sis" for the Flashify script</text>
  10273.             </object>
  10274.            
  10275.             <object type="text" color="%text%">
  10276.                 <font resource="body2" />
  10277.                 <placement x="%col1_x_indent%" y="%row5_3_y%" />
  10278.                 <text>to "DSM_" for the zip binary</text>
  10279.             </object>
  10280.  
  10281.             <object type="action">
  10282.                 <touch key="home" />
  10283.                 <action function="page">main</action>
  10284.             </object>
  10285.  
  10286.             <object type="action">
  10287.                 <touch key="back" />
  10288.                 <action function="page">main</action>
  10289.             </object>
  10290.            
  10291.             <object type="button">
  10292.                 <placement x="%btn_float_x%" y="%row7_3_y%" />
  10293.                 <font resource="body1" color="%text_button%" />
  10294.                 <text></text>
  10295.                 <image resource="btn_float_accept" />
  10296.                 <highlight color="%highlight_color%" />
  10297.                 <action function="page">main</action>
  10298.             </object>
  10299.            
  10300.         </page>
  10301.        
  10302.         <page name="console">
  10303.             <background color="%transparent%" />
  10304.  
  10305.             <object type="button">
  10306.                 <fill color="%lightransparent%" />
  10307.                 <placement x="0" y="0" w="%screen_w%" h="%screen_h%" />
  10308.                 <font resource="font" color="%text_button%" />
  10309.                 <text></text>
  10310.                 <action function="overlay"></action>
  10311.             </object>
  10312.  
  10313.             <object type="image">
  10314.                 <image resource="bs_bg" />
  10315.                 <placement x="0" y="%row_bs_console_y%" />
  10316.             </object>
  10317.  
  10318.             <object type="image">
  10319.                 <image resource="divider" />
  10320.                 <placement x="%center_x%" y="%row3_1_y%" placement="4" />
  10321.             </object>
  10322.            
  10323.             <object type="console">
  10324.                 <placement x="%col1_x%" y="%row3_1_y%" w="%console_width%" h="%console_height%" />
  10325.                 <color foreground="%console_foreground%" background="%background%" scroll="%background%" />
  10326.                 <font resource="fixed" />
  10327.             </object>
  10328.  
  10329.             <object type="image">
  10330.                 <image resource="divider" />
  10331.                 <placement x="%center_x%" y="%row9_1_y%" placement="4" />
  10332.             </object>
  10333.            
  10334.             <object type="button">
  10335.                 <placement x="%home_button_x%" y="%row_nav_y%" />
  10336.                 <font resource="body1" color="%text_button%" />
  10337.                 <text></text>
  10338.                 <image resource="home" highlightresource="home_hl" />
  10339.                 <actions>
  10340.                     <action function="overlay"></action>
  10341.                     <action function="key">home</action>
  10342.                 </actions>
  10343.             </object>
  10344.  
  10345.             <object type="button">
  10346.                 <condition var1="navbar_sams" var2="0" />
  10347.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  10348.                 <font resource="body1" color="%text_button%" />
  10349.                 <text></text>
  10350.                 <image resource="back" highlightresource="back_hl" />
  10351.                 <action function="overlay"></action>
  10352.             </object>
  10353.  
  10354.             <object type="button">
  10355.                 <condition var1="navbar_sams" var2="1" />
  10356.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  10357.                 <font resource="body1" color="%text_button%" />
  10358.                 <text></text>
  10359.                 <image resource="back" highlightresource="back_hl" />
  10360.                 <action function="overlay"></action>
  10361.             </object>
  10362.            
  10363.             <object type="button">
  10364.                 <condition var1="navbar_sams" var2="0" />
  10365.                 <placement x="%slideout_button_x%" y="%row_nav_y%" />
  10366.                 <font resource="body1" color="%text_button%" />
  10367.                 <text></text>
  10368.                 <image resource="slideout" highlightresource="slideout_hl" />
  10369.                 <action function="overlay"></action>
  10370.             </object>
  10371.            
  10372.             <object type="button">
  10373.                 <condition var1="navbar_sams" var2="1" />
  10374.                 <placement x="%back_button_x%" y="%row_nav_y%" />
  10375.                 <font resource="body1" color="%text_button%" />
  10376.                 <text></text>
  10377.                 <image resource="slideout" highlightresource="slideout_hl" />
  10378.                 <action function="overlay"></action>
  10379.             </object>
  10380.            
  10381.             <object type="action">
  10382.                 <touch key="power+voldown" />
  10383.                 <action function="screenshot"/>
  10384.             </object>
  10385.  
  10386.         </page>
  10387.        
  10388.         <page name="menu_install">
  10389.             <background color="%transparent%" />
  10390.  
  10391.             <object type="button">
  10392.                 <fill color="%transparent%" />
  10393.                 <placement x="0" y="0" w="%screen_w%" h="%screen_h%" />
  10394.                 <font resource="menu" color="%text_button%" />
  10395.                 <text></text>
  10396.                 <action function="overlay"></action>
  10397.             </object>
  10398.            
  10399.             <object type="image">
  10400.                 <placement x="%ab_bc_x%" y="%ab_menu_y%" />
  10401.                 <image resource="menu_install" />
  10402.             </object>
  10403.            
  10404.             <object type="button">
  10405.                 <condition var1="%tw_back%" op="=" var2="install" />
  10406.                 <highlight color="%highlight_color%" />
  10407.                 <placement x="%ab_menu_inst_x%" y="%ab_menu_inst_1_y%" />
  10408.                 <font resource="menu" color="%text_button%" />
  10409.                 <text></text>
  10410.                 <image resource="btn_menu_zip_sel" />
  10411.                 <actions>
  10412.                     <action function="page">install</action>
  10413.                     <action function="overlay"></action>
  10414.                 </actions>
  10415.             </object>
  10416.            
  10417.             <object type="button">
  10418.                 <condition var1="%tw_back%" op="!=" var2="install" />
  10419.                 <highlight color="%highlight_color%" />
  10420.                 <placement x="%ab_menu_inst_x%" y="%ab_menu_inst_1_y%" />
  10421.                 <font resource="menu" color="%text_button%" />
  10422.                 <text></text>
  10423.                 <image resource="btn_menu_zip" />
  10424.                 <actions>
  10425.                     <action function="page">install</action>
  10426.                     <action function="overlay"></action>
  10427.                 </actions>
  10428.             </object>
  10429.            
  10430.             <object type="button">
  10431.                 <condition var1="%tw_back%" op="=" var2="install_image" />
  10432.                 <highlight color="%highlight_color%" />
  10433.                 <placement x="%ab_menu_inst_x%" y="%ab_menu_inst_2_y%" />
  10434.                 <font resource="menu" color="%text_button%" />
  10435.                 <text></text>
  10436.                 <image resource="btn_menu_img_sel" />
  10437.                 <actions>
  10438.                     <action function="page">install_image</action>
  10439.                     <action function="overlay"></action>
  10440.                 </actions>
  10441.             </object>
  10442.            
  10443.             <object type="button">
  10444.                 <condition var1="%tw_back%" op="!=" var2="install_image" />
  10445.                 <highlight color="%highlight_color%" />
  10446.                 <placement x="%ab_menu_inst_x%" y="%ab_menu_inst_2_y%" />
  10447.                 <font resource="menu" color="%text_button%" />
  10448.                 <text></text>
  10449.                 <image resource="btn_menu_img" />
  10450.                 <actions>
  10451.                     <action function="page">install_image</action>
  10452.                     <action function="overlay"></action>
  10453.                 </actions>
  10454.             </object>
  10455.            
  10456.             <object type="action">
  10457.                 <touch key="power+voldown" />
  10458.                 <action function="screenshot"/>
  10459.             </object>
  10460.         </page>
  10461.        
  10462.         <page name="menu_sort_install">
  10463.             <background color="%transparent%" />
  10464.  
  10465.             <object type="button">
  10466.                 <fill color="%transparent%" />
  10467.                 <placement x="0" y="0" w="%screen_w%" h="%screen_h%" />
  10468.                 <font resource="menu" color="%text_button%" />
  10469.                 <text></text>
  10470.                 <action function="overlay"></action>
  10471.             </object>
  10472.            
  10473.             <object type="image">
  10474.                 <placement x="%ab_btn1_x%" y="%ab_menu_y%" placement="1" />
  10475.                 <image resource="menu_sort" />
  10476.             </object>
  10477.            
  10478.             <object type="button">
  10479.                 <condition var1="tw_gui_sort_order" op="=" var2="1" />
  10480.                 <highlight color="%highlight_color%" />
  10481.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_1_y%" placement="1" />
  10482.                 <font resource="menu" color="%text_button%" />
  10483.                 <text></text>
  10484.                 <image resource="btn_menu_name_a_sel_install" />
  10485.                 <actions>
  10486.                     <action function="set">tw_gui_sort_order=1</action>
  10487.                     <action function="overlay"></action>
  10488.                 </actions>
  10489.             </object>
  10490.            
  10491.             <object type="button">
  10492.                 <condition var1="tw_gui_sort_order" op="!=" var2="1" />
  10493.                 <highlight color="%highlight_color%" />
  10494.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_1_y%" placement="1" />
  10495.                 <font resource="menu" color="%text_button%" />
  10496.                 <text></text>
  10497.                 <image resource="btn_menu_name_a" />
  10498.                 <actions>
  10499.                     <action function="set">tw_gui_sort_order=1</action>
  10500.                     <action function="overlay"></action>
  10501.                 </actions>
  10502.             </object>
  10503.            
  10504.             <object type="button">
  10505.                 <condition var1="tw_gui_sort_order" op="=" var2="-1" />
  10506.                 <highlight color="%highlight_color%" />
  10507.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_2_y%" placement="1" />
  10508.                 <font resource="menu" color="%text_button%" />
  10509.                 <text></text>
  10510.                 <image resource="btn_menu_name_d_sel_install" />
  10511.                 <actions>
  10512.                     <action function="set">tw_gui_sort_order=-1</action>
  10513.                     <action function="overlay"></action>
  10514.                 </actions>
  10515.             </object>
  10516.            
  10517.             <object type="button">
  10518.                 <condition var1="tw_gui_sort_order" op="!=" var2="-1" />
  10519.                 <highlight color="%highlight_color%" />
  10520.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_2_y%" placement="1" />
  10521.                 <font resource="menu" color="%text_button%" />
  10522.                 <text></text>
  10523.                 <image resource="btn_menu_name_d" />
  10524.                 <actions>
  10525.                     <action function="set">tw_gui_sort_order=-1</action>
  10526.                     <action function="overlay"></action>
  10527.                 </actions>
  10528.             </object>
  10529.            
  10530.             <object type="button">
  10531.                 <condition var1="tw_gui_sort_order" op="=" var2="2" />
  10532.                 <highlight color="%highlight_color%" />
  10533.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_3_y%" placement="1" />
  10534.                 <font resource="menu" color="%text_button%" />
  10535.                 <text></text>
  10536.                 <image resource="btn_menu_date_a_sel_install" />
  10537.                 <actions>
  10538.                     <action function="set">tw_gui_sort_order=2</action>
  10539.                     <action function="overlay"></action>
  10540.                 </actions>
  10541.             </object>
  10542.            
  10543.             <object type="button">
  10544.                 <condition var1="tw_gui_sort_order" op="!=" var2="2" />
  10545.                 <highlight color="%highlight_color%" />
  10546.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_3_y%" placement="1" />
  10547.                 <font resource="menu" color="%text_button%" />
  10548.                 <text></text>
  10549.                 <image resource="btn_menu_date_a" />
  10550.                 <actions>
  10551.                     <action function="set">tw_gui_sort_order=2</action>
  10552.                     <action function="overlay"></action>
  10553.                 </actions>
  10554.             </object>
  10555.            
  10556.             <object type="button">
  10557.                 <condition var1="tw_gui_sort_order" op="=" var2="-2" />
  10558.                 <highlight color="%highlight_color%" />
  10559.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_4_y%" placement="1" />
  10560.                 <font resource="menu" color="%text_button%" />
  10561.                 <text></text>
  10562.                 <image resource="btn_menu_date_d_sel_install" />
  10563.                 <actions>
  10564.                     <action function="set">tw_gui_sort_order=-2</action>
  10565.                     <action function="overlay"></action>
  10566.                 </actions>
  10567.             </object>
  10568.            
  10569.             <object type="button">
  10570.                 <condition var1="tw_gui_sort_order" op="!=" var2="-2" />
  10571.                 <highlight color="%highlight_color%" />
  10572.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_4_y%" placement="1" />
  10573.                 <font resource="menu" color="%text_button%" />
  10574.                 <text></text>
  10575.                 <image resource="btn_menu_date_d" />
  10576.                 <actions>
  10577.                     <action function="set">tw_gui_sort_order=-2</action>
  10578.                     <action function="overlay"></action>
  10579.                 </actions>
  10580.             </object>
  10581.            
  10582.             <object type="button">
  10583.                 <condition var1="tw_gui_sort_order" op="=" var2="3" />
  10584.                 <highlight color="%highlight_color%" />
  10585.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_5_y%" placement="1" />
  10586.                 <font resource="menu" color="%text_button%" />
  10587.                 <text></text>
  10588.                 <image resource="btn_menu_size_a_sel_install" />
  10589.                 <actions>
  10590.                     <action function="set">tw_gui_sort_order=3</action>
  10591.                     <action function="overlay"></action>
  10592.                 </actions>
  10593.             </object>
  10594.            
  10595.             <object type="button">
  10596.                 <condition var1="tw_gui_sort_order" op="!=" var2="3" />
  10597.                 <highlight color="%highlight_color%" />
  10598.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_5_y%" placement="1" />
  10599.                 <font resource="menu" color="%text_button%" />
  10600.                 <text></text>
  10601.                 <image resource="btn_menu_size_a" />
  10602.                 <actions>
  10603.                     <action function="set">tw_gui_sort_order=3</action>
  10604.                     <action function="overlay"></action>
  10605.                 </actions>
  10606.             </object>
  10607.            
  10608.             <object type="button">
  10609.                 <condition var1="tw_gui_sort_order" op="=" var2="-3" />
  10610.                 <highlight color="%highlight_color%" />
  10611.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_6_y%" placement="1" />
  10612.                 <font resource="menu" color="%text_button%" />
  10613.                 <text></text>
  10614.                 <image resource="btn_menu_size_d_sel_install" />
  10615.                 <actions>
  10616.                     <action function="set">tw_gui_sort_order=-3</action>
  10617.                     <action function="overlay"></action>
  10618.                 </actions>
  10619.             </object>
  10620.            
  10621.             <object type="button">
  10622.                 <condition var1="tw_gui_sort_order" op="!=" var2="-3" />
  10623.                 <highlight color="%highlight_color%" />
  10624.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_6_y%" placement="1" />
  10625.                 <font resource="menu" color="%text_button%" />
  10626.                 <text></text>
  10627.                 <image resource="btn_menu_size_d" />
  10628.                 <actions>
  10629.                     <action function="set">tw_gui_sort_order=-3</action>
  10630.                     <action function="overlay"></action>
  10631.                 </actions>
  10632.             </object>
  10633.            
  10634.             <object type="action">
  10635.                 <touch key="power+voldown" />
  10636.                 <action function="screenshot"/>
  10637.             </object>
  10638.         </page>
  10639.        
  10640.         <page name="menu_sort_restore">
  10641.             <background color="%transparent%" />
  10642.  
  10643.             <object type="button">
  10644.                 <fill color="%transparent%" />
  10645.                 <placement x="0" y="0" w="%screen_w%" h="%screen_h%" />
  10646.                 <font resource="menu" color="%text_button%" />
  10647.                 <text></text>
  10648.                 <action function="overlay"></action>
  10649.             </object>
  10650.            
  10651.             <object type="image">
  10652.                 <placement x="%ab_btn1_x%" y="%ab_menu_y%" placement="1" />
  10653.                 <image resource="menu_sort" />
  10654.             </object>
  10655.            
  10656.             <object type="button">
  10657.                 <condition var1="tw_gui_sort_order" op="=" var2="1" />
  10658.                 <highlight color="%highlight_color%" />
  10659.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_1_y%" placement="1" />
  10660.                 <font resource="menu" color="%text_button%" />
  10661.                 <text></text>
  10662.                 <image resource="btn_menu_name_a_sel_restore" />
  10663.                 <actions>
  10664.                     <action function="set">tw_gui_sort_order=1</action>
  10665.                     <action function="overlay"></action>
  10666.                 </actions>
  10667.             </object>
  10668.            
  10669.             <object type="button">
  10670.                 <condition var1="tw_gui_sort_order" op="!=" var2="1" />
  10671.                 <highlight color="%highlight_color%" />
  10672.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_1_y%" placement="1" />
  10673.                 <font resource="menu" color="%text_button%" />
  10674.                 <text></text>
  10675.                 <image resource="btn_menu_name_a" />
  10676.                 <actions>
  10677.                     <action function="set">tw_gui_sort_order=1</action>
  10678.                     <action function="overlay"></action>
  10679.                 </actions>
  10680.             </object>
  10681.            
  10682.             <object type="button">
  10683.                 <condition var1="tw_gui_sort_order" op="=" var2="-1" />
  10684.                 <highlight color="%highlight_color%" />
  10685.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_2_y%" placement="1" />
  10686.                 <font resource="menu" color="%text_button%" />
  10687.                 <text></text>
  10688.                 <image resource="btn_menu_name_d_sel_restore" />
  10689.                 <actions>
  10690.                     <action function="set">tw_gui_sort_order=-1</action>
  10691.                     <action function="overlay"></action>
  10692.                 </actions>
  10693.             </object>
  10694.            
  10695.             <object type="button">
  10696.                 <condition var1="tw_gui_sort_order" op="!=" var2="-1" />
  10697.                 <highlight color="%highlight_color%" />
  10698.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_2_y%" placement="1" />
  10699.                 <font resource="menu" color="%text_button%" />
  10700.                 <text></text>
  10701.                 <image resource="btn_menu_name_d" />
  10702.                 <actions>
  10703.                     <action function="set">tw_gui_sort_order=-1</action>
  10704.                     <action function="overlay"></action>
  10705.                 </actions>
  10706.             </object>
  10707.            
  10708.             <object type="button">
  10709.                 <condition var1="tw_gui_sort_order" op="=" var2="2" />
  10710.                 <highlight color="%highlight_color%" />
  10711.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_3_y%" placement="1" />
  10712.                 <font resource="menu" color="%text_button%" />
  10713.                 <text></text>
  10714.                 <image resource="btn_menu_date_a_sel_restore" />
  10715.                 <actions>
  10716.                     <action function="set">tw_gui_sort_order=2</action>
  10717.                     <action function="overlay"></action>
  10718.                 </actions>
  10719.             </object>
  10720.            
  10721.             <object type="button">
  10722.                 <condition var1="tw_gui_sort_order" op="!=" var2="2" />
  10723.                 <highlight color="%highlight_color%" />
  10724.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_3_y%" placement="1" />
  10725.                 <font resource="menu" color="%text_button%" />
  10726.                 <text></text>
  10727.                 <image resource="btn_menu_date_a" />
  10728.                 <actions>
  10729.                     <action function="set">tw_gui_sort_order=2</action>
  10730.                     <action function="overlay"></action>
  10731.                 </actions>
  10732.             </object>
  10733.            
  10734.             <object type="button">
  10735.                 <condition var1="tw_gui_sort_order" op="=" var2="-2" />
  10736.                 <highlight color="%highlight_color%" />
  10737.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_4_y%" placement="1" />
  10738.                 <font resource="menu" color="%text_button%" />
  10739.                 <text></text>
  10740.                 <image resource="btn_menu_date_d_sel_restore" />
  10741.                 <actions>
  10742.                     <action function="set">tw_gui_sort_order=-2</action>
  10743.                     <action function="overlay"></action>
  10744.                 </actions>
  10745.             </object>
  10746.            
  10747.             <object type="button">
  10748.                 <condition var1="tw_gui_sort_order" op="!=" var2="-2" />
  10749.                 <highlight color="%highlight_color%" />
  10750.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_4_y%" placement="1" />
  10751.                 <font resource="menu" color="%text_button%" />
  10752.                 <text></text>
  10753.                 <image resource="btn_menu_date_d" />
  10754.                 <actions>
  10755.                     <action function="set">tw_gui_sort_order=-2</action>
  10756.                     <action function="overlay"></action>
  10757.                 </actions>
  10758.             </object>
  10759.            
  10760.             <object type="button">
  10761.                 <condition var1="tw_gui_sort_order" op="=" var2="3" />
  10762.                 <highlight color="%highlight_color%" />
  10763.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_5_y%" placement="1" />
  10764.                 <font resource="menu" color="%text_button%" />
  10765.                 <text></text>
  10766.                 <image resource="btn_menu_size_a_sel_restore" />
  10767.                 <actions>
  10768.                     <action function="set">tw_gui_sort_order=3</action>
  10769.                     <action function="overlay"></action>
  10770.                 </actions>
  10771.             </object>
  10772.            
  10773.             <object type="button">
  10774.                 <condition var1="tw_gui_sort_order" op="!=" var2="3" />
  10775.                 <highlight color="%highlight_color%" />
  10776.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_5_y%" placement="1" />
  10777.                 <font resource="menu" color="%text_button%" />
  10778.                 <text></text>
  10779.                 <image resource="btn_menu_size_a" />
  10780.                 <actions>
  10781.                     <action function="set">tw_gui_sort_order=3</action>
  10782.                     <action function="overlay"></action>
  10783.                 </actions>
  10784.             </object>
  10785.            
  10786.             <object type="button">
  10787.                 <condition var1="tw_gui_sort_order" op="=" var2="-3" />
  10788.                 <highlight color="%highlight_color%" />
  10789.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_6_y%" placement="1" />
  10790.                 <font resource="menu" color="%text_button%" />
  10791.                 <text></text>
  10792.                 <image resource="btn_menu_size_d_sel_restore" />
  10793.                 <actions>
  10794.                     <action function="set">tw_gui_sort_order=-3</action>
  10795.                     <action function="overlay"></action>
  10796.                 </actions>
  10797.             </object>
  10798.            
  10799.             <object type="button">
  10800.                 <condition var1="tw_gui_sort_order" op="!=" var2="-3" />
  10801.                 <highlight color="%highlight_color%" />
  10802.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_6_y%" placement="1" />
  10803.                 <font resource="menu" color="%text_button%" />
  10804.                 <text></text>
  10805.                 <image resource="btn_menu_size_d" />
  10806.                 <actions>
  10807.                     <action function="set">tw_gui_sort_order=-3</action>
  10808.                     <action function="overlay"></action>
  10809.                 </actions>
  10810.             </object>
  10811.            
  10812.             <object type="action">
  10813.                 <touch key="power+voldown" />
  10814.                 <action function="screenshot"/>
  10815.             </object>
  10816.         </page>
  10817.        
  10818.         <page name="menu_sort">
  10819.             <background color="%transparent%" />
  10820.  
  10821.             <object type="button">
  10822.                 <fill color="%transparent%" />
  10823.                 <placement x="0" y="0" w="%screen_w%" h="%screen_h%" />
  10824.                 <font resource="menu" color="%text_button%" />
  10825.                 <text></text>
  10826.                 <action function="overlay"></action>
  10827.             </object>
  10828.            
  10829.             <object type="image">
  10830.                 <placement x="%ab_btn1_x%" y="%ab_menu_y%" placement="1" />
  10831.                 <image resource="menu_sort" />
  10832.             </object>
  10833.            
  10834.             <object type="button">
  10835.                 <condition var1="tw_gui_sort_order" op="=" var2="1" />
  10836.                 <highlight color="%highlight_color%" />
  10837.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_1_y%" placement="1" />
  10838.                 <font resource="menu" color="%text_button%" />
  10839.                 <text></text>
  10840.                 <image resource="btn_menu_name_a_sel" />
  10841.                 <actions>
  10842.                     <action function="set">tw_gui_sort_order=1</action>
  10843.                     <action function="overlay"></action>
  10844.                 </actions>
  10845.             </object>
  10846.            
  10847.             <object type="button">
  10848.                 <condition var1="tw_gui_sort_order" op="!=" var2="1" />
  10849.                 <highlight color="%highlight_color%" />
  10850.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_1_y%" placement="1" />
  10851.                 <font resource="menu" color="%text_button%" />
  10852.                 <text></text>
  10853.                 <image resource="btn_menu_name_a" />
  10854.                 <actions>
  10855.                     <action function="set">tw_gui_sort_order=1</action>
  10856.                     <action function="overlay"></action>
  10857.                 </actions>
  10858.             </object>
  10859.            
  10860.             <object type="button">
  10861.                 <condition var1="tw_gui_sort_order" op="=" var2="-1" />
  10862.                 <highlight color="%highlight_color%" />
  10863.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_2_y%" placement="1" />
  10864.                 <font resource="menu" color="%text_button%" />
  10865.                 <text></text>
  10866.                 <image resource="btn_menu_name_d_sel" />
  10867.                 <actions>
  10868.                     <action function="set">tw_gui_sort_order=-1</action>
  10869.                     <action function="overlay"></action>
  10870.                 </actions>
  10871.             </object>
  10872.            
  10873.             <object type="button">
  10874.                 <condition var1="tw_gui_sort_order" op="!=" var2="-1" />
  10875.                 <highlight color="%highlight_color%" />
  10876.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_2_y%" placement="1" />
  10877.                 <font resource="menu" color="%text_button%" />
  10878.                 <text></text>
  10879.                 <image resource="btn_menu_name_d" />
  10880.                 <actions>
  10881.                     <action function="set">tw_gui_sort_order=-1</action>
  10882.                     <action function="overlay"></action>
  10883.                 </actions>
  10884.             </object>
  10885.            
  10886.             <object type="button">
  10887.                 <condition var1="tw_gui_sort_order" op="=" var2="2" />
  10888.                 <highlight color="%highlight_color%" />
  10889.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_3_y%" placement="1" />
  10890.                 <font resource="menu" color="%text_button%" />
  10891.                 <text></text>
  10892.                 <image resource="btn_menu_date_a_sel" />
  10893.                 <actions>
  10894.                     <action function="set">tw_gui_sort_order=2</action>
  10895.                     <action function="overlay"></action>
  10896.                 </actions>
  10897.             </object>
  10898.            
  10899.             <object type="button">
  10900.                 <condition var1="tw_gui_sort_order" op="!=" var2="2" />
  10901.                 <highlight color="%highlight_color%" />
  10902.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_3_y%" placement="1" />
  10903.                 <font resource="menu" color="%text_button%" />
  10904.                 <text></text>
  10905.                 <image resource="btn_menu_date_a" />
  10906.                 <actions>
  10907.                     <action function="set">tw_gui_sort_order=2</action>
  10908.                     <action function="overlay"></action>
  10909.                 </actions>
  10910.             </object>
  10911.            
  10912.             <object type="button">
  10913.                 <condition var1="tw_gui_sort_order" op="=" var2="-2" />
  10914.                 <highlight color="%highlight_color%" />
  10915.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_4_y%" placement="1" />
  10916.                 <font resource="menu" color="%text_button%" />
  10917.                 <text></text>
  10918.                 <image resource="btn_menu_date_d_sel" />
  10919.                 <actions>
  10920.                     <action function="set">tw_gui_sort_order=-2</action>
  10921.                     <action function="overlay"></action>
  10922.                 </actions>
  10923.             </object>
  10924.            
  10925.             <object type="button">
  10926.                 <condition var1="tw_gui_sort_order" op="!=" var2="-2" />
  10927.                 <highlight color="%highlight_color%" />
  10928.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_4_y%" placement="1" />
  10929.                 <font resource="menu" color="%text_button%" />
  10930.                 <text></text>
  10931.                 <image resource="btn_menu_date_d" />
  10932.                 <actions>
  10933.                     <action function="set">tw_gui_sort_order=-2</action>
  10934.                     <action function="overlay"></action>
  10935.                 </actions>
  10936.             </object>
  10937.            
  10938.             <object type="button">
  10939.                 <condition var1="tw_gui_sort_order" op="=" var2="3" />
  10940.                 <highlight color="%highlight_color%" />
  10941.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_5_y%" placement="1" />
  10942.                 <font resource="menu" color="%text_button%" />
  10943.                 <text></text>
  10944.                 <image resource="btn_menu_size_a_sel" />
  10945.                 <actions>
  10946.                     <action function="set">tw_gui_sort_order=3</action>
  10947.                     <action function="overlay"></action>
  10948.                 </actions>
  10949.             </object>
  10950.            
  10951.             <object type="button">
  10952.                 <condition var1="tw_gui_sort_order" op="!=" var2="3" />
  10953.                 <highlight color="%highlight_color%" />
  10954.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_5_y%" placement="1" />
  10955.                 <font resource="menu" color="%text_button%" />
  10956.                 <text></text>
  10957.                 <image resource="btn_menu_size_a" />
  10958.                 <actions>
  10959.                     <action function="set">tw_gui_sort_order=3</action>
  10960.                     <action function="overlay"></action>
  10961.                 </actions>
  10962.             </object>
  10963.            
  10964.             <object type="button">
  10965.                 <condition var1="tw_gui_sort_order" op="=" var2="-3" />
  10966.                 <highlight color="%highlight_color%" />
  10967.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_6_y%" placement="1" />
  10968.                 <font resource="menu" color="%text_button%" />
  10969.                 <text></text>
  10970.                 <image resource="btn_menu_size_d_sel" />
  10971.                 <actions>
  10972.                     <action function="set">tw_gui_sort_order=-3</action>
  10973.                     <action function="overlay"></action>
  10974.                 </actions>
  10975.             </object>
  10976.            
  10977.             <object type="button">
  10978.                 <condition var1="tw_gui_sort_order" op="!=" var2="-3" />
  10979.                 <highlight color="%highlight_color%" />
  10980.                 <placement x="%ab_menu_sort_x%" y="%ab_menu_inst_6_y%" placement="1" />
  10981.                 <font resource="menu" color="%text_button%" />
  10982.                 <text></text>
  10983.                 <image resource="btn_menu_size_d" />
  10984.                 <actions>
  10985.                     <action function="set">tw_gui_sort_order=-3</action>
  10986.                     <action function="overlay"></action>
  10987.                 </actions>
  10988.             </object>
  10989.            
  10990.             <object type="action">
  10991.                 <touch key="power+voldown" />
  10992.                 <action function="screenshot"/>
  10993.             </object>
  10994.         </page>
  10995.        
  10996.         <page name="dialog_storage">
  10997.             <background color="%transparent%" />
  10998.            
  10999.             <object type="image">
  11000.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11001.                 <image resource="dialog_bg" />
  11002.             </object>
  11003.            
  11004.             <object type="partitionlist">
  11005.                 <placement x="%storage_indent_x%" y="%storage_indent_y%" w="%storage_width%" h="%storage_heigt%" />
  11006.                 <icon selected="radio_true_d" unselected="radio_false_d" />
  11007.                 <background color="%background%" />
  11008.                 <font resource="body2" spacing="0" color="%text%" highlightcolor="%text_highlight%" />
  11009.                 <data name="tw_storage_path" />
  11010.                 <listtype name="storage" />
  11011.             </object>
  11012.            
  11013.             <object type="button">
  11014.                 <placement x="%db_left_x%" y="%db_y%" />
  11015.                 <font resource="menu" color="%text_button%" />
  11016.                 <text></text>
  11017.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11018.                 <actions>
  11019.                     <action function="set">tw_operation_state=0</action>
  11020.                     <action function="set">tw_text1=</action>
  11021.                     <action function="set">tw_text2=</action>
  11022.                     <action function="set">tw_text3=</action>
  11023.                     <action function="set">tw_text4=</action>
  11024.                     <action function="set">tw_action_text1=</action>
  11025.                     <action function="set">tw_action_text2=</action>
  11026.                     <action function="set">tw_action_param=</action>
  11027.                     <action function="set">tw_has_action2=0</action>
  11028.                     <action function="set">tw_action2=</action>
  11029.                     <action function="set">tw_action2_param=</action>
  11030.                     <action function="set">tw_has_cancel=0</action>
  11031.                     <action function="set">tw_cancel_action=</action>
  11032.                     <action function="set">tw_cancel_param=</action>
  11033.                     <action function="set">tw_show_exclamation=0</action>
  11034.                     <action function="set">tw_show_reboot=0</action>
  11035.                     <action function="overlay"></action>
  11036.                 </actions>
  11037.             </object>
  11038.            
  11039.             <object type="button">
  11040.                 <placement x="%db_right_x%" y="%db_y%" />
  11041.                 <font resource="menu" color="%text_button%" />
  11042.                 <text></text>
  11043.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11044.                 <actions>
  11045.                     <action function="set">tw_operation_state=0</action>
  11046.                     <action function="set">tw_text1=</action>
  11047.                     <action function="set">tw_text2=</action>
  11048.                     <action function="set">tw_text3=</action>
  11049.                     <action function="set">tw_text4=</action>
  11050.                     <action function="set">tw_action_text1=</action>
  11051.                     <action function="set">tw_action_text2=</action>
  11052.                     <action function="set">tw_action_param=</action>
  11053.                     <action function="set">tw_has_action2=0</action>
  11054.                     <action function="set">tw_action2=</action>
  11055.                     <action function="set">tw_action2_param=</action>
  11056.                     <action function="set">tw_has_cancel=0</action>
  11057.                     <action function="set">tw_cancel_action=</action>
  11058.                     <action function="set">tw_cancel_param=</action>
  11059.                     <action function="set">tw_show_exclamation=0</action>
  11060.                     <action function="set">tw_show_reboot=0</action>
  11061.                     <action function="overlay"></action>
  11062.                 </actions>
  11063.             </object>
  11064.            
  11065.             <object type="image">
  11066.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11067.                 <image resource="dialog_label_storage" />
  11068.             </object>
  11069.            
  11070.             <object type="action">
  11071.                 <touch key="power+voldown" />
  11072.                 <action function="screenshot"/>
  11073.             </object>
  11074.         </page>
  11075.        
  11076.         <page name="dialog_storage_install">
  11077.             <background color="%transparent%" />
  11078.            
  11079.             <object type="image">
  11080.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11081.                 <image resource="dialog_bg" />
  11082.             </object>
  11083.            
  11084.             <object type="partitionlist">
  11085.                 <placement x="%storage_indent_x%" y="%storage_indent_y%" w="%storage_width%" h="%storage_heigt%" />
  11086.                 <icon selected="radio_true_d_install" unselected="radio_false_d" />
  11087.                 <background color="%background%" />
  11088.                 <font resource="body2" spacing="0" color="%text%" highlightcolor="%text_highlight%" />
  11089.                 <data name="tw_storage_path" />
  11090.                 <listtype name="storage" />
  11091.             </object>
  11092.            
  11093.             <object type="button">
  11094.                 <placement x="%db_left_x%" y="%db_y%" />
  11095.                 <font resource="menu" color="%text_button%" />
  11096.                 <text></text>
  11097.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11098.                 <actions>
  11099.                     <action function="set">tw_operation_state=0</action>
  11100.                     <action function="set">tw_text1=</action>
  11101.                     <action function="set">tw_text2=</action>
  11102.                     <action function="set">tw_text3=</action>
  11103.                     <action function="set">tw_text4=</action>
  11104.                     <action function="set">tw_action_text1=</action>
  11105.                     <action function="set">tw_action_text2=</action>
  11106.                     <action function="set">tw_action_param=</action>
  11107.                     <action function="set">tw_has_action2=0</action>
  11108.                     <action function="set">tw_action2=</action>
  11109.                     <action function="set">tw_action2_param=</action>
  11110.                     <action function="set">tw_has_cancel=0</action>
  11111.                     <action function="set">tw_cancel_action=</action>
  11112.                     <action function="set">tw_cancel_param=</action>
  11113.                     <action function="set">tw_show_exclamation=0</action>
  11114.                     <action function="set">tw_show_reboot=0</action>
  11115.                     <action function="overlay"></action>
  11116.                 </actions>
  11117.             </object>
  11118.            
  11119.             <object type="button">
  11120.                 <placement x="%db_right_x%" y="%db_y%" />
  11121.                 <font resource="menu" color="%text_button%" />
  11122.                 <text></text>
  11123.                 <image resource="db_ok_install" highlightresource="db_ok_hl_install" />
  11124.                 <actions>
  11125.                     <action function="set">tw_operation_state=0</action>
  11126.                     <action function="set">tw_text1=</action>
  11127.                     <action function="set">tw_text2=</action>
  11128.                     <action function="set">tw_text3=</action>
  11129.                     <action function="set">tw_text4=</action>
  11130.                     <action function="set">tw_action_text1=</action>
  11131.                     <action function="set">tw_action_text2=</action>
  11132.                     <action function="set">tw_action_param=</action>
  11133.                     <action function="set">tw_has_action2=0</action>
  11134.                     <action function="set">tw_action2=</action>
  11135.                     <action function="set">tw_action2_param=</action>
  11136.                     <action function="set">tw_has_cancel=0</action>
  11137.                     <action function="set">tw_cancel_action=</action>
  11138.                     <action function="set">tw_cancel_param=</action>
  11139.                     <action function="set">tw_show_exclamation=0</action>
  11140.                     <action function="set">tw_show_reboot=0</action>
  11141.                     <action function="overlay"></action>
  11142.                 </actions>
  11143.             </object>
  11144.            
  11145.             <object type="image">
  11146.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11147.                 <image resource="dialog_label_storage_install" />
  11148.             </object>
  11149.            
  11150.             <object type="action">
  11151.                 <touch key="power+voldown" />
  11152.                 <action function="screenshot"/>
  11153.             </object>
  11154.         </page>
  11155.        
  11156.         <page name="dialog_storage_backup">
  11157.             <background color="%transparent%" />
  11158.            
  11159.             <object type="image">
  11160.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11161.                 <image resource="dialog_bg" />
  11162.             </object>
  11163.            
  11164.             <object type="partitionlist">
  11165.                 <placement x="%storage_indent_x%" y="%storage_indent_y%" w="%storage_width%" h="%storage_heigt%" />
  11166.                 <icon selected="radio_true_d_backup" unselected="radio_false_d" />
  11167.                 <background color="%background%" />
  11168.                 <font resource="body2" spacing="0" color="%text%" highlightcolor="%text_highlight%" />
  11169.                 <data name="tw_storage_path" />
  11170.                 <listtype name="storage" />
  11171.             </object>
  11172.            
  11173.             <object type="button">
  11174.                 <placement x="%db_left_x%" y="%db_y%" />
  11175.                 <font resource="menu" color="%text_button%" />
  11176.                 <text></text>
  11177.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11178.                 <actions>
  11179.                     <action function="set">tw_operation_state=0</action>
  11180.                     <action function="set">tw_text1=</action>
  11181.                     <action function="set">tw_text2=</action>
  11182.                     <action function="set">tw_text3=</action>
  11183.                     <action function="set">tw_text4=</action>
  11184.                     <action function="set">tw_action_text1=</action>
  11185.                     <action function="set">tw_action_text2=</action>
  11186.                     <action function="set">tw_action_param=</action>
  11187.                     <action function="set">tw_has_action2=0</action>
  11188.                     <action function="set">tw_action2=</action>
  11189.                     <action function="set">tw_action2_param=</action>
  11190.                     <action function="set">tw_has_cancel=0</action>
  11191.                     <action function="set">tw_cancel_action=</action>
  11192.                     <action function="set">tw_cancel_param=</action>
  11193.                     <action function="set">tw_show_exclamation=0</action>
  11194.                     <action function="set">tw_show_reboot=0</action>
  11195.                     <action function="overlay"></action>
  11196.                 </actions>
  11197.             </object>
  11198.            
  11199.             <object type="button">
  11200.                 <placement x="%db_right_x%" y="%db_y%" />
  11201.                 <font resource="menu" color="%text_button%" />
  11202.                 <text></text>
  11203.                 <image resource="db_ok_backup" highlightresource="db_ok_hl_backup" />
  11204.                 <actions>
  11205.                     <action function="set">tw_operation_state=0</action>
  11206.                     <action function="set">tw_text1=</action>
  11207.                     <action function="set">tw_text2=</action>
  11208.                     <action function="set">tw_text3=</action>
  11209.                     <action function="set">tw_text4=</action>
  11210.                     <action function="set">tw_action_text1=</action>
  11211.                     <action function="set">tw_action_text2=</action>
  11212.                     <action function="set">tw_action_param=</action>
  11213.                     <action function="set">tw_has_action2=0</action>
  11214.                     <action function="set">tw_action2=</action>
  11215.                     <action function="set">tw_action2_param=</action>
  11216.                     <action function="set">tw_has_cancel=0</action>
  11217.                     <action function="set">tw_cancel_action=</action>
  11218.                     <action function="set">tw_cancel_param=</action>
  11219.                     <action function="set">tw_show_exclamation=0</action>
  11220.                     <action function="set">tw_show_reboot=0</action>
  11221.                     <action function="overlay"></action>
  11222.                 </actions>
  11223.             </object>
  11224.            
  11225.             <object type="image">
  11226.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11227.                 <image resource="dialog_label_storage_backup" />
  11228.             </object>
  11229.            
  11230.             <object type="action">
  11231.                 <touch key="power+voldown" />
  11232.                 <action function="screenshot"/>
  11233.             </object>
  11234.         </page>
  11235.        
  11236.         <page name="dialog_storage_restore">
  11237.             <background color="%transparent%" />
  11238.            
  11239.             <object type="image">
  11240.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11241.                 <image resource="dialog_bg" />
  11242.             </object>
  11243.            
  11244.             <object type="partitionlist">
  11245.                 <placement x="%storage_indent_x%" y="%storage_indent_y%" w="%storage_width%" h="%storage_heigt%" />
  11246.                 <icon selected="radio_true_d_restore" unselected="radio_false_d" />
  11247.                 <background color="%background%" />
  11248.                 <font resource="body2" spacing="0" color="%text%" highlightcolor="%text_highlight%" />
  11249.                 <data name="tw_storage_path" />
  11250.                 <listtype name="storage" />
  11251.             </object>
  11252.            
  11253.             <object type="button">
  11254.                 <placement x="%db_left_x%" y="%db_y%" />
  11255.                 <font resource="menu" color="%text_button%" />
  11256.                 <text></text>
  11257.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11258.                 <actions>
  11259.                     <action function="set">tw_operation_state=0</action>
  11260.                     <action function="set">tw_text1=</action>
  11261.                     <action function="set">tw_text2=</action>
  11262.                     <action function="set">tw_text3=</action>
  11263.                     <action function="set">tw_text4=</action>
  11264.                     <action function="set">tw_action_text1=</action>
  11265.                     <action function="set">tw_action_text2=</action>
  11266.                     <action function="set">tw_action_param=</action>
  11267.                     <action function="set">tw_has_action2=0</action>
  11268.                     <action function="set">tw_action2=</action>
  11269.                     <action function="set">tw_action2_param=</action>
  11270.                     <action function="set">tw_has_cancel=0</action>
  11271.                     <action function="set">tw_cancel_action=</action>
  11272.                     <action function="set">tw_cancel_param=</action>
  11273.                     <action function="set">tw_show_exclamation=0</action>
  11274.                     <action function="set">tw_show_reboot=0</action>
  11275.                     <action function="overlay"></action>
  11276.                 </actions>
  11277.             </object>
  11278.            
  11279.             <object type="button">
  11280.                 <placement x="%db_right_x%" y="%db_y%" />
  11281.                 <font resource="menu" color="%text_button%" />
  11282.                 <text></text>
  11283.                 <image resource="db_ok_restore" highlightresource="db_ok_hl_restore" />
  11284.                 <actions>
  11285.                     <action function="set">tw_operation_state=0</action>
  11286.                     <action function="set">tw_text1=</action>
  11287.                     <action function="set">tw_text2=</action>
  11288.                     <action function="set">tw_text3=</action>
  11289.                     <action function="set">tw_text4=</action>
  11290.                     <action function="set">tw_action_text1=</action>
  11291.                     <action function="set">tw_action_text2=</action>
  11292.                     <action function="set">tw_action_param=</action>
  11293.                     <action function="set">tw_has_action2=0</action>
  11294.                     <action function="set">tw_action2=</action>
  11295.                     <action function="set">tw_action2_param=</action>
  11296.                     <action function="set">tw_has_cancel=0</action>
  11297.                     <action function="set">tw_cancel_action=</action>
  11298.                     <action function="set">tw_cancel_param=</action>
  11299.                     <action function="set">tw_show_exclamation=0</action>
  11300.                     <action function="set">tw_show_reboot=0</action>
  11301.                     <action function="overlay"></action>
  11302.                 </actions>
  11303.             </object>
  11304.            
  11305.             <object type="image">
  11306.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11307.                 <image resource="dialog_label_storage_restore" />
  11308.             </object>
  11309.            
  11310.             <object type="action">
  11311.                 <touch key="power+voldown" />
  11312.                 <action function="screenshot"/>
  11313.             </object>
  11314.         </page>
  11315.        
  11316.         <page name="dialog_storage_mount">
  11317.             <background color="%transparent%" />
  11318.            
  11319.             <object type="image">
  11320.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11321.                 <image resource="dialog_bg" />
  11322.             </object>
  11323.            
  11324.             <object type="partitionlist">
  11325.                 <placement x="%storage_indent_x%" y="%storage_indent_y%" w="%storage_width%" h="%storage_heigt%" />
  11326.                 <icon selected="radio_true_d_mount" unselected="radio_false_d" />
  11327.                 <background color="%background%" />
  11328.                 <font resource="body2" spacing="0" color="%text%" highlightcolor="%text_highlight%" />
  11329.                 <data name="tw_storage_path" />
  11330.                 <listtype name="storage" />
  11331.             </object>
  11332.            
  11333.             <object type="button">
  11334.                 <placement x="%db_left_x%" y="%db_y%" />
  11335.                 <font resource="menu" color="%text_button%" />
  11336.                 <text></text>
  11337.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11338.                 <actions>
  11339.                     <action function="set">tw_operation_state=0</action>
  11340.                     <action function="set">tw_text1=</action>
  11341.                     <action function="set">tw_text2=</action>
  11342.                     <action function="set">tw_text3=</action>
  11343.                     <action function="set">tw_text4=</action>
  11344.                     <action function="set">tw_action_text1=</action>
  11345.                     <action function="set">tw_action_text2=</action>
  11346.                     <action function="set">tw_action_param=</action>
  11347.                     <action function="set">tw_has_action2=0</action>
  11348.                     <action function="set">tw_action2=</action>
  11349.                     <action function="set">tw_action2_param=</action>
  11350.                     <action function="set">tw_has_cancel=0</action>
  11351.                     <action function="set">tw_cancel_action=</action>
  11352.                     <action function="set">tw_cancel_param=</action>
  11353.                     <action function="set">tw_show_exclamation=0</action>
  11354.                     <action function="set">tw_show_reboot=0</action>
  11355.                     <action function="overlay"></action>
  11356.                 </actions>
  11357.             </object>
  11358.            
  11359.             <object type="button">
  11360.                 <placement x="%db_right_x%" y="%db_y%" />
  11361.                 <font resource="menu" color="%text_button%" />
  11362.                 <text></text>
  11363.                 <image resource="db_ok_mount" highlightresource="db_ok_hl_mount" />
  11364.                 <actions>
  11365.                     <action function="set">tw_operation_state=0</action>
  11366.                     <action function="set">tw_text1=</action>
  11367.                     <action function="set">tw_text2=</action>
  11368.                     <action function="set">tw_text3=</action>
  11369.                     <action function="set">tw_text4=</action>
  11370.                     <action function="set">tw_action_text1=</action>
  11371.                     <action function="set">tw_action_text2=</action>
  11372.                     <action function="set">tw_action_param=</action>
  11373.                     <action function="set">tw_has_action2=0</action>
  11374.                     <action function="set">tw_action2=</action>
  11375.                     <action function="set">tw_action2_param=</action>
  11376.                     <action function="set">tw_has_cancel=0</action>
  11377.                     <action function="set">tw_cancel_action=</action>
  11378.                     <action function="set">tw_cancel_param=</action>
  11379.                     <action function="set">tw_show_exclamation=0</action>
  11380.                     <action function="set">tw_show_reboot=0</action>
  11381.                     <action function="overlay"></action>
  11382.                 </actions>
  11383.             </object>
  11384.            
  11385.             <object type="image">
  11386.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11387.                 <image resource="dialog_label_storage_mount" />
  11388.             </object>
  11389.            
  11390.             <object type="action">
  11391.                 <touch key="power+voldown" />
  11392.                 <action function="screenshot"/>
  11393.             </object>
  11394.         </page>
  11395.        
  11396.         <page name="dialog_color">
  11397.             <background color="%transparent%" />
  11398.            
  11399.             <object type="image">
  11400.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11401.                 <image resource="dialog_bg" />
  11402.             </object>
  11403.            
  11404.             <object type="image">
  11405.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11406.                 <image resource="dialog_label_color" />
  11407.             </object>
  11408.            
  11409.             <object type="text" color="%text%">
  11410.                 <font resource="body2" />
  11411.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  11412.                 <text>The recovery will now reboot</text>
  11413.             </object>
  11414.            
  11415.             <object type="text" color="%text%">
  11416.                 <font resource="body2" />
  11417.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  11418.                 <text>to apply the selected color.</text>
  11419.             </object>
  11420.            
  11421.             <object type="checkbox">
  11422.                 <placement x="%storage_indent_x%" y="%db_checkbox_y%" />
  11423.                 <font resource="body2" color="%text%" />
  11424.                 <text>Don't tell me again</text>
  11425.                 <data variable="dialog_hide_color" />
  11426.                 <image checked="checkbox_true_d" unchecked="checkbox_false_d" />
  11427.             </object>
  11428.            
  11429.             <object type="button">
  11430.                 <placement x="%db_left_x%" y="%db_y%" />
  11431.                 <font resource="menu" color="%text_button%" />
  11432.                 <text></text>
  11433.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11434.                 <actions>
  11435.                     <action function="set">tw_text_color_highlight=</action>
  11436.                     <action function="set">tw_folder=</action>
  11437.                     <action function="set">dialog_hide_color=0</action>
  11438.                     <action function="overlay"></action>
  11439.                     <action function="page">theme_color</action>
  11440.                 </actions>
  11441.             </object>
  11442.            
  11443.             <object type="button">
  11444.                 <placement x="%db_right_x%" y="%db_y%" />
  11445.                 <font resource="menu" color="%text_button%" />
  11446.                 <text></text>
  11447.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11448.                 <actions>
  11449.                     <action function="cmd">
  11450.                     mkdir "/cache/twrp";
  11451.                     if [ -f "/sdcard/TWRP/theme/ui.zip" ];
  11452.                     then unzip -o "/sdcard/TWRP/theme/ui.zip" -d "/cache/twrp";
  11453.                     chmod 777 "/cache/twrp/zip";
  11454.                     cp -r /cache/twrp/%tw_folder%/* "/cache/twrp/images";
  11455.                     busybox mv "/cache/twrp/ui.xml" "/cache/twrp/ui_temp.xml";
  11456.                     busybox sed "s/%text_highlight%/#%tw_text_color_highlight%/g" "/cache/twrp/ui_temp.xml" > "/cache/twrp/ui_temp2.xml";
  11457.                     rm -f "/cache/twrp/ui_temp.xml";
  11458.                     busybox sed "s/%text_actionbar%/#%tw_text_actionbar%/g" "/cache/twrp/ui_temp2.xml" > "/cache/twrp/ui.xml";
  11459.                     rm -f "/cache/twrp/ui_temp2.xml";
  11460.                     cd "/cache/twrp";
  11461.                     ./zip -0 -r -u "/sdcard/TWRP/theme/ui.zip" *;
  11462.                     cd /;
  11463.                     rm -r "/cache/twrp"
  11464.                     else
  11465.                     unzip -o "/int_sd/TWRP/theme/ui.zip" -d "/cache/twrp";
  11466.                     chmod 777 "/cache/twrp/zip";
  11467.                     cp -r /cache/twrp/%tw_folder%/* "/cache/twrp/images";
  11468.                     busybox mv "/cache/twrp/ui.xml" "/cache/twrp/ui_temp.xml";
  11469.                     busybox sed "s/%text_highlight%/#%tw_text_color_highlight%/g" "/cache/twrp/ui_temp.xml" > "/cache/twrp/ui_temp2.xml";
  11470.                     rm -f "/cache/twrp/ui_temp.xml";
  11471.                     busybox sed "s/%text_actionbar%/#%tw_text_actionbar%/g" "/cache/twrp/ui_temp2.xml" > "/cache/twrp/ui.xml";
  11472.                     rm -f "/cache/twrp/ui_temp2.xml";
  11473.                     cd "/cache/twrp";
  11474.                     ./zip -0 -r -u "/int_sd/TWRP/theme/ui.zip" *;
  11475.                     cd /;
  11476.                     rm -r "/cache/twrp"
  11477.                     fi
  11478.                     </action>
  11479.                     <action function="set">hl_color=%tw_hl_color%</action>
  11480.                     <action function="set">tw_back=reboot</action>
  11481.                     <action function="set">tw_action=reboot</action>
  11482.                     <action function="set">tw_action_param=recovery</action>
  11483.                     <action function="set">tw_has_action2=0</action>
  11484.                     <action function="set">tw_text1=No OS Installed!</action>
  11485.                     <action function="set">tw_text2=Are you sure you wish to restart?</action>
  11486.                     <action function="set">tw_action_text1=Restarting...</action>
  11487.                     <action function="set">tw_complete_text1=Restarting...</action>
  11488.                     <action function="set">tw_slider_text=Swipe to Restart</action>
  11489.                     <action function="page">rebootcheck</action>
  11490.                 </actions>
  11491.             </object>
  11492.            
  11493.             <object type="action">
  11494.                 <touch key="power+voldown" />
  11495.                 <action function="screenshot"/>
  11496.             </object>
  11497.            
  11498.         </page>
  11499.        
  11500.         <page name="dialog_encryption1">
  11501.             <background color="%transparent%" />
  11502.            
  11503.             <object type="image">
  11504.                 <placement x="%bg_storage_x%" y="%bg_encrypt_y%" />
  11505.                 <image resource="dialog_bg" />
  11506.             </object>
  11507.            
  11508.             <object type="image">
  11509.                 <placement x="%bg_storage_x%" y="%bg_encrypt_y%" />
  11510.                 <image resource="dialog_label_encryption" />
  11511.             </object>
  11512.            
  11513.             <object type="text" color="%text_highlight_backup%">
  11514.                 <font resource="caption" />
  11515.                 <placement x="%storage_indent_x%" y="%row2_2a_y%"  />
  11516.                 <text>Set Password</text>
  11517.             </object>
  11518.            
  11519.             <object type="input">
  11520.                 <placement x="%storage_indent_x%" y="%input_encr_y%" w="%input_encr_width%" h="%input_height%" />
  11521.                 <background color="%background%" />
  11522.                 <cursor color="%text_highlight_backup%" hasfocus="1" width="%input_cursor_width%" />
  11523.                 <font resource="body2" color="%text%" />
  11524.                 <text>%tw_backup_encrypt_display%</text>
  11525.                 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
  11526.                 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
  11527.                 <actions>
  11528.                     <action function="overlay"></action>
  11529.                     <action function="overlay">dialog_encryption2</action>
  11530.                 </actions>
  11531.             </object>
  11532.            
  11533.             <object type="image">
  11534.                 <condition var1="tw_password_not_match" op="!=" var2="1" />
  11535.                 <image resource="input_line_dialog_backup" />
  11536.                 <placement x="%storage_indent_x%" y="%row3_1a_y%" />
  11537.             </object>
  11538.            
  11539.             <object type="image">
  11540.                 <condition var1="tw_password_not_match" var2="1" />
  11541.                 <image resource="input_line_fail_dialog_encr" />
  11542.                 <placement x="%storage_indent_x%" y="%row3_1a_y%" />
  11543.             </object>
  11544.            
  11545.             <object type="button">
  11546.                 <placement x="%db_right_x%" y="%db_encrypt_y%" />
  11547.                 <font resource="menu" color="%text_button%" />
  11548.                 <text></text>
  11549.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11550.                 <actions>
  11551.                     <action function="set">tw_encrypt_backup=0</action>
  11552.                     <action function="set">tw_backup_password=</action>
  11553.                     <action function="set">tw_backup_password2=</action>
  11554.                     <action function="set">tw_backup_encrypt_display=</action>
  11555.                     <action function="set">tw_backup_encrypt_display2=</action>
  11556.                     <action function="overlay"></action>
  11557.                 </actions>
  11558.             </object>
  11559.  
  11560.             <object type="template" name="keyboardtemplate" />
  11561.            
  11562.             <object type="action">
  11563.                 <touch key="power+voldown" />
  11564.                 <action function="screenshot"/>
  11565.             </object>
  11566.         </page>
  11567.        
  11568.         <page name="dialog_encryption2">
  11569.             <background color="%transparent%" />
  11570.            
  11571.             <object type="image">
  11572.                 <placement x="%bg_storage_x%" y="%bg_encrypt_y%" />
  11573.                 <image resource="dialog_bg" />
  11574.             </object>
  11575.            
  11576.             <object type="image">
  11577.                 <placement x="%bg_storage_x%" y="%bg_encrypt_y%" />
  11578.                 <image resource="dialog_label_encryption" />
  11579.             </object>
  11580.            
  11581.             <object type="text" color="%text_highlight_backup%">
  11582.                 <font resource="caption" />
  11583.                 <placement x="%storage_indent_x%" y="%row2_2_y%"  />
  11584.                 <text>Verify Password</text>
  11585.             </object>
  11586.            
  11587.             <object type="input">
  11588.                 <placement x="%storage_indent_x%" y="%input_encr_y%" w="%input_encr_width%" h="%input_height%" />
  11589.                 <background color="%background%" />
  11590.                 <cursor color="%text_highlight_backup%" hasfocus="1" width="%input_cursor_width%" />
  11591.                 <font resource="body2" color="%text%" />
  11592.                 <text>%tw_backup_encrypt_display2%</text>
  11593.                 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
  11594.                 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
  11595.                 <actions>
  11596.                     <action function="overlay"></action>
  11597.                     <action function="page">checkbackuppassword</action>
  11598.                 </actions>
  11599.             </object>
  11600.            
  11601.             <object type="image">
  11602.                 <image resource="input_line_dialog_backup" />
  11603.                 <placement x="%storage_indent_x%" y="%row3_1a_y%" />
  11604.             </object>
  11605.            
  11606.             <object type="button">
  11607.                 <placement x="%db_right_x%" y="%db_encrypt_y%" />
  11608.                 <font resource="menu" color="%text_button%" />
  11609.                 <text></text>
  11610.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11611.                 <actions>
  11612.                     <action function="set">tw_encrypt_backup=0</action>
  11613.                     <action function="set">tw_backup_password=</action>
  11614.                     <action function="set">tw_backup_password2=</action>
  11615.                     <action function="set">tw_backup_encrypt_display=</action>
  11616.                     <action function="set">tw_backup_encrypt_display2=</action>
  11617.                     <action function="overlay"></action>
  11618.                 </actions>
  11619.             </object>
  11620.  
  11621.             <object type="template" name="keyboardtemplate" />
  11622.            
  11623.             <object type="action">
  11624.                 <touch key="power+voldown" />
  11625.                 <action function="screenshot"/>
  11626.             </object>
  11627.         </page>
  11628.        
  11629.         <page name="dialog_folder">
  11630.             <background color="%transparent%" />
  11631.            
  11632.             <object type="image">
  11633.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11634.                 <image resource="dialog_bg" />
  11635.             </object>
  11636.            
  11637.             <object type="image">
  11638.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11639.                 <image resource="dialog_label_bookmark" />
  11640.             </object>
  11641.            
  11642.             <object type="text" color="%text%">
  11643.                 <font resource="body2" />
  11644.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  11645.                 <text>Do you want to set the current folder</text>
  11646.             </object>
  11647.            
  11648.             <object type="text" color="%text%">
  11649.                 <font resource="body2" />
  11650.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  11651.                 <text>as the default folder for this list?</text>
  11652.             </object>
  11653.            
  11654.             <object type="checkbox">
  11655.                 <placement x="%storage_indent_x%" y="%db_checkbox_y%" />
  11656.                 <font resource="body2" color="%text%" />
  11657.                 <text>Don't ask me again</text>
  11658.                 <data variable="dialog_hide_folder" />
  11659.                 <image checked="checkbox_true_d" unchecked="checkbox_false_d" />
  11660.             </object>
  11661.            
  11662.             <object type="button">
  11663.                 <placement x="%db_left_x%" y="%db_y%" />
  11664.                 <font resource="menu" color="%text_button%" />
  11665.                 <text></text>
  11666.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11667.                 <actions>
  11668.                     <action function="set">dialog_hide_folder=0</action>
  11669.                     <action function="set">dialog_context=none</action>
  11670.                     <action function="overlay"></action>
  11671.                 </actions>
  11672.             </object>
  11673.            
  11674.             <object type="button">
  11675.                 <condition var1="dialog_context" var2="loc_install" />
  11676.                 <placement x="%db_right_x%" y="%db_y%" />
  11677.                 <font resource="menu" color="%text_button%" />
  11678.                 <text></text>
  11679.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11680.                 <actions>
  11681.                     <action function="set">location_install=%tw_zip_location%</action>
  11682.                     <action function="set">tw_zip_location=%location_install%</action>
  11683.                     <action function="set">dialog_context=none</action>
  11684.                     <action function="overlay"></action>
  11685.                 </actions>
  11686.             </object>
  11687.            
  11688.             <object type="button">
  11689.                 <condition var1="dialog_context" var2="loc_addfile" />
  11690.                 <placement x="%db_right_x%" y="%db_y%" />
  11691.                 <font resource="menu" color="%text_button%" />
  11692.                 <text></text>
  11693.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11694.                 <actions>
  11695.                     <action function="set">location_addfile=%tw_zip_location%</action>
  11696.                     <action function="set">tw_zip_location=%location_addfile%</action>
  11697.                     <action function="set">dialog_context=none</action>
  11698.                     <action function="overlay"></action>
  11699.                 </actions>
  11700.             </object>
  11701.            
  11702.             <object type="button">
  11703.                 <condition var1="dialog_context" var2="loc_theme" />
  11704.                 <placement x="%db_right_x%" y="%db_y%" />
  11705.                 <font resource="menu" color="%text_button%" />
  11706.                 <text></text>
  11707.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11708.                 <actions>
  11709.                     <action function="set">location_themes=%tw_zip_location%</action>
  11710.                     <action function="set">tw_zip_location=%location_themes%</action>
  11711.                     <action function="set">dialog_context=none</action>
  11712.                     <action function="overlay"></action>
  11713.                 </actions>
  11714.             </object>
  11715.            
  11716.             <object type="button">
  11717.                 <condition var1="dialog_context" var2="loc_image" />
  11718.                 <placement x="%db_right_x%" y="%db_y%" />
  11719.                 <font resource="menu" color="%text_button%" />
  11720.                 <text></text>
  11721.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11722.                 <actions>
  11723.                     <action function="set">location_install_image=%tw_zip_location%</action>
  11724.                     <action function="set">tw_zip_location=%location_install_image%</action>
  11725.                     <action function="set">dialog_context=none</action>
  11726.                     <action function="overlay"></action>
  11727.                 </actions>
  11728.             </object>
  11729.            
  11730.             <object type="action">
  11731.                 <touch key="power+voldown" />
  11732.                 <action function="screenshot"/>
  11733.             </object>
  11734.            
  11735.         </page>
  11736.        
  11737.         <page name="dialog_folder_install">
  11738.             <background color="%transparent%" />
  11739.            
  11740.             <object type="image">
  11741.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11742.                 <image resource="dialog_bg" />
  11743.             </object>
  11744.            
  11745.             <object type="image">
  11746.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11747.                 <image resource="dialog_label_bookmark_install" />
  11748.             </object>
  11749.            
  11750.             <object type="text" color="%text%">
  11751.                 <font resource="body2" />
  11752.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  11753.                 <text>Do you want to set the current folder</text>
  11754.             </object>
  11755.            
  11756.             <object type="text" color="%text%">
  11757.                 <font resource="body2" />
  11758.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  11759.                 <text>as the default folder for this list?</text>
  11760.             </object>
  11761.            
  11762.             <object type="checkbox">
  11763.                 <placement x="%storage_indent_x%" y="%db_checkbox_y%" />
  11764.                 <font resource="body2" color="%text%" />
  11765.                 <text>Don't ask me again</text>
  11766.                 <data variable="dialog_hide_folder" />
  11767.                 <image checked="checkbox_true_d_install" unchecked="checkbox_false_d" />
  11768.             </object>
  11769.            
  11770.             <object type="button">
  11771.                 <placement x="%db_left_x%" y="%db_y%" />
  11772.                 <font resource="menu" color="%text_button%" />
  11773.                 <text></text>
  11774.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11775.                 <actions>
  11776.                     <action function="set">dialog_hide_folder=0</action>
  11777.                     <action function="set">dialog_context=none</action>
  11778.                     <action function="overlay"></action>
  11779.                 </actions>
  11780.             </object>
  11781.            
  11782.             <object type="button">
  11783.                 <condition var1="dialog_context" var2="loc_install" />
  11784.                 <placement x="%db_right_x%" y="%db_y%" />
  11785.                 <font resource="menu" color="%text_button%" />
  11786.                 <text></text>
  11787.                 <image resource="db_ok_install" highlightresource="db_ok_hl_install" />
  11788.                 <actions>
  11789.                     <action function="set">location_install=%tw_zip_location%</action>
  11790.                     <action function="set">tw_zip_location=%location_install%</action>
  11791.                     <action function="set">dialog_context=none</action>
  11792.                     <action function="overlay"></action>
  11793.                 </actions>
  11794.             </object>
  11795.            
  11796.             <object type="button">
  11797.                 <condition var1="dialog_context" var2="loc_addfile" />
  11798.                 <placement x="%db_right_x%" y="%db_y%" />
  11799.                 <font resource="menu" color="%text_button%" />
  11800.                 <text></text>
  11801.                 <image resource="db_ok_install" highlightresource="db_ok_hl_install" />
  11802.                 <actions>
  11803.                     <action function="set">location_addfile=%tw_zip_location%</action>
  11804.                     <action function="set">tw_zip_location=%location_addfile%</action>
  11805.                     <action function="set">dialog_context=none</action>
  11806.                     <action function="overlay"></action>
  11807.                 </actions>
  11808.             </object>
  11809.            
  11810.             <object type="button">
  11811.                 <condition var1="dialog_context" var2="loc_image" />
  11812.                 <placement x="%db_right_x%" y="%db_y%" />
  11813.                 <font resource="menu" color="%text_button%" />
  11814.                 <text></text>
  11815.                 <image resource="db_ok_install" highlightresource="db_ok_hl_install" />
  11816.                 <actions>
  11817.                     <action function="set">location_install_image=%tw_zip_location%</action>
  11818.                     <action function="set">tw_zip_location=%location_install_image%</action>
  11819.                     <action function="set">dialog_context=none</action>
  11820.                     <action function="overlay"></action>
  11821.                 </actions>
  11822.             </object>
  11823.            
  11824.             <object type="action">
  11825.                 <touch key="power+voldown" />
  11826.                 <action function="screenshot"/>
  11827.             </object>
  11828.            
  11829.         </page>
  11830.        
  11831.         <page name="dialog_settheme">
  11832.             <background color="%transparent%" />
  11833.            
  11834.             <object type="image">
  11835.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11836.                 <image resource="dialog_bg" />
  11837.             </object>
  11838.            
  11839.             <object type="image">
  11840.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11841.                 <image resource="dialog_label_settheme" />
  11842.             </object>
  11843.            
  11844.             <object type="text" color="%text%">
  11845.                 <font resource="body2" />
  11846.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  11847.                 <text>Change to %tw_file%?</text>
  11848.             </object>
  11849.            
  11850.             <object type="text" color="%text%">
  11851.                 <font resource="body2" />
  11852.                 <placement x="%storage_indent_x%" y="%db_text2a_y%" />
  11853.                 <text>Reloading the theme might cause</text>
  11854.             </object>
  11855.            
  11856.             <object type="text" color="%text%">
  11857.                 <font resource="body2" />
  11858.                 <placement x="%storage_indent_x%" y="%db_text3a_y%" />
  11859.                 <text>a recovery reboot on some devices!</text>
  11860.             </object>
  11861.            
  11862.             <object type="button">
  11863.                 <placement x="%db_left_x%" y="%db_y%" />
  11864.                 <font resource="menu" color="%text_button%" />
  11865.                 <text></text>
  11866.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  11867.                 <actions>
  11868.                     <action function="overlay"></action>
  11869.                 </actions>
  11870.             </object>
  11871.            
  11872.             <object type="button">
  11873.                 <placement x="%db_right_x%" y="%db_y%" />
  11874.                 <font resource="menu" color="%text_button%" />
  11875.                 <text></text>
  11876.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11877.                 <actions>
  11878.                     <action function="cmd">cp &quot;%tw_filename%&quot; /sdcard/TWRP/theme/ui.zip</action>
  11879.                     <action function="sleep">1000</action>
  11880.                     <action function="reload"></action>
  11881.                 </actions>
  11882.             </object>
  11883.            
  11884.             <object type="action">
  11885.                 <touch key="power+voldown" />
  11886.                 <action function="screenshot"/>
  11887.             </object>
  11888.            
  11889.         </page>
  11890.        
  11891.         <page name="dialog_offset">
  11892.             <background color="%transparent%" />
  11893.            
  11894.             <object type="image">
  11895.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11896.                 <image resource="dialog_bg" />
  11897.             </object>
  11898.            
  11899.             <object type="image">
  11900.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  11901.                 <image resource="dialog_label_offset" />
  11902.             </object>
  11903.            
  11904.             <object type="text" color="%text%">
  11905.                 <font resource="body2" />
  11906.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  11907.                 <text>Select your offset value</text>
  11908.             </object>
  11909.            
  11910.             <object type="button">
  11911.                 <condition var1="tw_time_zone_guioffset" var2="0" />
  11912.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  11913.                 <font resource="body2" color="%text%" />
  11914.                 <text>0        </text>
  11915.                 <image resource="radio_true_d" />
  11916.                 <action function="set">tw_time_zone_guioffset=0</action>
  11917.             </object>
  11918.            
  11919.             <object type="button">
  11920.                 <condition var1="tw_time_zone_guioffset" op="!=" var2="0" />
  11921.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  11922.                 <font resource="body2" color="%text%" />
  11923.                 <text>0        </text>
  11924.                 <image resource="radio_false_d" />
  11925.                 <action function="set">tw_time_zone_guioffset=0</action>
  11926.             </object>
  11927.            
  11928.             <object type="button">
  11929.                 <condition var1="tw_time_zone_guioffset" var2="15" />
  11930.                 <placement x="%storage_indent_x%" y="%db_text3a_y%" />
  11931.                 <font resource="body2" color="%text%" />
  11932.                 <text>15      </text>
  11933.                 <image resource="radio_true_d" />
  11934.                 <action function="set">tw_time_zone_guioffset=15</action>
  11935.             </object>
  11936.            
  11937.             <object type="button">
  11938.                 <condition var1="tw_time_zone_guioffset" op="!=" var2="15" />
  11939.                 <placement x="%storage_indent_x%" y="%db_text3a_y%" />
  11940.                 <font resource="body2" color="%text%" />
  11941.                 <text>15      </text>
  11942.                 <image resource="radio_false_d" />
  11943.                 <action function="set">tw_time_zone_guioffset=15</action>
  11944.             </object>
  11945.            
  11946.             <object type="button">
  11947.                 <condition var1="tw_time_zone_guioffset" var2="30" />
  11948.                 <placement x="%center_x%" y="%db_text2_y%" />
  11949.                 <font resource="body2" color="%text%" />
  11950.                 <text>30       </text>
  11951.                 <image resource="radio_true_d" />
  11952.                 <action function="set">tw_time_zone_guioffset=30</action>
  11953.             </object>
  11954.            
  11955.             <object type="button">
  11956.                 <condition var1="tw_time_zone_guioffset" op="!=" var2="30" />
  11957.                 <placement x="%center_x%" y="%db_text2_y%" />
  11958.                 <font resource="body2" color="%text%" />
  11959.                 <text>30       </text>
  11960.                 <image resource="radio_false_d" />
  11961.                 <action function="set">tw_time_zone_guioffset=30</action>
  11962.             </object>
  11963.            
  11964.             <object type="button">
  11965.                 <condition var1="tw_time_zone_guioffset" var2="45" />
  11966.                 <placement x="%center_x%" y="%db_text3a_y%" />
  11967.                 <font resource="body2" color="%text%" />
  11968.                 <text>45      </text>
  11969.                 <image resource="radio_true_d" />
  11970.                 <action function="set">tw_time_zone_guioffset=45</action>
  11971.             </object>
  11972.            
  11973.             <object type="button">
  11974.                 <condition var1="tw_time_zone_guioffset" op="!=" var2="45" />
  11975.                 <placement x="%center_x%" y="%db_text3a_y%" />
  11976.                 <font resource="body2" color="%text%" />
  11977.                 <text>45      </text>
  11978.                 <image resource="radio_false_d" />
  11979.                 <action function="set">tw_time_zone_guioffset=45</action>
  11980.             </object>
  11981.            
  11982.             <object type="button">
  11983.                 <placement x="%db_right_x%" y="%db_y%" />
  11984.                 <font resource="menu" color="%text_button%" />
  11985.                 <text></text>
  11986.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  11987.                 <actions>
  11988.                     <action function="setguitimezone"></action>
  11989.                     <action function="overlay"></action>
  11990.                 </actions>
  11991.             </object>
  11992.            
  11993.             <object type="action">
  11994.                 <touch key="power+voldown" />
  11995.                 <action function="screenshot"/>
  11996.             </object>
  11997.         </page>
  11998.        
  11999.         <page name="dialog_reset">
  12000.             <background color="%transparent%" />
  12001.            
  12002.             <object type="image">
  12003.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  12004.                 <image resource="dialog_bg" />
  12005.             </object>
  12006.            
  12007.             <object type="image">
  12008.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  12009.                 <image resource="dialog_label_restoresettings" />
  12010.             </object>
  12011.            
  12012.             <object type="text" color="%text%">
  12013.                 <font resource="body2" />
  12014.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  12015.                 <text>Do you want to restore the</text>
  12016.             </object>
  12017.            
  12018.             <object type="text" color="%text%">
  12019.                 <font resource="body2" />
  12020.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  12021.                 <text>default settings for TWRP recovery</text>
  12022.             </object>
  12023.            
  12024.             <object type="text" color="%text%">
  12025.                 <font resource="body2" />
  12026.                 <placement x="%storage_indent_x%" y="%db_text3_y%" />
  12027.                 <text>and Materialised theme?</text>
  12028.             </object>
  12029.            
  12030.             <object type="button">
  12031.                 <placement x="%db_left_x%" y="%db_y%" />
  12032.                 <font resource="menu" color="%text_button%" />
  12033.                 <text></text>
  12034.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  12035.                 <actions>
  12036.                     <action function="overlay"></action>
  12037.                 </actions>
  12038.             </object>
  12039.            
  12040.             <object type="button">
  12041.                 <placement x="%db_right_x%" y="%db_y%" />
  12042.                 <font resource="menu" color="%text_button%" />
  12043.                 <text></text>
  12044.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  12045.                 <actions>
  12046.                     <action function="restoredefaultsettings"></action>
  12047.                     <action function="set">aromafm=0</action>
  12048.                     <action function="set">center_clock=0</action>
  12049.                     <action function="set">dialog_hide_folder=0</action>
  12050.                     <action function="set">dialog_hide_color=0</action>
  12051.                     <action function="set">dialog_context=none</action>
  12052.                     <action function="set">list_font=big</action>
  12053.                     <action function="set">bookmark=0</action>
  12054.                     <action function="set">navbar_sams=0</action>
  12055.                     <action function="set">menu_btn_solid=0</action>
  12056.                     <action function="set">location_install=/sdcard/Download</action>
  12057.                     <action function="set">location_install_image=/sdcard/Download</action>
  12058.                     <action function="set">location_addfile=/sdcard/Download</action>
  12059.                     <action function="set">location_themes=/sdcard/Download</action>
  12060.                     <action function="overlay"></action>
  12061.                 </actions>
  12062.             </object>
  12063.            
  12064.             <object type="action">
  12065.                 <touch key="power+voldown" />
  12066.                 <action function="screenshot"/>
  12067.             </object>
  12068.            
  12069.         </page>
  12070.        
  12071.         <page name="dialog_reset_theme">
  12072.             <background color="%transparent%" />
  12073.            
  12074.             <object type="image">
  12075.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  12076.                 <image resource="dialog_bg" />
  12077.             </object>
  12078.            
  12079.             <object type="image">
  12080.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  12081.                 <image resource="dialog_label_restoresettings" />
  12082.             </object>
  12083.            
  12084.             <object type="text" color="%text%">
  12085.                 <font resource="body2" />
  12086.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  12087.                 <text>Do you want to restore the default</text>
  12088.             </object>
  12089.            
  12090.             <object type="text" color="%text%">
  12091.                 <font resource="body2" />
  12092.                 <placement x="%storage_indent_x%" y="%db_text2_y%" />
  12093.                 <text>settings for the Materialised theme?</text>
  12094.             </object>
  12095.            
  12096.             <object type="button">
  12097.                 <placement x="%db_left_x%" y="%db_y%" />
  12098.                 <font resource="menu" color="%text_button%" />
  12099.                 <text></text>
  12100.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  12101.                 <actions>
  12102.                     <action function="overlay"></action>
  12103.                 </actions>
  12104.             </object>
  12105.            
  12106.             <object type="button">
  12107.                 <placement x="%db_right_x%" y="%db_y%" />
  12108.                 <font resource="menu" color="%text_button%" />
  12109.                 <text></text>
  12110.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  12111.                 <actions>
  12112.                     <action function="set">aromafm=0</action>
  12113.                     <action function="set">center_clock=0</action>
  12114.                     <action function="set">dialog_hide_folder=0</action>
  12115.                     <action function="set">dialog_hide_color=0</action>
  12116.                     <action function="set">dialog_context=none</action>
  12117.                     <action function="set">list_font=big</action>
  12118.                     <action function="set">bookmark=0</action>
  12119.                     <action function="set">navbar_sams=0</action>
  12120.                     <action function="set">menu_btn_solid=0</action>
  12121.                     <action function="set">location_install=/sdcard/Download</action>
  12122.                     <action function="set">location_install_image=/sdcard/Download</action>
  12123.                     <action function="set">location_addfile=/sdcard/Download</action>
  12124.                     <action function="set">location_themes=/sdcard/Download</action>
  12125.                     <action function="overlay"></action>
  12126.                 </actions>
  12127.             </object>
  12128.            
  12129.             <object type="action">
  12130.                 <touch key="power+voldown" />
  12131.                 <action function="screenshot"/>
  12132.             </object>
  12133.            
  12134.         </page>
  12135.        
  12136.         <page name="dialog_remove_theme">
  12137.             <background color="%transparent%" />
  12138.            
  12139.             <object type="image">
  12140.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  12141.                 <image resource="dialog_bg" />
  12142.             </object>
  12143.            
  12144.             <object type="image">
  12145.                 <placement x="%bg_storage_x%" y="%bg_storage_y%" />
  12146.                 <image resource="dialog_label_removetheme" />
  12147.             </object>
  12148.            
  12149.             <object type="text" color="%text%">
  12150.                 <font resource="body2" />
  12151.                 <placement x="%storage_indent_x%" y="%db_text1_y%" />
  12152.                 <text>Do you want to remove the theme?</text>
  12153.             </object>
  12154.            
  12155.             <object type="text" color="%text_dark%">
  12156.                 <font resource="body2" />
  12157.                 <placement x="%storage_indent_x%" y="%db_text2a_y%" />
  12158.                 <text>If you've found a bug, please visit</text>
  12159.             </object>
  12160.            
  12161.             <object type="text" color="%text_dark%">
  12162.                 <font resource="body2" />
  12163.                 <placement x="%storage_indent_x%" y="%db_text3a_y%" />
  12164.                 <text>the XDA forum and report it.</text>
  12165.             </object>
  12166.            
  12167.             <object type="button">
  12168.                 <placement x="%db_left_x%" y="%db_y%" />
  12169.                 <font resource="menu" color="%text_button%" />
  12170.                 <text></text>
  12171.                 <image resource="db_cancel" highlightresource="db_cancel_hl" />
  12172.                 <actions>
  12173.                     <action function="overlay"></action>
  12174.                 </actions>
  12175.             </object>
  12176.            
  12177.             <object type="button">
  12178.                 <placement x="%db_right_x%" y="%db_y%" />
  12179.                 <font resource="menu" color="%text_button%" />
  12180.                 <text></text>
  12181.                 <image resource="db_ok" highlightresource="db_ok_hl" />
  12182.                 <actions>
  12183.                     <action function="cmd">
  12184.                     if [ -f "/sdcard/TWRP/theme/ui.zip" ];
  12185.                     then rm -f "/sdcard/TWRP/theme/ui.zip";
  12186.                     else
  12187.                     rm -f "/int_sd/TWRP/theme/ui.zip";
  12188.                     fi
  12189.                     </action>
  12190.                     <action function="overlay"></action>
  12191.                     <action function="reload"></action>
  12192.                 </actions>
  12193.             </object>
  12194.            
  12195.             <object type="action">
  12196.                 <touch key="power+voldown" />
  12197.                 <action function="screenshot"/>
  12198.             </object>
  12199.            
  12200.         </page>
  12201.        
  12202.     </pages>
  12203. </recovery>
Add Comment
Please, Sign In to add comment