Recovery: Loki patching support

Add support for automatically checking and making loki images
for locked bootloader bypass on loki supported devices. Loki
support is enabled with ENABLE_LOKI_RECOVERY.

Change-Id: I81fe267d58f0dda18a790e25df223f011dca3e37
Merge "Recovery: Loki patching support" into cm-10.2
Add required libraries to list.

Change-Id: Ice466de2bddd6050335978d70f31831f4d428576
Version bump to 6.0.2.8

Change-Id: I7b083a0a083fae487d4b48bef5e79371b3173f7a
Support f2fs format

This allows devices like Moto X, which have f2fs formated
data partition to be used with CWM recovery. Format data
works as enteded as well as backup/restore.

Change-Id: I8b56252cc462c9e9ff2824bc817ea00ddd4ccacc
Bump to 6.0.3.9

Change-Id: I5637e796e4dc65ae527b0b1984b295d69ccc0707
recovery: support format external storage to custom fstype using vold

Change-Id: I14af245a05422d25364236da86a96d48b7216b46
Make updating Advanced Menu a simpler task

Change-Id: Iaf86e006ff4a67e72fe6c8141068ec2e36360671
Fix refresh usb devices when key repeat is enabled

Change-Id: I152ba81c03a9386897a4ad28849ab28ac35e7c0f
Fix extract of tgz multi volumes corruption at split point
Remove roots.c dead code
New lines
Misc formatting

Change-Id: I445fe240b3e5d1fff4c4dbce25e286cec66f69fc
"not enough rainbows, 1 star uninstall"

Patchset 3 - Indigo has been removed from the rainbow.

(Rainbow Mode - Easter Egg)

No longer will we get bad reviews on CWM recovery for its lack
of rainbows! Originally design by gweedo767, this patch brings
back the wrap count mechanism from v2.0.2.4 to toggle Rainbow
Mode for the user. In the original design, every character has
a different color, but that method requires modifying graphics.c
which will cause breakage in devices with custom graphics.c.
This Rainbow Mode has a different color for each line, instead.
The wrap_count has been set to 5 instead of the previous 3 so
the toggle won't occur as often, if on accident.

Change-Id: Ie9f6f1b6ed94ee69d4d8d9fe27f9a5417cc3f212
fix f2fs formatting from edify scripting

Change-Id: Id117adcc2ab96a32ca61937863f260d760496e19
6040

Change-Id: Ia1efbe35ac5f26f2a6d03fa505ae1982756541a7
Allow sideload to be used in conjunction with other commands.

Change-Id: I8b35a010e5fdb36cec991c56d5cd0def72865308
6.0.4.2

Change-Id: If31be58f4ecb9ab95cca7af0cde5ce32f25c8573
6.0.4.3

Change-Id: I4ac989ed7efcfd8988057813a94e153d15aad3a3
Update events.c

Array max is incorrectly calculated, can lead to missed events for ids > MAX_DEVICES
loki: Update to 2.0, Add support for LG G2 (and device trees in general)

Change-Id: I5bbd6bd7239680f20880ac6fdf7744e2e47b39ac
6.0.4.4

Change-Id: Ia6a077ea71d9f03e90e039ce28eebe26d28a221f
Merge "Add required libraries to list." into cm-10.2