From 83bd483f3db1df4b69c1612030e1a1be05b303ad Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Sat, 4 May 2013 12:39:56 +0000 Subject: Support encrypted backup files Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9 --- gui/devices/320x480/res/ui.xml | 327 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 318 insertions(+), 9 deletions(-) (limited to 'gui/devices/320x480/res/ui.xml') diff --git a/gui/devices/320x480/res/ui.xml b/gui/devices/320x480/res/ui.xml index 66865a7c4..6d258b067 100644 --- a/gui/devices/320x480/res/ui.xml +++ b/gui/devices/320x480/res/ui.xml @@ -169,7 +169,7 @@ - + @@ -1325,15 +1325,21 @@ - - - + + + + + Backup Name: %tw_backup_name% + + tw_fileexists=0 + backupname1 + - +
Select Partitions to Back Up: @@ -1346,14 +1352,33 @@
+ + + + - Set Backup Name + No Encryption - tw_fileexists=0 - backupname1 + backupencryption + + + + + + + + + + + + + Using Encryption + + tw_password_not_match=0 + backupencryption @@ -1495,6 +1520,152 @@ + + + + + + + Encrypt your backup? + + + + + + Please Enter A Password: + + + + + + + + %tw_backup_encrypt_display% + + + backupencryption2 + + + + + + + Passwords Do Not Match + + + + + + + Cancel + + + tw_encrypt_backup=0 + tw_backup_password= + tw_backup_password2= + tw_backup_encrypt_display= + tw_backup_encrypt_display2= + backup + + + + + + + + main + + + + + backup + + + + + + + + + + + + Encrypt your backup? + + + + + + Please Enter Password Again: + + + + + + + + %tw_backup_encrypt_display2% + + + + checkbackuppassword + + + + + + + + Cancel + + + tw_encrypt_backup=0 + tw_backup_password= + tw_backup_password2= + tw_backup_encrypt_display= + tw_backup_encrypt_display2= + backup + + + + + + + + main + + + + + backup + + + + + + + + + + tw_encrypt_backup=1 + backup + + + + + + + tw_encrypt_backup=0 + tw_password_not_match=1 + tw_backup_password= + tw_backup_password2= + tw_backup_encrypt_display= + tw_backup_encrypt_display2= + backupencryption + + + + @@ -1561,7 +1732,7 @@ - restore_select + restore_read @@ -1578,6 +1749,144 @@ + + + + + tw_password_fail=0 + restore_decrypt + + + + + + + restore_select + + + + + + + + + + + Backup Encrypted + + + + + + Please Enter Your Password: + + + + + + + + %tw_restore_display% + + + + try_restore_decrypt + + + + + + + + Password Failed, Please Try Again + + + + + + + Cancel + + + tw_page_done=1 + restore + + + + + + + + Delete + + + tw_back=restore + tw_action=cmd + tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%" + tw_text1=Delete Backup? %tw_restore_name% + tw_text2=This cannot be undone! + tw_action_text1=Deleting Backup... + tw_complete_text1=Backup Delete Complete + tw_slider_text=Swipe to Delete + confirm_action + + + + + + + + main + + + + + restore + + + + + + + + + + + + Trying Decryption with Your Password + + + + + + + + + + + + + + + + + tw_password_fail=1 + restore_decrypt + + + + + + + + + + tw_page_done=1 + restore_select + + + + -- cgit v1.2.3