yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] omegavesko:
​

A multiplatform GUI application I coded that uses ADB Backup to make full backups of your phone/tablet.

Unfortunately, ADB Backup itself is rather buggy so it will often fail on many devices, and may not work at all on some (the HTC One series, Sony phones from 2011, and some Motorola phones are most often reported to not work). All of the things the Ultimate Backup Tool has trouble with also affect this application. Sorry, that's just how it works. Do report devices that don't work though, just so everyone knows about it.

One of the best uses of ADB Backup is backing up Nexus devices before unlocking the bootloader, which wipes the device. You can then simply restore the backup to have your device in (mostly) the same state as before.

Tested by myself on Windows 7 and Linux Mint 14. As I've only tested it on my own phone, I'm treating this as an open beta.

Not working? Fill out this form so other people know.

Check to see if your device is on the list.​

Download

http://omegavesko.github.com/SimpleADBBackup/ - Contains links to downloads in .tar and .zip formats. Both executables and source are included.

Usage

On Windows, simply run HoloBackup.exe.

On Linux, run HoloBackupLinux. Running the binary as superuser is no longer necessary.

You can also run it from source on either platform, just move the script for your platform from the /src/ directory into the parent directory.

Source

https://github.com/omegavesko/SimpleADBBackup - It's rather messy, I'm not too good at keeping git repos tidy. Should still work, though.

Changelog

v2.0 - Huge update. See GitHub page for feature list.

v1.0 - Initial release.

Credits

All credits for the frameworks used do to the teams behind Python, Qt and of course the Android team.

Also check out Ultimate Backup Tool, which inspired me to do this in the first place.
[Android Software/Hacking General [Developers Only]] xdacalvien:
I think this is good for noob, will try it after works.

Thanks.
[Android Software/Hacking General [Developers Only]] omegavesko:
Thank you, I appreciate the feedback.
[Android Software/Hacking General [Developers Only]] Jeppep86:
Simple interface, just the way I like it. Thank you so much for this! :)
[Android Software/Hacking General [Developers Only]] thegeek0101:
Great job... a few rough edges, but test run worked great. :)
[Android Software/Hacking General [Developers Only]] mc4ndr3:
Would this be better as an "adb-backup.sh <filename>" command line script? adb-backup.bat for Windows.
[Android Software/Hacking General [Developers Only]] omegavesko:
Don't see how it would be any different. At the end of the day, all this does is run 'adb backup' with a particular set of parameters.
[Android Software/Hacking General [Developers Only]] mc4ndr3:
The GUI has a ridiculously long list of buttons which would be better suited as command line arguments.
[Android Software/Hacking General [Developers Only]] Thassodar:
Will this work if you're trying to backup and restore to two different devices?

For example: Backing up from a broken Samsung GS3, and restoring to a new refurb GS3? Or backing up a Samsung Vibrant and restoring to a GS3?

My main concern is the app data, and doing it without root.
[Android Software/Hacking General [Developers Only]] omegavesko:
I'm afraid it won't. A backup can only be restored to the device it was made on.
[Android Software/Hacking General [Developers Only]] plegdroid:
You kept that quiet :D

really good work :D

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software/Hacking General [Developers Only]] YokoMotive:
I will try this on my ToroPlus, thanks!
[Android Software/Hacking General [Developers Only]] scandiun:
ADB backup and restore is plenty of bugs, please recommend clockworkmod instead.

Related adb backup and restore bugs:

Issue 28303: adb backup doesn't respect -noshared flag

Issue 32830: adb restore errors not displayed on device

Issue 34311: Galaxy Nexus gets stuck when restoring adb backup

Issue 25780:	BackupManager causes reboot when BackupAgent missing

Issue 40691: ab backup and restore Ski Safari does not restore saved data

Issue 16286: Restoration of phone not working properly
[Android Software/Hacking General [Developers Only]] omegavesko:
I'm aware of the buggy nature of ADB Backup. That's why I put warnings and disclaimers all over the place.

CWM is obviously better at backup and restore, but you also can't install CWM in the first place without unlocking the bootloader on a lot of devices, which usually wipes the device and defeats the purpose of a non-root backup utility.
[Android Software/Hacking General [Developers Only]] Vyrlokar:
I personally have ADB up and running (and do my backups manually using adb backup. It does work very well on my OG Transformer, my Galaxy Note and my Nexus 7, and yes, I use it to transfer game progress between devices, and it works well). Still, this tool is useful if you don't like typing on the command line.

Do you mind if I post enhancement suggestions? (I know those are possible, and in fact, I have toyed with the idea of doing them all in a bash script, no Python needed, though I always find that manual use of ADB Backup is more useful for me, so I always put it for another day)

Open the list of packages on a separate window, not on the console that was used to launch the application. I first launched it from gnome-panel, and then forgot to look there when the app told me that I should check for the list of apps in the other window

Allow for the tool to be launched without root permissions. If so, check if adb is available to the system (I have ADB properly set up, so it's in my <user dir>/bin, but any directory that is in the $PATH variable will serve

Use curl or wget to check the play store (it's easy as you have the package names) and then extract the name of the app from there (sed is the typical way to do so)

Name the single app backups with the package name and a timestamp. add the timestamp to full backups (package_name.YYYYmmdd_HHMM.backup.ab). Add an option to name full backup (DEVICENAME.YYYYmmdd_hhmm.backup.ab)

Offer the option to backup multiple (but not all) apps at once.

Offer the option to backup multiple (but not all) apps at once, but individually (this obviously requires multiple insertions of the backup password on the device)
[Android Software/Hacking General [Developers Only]] @work:
Good Job

Good job
[Android Software/Hacking General [Developers Only]] tomit12:
Trying this out, never seems to get passed the "Now unlock your device and confirm the backup operation."

Trying to run it on a Tmo Galaxy S3. USB Debugging is on, I set a Desktop Backup password like it said to. Adb devices lists the phone, so that seems to be okay. Phone is unlocked when I'm trying this, obviously.

I'm sure I am missing something obvious, I just can't think of what.
[Android Software/Hacking General [Developers Only]] Raider1284:
This is not true, you can backup from one device and restore to another using adb. I was originally on a Galaxy Nexus phone, but when I received the Nexus 4 I did a full backup of the Galaxy nexus, and then restored that backup onto my Nexus 4 and it worked beautifully. Though both phones probably should be running the same OS if you try this.

If this windows app is just running adb commands in the backened there's no reason why they couldnt do this.
[Android Software/Hacking General [Developers Only]] hittingsmoke:
Getting "adb: unable to connect for backup" on Windows 7 x64 trying to backup a Nexus 4.

USB debugging and backup password is set.

I'll troubleshoot it later when I get a chance to see if ADB is seeing my device.
[Android Software/Hacking General [Developers Only]] omegavesko:
Ah, my mistake then. I was going off the advice in the Ultimate Backup Tool thread.
[Android Software/Hacking General [Developers Only]] Ursus777:
Cancelled. :silly:
[Android Software/Hacking General [Developers Only]] chiappettafrank:
.ab backup file encrypted with password

All,

I'm sorry if this has been answered elsewhere, (I've searched first and have not been able to find the answer), but I'm having a problem after my backup completes where I'm trying to decrypt the file to verify that the backup actually contains my data. Once the backup is complete, I am using abe, where I've upgraded my java's encryption library to utilize the required US_export_policy. I'm then using the following example command to decrypt/unpack the backup.

java -jar abe.jar unpack backup.ab backup.tar mypassword

which returns something like the following error message:

Strong AES encryption enabled

Magic: ANDROID BACKUP

Version: 1

Compressed: 1

Algorithm: AES-256

IV: {string}

MK: {string}

MK checksum: {string}

key bytes: {string}

salt bytes: {string}

MK as string: {string}

Key format: RAW

Calculated MK checksum: {string}

Exception in thread "main" java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)

Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Invalid password or master key checksum.

at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:320)

at org.nick.abe.Main.main(Main.java:58)

... 5 more

Caused by: java.lang.IllegalStateException: Invalid password or master key checksum.

at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:286)

... 6 more

Any ideas? The only way I'm able to get into an .ab file is to not utilize an encryption key/password on my backups. Is anyone having any success with getting data/restoring from an encrypted backup? I'd hate to be encrypting my backups only to find that the password does not work when I try to restore from the backup.

Thanks in advance,

-Frank
[Android Software/Hacking General [Developers Only]] codelover:
First, make sure you are unpacking using latest commit of abe.

The same issue has been fixed on latest commit and is applicable if the backups was created by KitKat devices.

Personally tested it and it's unpacking just fine.
[Android Software/Hacking General [Developers Only]] Jon4248:
Good question, I'd like to know this as well.

Anyone know?
[Android Software/Hacking General [Developers Only]] louis0815:
Looks like the equation is correct.

But after testing option #1 I would highly recommend using the single options instead - performance of ADB restore is almost non-existant (not a problem of Holo Backup but a general problem). I created a 9.8GB backup file within ~90 minutes; restoring it took several hours (left it during the night and next morning it was finished)

Be aware that any backup option always creates a backup.ab in the Backups folder. If you create multiple files with the various options, rename backup.ab to whatever suits you (e.g. data_backup.ab) before starting the next one. No problem for restore with renamed files, even in subfolders - just select it and go...
[Android Software/Hacking General [Developers Only]] Jon4248:
Thanks
[Android Software/Hacking General [Developers Only]] julbra18:
I'm sending in my Nexus 5 tomorrow, because of a hardware issue. Will I be ablte to restore the backup I made today, or does this only work on exactly the same device? Thanks!
[Android Software/Hacking General [Developers Only]] DerMoeJoe:
This app works on various devices. So there is no problem when Do a restore to another device than the source device.
[Android Software/Hacking General [Developers Only]] voxluna:
Is this device-specific even within the same model? In other words, I have an Optimus G2 that I made a backup on, but the system board was replaced, so technically it might be considered a different phone. Maybe that's why the restore didn't work.
[Android Software/Hacking General [Developers Only]] omegavesko:
Restores to the same device model should work fine, at least I recall it working fine when I tried it. It could just be ADB being buggy in general that's giving you problems.
[Android Software/Hacking General [Developers Only]] zard:
Guys, the link in OP for download leads to a website that doesn't have any download links. Anybody can help me?
[Android Software/Hacking General [Developers Only]] TodWulff:
The links are up top in the page header, just below the burgundy ribbon:
[Android Software/Hacking General [Developers Only]] zard:
No wonder I didn't see it because I'm using Tapatalk.

Edit:

Still can't see it.
[Android Software/Hacking General [Developers Only]] zard:
Can someone share me a link to download?
[Android Software/Hacking General [Developers Only]] Lynx901:
Hi, I would like to root my Nexus 5, so I searched the way I could make a full back up. I saw this program, so I have some questions. Sorry if they're asked before, but I searched in the thread and didn't find any response:

• Which option have I have to use in the program to make a full back up and when I have unlocked the devide and rooted it have back the SAME all apps, media files and personal data?

• I saw problems with people with a Nexus 5 who had made a back up before root, and after root they couldn't restore it. Is there a solution for this?

• I couldn't find it, but... Is there a Os X version of the program?

Thanks for the answers and sorry for my english :)
[Android Software/Hacking General [Developers Only]] kaefert:
doesn't seem to work for me (Linux Mint 16 ~ Ubuntu 13.10)

Downloaded this from your website:

$ md5sum omegavesko-SimpleADBBackup-0aac4aa.tar.gz

07da2fad609b6301e3aceead052d8450 omegavesko-SimpleADBBackup-0aac4aa.tar.gz

Extracted and run gives this errros before it crashes with segmentation fault:
[Android Software/Hacking General [Developers Only]] sevenshorseman:
Hi.

A great tool. Thank you for sharing.

I did a backup from my GT-P5210 because it take hours if I would do it with CWM Recovery.

It seems to work. I got a .ab file.

So the sense of makeing a backup is to restore it someday?

I read the first 13 posts and I wonder if anybody can tell about restoring functionality.

Please report back?

I want to flash a custom ROM and won't go through the whole Odin process? if I need to go back to stock ROM.

Send from my Neatyfied I9300
[Android Software/Hacking General [Developers Only]] XqepX:
I've made the "Backup All without System Apps"-Backup. Does this also saves user app data? For example the safegame of Real Racing 3?

Thx in advance
[Android Software/Hacking General [Developers Only]] berylune:
Hello,

i have a little question, can i use this tool to use restore a full backup from one Device to other same Device?

My Device have 4.2.2 and other Device have 4.1. Can use this as Update?

Many Thanks!
[Android Software/Hacking General [Developers Only]] adaway:
ZIP download: https://github.com/omegavesko/SimpleADBBackup/zipball/master

TGZ download: https://github.com/omegavesko/SimpleADBBackup/tarball/master
[Android Software/Hacking General [Developers Only]] taigawutz::::
[need HELP] restore .ab or .tar file backup file made by HoloBackup (Windows 7)

hi,

yesterday I made a backup of a Note N7000 via the GUI of HoloBackup.

Unfortunately I did not manage to restore the backup back to the device.

A gmail account with contacts is needed, where the contacts of the phone/that account were not copied over to a new account created on the device. => did not backup the damn contacts seperately..

So I wanted to "simply restore" the device to be able to make a copy of the contacts but when ADB window opens and says "follow instructions on device", I enter password on device to restore and see that in the buttom a line changes until some app "autotethering..." appears and the device supposedly doesn't do anything. (can I manually delete this app in the ab file somehow? to skip it..?)

Well, I managed to decrypt the .ab file to .tar file.

Now, how can I possible restore the .tar file directly to the phone? I can enter a stock recovery, though no CWM recovery is flashed (device supposedly branded - didnt let me flash kernel+cwm). I can also use a software on a PC to restore back to the device. I got both the .ab and the .tar file to my disposal.

How do I proceed?
[Android Software/Hacking General [Developers Only]] dony71:
• Which option have I have to use in the program to make a full back up and when I have unlocked the devide and rooted it have back the SAME all apps, media files and personal data?

I have same question here. Any expert maybe can answer?
[Android Software/Hacking General [Developers Only]] augiem94:
To be clear, if I use option 1, will it still backup updated system apks from /data/app, and all their data? If not, if I choose option 2 will it do what I just said, also with the apks from /system/app, or without the apks?
[Android Software/Hacking General [Developers Only]] knightofbaghdad:
I just tried it with OnePlus One 64 GB version, and it works like a charm thank you very much..

please update your sheet.

Regards

Omar M.
[Android Software/Hacking General [Developers Only]] jamieroquai:
Hi guys,

can this be used to restore just app data from an TB backup zip on a non rooted phone?

I got a TB Backup from my HTC One I now got an Z3 that I would rather not root as there is no solution yet without unlucking the bootloader.

Or maybe one of you know a solution how to get data out of a TB backup and use it on a non rooted phone?

thanks!
[Android Software/Hacking General [Developers Only]] elzafir:
I just found out about this app. Why it's not being updated? This app is perfect! Please make version 3.0 or Material Backup, or whatever you wanna call it.
[Android Software/Hacking General [Developers Only]] fits79:
Hi.

Does this program backup every app or game WITH settings or without settings?

And if it does backup with settings what is the procedure to do that to a no root samsung galaxy s3 android 4.4.2?

I try it to my samsung galaxy s4 i9505 android 4.4.2 and after the part that at dos window at windows7 unlock the phone it stuck there....

So i say that the prg DOESN'T WORK.

A LOT OF THANKS.
[Android Software/Hacking General [Developers Only]] bronyDrake:
Please Help

I did restore my Oneplus one using Holo backup for unlocking bootloader and to root.

So i used full backup excluding system apps. Backup went fine and created 9 GB "backup.ab" file. But i'm getting trouble when i restore. It is getting stuck with one app restore. Almost all apps restored.

The problem is, among 9 GB file i think it is almost restoring around 2 GB and it stucks there with "com.adobe.psmobile". So my 7 GB data is left to restore. its my shared storage.

I have only basic knowledge about adb.. Can anybody please help me to restore or extract the files. I Just wan't to get the backup of shared storage data which is most important for me.. :( :(

Thanks in advance

EDIT :- Fixed by following [MENTION=2738944]scandiun[/MENTION] 's Guide http://xdaforums.com/showthread.php?t=2011811How to edit,extract adb backup.
[Android Software/Hacking General [Developers Only]] scandiun:
Edit the adb backup and remove "com.adobe.psmobile" application from it, sometimes thins kind of things happen.
[Android Software/Hacking General [Developers Only]] jdwis:
Hi

I have HTC One E8 (M8Sx), I have unlocked the bootloader (not yet installed TWRP, so no root) and trying to take backup so in case if anything goes wrong I have a backup.

I have chosen option - 2 - Bckup all with System Apps (unsafe)..

On the phone it has progressed certain far and now stuk at "Shared Storage"?? How long does it generally take?
[Android Software/Hacking General [Developers Only]] remichi:
I tried using HoloBackup, am not sure if it worked. Like other people it was stuck on SharedStorage for a long time on the Android device. The device frequently went into sleep mode, after unlocking it would still be on Shared Storage. On the Windows PC it did not show anything.

Finally I unlocked the Android device (Samsung Galaxy S i9000) and the backup screen was gone and it was back to my homescreen. On the PC it still did not show anything, the resulting file is 3.9 GB.

Is this the way the backup process should go? Just wanted to check that the backup was a success and if other people have the same experience.
[Android Software/Hacking General [Developers Only]] bronyDrake:
Yes This Holo Backup will not give any success message... So it must be succesfully backed up... Have you done the backup apps + data + SD card..??

---------- Post added at 07:38 PM ---------- Previous post was at 07:22 PM ----------

It will take time according to your backup file size... It transmit data approximately 2mb/s..
[Android Software/Hacking General [Developers Only]] Xenther:
So, it seems I can successfully do backup option 3 (Backup app data and device data) and option 5 (Backup storage/SD card), but not 4 (Backup apps). Either Holo Backup will stop responding, or just plain nothing will happen. It will do the usual prompts of asking if I have my password set and then tells me I need to do the rest on my phone, but I never get prompted to enter my password or anything.

I have a Sony Xperia D6603, stock and no root. Anyone have any suggestions, or maybe know why the two work but not this one? I checked the backup files, and they aren't empty files so they are backing up proper. Want to do a factory wipe because my Stamina Mode isn't working proper, but didn't want to go through setting all this stuff up again.
[Android Software/Hacking General [Developers Only]] bronyDrake:
In my case it was always showing "Not Responding" but the process were running successfully in the background.. I used to check whether the file size (inside backup folder) is increasing to confirm the process is going on....
[Android Software/Hacking General [Developers Only]] Xenther:
Did your phone prompt you for your desktop backup password after you selected the app backup option, though? My phone never prompted me for one... When I did the first and third backup options, I was prompted both times, and was able to see on my phone when they were running, and when they were finished running. I don't get any of that with the app backup option.
[Android Software/Hacking General [Developers Only]] bronyDrake:
Okey I tried with only the option "Backup all without system apps" . Then it went fine and i don't know how to solve your issue. But If you would like to do backup manually without using holo and direct through adb, just refer this below given guide..

http://xdaforums.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
[Android Software/Hacking General [Developers Only]] thegios:
Hey [MENTION=5785779]bronyDrake[/MENTION] since u have my same phone maybe u could help me :)

I made the mistake not to unlock+root b4 using the phone, so am now in the need to find a working backup solution for 3rd party apps, systems apps and system settings. What i wanna do is thake a full backup, unlock+wipe+root and then restore backup.

Have you tried this? Will it work on oneplus one?

Thanks
[Android Software/Hacking General [Developers Only]] bronyDrake:
Yes i used this holobackup to backup my data. But why you need to backup system apps? Anyway in my case i used "backup all without system apps" it includes thirdparty apk + its data + shared storage(internal storage). Backup went fine but restore seems to be stucked in half way but still i managed to extract the backup manually and restored. So you take backup off apps + data and then SD storage separate.
[Android Software/Hacking General [Developers Only]] thegios:
ACtually wha i need is backup of 3rd party apps and their data + system settings (not system apps, sorry).

No need to backup SD: I only have pics and can move them to PC.
[Android Software/Hacking General [Developers Only]] bronyDrake:
Sorry I don't think the system settings can backup with this. May be you have to reset that manually... Me too done the same fault that i didn't unlock bootloader before using phone..