Due to some problems with my Acer Iconia 7 tablet (with KitKat 4.4) I decided to perform factory reset. However, because I have there some data that I did not want to lose I created a backup in HoloBackup. The backup was created succesfully (it has around 1 GB), but when I try to restore it, the process fails by error adb: archive is encrypted but no password given.
Now, at this point, I do not understand, because in developer settings I set a password to protect the backup feature of the tablet. But the error message sounds like a password protection is actually required for the .ab file itself. But in the settings nor in HoloBackup, I cannot see any way how to do it.
Can you help me please. Thank you.
Asked
Active
Viewed 242 times
1

Michael Kůr
- 21
- 3
1 Answers
1
Thanks to alexcs I was able to get it working, so here are the steps to solve the issue:
- You need to convert the .ab file to unencrypted .tar archive, first. To do that, follow next steps.
- If you have not installed Java SE on your computer yet, download it and install.
- Download android-backup-extractor from SourceForge and extract it.
- Now open Windows Explorer and locate the folder, to which you unpacked that archive.
- Navigate to ...\android-backup-tookit\android-backup-extractor\android-backup-extractor-20180521-bin
- Open the folder, where is located your .ab backup, in a new window and copy the abe.jar executable from android-backup-extractor-20180521-bin folder and paste it here.
- Now open command-line or Windows PowerShell and use the
cd "path"
command (for examplecd "C:\omegavesko-HoloBackup-179d978\Backups"
to change your parent directory to the folder, in which is stored your .ab file - Now convert the .ab file to unencrypted .tar archive by entering this command:
java -jar abe.jar unpack [file name of the original .ab file] [file name of the output file],
(for examplejava -jar abe.jar unpack backup_june_2020.ab output.tar
). - Now unlock the .ab file by entering password, which should be the same as the password you are using to unlock the backup function of your device.
- Wait, until the process is not finished (the size of the .tar file will stop grow) .
- Now convert the .tar file to unencrypted .ab file, using command:
java -jar abe.jar pack [file name of the converted backup file] [file name of the new .ab backup]
(for example:java -jar abe.jar pack output.tar backup_june_2020_fixed.ab
) - Wait, until the process is not finished.
- Now navigate to the directory, where is executable HoloBackup.exe (for example
cd "C:\omegavesko-HoloBackup-179d978"
) - Now power on your android device, connect it via USB and eventually make other neccesary settings.
- Restore the backup by using command
.\adb restore "file path"
(for exampleadb restore "C:\omegavesko-HoloBackup-179d978\backups\backup_june_2020_fixed.ab"
) - Enter the password on your device to unlock the backup function.
- Wait until the process finishes.

Michael Kůr
- 21
- 3
adb restore backup.ab
should ask about password on device screen – alecxs Jul 07 '20 at 19:52