Revert "Don't return immediately from reboot commands."

This reverts commit 11b8326aa3b6d1f14b9fe289978c44b89554ff8e.
nandroid: Allow tar backups of yaffs2 partitions

Change-Id: I33dca9864b043527640c6586751c9399bc3fb156
clean up unused variables and fix compiler warnings

Change-Id: I3c3e30d5e27706d59be78ec935e8a095ba4ab0c0
update-binary: Add collect_backup_data function

Add a function to identify files being backed up during an update so
they can be managed when applying patches.

Change-Id: Ied18d569a396a7324148d6a93809683673a19403
fix fread buffer has no terminating null string

do not allocate memory where it is not needed

Change-Id: I8ab4f7d36173c59aa74a590581a0f7027b7d8a69
use different USB PIDs for adb and adb+ums modes

Commit ad054c684524962eae3269c1d807dc60e8bca1ec made it so that
the same VID/PID pair was used for both adb and composite adb+ums
modes, which prevents the installation of drivers in Windows so that
either mode can be supported.

This uses the original VID/PID pair (18d1/d001) for adb+ums and
uses 18d1/d002 for adb.

Change-Id: I190c821995b7fe9e8177354aec70bd02c114d122