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/800x1280/res/ui.xml | 327 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 318 insertions(+), 9 deletions(-) (limited to 'gui/devices/800x1280') diff --git a/gui/devices/800x1280/res/ui.xml b/gui/devices/800x1280/res/ui.xml index f7226f0fa..a6931b238 100755 --- a/gui/devices/800x1280/res/ui.xml +++ b/gui/devices/800x1280/res/ui.xml @@ -170,7 +170,7 @@ - + @@ -1326,15 +1326,21 @@ - - - + + + + + Backup Name: %tw_backup_name% + + tw_fileexists=0 + backupname1 + - +
Select Partitions to Back Up: @@ -1347,14 +1353,33 @@
+ + + + - Set Backup Name + No Encryption - tw_fileexists=0 - backupname1 + backupencryption + + + + + + + + + + + + + Using Encryption + + tw_password_not_match=0 + backupencryption @@ -1496,6 +1521,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 + + + + @@ -1562,7 +1733,7 @@ - restore_select + restore_read @@ -1579,6 +1750,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