ota_from_target_files: force --no_separate_recovery to unbreak devices' releasetool extensions that are up-to-date

this should fix semc compilation on vanir

based on ethan chen's: ota: Allow devices to skip generation of recovery-from-boot.p

Change-Id: I12326ad01adca3bc774102d550e14e9f505fa600
Store the base64 release key in the OTA zips

This can be directly grepped in pre-existing package.xml tables
to make sure we're not trying to update to a differently signed
build

Change-Id: I7528a8e7c484ea9209cd665b9263328ae834586a
superficial renaming of the META/.../releasekey path

Change-Id: I51489b34bab6b5fd4fb139608234b51a1e57dcc4
tools: getb64key - print the base64 version of a PEM public key file

Change-Id: Ia94ff560c88dfe85c3fa55db5c8219aa0d3419ee
Derp python syntax derp

Change-Id: I4ff80971859957c89ba78ffdd00af420b2da6596
ota_from_target_files: if we ain't not un-separating recovery, no-how, we might as well not un conditionalize not-unmaking the recovery patch... and some triple negatives like a bauss

un-breaks yuga+others?

Change-Id: I5880ef67c6f8f5d2df82e7b8d95e4f2ac50bbb73
build: add support for 4.9 kernel toolchain alias

ps3: cleanup
ps7: fixup
Signed-off-by: bart452 <bart_96@live.nl>
Change-Id: If19a4b860feae524c9d5b8c3e2d6f9ab123e1337
kernel.mk: whitespace sanitation + dumpvar + USE_AOSP_TOOLCHAIN handling

Change-Id: I17e49219337dbac8f9fb4b51895adbb1ee83a4bd
Fixed building incrementals when "no separate recovery" is specified.

that will fix semc broken kernel (freeze in logo)

Change-Id: I1d7add44554ebc4b68dc09debdd0c0fb229061a9
update no_separate_recovery handling

Change-Id: Id6ac5819c740698a1819596d5962b470ad936f44
Change CM recovery install script filename [1/2]

This is part 1/2 to maintain backwards compatibility with CWM's
verify_root_and_recovery() function. CWM checks if install-recovery.sh
exists and has an executable flag set, then offers to disable the script
for the user. CM now controls this with the persist.sys.recovery_update
property which is configurable via settings, so we don't need to
double-check this.

This changes the name of the recovery install script to
install-cm-recovery.sh.

Change-Id: Ie08d428cfd092a1de10973ba5ffc326ccdb1a369
MR2.1 - Version 4.4.4.  Here we go!  DO NOT MERGE

Make is so.

Change-Id: I06b8c8c491e6e355124b6fea41893155ea4c07d0
"KTU84P"
ota: Let devices specify their own recovery-from-boot.p installer

Some devices apply transformations to the installed images, making
the sha1 checksums fail (or, worse, generating invalid images). If
"/system/etc/recovery-transform.sh" exists, run that instead, passing
the expected sizes and checksums as arguments in the form of

recovery-transform.sh <recovery_size> <recovery_sha1> <boot_size> <boot_sha1>

A direct emulation of the standard patcher could look like this, transformations
should be added as needed.

----------------
RECSIZE=$1
RECSHA1=$2
BOOTSIZE=$3
BOOTSHA1=$4

dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=$C/recovery.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=$C/boot.img

if ! applypatch -c EMMC:$C/recovery.img:$RECSIZE:$RECSHA1; then
  log -t recovery "Installing new recovery image"
  applypatch -b /system/etc/recovery-resource.dat EMMC:$C/boot.img:$BOOTSIZE:$BOOTSHA1 EMMC:$C/recovery.img $RECSHA1 $RECSIZE $BOOTSHA1:/system/recovery-from-boot.p || exit 1
else
  log -t recovery "Recovery image already installed"
fi
----------------

Change-Id: Ie601841ca1cdad6b8f3b16e593d2718a92e8ca09
Make AOSP kernels customizable

Retro is the new cool

PS2: Make moar gooder with existing stuff
PS3: Mop the blood off the floor
PS5: Make slimmer

Change-Id: I6816a840c610ba7ad9e87989b51408d9b491aabc
Signed-off-by: DHOMD <DHO@dho.im>
Merge branch 'android-4.4.4_r1' into HEAD
Re-evaluate the pathmap if there's a recovery variant in play

Chances are the recovery location has changed, so rebuild the pathmap
to compensate. This lets the variable be defined in BoardConfig files
instead of the global environment

Change-Id: I87c23a452656ffa7817711796c17f79e30465756
Merge "Make AOSP kernels customizable" into kk44
build: Update supported languages

* Remove Uyghur, which has no active maintainer in the past 6 months
* Add Kurdish

Change-Id: Ic79ca973727885a2498c59730ebec4faee821369
build: allow to customize the kernel toolchain cpu variant

- for devices with cortex-a7 like the moto g, this way they can still take advantage of neon-vfp4 and other things

Change-Id: I4b63570d21affeba7c20da6aadc6cefda4293eb2