[Android Software/Hacking General [Developers Only]] osm0sis:
ADB Screenshot for GN v1.3 up in the OP. A minor update, slimmed down the zip slightly by using a recent stable version of ffmpeg instead of a nightly, also included the credits.txt to better explain where I got the binaries involved (ffmpeg, mogrify, and a version of adb that doesn't leave files behind in your %UserProfile% folder). Previous version (v1.2) had 70 downloads. (y)

Also, long requested..

ADBsync sdcard Backup is now a standalone package and up in the OP. :D

v1.0 and v2.0 have a lot of advancements over the old batch file code I posted. Much credit and thanks to @Renate NST for continuing to develop the adbsync utility my batch script is built upon, resolving a number of issues which have allowed my script to become more robust (including the ones where files would get pushed to the root of the working Host drive, and where not all host-only directories would get reported). All you require in addition to the package are Windows ADB/Fastboot drivers: http://xdaforums.com/showthread.php?t=1379875

Self-contained; unzip anywhere and run the batch file to have it create an initial backup of your sdcard while connected via adb to your custom recovery or USB Debugging.

Automatically detects outdated included ADB files and updates them from Google's platform-tools-latest repo.

Supports ADB over WiFi if your device is set up for this (a "Wi-Fi ADB" app may help you if your ROM doesn't have settings for it). To enable it just edit the batch file and add your device's LAN IP from your home network to the connectIP= variable.

After the initial backup, running the batch file synchronizes to host-side, pulling new files from the Android to the Host and removing files/directories from the Host that are now gone on the Android.

If you make a fresh nandroid before each sync then this actually results in having a complete snapshot of your device for that moment in time.

Logs any remaining differences (host or android side) to backup.log during each sync. The host side only differences get cleaned up, as mentioned above.

Customizable; defaults to target /storage/emulated when booted to Android and not adb root shell, otherwise it is /data/media to support internal sdcard devices (most devices), but you can easily edit the batch file and change the variable mountPoint=/data/media at the top to the appropriate directory to access your sdcard (no symlinks, try to use the actual mount, eg. /storage/sdcard0 on the Galaxy S2 GT-i9100).

If root is not detected (i.e. booted and on USB Debugging without adb root shell) and using the default targets, automatically changes mountPoint using detected current user # and uses this to make the correct subdirectory under the local sdcard backup folder so it may also be synchronized from recovery.

Since Windows has a path length limit significantly shorter than that of Linux, if you run into an issue with the sync halting when the resulting path is too long you may add the offending Android sdcard path to longfilenames-zip-list.ini, the batch file will push a .noadbsync file to entered directories to ignore them during the sync, then zip the paths and pull down sdcard-longfilenames.zip. If you don't require this you can safely delete the .ini file.

If you want to ignore any other whole directories you may add them to directory-ignore-list.ini, which will create .noadbsync files in them on the Android side (but not zip them) as above. You may safely delete the .ini file if you don't require this. To ignore or include only specific filenames you can edit the batch file and change the ignorePattern= and/or onlyPattern= variables at the top. Pattern only (ie. no /i or /o required like there would be for the adbsync commandline), wildcards accepted. More info on what the patterns can be and examples on how to use them in the adbsync thread.

A credits.txt is also included to link to adbsync, the GNUWin32 utils and Android Info-Zip binary in use.

Note: If ever restoring a sdcard backup to your device with adb push, you'll want to use my sdcard Fix Permissions Script Zip afterwards to avoid some problems that can arise from adb push setting root:root owner/group and full 777 (rwxrwxrwx) permissions to files.

Previous download count: v1.1 - 8444. v2.0 - 4284.