From a13d74fc95324c4318fcc95956b07fe593669412 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Sun, 24 Mar 2013 08:54:55 -0500 Subject: Add partition list GUI element Add partition list GUI element and update backup, restore, mount, storage selection, and wipe sections of GUI and partition manager code to reflect the new GUI element. Update ORS engine to handle new backup and restore setup. Fix a bug with decrypt. Add 1080x1920 layout. Change-Id: Iaa2f44cb707167e66f935452f076ba00e68a2aa4 --- gui/devices/1280x800/res/ui.xml | 979 +++++++++++++--------------------------- 1 file changed, 302 insertions(+), 677 deletions(-) (limited to 'gui/devices/1280x800/res/ui.xml') diff --git a/gui/devices/1280x800/res/ui.xml b/gui/devices/1280x800/res/ui.xml index ef0b432ce..5ba47009e 100644 --- a/gui/devices/1280x800/res/ui.xml +++ b/gui/devices/1280x800/res/ui.xml @@ -41,7 +41,6 @@ - @@ -141,7 +140,7 @@ - + @@ -180,8 +179,24 @@ - - + + + + + + + + + + + + + + + + + + @@ -507,51 +522,15 @@ - - - - - - - Using external SD - - external - - - - - - - - - - Using external SD - - external - - - - - - - - - - Using internal storage - - internal - - - - - - - - - - Using internal storage - - internal + + + + + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + + tw_back=install + selectstorage + @@ -856,15 +835,6 @@ - - - - - - - - - @@ -1263,220 +1233,92 @@ - + - - - - Mount Menu - - - - - - - Mount USB Storage - - usb_mount + + + +
+ + Select Storage: + + + + + +
- - - - - Mount System - - /system + + + main - - - - - Unmount System - - /system + + + + %tw_back% + - - - - - Mount Data - - /data - + + - - - - - Unmount Data - - /data - + + - - - - - Mount Cache - - /cache + + + + Mount Menu - - - - - Unmount Cache - - /cache + + + +
+ + Select Partitions to Mount: + + + + +
- - - - - - - Mount SDCard - - EXTERNAL - - - - - - - - - - Unmount SDCard - - EXTERNAL - - - - - - - - - - - Mount Internal Storage - - INTERNAL - - - - - - - - - - - Unmount Internal Storage - - INTERNAL - - - - - - - - - - Mount SD-Ext - - /sd-ext - - - - - - - Unmount SD-Ext - - /sd-ext - - - - - - - - - Mount Boot - - /boot - - - - - - - - - - Unmount Boot - - /boot - - - - - - - - - - Using external SD - - external - - - - - - - - + + - Using external SD - - external + + + Decrypt Data + + decrypt - - - - - - - Using internal storage - - internal + + + + Mount USB Storage + + usb_mount - - - - - - - Using internal storage - - internal + + + + + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + + tw_back=mount + selectstorage + @@ -1541,191 +1383,133 @@ - Wipe Menu + Factory Reset: Wipes Data, Cache, and Dalvik + + + + + + + .android_secure + + + + + + + (not including internal storage) + + + + + + + SD-EXT + + + + + + Most of the time this is the only wipe that you need. - + - Cache + Advanced Wipe - - tw_back=wipe - tw_action=wipe - tw_action_param=/cache - tw_text1=Wipe Cache? - tw_action_text1=Wiping Cache... - tw_complete_text1=Cache Wipe Complete - tw_slider_text=Swipe to Wipe - confirm_action - + advancedwipe + + + + - + - Dalvik Cache + Format Data - tw_back=wipe - tw_action=wipe - tw_action_param=dalvik - tw_text1=Wipe Dalvik-Cache? - tw_action_text1=Wiping Dalvik-Cache... - tw_complete_text1=Dalvik-Cache Wipe Complete - tw_slider_text=Swipe to Wipe - confirm_action + formatdata - - - - - Factory Reset - + + + + Press back button to cancel. + + + + + tw_back=wipe tw_action=wipe tw_action_param=data - tw_text1=Factory Reset? - tw_text2=(Wipes Data and Cache) tw_action_text1=Factory Reset... tw_complete_text1=Factory Reset Complete - tw_slider_text=Swipe to Wipe - confirm_action + action_page - - - - - System - - - tw_back=wipe - tw_action=wipe - tw_action_param=/system - tw_text1=Wipe System? - tw_text2=This will wipe your ROM - tw_action_text1=Wiping System... - tw_complete_text1=System Wipe Complete - tw_slider_text=Swipe to Wipe - confirm_action - + + + + Swipe to Factory Reset - - - - - - External Storage - - - tw_back=wipe - tw_action=wipe - tw_action_param=EXTERNAL - tw_has_action2=1 - tw_action2=set - tw_action2_param=tw_zip_location=/sdcard - tw_text1=Wipe External Storage (SD card)? - tw_action_text1=Wiping External Storage... - tw_complete_text1=External Storage Wipe Complete - tw_slider_text=Swipe to Wipe - confirm_action - + + + main - - - - - - Internal Storage - - - tw_back=wipe - tw_action=wipe - tw_action_param=INTERNAL - tw_has_action2=1 - tw_action2=set - tw_action2_param=tw_zip_location=/sdcard - tw_text1=Wipe Internal Storage? - tw_action_text1=Wiping Internal Storage... - tw_complete_text1=Internal Storage Wipe Complete - tw_slider_text=Swipe to Wipe - confirm_action - + + + main - - - - - - - - - Format Data - - - tw_back=wipe - tw_action=wipe - tw_action_param=DATAMEDIA - tw_has_action2=1 - tw_action2=set - tw_action2_param=tw_zip_location=/sdcard - tw_text1=Format Data? (This wipes all media - tw_text2=including backups & removes encryption) - tw_text3=Most of the time you do not need to do this. - tw_action_text1=Formatting Data... - tw_complete_text1=Data Format Complete - tw_slider_text=Swipe to Format - tw_show_exclamation=1 - confirm_action - + + + + + + + + + +
+ + Select Partitions to Wipe: + + + + + +
- - - - - - Android Secure - + + + - tw_back=wipe + tw_back=advancedwipe tw_action=wipe - tw_action_param=ANDROIDSECURE - tw_text1=Wipe Android Secure? - tw_action_text1=Wiping Android Secure... - tw_complete_text1=Wipe Android Secure Complete - tw_slider_text=Swipe to Format - confirm_action + tw_action_param=LIST + tw_text1=Wipe Selected Partition(s)? + tw_action_text1=Wiping Partition(s)... + tw_complete_text1=Wipe Complete + action_page - - - - - - SD Ext - - - tw_back=wipe - tw_action=wipe - tw_action_param=/sd-ext - tw_text1=Wipe SD-Ext? - tw_action_text1=Wiping SD-Ext... - tw_complete_text1=SD-Ext Wipe Complete - tw_slider_text=Swipe to Wipe - confirm_action - + + + + Swipe to Wipe @@ -1735,182 +1519,160 @@ - main + wipe - + - Back Up Device + Format Data will wipe all of your apps, backups, pictures, - - Free Space: %tw_storage_free_size% MB + + videos, media, and removes encryption on internal storage. - - Backup Name: %tw_backup_name% + + This cannot be undone. Press back to cancel. - - - - System (%tw_backup_system_size% MB) - - + + + + Type yes to continue. - - + + + + - Data (%tw_backup_data_size% MB) - - + %tw_confirm_formatdata% + + + formatdata_confirm - - - - - Boot (%tw_backup_boot_size% MB) - - - + - - - - - Recovery (%tw_backup_recovery_size% MB) - - + + + main - - - - Cache (%tw_backup_cache_size% MB) - - + + + wipe - - - - - .android_secure (%tw_backup_andsec_size% MB) - - - + + - - - - - sd-ext (%tw_backup_sdext_size% MB) - - + + + + + tw_back=formatdata + tw_action=wipe + tw_action_param=DATAMEDIA + tw_action_text1=Formatting Data... + tw_complete_text1=Data Format Complete + action_page + - - - - - %tw_sp1_name% (%tw_backup_sp1_size% MB) - - + + + formatdata + - - - - - %tw_sp2_name% (%tw_backup_sp2_size% MB) - - - + + - - - - - %tw_sp3_name% (%tw_backup_sp3_size% MB) - - + + + + Back Up Device - - - - Enable Compression (Requires more time) - - + + + +
+ + Select Partitions to Back Up: + + + + + +
- - - - Skip MD5 generation on backups - - + + + + Backup Name: %tw_backup_name% - - - - - - - Using external SD - - external + + + + Refresh Sizes + + - - - - - - - Using external SD - - external + + + + Set Backup Name + + + tw_fileexists=0 + backupname1 + - + + + + + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + + tw_back=backup + selectstorage + + + + + - - - - - Using internal storage - - internal + Enable Compression (Requires more time) + + - + - - - - - Using internal storage - - internal + Skip MD5 generation on backups + + @@ -1928,27 +1690,6 @@ Swipe to Back Up - - - - - Refresh Sizes - - - - - - - - - Set Backup Name - - - tw_fileexists=0 - backupname1 - - - main @@ -2072,51 +1813,15 @@ - - - - - - - Using external SD - - external - - - - - - - - - - Using external SD - - external - - - - - - - - - - Using internal storage - - internal - - - - - - - - - - Using internal storage - - internal + + + + + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + + tw_back=restore + selectstorage + @@ -2146,19 +1851,6 @@ - - - - - - - - - Decrypt Data - - decrypt - - main @@ -2187,89 +1879,22 @@ Package Date: %tw_restore_file_date% - - - - System - - - - - - - - - Data - - - - - - - - - Boot - - - - - - - - - Cache - - - - - - - - - .android_secure - - - - - - - - - sd-ext - - - - - - - - - %tw_sp1_name% - - - - - - - - - %tw_sp2_name% - - - - - - - - - %tw_sp3_name% - - - + + + +
+ + Select Partitions to Restore: + + + + + +
- + Enable MD5 checking of backup files @@ -2291,7 +1916,7 @@ - + Delete Backup -- cgit v1.2.3