[Tool][Windows/Linux][4.0+] Holo Backup - Full backup without root!

Search This thread

slayer.1942

Senior Member
Apr 7, 2008
76
1
Los Angeles
can somebody tell me what is included in this backup(the first one without system apps)
such as sms, contacts, my apps youtube login information all included?
can I backup my galaxy s7 nogut G930A rom and goto G930U and restore it?

thanks to all
 

Galane

Senior Member
Jan 27, 2012
91
7
I need a version of this that
1. requires absolutely no user interaction with the phone's screen. No password entry, no having to tap OK on a USB Debugging popup, nada, nothing, zip, zero.
2. can restore apps to another phone of the exact same hardware and Android version/revision.

Lots of people would love that. Everyone who has dropped their phone and destroyed the screen.

I have a Sprint SPH-L720T that survived drops to concrete and asphalt and being stepped on, display down, and skidded across a tile floor (with a glass screen protector which broke). What killed it? Falling less than 2 feet from the arm of a chair onto a plastic laptop conputer. Hit the edge of the screen precisely on a pointy edge of the laptop housing. Glass protector didn't save it, even though it broke too.

I have another identical SPH-L720T. Both are running the stock, unrooted firmware with up to date OTA updates. Both have USB debugging enabled, but the damaged one I cannot OK USB debugging connections on due to the screen damage.
 
  • Like
Reactions: deimoZ

Poke_N_PDA

Senior Member
Jul 26, 2005
590
57
Edmond, OK
Has anyone tried to use this to backup/restore android apps on a chromebook? I want to move app data from one chromebook to another and after looking into it ADB backup seems my only possible solution.

Also, is there somewhere I can see the background commands that are being run by the GUI? Does it simultaneously open a command window where we can see what it is running and better learn how it works?
 

secor941

Member
Sep 14, 2017
13
1
Things that make you go hmm...

When it says it will only restore to same device, does this mean that actual physical device or could I possibly use it to create a file to restore another phone that is the exact same device as the one being used to create the backup?


OSIXf6X.png

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.



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.

 
Feb 27, 2019
8
1
I need a version of this that
1. requires absolutely no user interaction with the phone's screen. No password entry, no having to tap OK on a USB Debugging popup, nada, nothing, zip, zero.
2. can restore apps to another phone of the exact same hardware and Android version/revision.

Lots of people would love that. Everyone who has dropped their phone and destroyed the screen.

I have a Sprint SPH-L720T that survived drops to concrete and asphalt and being stepped on, display down, and skidded across a tile floor (with a glass screen protector which broke). What killed it? Falling less than 2 feet from the arm of a chair onto a plastic laptop conputer. Hit the edge of the screen precisely on a pointy edge of the laptop housing. Glass protector didn't save it, even though it broke too.

I have another identical SPH-L720T. Both are running the stock, unrooted firmware with up to date OTA updates. Both have USB debugging enabled, but the damaged one I cannot OK USB debugging connections on due to the screen damage.
Its not possible I think.Everything else can be done by the Dev except USB debugging option.....that requires user interaction .
 
Last edited:

jelabarre59

Senior Member
Nov 19, 2013
52
4
Pawling
I looked this up by the project name itself, found the GitHub site for it, and it has been officially abandoned for over 3 years. Mainly because Google's crap programming locks you out of your *OWN* device. Sad situation when a phone os developed by Microsoft was probably more OPEN than something that runs a Linux kernel. Android is becoming more and more closed by the week.
 

arana1

Senior Member
Oct 27, 2011
241
36
Redmi Note 9
does this work on android 9 devices?

---------- Post added at 10:47 PM ---------- Previous post was at 10:32 PM ----------

hmm didnt work for me, but i set an easy password for desktop backup (abcd), then after the tool failed I tried to disable desktop backup password and it keeps telling me my password is wrong, I wonder if the tool changed anything that is preventing me from disabling the password, dont know if it even has the ability to do that, now i know no way to disable the desktop password, im sure i used abcd because the only reason i put it in (twice) was to be able to use the tool, any idea how to blank it again without reseeting the phone (the idea was to avoid losing all data from the begining)
 

jmichael2497

Senior Member
Feb 12, 2017
52
9
support.t-mobile.com
i set an easy password for desktop backup (abcd), then after the tool failed I tried to disable desktop backup password and it keeps telling me my password is wrong

dev options menu in the device itself has a spot for setting desktop full backup passwords.

(though i'm guessing you already found a solution since it's been few months)

i think i'll just do this manually (adb backup packagename) for two apps that were hidden from the play store since their content download and unlock servers were retired.
 

arana1

Senior Member
Oct 27, 2011
241
36
Redmi Note 9
dev options menu in the device itself has a spot for setting desktop full backup passwords.

(though i'm guessing you already found a solution since it's been few months)
download and unlock servers were retired.

That option is what i was talking about, don't want to set it,i already had but when trying to clear it it always says pwd wrong, i read somewhere that it was a problem with encrypted installations, at the end i just factory restored i don't use those desktop bkps anyway but it was something that i didn't want to have enabled if the pwd was not working, im stubborn like that. :p
 

tobiman12345

New member
Jul 19, 2020
1
0
Hi - we have serveral Samsung Tab S6. Can i Backup a prepared Device und Restore it on the other Tablets? I have 2 Users Admin and restriced User both configured the way we need it. Can you include those 2 Users in the Backup? Greetings - nice Work
 

[email protected]

Senior Member
Jul 15, 2011
60
15
any link please ? i really want to try this

https://github.com/omegavesko/HoloBackup

Better do it yourself
Enable Android ADB Backup
The Android backup feature using adb backup is only available from Android 4.0+. To use this feature, USB debugging (under Settings -> Developer options) must be enabled on the device.

Also, this feature does not work on all apps. To enable ADB backup for an app, that app must have set the android:allowbackup attribute to true in the Android Manifest (AndroidManifest.xml) XML file.

Android Manifest XML File
<application>
...
android:allowBackup="true"
...
</application>
1
2
3
4
5
<application>
...
android:allowBackup="true"
...
</application>
Apps like the Google Authenticator have disabled the ADB backup feature to prevent sensitive information from being extracted from the device. ADB backup will not work on such apps. An attempt to perform an ADB backup on such apps will only generate a dummy file with no valid content inside.

Perform Android ADB Backup
To perform an ADB backup, you will first need to know the package name of the app in question. For example, if you want to perform a backup of the WhatsApp application, the package name would be “com.whatsapp“.

You can get a list of the installed packages by running the pm list packages command from the ADB shell.

$ adb shell pm list packages
Another easier way is to extract the package name from the app’s Google Play Store web URL. For WhatsApp, the URL is https://play.google.com/store/apps/details?id=com.whatsapp and the package name can be found after the “id=” field.

To perform a backup, connect the phone to the computer via USB and run the ADB backup command. If you want to backup WhatsApp, run adb like this:

$ adb backup -f com.whatsapp.ab -noapk com.whatsapp
This will trigger a confirmation dialog prompting you to authorise the backup on your phone as shown below. Click on the “Back up my data” button without providing a password. The backup will start only after you click on the button.

Wait for the ADB backup command to complete. It may take a while, depending on the size of the data to be backed up. The backup will be written to the file specified in the “-f” option, in our case, it’s “com.whatsapp.ab“. The “.ab” extension indicates Android Backup. The “-noapk” option means that a backup of the .apk file is disabled and only the contents are backed up.

Restore / Repack Android ADB Backup
To restore the original Android Backup archive, run adb like this:

$ adb restore com.whatsapp.ab

A nice little helper for preparing ADB backups has landed in from switzerland:
https://play.google.com/store/apps/details?id=ch.masshardt.adbbackuphelper&hl=en_US

1. To backup app data along with apk

Type in this command:

adb backup -f “D:\myfolder\myapp.ab” -apk <package name>

-f parameter specifies the file location, -apk specifies to backup apk (and not only app data)

Once you enter this command on PC you will be prompted to unlock phone screen. Unlock screen and select ‘Back Up Data’ and also enter password if you have set up any previously. This command will store the backup to myapp.ab file on your PC. To restore this back to your phone simply type in:

adb restore “D:\myfolder\myapp.ab”

This command will restore entire app back to your phone.

2. To backup only app data

To backup only data don’t pass -apk parameter. This will only backup the app data in myapp.ab file. Remember that before you restore this backup the app should already be installed on the phone (From play store or from apk file which you are supposed to have).

3. To backup multiple apps

If you need to backup more than one app put in all package names in <package name> parameter with single space between each name. Alternatively if you want to backup all apps on phone you can use:

adb backup -f “D:\myfolder\myapp.ab” -all -apk -nosystem

-nosystem parameter is used to exclude system apps from backup, as restoring system apps sometimes causes stability issues.

4. To backup your personal data only

adb backup -shared -f “D:\myfolder\mydata.ab”
-shared does a backup of personal data from the internal SDcard. It used to exclude apps, but should save settings
 
Last edited:

brapsniffr91

Member
Apr 24, 2022
17
0
why would you make an entire thread to share your program
then take it away
then tell people who want to use it to do it their selves
 

Top Liked Posts

  • There are no posts matching your filters.
  • 204
    OSIXf6X.png

    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.



    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.
    6
    Hey thanks,

    I know this is an old post, but so an I..... Lol!

    Here is a Working Link for Win and Linux HERE

    Click on either Win of Linux
    Than just look down that page to....
    "This file has been truncated, but you can view the full file. For Win....
    Click on that working LINK!


    Same Text Link for Linux


    Might help someone!
    4
    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

    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.
    3
    any link please ? i really want to try this

    https://github.com/omegavesko/HoloBackup

    Better do it yourself
    Enable Android ADB Backup
    The Android backup feature using adb backup is only available from Android 4.0+. To use this feature, USB debugging (under Settings -> Developer options) must be enabled on the device.

    Also, this feature does not work on all apps. To enable ADB backup for an app, that app must have set the android:allowbackup attribute to true in the Android Manifest (AndroidManifest.xml) XML file.

    Android Manifest XML File
    <application>
    ...
    android:allowBackup="true"
    ...
    </application>
    1
    2
    3
    4
    5
    <application>
    ...
    android:allowBackup="true"
    ...
    </application>
    Apps like the Google Authenticator have disabled the ADB backup feature to prevent sensitive information from being extracted from the device. ADB backup will not work on such apps. An attempt to perform an ADB backup on such apps will only generate a dummy file with no valid content inside.

    Perform Android ADB Backup
    To perform an ADB backup, you will first need to know the package name of the app in question. For example, if you want to perform a backup of the WhatsApp application, the package name would be “com.whatsapp“.

    You can get a list of the installed packages by running the pm list packages command from the ADB shell.

    $ adb shell pm list packages
    Another easier way is to extract the package name from the app’s Google Play Store web URL. For WhatsApp, the URL is https://play.google.com/store/apps/details?id=com.whatsapp and the package name can be found after the “id=” field.

    To perform a backup, connect the phone to the computer via USB and run the ADB backup command. If you want to backup WhatsApp, run adb like this:

    $ adb backup -f com.whatsapp.ab -noapk com.whatsapp
    This will trigger a confirmation dialog prompting you to authorise the backup on your phone as shown below. Click on the “Back up my data” button without providing a password. The backup will start only after you click on the button.

    Wait for the ADB backup command to complete. It may take a while, depending on the size of the data to be backed up. The backup will be written to the file specified in the “-f” option, in our case, it’s “com.whatsapp.ab“. The “.ab” extension indicates Android Backup. The “-noapk” option means that a backup of the .apk file is disabled and only the contents are backed up.

    Restore / Repack Android ADB Backup
    To restore the original Android Backup archive, run adb like this:

    $ adb restore com.whatsapp.ab

    A nice little helper for preparing ADB backups has landed in from switzerland:
    https://play.google.com/store/apps/details?id=ch.masshardt.adbbackuphelper&hl=en_US

    1. To backup app data along with apk

    Type in this command:

    adb backup -f “D:\myfolder\myapp.ab” -apk <package name>

    -f parameter specifies the file location, -apk specifies to backup apk (and not only app data)

    Once you enter this command on PC you will be prompted to unlock phone screen. Unlock screen and select ‘Back Up Data’ and also enter password if you have set up any previously. This command will store the backup to myapp.ab file on your PC. To restore this back to your phone simply type in:

    adb restore “D:\myfolder\myapp.ab”

    This command will restore entire app back to your phone.

    2. To backup only app data

    To backup only data don’t pass -apk parameter. This will only backup the app data in myapp.ab file. Remember that before you restore this backup the app should already be installed on the phone (From play store or from apk file which you are supposed to have).

    3. To backup multiple apps

    If you need to backup more than one app put in all package names in <package name> parameter with single space between each name. Alternatively if you want to backup all apps on phone you can use:

    adb backup -f “D:\myfolder\myapp.ab” -all -apk -nosystem

    -nosystem parameter is used to exclude system apps from backup, as restoring system apps sometimes causes stability issues.

    4. To backup your personal data only

    adb backup -shared -f “D:\myfolder\mydata.ab”
    -shared does a backup of personal data from the internal SDcard. It used to exclude apps, but should save settings
    3
    Looks like Githib is still under maintenance....

    It just came back up.


    Sent from my HTC One using Tapatalk 4 beta

    **Press the thanks button if I have helped you.