GithubHelp home page GithubHelp logo

holobackup's Introduction

Holo Backup (formerly Simple ADB backup)

NOTE: THIS PROJECT HAS BEEN DEPRECATED. Holo Backup was an interesting experiment to see how much could be done with ADB Backup alone, but ADB Backup itself proved to be very unreliable in practical use, and as such it is not advised for actual use. Please, don't submit bug reports or pull requests, they will be ignored.

A GUI for ADB backup in the form of a simple Qt-based Python application. Featured on Lifehacker, /r/Android, Redmond Pie, and more.

###Screenshots Screenshot

holobackup's People

Contributors

alibitek avatar lynnntropy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

holobackup's Issues

Holo Backup won't let me restore my backup

Hello,

I successfully backed up my phone (a Wiko Cink Peax running under ICS 4.0.4). The "Backup All without System Apps" option (9 Gb) ended up producing a smaller file than the "Backup App Data and Device Data" option (14 Gb), but at least the backup seems to have worked.

Now that I would like to restore these backups, the abb command prompt window is displaying the following error message.

restore error

Have you ever encoutered such an issue and would you happen to know how to solve it?

I do have a fall back solution for restore but I would just be much longer and complicated. So, I am hoping Holo Backup's restoe feature can work eventually.

Thank you, in advance, for your attention and reply.

Kind regards,

Florent

[Enhancement] Unify scripts for Linux and Windows

Currently there are two scripts main_linux.py and main_windows.py, however 90%+ of the functionality is the same, this can be refactored to a single script which includes the unified functionality for both platforms.

UI Hangs while backup in progress

Rather than calling os.system from the main thread, it would be much more user-friendly if subprocess were used, to allow the UI to continue painting.

Add timestamp + model number to backup file name

Since I use Holo backup for a couple of Smartphones I would prefer if Holo Backup could add some more unique identification patters to the created backup file name like
timestamp and model label and a reference to "Holo backup".

Alltogether the backup file name should look like

holobackup-XT1032-20151123-1528.ab

Could you add this to the next release?

Thank you
Peter

Save locations with whitespace in their name aren't handled correctly

First of all let me thank you for creating Holo Backup. It's great to see a backup solution that's both open-source and doesn't require root to work.

Here's a bug I recently found when trying to backup my device:

If you choose a folder with whitespace in it's name as your backup destination it will be passed to adb without quotes.

E.g.: For the save location /home/user/android backups the command being passed on to adb will be adb backup [..] -f /home/user/android backups. This will result in the backup being written to /home/user/android instead of /home/user/android backups.

A simple solution for this would be to always pass the target location on with double-quotes. So in the example above it would have to be: adb backup [..] -f "/home/user/android backups".

Edit: I don't know a single thing about python but now that I've looked through the code I see that the commands are already quoted. E.g. for the complete backup option:

    def backup_all_with_system(self, event):
        self.password_popup()
        self.progress_popup()

        if self.useSystemAdbBinary == False:
            os.system("gksudo \"./adb backup -apk -shared -all -system -f \"" + Path + "\"\"")
        else:
            os.system("adb backup -apk -shared -all -system -f \"" + Path + "\"")

I am not quite sure why they wouldn't work. Maybe it has to do with how gksudo handles quotation marks?

In any case, here's some more information about my system and the conditions under which I observed this bug:

  • Ubuntu 12.04
  • latest version of SimpleADBBackup as of 2014/02/15 (master branch)
  • backup performed using the packaged version of adb
  • specific backup type: "all without system apps"

Thanks for reading this.

HoloBackupLinux compiled for 32bit linux system use

The following errors are produced on the system in use when attempting to run the HoloBackupLinux command within the present distribution. The present system on which this attempt was made is a Mint 18; a 64 bit version of linux. As can be the command was compiled on, and for a 32 bit version of linux, however. Non the less, executing the src/main_linux.py directly, brings the SimpleADBBackup GUI up, which appears to be the core of the app. I have yet to had the time to try this from Windoze, though.


/usr/local/System/AndroidDev/SimpleADBBackup
odoncaoa@Killincoole$ ./HoloBackupLinux &
[1] 9720

/usr/local/System/AndroidDev/SimpleADBBackup
odoncaoa@Killincoole$ Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Gtk-Message: Failed to load module "atk-bridge"

[1]+ Segmentation fault ./HoloBackupLinux

odoncaoa@Killincoole$ file H*x

HoloBackupLinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.15, BuildID[sha1]=0248ce9005dc038760de61db786648ab7a6d485e, not stripped

/usr/local/System/AndroidDev/SimpleADBBackup
odoncaoa@Killincoole$ . ./src/main_linux.py

Restore

Do I need to type something in the command prompt to restore? Thanks.

HoloBackupLinux fails if gksudo is not installed

HBL calls os.system('gksudo <>'), which fails if gksudo is unavailable.

Rather than hardcode this, it should detect that gksudo isn't present, and display appropriate instructions.
Alternately, it should require use of system-installed adb if gksudo isn't available.

Linux KDE

Use kdesudo if no gksudo is found

Galaxy S2

I'm using SimpleADMBackup with a Galaxy S2, from windows 7 system.
"Backup all without system apps", "Backup all with system apps", "Backup app data and device data" and "Backup storage / SD card" options work fine, but "Backuo apps" and "Restore" (!!) options don't work.
When using these functions, nothing happens on the device. Therefore, I can not make restoring backups I've done (with the options that work).
Can you help me?
My e-mail: [email protected]
Thanks.
Jose Miguel

Blank spaces in install folder path causes restore to fail

If you install SimpleADBBackup into a directory whose full folder path includes a space, then when you go to restore an .ab file it won't work. Instead the command prompt will return the help documentation for adb.exe. I had to move SimpleADBBackup into a folder path without spaces in order for the restoration to work correctly.

Strangely, I did not have this issue while creating the initial backup of my phone.

Holo Backup does not restore app data

Hi, I recently backed up my galaxy tab's app data & device data which produced a 240mb backup.adb file on the backups folder. When I finally did a factory reset and restored it, nothing is restored. There's a prompt appeared on my tab like, "Restore starting..." then suddenly "Restore ended". Tried to restored it 5 times but to no avail. I think I followed everything correctly during back up. My tab was set to mtp while it is set with usb debugging mode and desktop backup password. I really don't know what to do now, losing all my app data is very difficult to bear. I hope someone can help me : (

why does holo require rooting for wireless ADB?

Hi!
I see this note under features:
NEW: Wireless ADB support has been added! You can now natively connect to your device wirelessly, provided you've enabled wireless ADB on your device using an app or a custom ROM. Note though, this requires your device to be rooted.
But wireless adb app works fine without routing, so why does holo require this.
Holo works fine for me using USB.

Selecting backup folder outside install dir not working

In Holo Backup v2.0 on 64bit Win 7 I selected a backup folder OUTSIDE the installation folder.

However this does NOT work. Holo Backup automatically always uses the sub folder "Backups" of installation folder.

I guess this is a bug. At least a warning should be display "Backup folder not valid" or something similar.

Moreover I would prefer to be able to specify a relative path for backup folder like

../myHoloBackups

Mind the 2 dots at the beginning which means "go up one lvele and the down to the brother folder "myHoloBackups".

Could you fix and add this option?

Thank you
Peter

Cannot select Backup folder

Distributor ID: Ubuntu
Description:    Ubuntu 12.04.3 LTS
Release:    12.04
Codename:   precise

The browse dialog appears but selecting any folder other than the default has no effect, the backup file is always created in applications' folder/Backups

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.