adb: host: Provide better sideload status

 * Show data transfer in MB and in multiple of the file size.

 * Show a spinner to indicate liveness, which is updated at least once
   per second regardless of data transfer.

 * Do not allow sideload of zero sized files.

Change-Id: I1bd0df6a8183fad5a502fc26a7e789c27d24f71a
adb: Fix host build

Change-Id: I173e920aa836bb0327bfae235022de011f3e2b99
set /system/etc/init.d/* permissions

ported from CM7

Change-Id: I3422c392248673fd7a8c8b45f34678097e553b5b
init: create symlinks to mtd block device nodes

Given a device in the form of "/devices/virtual/mtd/mtd0/mtdblock0":
* Creates symlinks for mtd block devices in
  /dev/block/mtd/mtd<partition number>
* Creates symlinks based on partition name in
  /dev/block/mtd/by-name/<partition name>

Change-Id: Id8d61be88935a0ef83297d1d5e453d8ba0d586de
fastboot: Add missing fastboot USB IDs

Change-Id: I1616e9e6a57652aa919f979833c0e19479343966
libcutils: Do not use the kernel headers

No idea why this is here, but it breaks arm64 builds. bionic's signal.h
must be used on those

Change-Id: Id4f07a9b13a32c563fda6e96e4a87b8b97d125fd
libsysutils: Do not use the kernel headers

No idea why this is here, but it breaks arm64 builds. bionic's signal.h
must be used on those

Change-Id: I64f71565b179af38345fcf1496274ee5858abb05
Merge pull request #23 from AOSPA-legacy/lollipop

merge from AOSPA-legacy