[Android Software Development] Depau:
With PipeDroid you can create NANDroid backups directly to the computer, on the fly.

DISCLAIMER

I'm not responsible for your misuse of this program.
This is an advanced tool and may or may not brick
your phone. I am not responsible for that.
You used it, it's your fault.

More technically, it's a shell script that simply creates a pipe through adb using Netcat, then dumps it to your computer.

It can also restore backups.

I was inspired by @scandiun's thread about a similar job, and decided to make a tool to do that automatically and reliably and that could restore the backups. This is his thread.

This project cannot be considered stable. Although I tested it with my Samsung Galaxy Express and my Nexus 7 and it worked, I cannot guarantee that it will work on your device. So please test it and let me know!

A safe (kinda) way to test it without damaging the device is by testing it on the recovery or boot partitions, as you can easily reflash them (unless you're running stock everything).

Let's see how to use it.

Download/Installation

Ahem, actually you don't install it. But you get the concept.

The only supported platform (at the moment) is GNU/Linux. I will not beat you up if you try it on Mac OS X or Windows through Cygwin, but do not come to cry if it doesn't work. Report an issue and wait, I'll take care of it at some point.

You get it from GitHub: https://github.com/Davideddu/pipedroid

Or if you don't like git you can still grab a zip while you change your mind about git ;)

If you're using Ubuntu/Debian/Linux Mint/another debian-based distro, scroll down after the requirements, there's a guide just for you!

Requirements!

A ROOTED Android device (or CyanogenMod)

BusyBox installed (unless you have CyanogenMod)

BusyBox installed

BusyBox installed

BusyBox installed

ADB enabled and SuperUser set to allow ADB to become root

and/or

A custom recovery (unless you don't want to restore your backups (tested with TWRP, it should work with CWM too)

Oh, almost forgot, you need BusyBox installed!

Quick installation for Ubuntu/Debian based distros: https://github.com/Davideddu/pipedroid#installation-on-ubuntudebian-based-distros

Dependencies

EasyBashGUI and at least one of it's supported dialogs (for PipeDroid's GUI), get it from https://github.com/BashGui/easybashgui

xterm, also needed for the GUI

pv, needed to display backup progress

gzip, used for compression

tar, used to create tarball backups

adb, used to transfer the data

Usually all of these but easybashgui, pv and adb are already installed by default.

Creating a backup using GUI

Just run the "pipedroid" script. It should check if your device is rooted and help you choose the parameters.

For more detailed info visit this page.

Restoring a backup using the command line

I haven't made a restoring interface yet. I will at some point, so hang on. You can still restore backups using the command line.

Just run

./pipedrestore_img <path to your backup> <partition to restore it to>

and wait.

Reporting bugs

This is a new-born project, it is really likely to have bugs. Do not report them in this thread, or they'll be ignored. Use this thread to get support or ask questions.

Bugs are to be reported at GitHub. Read this before reporting a bug: https://github.com/Davideddu/pipedroid#reporting-bugs

Contributions

Pull requests and suggestions are welcome and really appreciated. To suggest a feature just open an issue on GitHub and put "[Feature]" at the beginning of the title, or use XDA's feature. I'm not really picky for feature suggestions, I don't really care where you put them, I just want the bugs in the right place :)

If you want to test PipeDroid on another platform you're welcome to do so and report bugs about it! However GNU/Linux related bugs have a higher priority :)

XDA:DevDB Information

PipeDroid, Tool/Utility for the Android General

Contributors

davideddu96

Version Information

Status: Testing

Created 2014-08-28

Last Updated 2014-08-28