Revert "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add."

This reverts commit 37335b42385970d957d48056145a3d4c4dbc6087.

Change-Id: I61cc125d3b08eaa300a7774b6607dbb43f0e7148
Merge "Revert "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add."" into klp-dev
store releasetools.py in the target_files zip

Save the device-specific releasetools.py module in the target_files
zip so that the OTA tools can use it without needing to get it from a
client.

Change-Id: I2dd5f4628290a8f2f56bd519b07d4ca8d92fddcd
KOT49F
add option to generate two-step recovery files

When run with the -2 option, ota_from_target_files will generate a
package (full or incremental) that does some extra reboots in order to
install the new recovery first, so that the rest of the installation
is done with the new recovery.  This can be useful if (say) the
package installation needs some features from the newer kernel.

For incremental packages, the verification phase is still done with
the old recovery.

This is only supported on devices where the misc partition is EMMC
(not MTD).

Two-step packages are slower to install and possibly confusing to
users (they will see their device reboot four times instead of twice),
so only use this option if necessary.

Change-Id: I3267d905e5e8eb1a1eb61bf48255b8b24ffc4ad1
.1 becomes .2

Change-Id: Ib4208e24e66b05ff441302a817be22ea213eb1df
.1 becomes .2

Change-Id: Ib4208e24e66b05ff441302a817be22ea213eb1df
"KOT49G"
Add Dialer to SDK system image. DO NOT MERGE.

Change-Id: I4f15482385c869a4ae08d99ae98bffc7c113acd7
"KOT49H"
Add utility function find-files-in-subdirs

find-files-in-subdirs uses utility find to find given files in the given
subdirs. This function uses $(1), instead of LOCAL_PATH as the base.

Change-Id: Ib76631c97acd257d651a580cbad767606874f5d0
(cherry picked from commit 85898bca9969ec30c746cc852394bbae0195edbc)
Switch to OmniRom's roomservice

All credit goes to Omni for this.

PS2: Update defaults to use with PA
PS3: Give proper authorship
PS4: Update dependency file name
PS5: Set default_team_rem to github
PS6: Revert PS5. Depends on manifest change

Change-Id: I77fe0e958a3da5a3d65d0bf8c929fed2b13115bd
Signed-off-by: Evan Anderson <evan1124@gmail.com>
roomservice: Fix device syncing

Change-Id: Id4a59d74531a4ea1744f845fbe65b43debf950dd
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Merge tag 'android-4.4.2_r1' into update

Android 4.4.2 Release 1
Build Stk (Sim Toolkit)

Change-Id: I3a3406237e274b7272947f9b3e87475fffaf884c
Enabled incrementals to patch + rename moved files

Change-Id: I551fc5291847e3ace15361c203d86f566c26da97
Makefile used spaces instead of a tab

Change-Id: Ia34f80d99062ef2899527f11d7bf72e78c63e31c
roomservice: Include forked repositories in device search

The github api defaults to not including forked repos in search results.
This causes roomservice to fail to find a device repo if it is a fork (I.E. maguro).
This commit adds the necessary argument to include forked repositories in the results
and fixes maguro syncing.

Change-Id: I50ec96316c3208e977d659a1dd90205a2b3d85b3
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Slight changes in Makefile

- generate CUSTOM_TARGET_PACKAGE: this makes the rom name to appear and the zip not being copied to the root directory
- remove custom cache image generation: no needed anymore
- generate zip's md5

Change-Id: Ib055309ae70dc5e8e7b217463bbb880569ff1650
Makefile: use correct md5 extension

* our servers and OTA uses md5 extensions not md5sum

Change-Id: I404349a3d6b48d83f45776a749f6c5a84565a047
Signed-off-by: houst0nn <houstonn@gmail.com>