Merge changes for latest KitKat support

Squashed commit of the following:

commit 4d4eca76275a356cc7a16722cc1e4b84547620ef
Author: Adam77Root <adam77root@gmail.com>
Date:   Wed Jun 18 15:05:24 2014 +0200

    overlay: Enable BLE peripheral mode

commit 0be60fc6edb825f410f27bb24f7db916c4a8f485
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jun 10 15:28:59 2014 +0200

    asound.conf: fix default option (AlsaMixer works now)

commit 6c495d4d64c3ee27c2d47b27d3123a7102532e09
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jun 3 14:57:53 2014 +0200

    Add Android.mk

commit 3f1b3066834a2b3b0395d96a37a66853e94e8199
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu May 29 17:47:58 2014 +0200

    Add support for extra NFC features

commit a6df528d25975e48c6ca867768583f11d81eb153
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun May 18 14:50:23 2014 +0200

    Reorganize device tree

commit 882a59a8bba5a968f4ec24d9146d5bb1c59452fa
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon May 5 20:06:12 2014 +0200

    media_codecs.xml: fix video recording

commit fe79796b1bacb61f7f07af465ba037053db303c4
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon May 5 18:15:41 2014 +0200

    libstagefrighthw: add support for loading multiple OMXPlugin instances

    used for video recording fix

commit 09b541964150c70731c0170d1a31c2fbe345a0c6
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun May 4 11:16:17 2014 +0200

    Revert "Add back old blobs support"

    This reverts commit 1b7c4f274eb6f67bd396820bc49653ff5b9d48a7.

commit b2068b919f802df1aae4f86b4b10a73fc6301d40
Author: Matt Mower <mowerm@gmail.com>
Date:   Thu Apr 24 21:22:53 2014 -0500

    p880: Update recovery_keys.c

    The default key mapping file in recovery is being updated to strip out
    display_toggle and some ifs (see http://review.cyanogenmod.org/62724 ).
    Technically the custom recovery keys file here shouldn't break
    compilation, but this is a good oporunity to clean it up.

    Change-Id: I2ebd6aa0ed444148f3f4e2df05edd8c73d9dabac

commit b4118f3d39a24f17ff41aec94e313a8857184798
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Apr 3 20:19:47 2014 +0200

    Add MultiROM configs (untested yet) and update twrp.fstab

commit 2ef621344576d59253216923459e82f38d4736c9
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Fri Mar 7 16:12:17 2014 +0000

    RIL: Change the init sequence again

    Make AT initialization trigger on LGE_FACTORY_READY instead of the
    IMEI request

    While we're at it, ignore IMS registration requests and kill a few
    more warnings

    Conflicts:
    	include/device_perms.h
    	ril/telephony/java/com/android/internal/telephony/X3RIL.java

commit f0e681f393f3dc9daedd098822b6f66b411402e3
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Mar 23 10:43:05 2014 +0100

    tweak recovery params and fix reboot to recovery

commit 5d85ed5a4aa7b0bbb0edd3f14b34c2aa4b644fdc
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Mar 9 15:32:05 2014 +0100

    omni_p880.mk: remove unused options

commit 99eb76d2fde25103e97307db95f93dcb62720853
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Feb 24 19:48:41 2014 +0100

    CameraWrapper: ISO modes and exposure compensation support

commit f24d746e23a7dda2dc816d35ce366736da6708f8
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Feb 24 18:39:12 2014 +0100

    Add back old blobs support

    Also disable Screenrecord chord: since screen recording doesn't work
    with old blobs, there is no need to have this

commit 4dae69bd0c0007a83912259652295e796d668d13
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Feb 22 17:42:28 2014 +0100

    Camera wrapper

    Does nothing special as of now, just wraps vendor HAL module.

commit 3b3864ac8765ebe37e38e1277434504fd875da94
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Feb 22 16:21:30 2014 +0100

    Audio HAL wrappers

    Note that this is still a bit WIP. Fixes sound in screen recording
    and Google Now's 'OK Google' hotword listening feature.
    Massive thanks go to @thoemy for initial JB implementation!

commit f5ed7d6f55d07bd340c8c045c12de4e6c14b5eff
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Feb 16 19:56:09 2014 +0100

    proprietary-files.txt: alphabetization

commit 4ad5a024aa945293f027f6a534a3aea58d54cb86
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Feb 6 12:14:52 2014 +0100

    overlay: remove custom_arrays.xml

    The workaround isn't needed anymore since kernel commit.

commit 125827bb5a7eaec812222bc826d33f102cb828a5
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Feb 6 10:57:08 2014 +0100

    nfc: enable remaining features

commit 70ccb785e3e3cf44fcc94db2cf3b1588dd0ef587
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Feb 4 19:43:30 2014 +0100

    Alphabetization

commit e5ae0428b63a302ae79c39927e0115dd49d52b3b
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Feb 2 22:49:21 2014 +0000

    X3: NFC: Let apps in the nfc group access it, too

    Change-Id: I4f51d2329977a7fa8780e10812f11e7c3a39fa61

    Conflicts:
    	rootdir/ueventd.x3.rc

commit 5bc4c75cb1a1b1f411b7eeac3b076a3c09c24543
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Feb 2 18:25:22 2014 +0100

    nvaudio_conf.xml: cleanup indentation

commit 38e843a72bef0bee78cb0800b3bb0fb119b25faa
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Feb 2 10:19:45 2014 +0100

    p880.mk: add nfc.x3

commit c716d83ef4dc4a3c5381ef49f1403e7ff004814b
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Feb 1 16:45:28 2014 +0100

    system.prop: remove unused NFC properties

commit 35b273bcdc3e8cc0a69d8189cf0b167dd5f6ef3e
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Feb 1 16:40:16 2014 +0100

    use source-built NFC HAL

commit 2bdf512c73df611ac48d6ae1b0d9792568c828f2
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Jan 30 17:18:29 2014 +0100

    audio_policy.conf: remote_submix can handle 44100

commit ffbcf9840b7720ba29d22f945bcdfedead607ba2
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Jan 30 12:35:09 2014 +0100

    init.x3.rc: update dhcp config

commit 113329fa3eeca0fad53a09d571a05f7f5c4fdb02
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Jan 30 12:34:39 2014 +0100

    p880.mk: set SELinux to enforcing

commit 53c2abb67348050ab7fc4d1583760966e8e0ad6a
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jan 28 18:50:22 2014 +0100

    Configs cleanup and general tuning

commit bfa9441987b7bbe5793220614c93dc097d9ce118
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jan 28 17:57:09 2014 +0100

    fstab.x3: allow auto fs detection

commit 536929b892ce30500a58a5af8d6ce2f74682e96d
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jan 28 17:37:45 2014 +0100

    init.x3.rc: no world permissions for torch

commit 84e15d06043b9bb0070a0e1d5adec03d6c4bf7f8
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jan 28 17:33:47 2014 +0100

    Omni doesn't need CMHW

commit 3fbbe39183a2787b0de11101b519402c43f345d5
Author: alfsamsung <alfsamsung@hotmail.com>
Date:   Sat Jan 11 11:37:28 2014 +0100

    Audio config: Remove aic326x

    We don't have the device or the codec.
    Log before this change:
    V/nvaudio_hw(154): Invalid card name tegraaic326x tegramax9808
    V/nvaudio_hw(154): PCM config for invalid alsa_device

    Change-Id: I18689b4c3d4bc96bca20f7bb5d1522d0eb3af16f

commit 3d886afd7dc8706d4b4482eeec3a92d93ce85ee4
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jan 28 17:31:26 2014 +0100

    Use source-built rild and libstagefrighthw

commit 9c373bb5f85ad2a2a41ebf5f66e346f3bf2aece6
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Jan 28 17:19:00 2014 +0100

    Update overlays

commit 848a762b97d5f77b9fef6133c8beaa397c9bc2d7
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Jan 9 16:03:28 2014 +0100

    updates from CM

commit 05cde892bfc9f91ca1077e879bee8602a9dc3b6d
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Jan 9 15:11:25 2014 +0100

    BoardConfig: small updates

commit 34e30e24df2dd27ba2f0467a3374f143eea016cd
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Jan 3 11:39:08 2014 +0100

    overlay: enable screen-off animations

commit d21b81518cd513147d1c265a565e6d263e427733
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 27 19:25:41 2013 +0100

    device_perms: use extending method

commit 471a0d1d8debbba51725817a9bb35820af40a154
Author: laufersteppenwolf <laufersteppenwolf@gmail.com>
Date:   Thu Dec 26 01:20:02 2013 +0100

    Update overlay

    Our device's SD is accessible without removing the battery

commit 406f2e092d7ca0afe106babcfeb872f9a4a0e0a5
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Dec 23 16:26:17 2013 +0100

    init.x3.rc: interactive governor on boot

commit 18896a65ac5187e85cb8f84e5973f087e94dbe50
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Dec 21 21:03:12 2013 +0100

    init.x3.rc: fix derps

commit 75f08b5a27dcc143905dbd78dfa717f4b9db7175
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Dec 21 16:25:04 2013 +0100

    X3RIL: override setCellInfoListRate

    - Based on http://review.cyanogenmod.org/#/c/54960/
    - XDA users reported a better deep sleep with this patch

commit 0310d43d87be06ae13f0f74bb3af6a13f88740ef
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 20 20:52:35 2013 +0100

    overlay: whitespace fix

commit c0583339f0b6c292189407140ddeca88835ffd37
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 20 20:43:42 2013 +0100

    overlay: update torch values

commit d1c42d13ad6bd3feee3eb25e526bb105eb29f585
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 20 20:36:55 2013 +0100

    Custom lights library (thx @mzhou)

commit 28bce6795dd75326742feae39909dca5a7e56752
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 20 19:27:32 2013 +0100

    init.x3.rc: redesign, merge and update

commit e65946837a124c843aa0a571b205dee7d9436d05
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 20 19:06:56 2013 +0100

    init.x3.rc: tweaking, thanks @Ntemis

commit f36692ba4d5d04702e0cac0d4fa2fd083c9d2a79
Author: demetris <demetris@walla.com>
Date:   Thu Dec 19 23:02:12 2013 +0200

    Ramdisk shifting for 4.4 layout:More work needed

commit 49f2e2e2b149ccfb7b38e7a9c9e26e553abd2869
Author: demetris <demetris@walla.com>
Date:   Thu Dec 19 22:35:52 2013 +0200

    Fix/Update smartdimmer. Partially update sepolicies(wip)

commit 56d65f7b20209bc8fca4d61897b3615bee28b66c
Author: Adam77Root <adam77root@gmail.com>
Date:   Wed Dec 18 18:06:56 2013 +0100

    asound.conf: update from HOX

commit b22b8d6056507f27f6d5b2dee629763cd346f5b8
Author: demetris <demetris@walla.com>
Date:   Thu Dec 12 23:39:27 2013 +0200

    Add cache target for NEON optimization.

commit 02069e57faac84ea17dbffc19dc92ae92fc87e7e
Author: Adam77Root <adam77root@gmail.com>
Date:   Wed Dec 18 17:56:48 2013 +0100

    System partition shouldn't have block devices

commit ae247c7dee888d3c9ef76a4a16ac86a506227506
Author: demetris <demetris@walla.com>
Date:   Thu Dec 12 18:12:55 2013 +0200

    X3:improve i/o performance

commit 5fdc492717db14c52d189613914505a0ba5f68ef
Author: Adam77Root <adam77root@gmail.com>
Date:   Wed Dec 18 17:45:11 2013 +0100

    X3RIL: Fix processSolicited for new API and reenable

commit ae06f22a7dbf1dd9169d2282f6a48da1b120213f
Author: Adam77Root <adam77root@gmail.com>
Date:   Wed Dec 18 15:25:23 2013 +0100

    GPU producer to CPU consumer is supported with grouper blobs

commit d17aa2d4dd0e2a389b9e48e12fd62117655ca4ae
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Dec 17 20:33:22 2013 +0100

    Fix recovery-gfx.c to build with new AOSP

commit cecdeda963fc43769a47484fcf5bcae79a57e3dd
Author: Adam77Root <adam77root@gmail.com>
Date:   Wed Dec 11 21:05:23 2013 +0100

    overlay: remove emulated storage mountpoint

commit 23d9bc4fb7db80f974ad3e92f73f3a136b9abf12
Author: Adam77Root <adam77root@gmail.com>
Date:   Sat Dec 7 21:32:10 2013 +0100

    fix button brightness support

commit 4e3950c2decb992e00ae6bbe52033b0c94322304
Author: Adam77Root <adam77root@gmail.com>
Date:   Fri Dec 6 19:49:07 2013 +0100

    fix torch

commit aa8cd81ad8e24d4b3a56b7c1e24eceb8c33a8381
Author: Adam77Root <adam77root@gmail.com>
Date:   Tue Dec 3 21:03:11 2013 +0100

    temporary RIL fix

commit 756f84a457e415803ca1d8c5da271403991d268b
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Dec 2 22:47:05 2013 +0100

    BoardConfig: update to grouper blobs

commit 1cd4627a0c4aba37083341f5c7c9c88918ec2c42
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Dec 2 18:50:32 2013 +0100

    overlay: fix reboot into bootloader

commit 22755111f0bdb8018b28d4b94cdbb234b5018b66
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Dec 2 18:47:11 2013 +0100

    Omni-fy

commit f759cf2bc58d8b4784a7f0b7b57f923b98254e76
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Dec 2 18:18:24 2013 +0100

    BoardConfig: fix BCM firmware paths

commit 255fd46736913e9cf70a099fe9c2d3f33ae9064d
Author: demetris <demetris@walla.com>
Date:   Mon Dec 2 17:08:05 2013 +0200

    Edit wifi services

commit ae543ae73ced4adda761878e7dcf9e7a677b428e
Author: Adam77Root <adam77root@gmail.com>
Date:   Mon Dec 2 18:14:01 2013 +0100

    Use common BCM4330 stuff

commit 815d36c51301d8aa0020aee0a012fa5892564265
Author: demetris <demetris@walla.com>
Date:   Mon Dec 2 15:58:29 2013 +0200

    Set gps config to EU, we live in it afterall

commit 620534fd3c067a6f3300e1babfe671790cbea8d4
Author: laufersteppenwolf <laufersteppenwolf@gmail.com>
Date:   Sun Dec 1 22:29:20 2013 +0100

    Remove cm.dependencies

    No need for it

commit 4bdc09793c000e515a04b5d09d6230997641dd95
Author: demetris <demetris@walla.com>
Date:   Sun Dec 1 22:59:20 2013 +0200

    Add HAVE_PRE_KITKAT_AUDIO_BLOB

commit 1c4265ed000c9d27f947aa641e1ae69aae1edacc
Author: demetris <demetris@walla.com>
Date:   Sun Dec 1 22:44:42 2013 +0200

    X3:add smartdimmer sepolicy

commit 2123bc1185a334449c2772b9bfb87c928d26224c
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Dec 1 20:03:11 2013 +0100

    BoardConfig: p2p is exactly the same

    Change-Id: I6337385d0bb3b321508d5df955af07b2a10b17e9

commit 900e9babd8d782d38e43444b5332e5a2a6f79964
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Dec 1 19:32:48 2013 +0100

    proprietary-files: V20b

    Change-Id: I2e9a72b5ad172c3f3c6e36000e234d31da00b1b4

commit 633fab9127a9becfd4d2de21962a2748f182888f
Author: demetris <demetris@walla.com>
Date:   Sun Dec 1 20:34:15 2013 +0200

    overlay: comment

commit d7154e4b20cd5524dc1307769079b2f0c14d3f66
Author: demetris <demetris@walla.com>
Date:   Sun Dec 1 20:05:33 2013 +0200

    X3:enable audio.r_submix

commit 01a316f1c68029a05f694f84d3b3ca007dc85b96
Author: Adam77Root <adam77root@gmail.com>
Date:   Sun Dec 1 15:55:59 2013 +0100

    Bunch of changes

    Change-Id: Ibff30cb01ad77978a47287143c89e6864665a4a0

commit 11111685f5e006adc3f487c09e0fc0682cbf8d44
Author: Adam77Root <adam77root@gmail.com>
Date:   Thu Jun 26 15:24:25 2014 +0200

    Revert these for clean merge with new tree.

    Squashed commit of the following:

    commit a03b23f2a4f68ce1838ab8ea36058eb6a9bf7d5c
    Author: Adam77Root <adam77root@gmail.com>
    Date:   Thu Jun 26 15:23:59 2014 +0200

        Revert "OmniROM bringup"

        This reverts commit 9938c37ae671e53418b5d67991769f695094bf81.

    commit 5b9109cc2826270db4a1dbd1b505cfc75dbf5061
    Author: Adam77Root <adam77root@gmail.com>
    Date:   Thu Jun 26 15:23:19 2014 +0200

        Revert "p880: Big overhaul of device tree"

        This reverts commit edb0fd9022283e0429ac47425baba0354fb8bc25.

    commit 3c6f97bce316308a0d10508c09b71b53902f38cc
    Author: Adam77Root <adam77root@gmail.com>
    Date:   Thu Jun 26 15:23:13 2014 +0200

        Revert "p880: more Omni stuff"

        This reverts commit ec089fbf0a3156dee4a80dd99ddf87942615b95c.

Change-Id: Id66c170e05d6f889ed2d5930c81ba2360dea4b44