SignApk: perform the whole file signature in a single streaming pass.

Change-Id: Ia29fbc9246254028c75cb57c54cf82ac124c44d0
SignApk: setLevel(9) should be called on APKs and not OTAs.

Change-Id: I3ca668461b838a415ecedb81a995ad530869b10b
build: Add board platforms to qcom_utils

Change-Id: I85458167bf2b9c04b029d09b87bf791ff4cfd04d
envsetup: set OUT_DIR to an absolute path always

OUT_DIR was set to $(TOPDIR)out previously,
but $(TOPDIR) was null, so it was a relative path.
This broke releasetools, inline kernel building, etc
since they require absolute paths.
Fix it so that it is set to $(shell readlink -f .)/out
if $(TOPDIR) is null.

Also remove hacks which checked if (OUT_DIR) was out
and changed it to $(ANDROID_BUILD_TOP)/out to workaround
the aforementioned problem.

Change-Id: I459a3b1325a1bbea0565cd73f6acf160d4ed9b39
build: work around missing readlink -f on Mac

Change-Id: I5d56366cf33a2b02f1886c87815d00cff279779d
Merge branch 'jb-mr1' into jb-dev
override ro.build.date.utc for recovery builds. fixup makerecoveries.sh script for touch recoveries.

Change-Id: I2cf967fb4b9dd5e8183dc6ff39b77076fccc38d9
zte prefix. really need to fix this code.

Change-Id: Iff654bff007b56b374380d2ccd673fc4eb5e9cb9
Add initial support for charge mode. also support recovery/root in the device tree to easily copy props into recovery images.

Change-Id: Icf773a49f2802e3b287b970a390339f1ba0c7aad
fix rc file for charge mode

Change-Id: I62d881228bf309409a994d45f878d9ff331f93c1
echo args

Change-Id: Ib346a27d94ccab3e992fe3bc3be9e0010e7b89a0
makerecoveries.sh: Fix up some error reporting. Have errors return a non-zero return value for scriptage.

Change-Id: I944338b684fbaaf0cf9e991e5f370c3889e75649
mkvendor.sh: fixes for Android 4.2.

Change-Id: Id7ff9ef03700d595734811ccf868371ffb024384
RootBox that shit during flash!