G2 4.4.2 device tree

Change-Id: I64bd3c1ac367701dc8e4447dfd580195107ef4e3
Update kernel source to point to correct location
Update Torch for Slim
Add Krait Optimization

Signed-off-by: dr87 <nb00870@gmail.com>
Fstab: Improve mount options

Signed-off-by: dr87 <nb00870@gmail.com>
Fix UI scrolling lag

ro.input.noresample=1 caused very noticable stuttering when scrolling with your finger still on the touchscreen, remove this.

Signed-off-by: dr87 <nb00870@gmail.com>
Copy sec_config to system/etc

File was present but wasn't being copied.

Signed-off-by: dr87 <nb00870@gmail.com>
Enable use of FFMPEG codecs for extended formats

Change-Id: I1dc66749b6b5548c3617cbbfff389abc3d319562
Ad common extract-files script

Change-Id: I73a8b71377d5613c0daa10147ec1f47ac410f806
camera: Enable ZSL

Restarting preview if toggling ZSL fixes the stream errors on
switch, so we can enable this now

Change-Id: I07ceeed859ffa6dc4e75faed18209be83c21a043
Enable use of two stop bits for Bluetooth

This improves reliability on chips such as BCM4335.

Signed-off-by: dr87 <nb00870@gmail.com>
Bluetooth: Adjust Baud Rate

Every other device config running BCM4335 B uses a baud rate of 3000000, so update this.

Signed-off-by: dr87 <nb00870@gmail.com>
Fix BCM4335 chip crashes caused by BT/WiFI concurrency

 * The stock B+ driver works around chip crash that occurs when WiFi is
   on and BT is enabled/disabled by sending a magic patch to the
   hardware.
 * This patch was not in an external file, so some reverse engineering
   was required to extract it and put it in the correct format.
 * Enable the prepatch and enjoy crash-free Bluetooth :)

Commit by Cyanogenmod to fix BT Wifi lockups on BCM4335 chips, which the G2 has also experienced on the 4.4.2 kernel. Implement this to G2 (Tested and working)

Signed-off-by: dr87 <nb00870@gmail.com>
Remove Include headers

It is not needed and the tree was not using it.

Signed-off-by: dr87 <nb00870@gmail.com>
camera: Restart preview after ZSL changes only if the preview is running

Don't touch the preview state if it was stopped to begin with

Change-Id: Ie81c01165778f98f92f11badc17c2023ea4610b7
Don't go into full suspension when proximity is triggered

Change-Id: I2a91722b61050698b6684da0a06d959c046416da
g2: use c iface for now
activating torch over sys path currently breaks the camera flash timing.
Picture are way to overlightened
Remove bootloader reboot option

Change-Id: I9c697a87da11ef066d8b9ad87fbe3b4050d7c0df
Make recorded audio sound better

This makes audio that is recorded with the voice recorder or video recorder sound better, and gets rid of some static in the background.
Increase volume