i got a backup.ab file with password. I'am looking for how to open it for 1 month but i still couldnt open it. I really need help can anyone tell me how can i open it please explain it with step-step
1 Answer
backup.ab
files are usually created by the command adb backup
. This answer is only for backup files that has been created by adb backup
. It will not work for other backup types.
Extracting an Android adb Backup file is pretty simple. You just need Android Backup Extractor, a Java program that does everything for you.
Just download the latest abe.jar
release. As it is Java based you also need a Java Runtime. Oracle Java is no longer free in all usage scenarios, therefore I recommend OpenJDK from Eclipse foundation. But any other Java 11 or 17 JRE or JDK is also fine (abe requires Java 11+).
To convert your Android Backup file backup.ab
to a tar execute
java -jar abe.jar unpack backup.ab
It will create a file backup.tar
which you can open using an ZIP tool of your choice (e.g. 7-Zip).
-
-
Hi i tried but i got this message : ''Unable to access jarfile abe.jar'' Is it because i put a password when i was backing up? Jun 1 at 20:49
-
@KaanAyhanoğulları
abe.jar
is the program for reading the backup not the backup itself. Have you downloaded abe.jar as described in my answer? And then open up a command prompt or terminal how it is called in your os in the directory where you have downloaded abe.jar into and execute the command to run abe.jar with Java.– RobertJun 1 at 21:16 -
Yes i have downloaded abe.jar but when i try to open i get that error message : ''a java exception has occurred'' Jun 1 at 21:42
-
@KaanAyhanoğulları The downloaded
abe.jar
works fine. If it doesn't work on your system then something is wrong with your installed Java version or the backup file is defect or in a wrong format. BTW: You still have not answered by comment on TWRP tag.– RobertJun 2 at 6:32
twrp
?backup.ab
files are created by the commandadb backup
which works in regular OS, not in TWRP.adb backup
but using a different format. But are those backups also password encrypted?