Build camera from source

Change-Id: Id41a02f69cfcd303ece5d8ccc446135c4c26a9f0
Revert "Camera: Fix Face detection."

This reverts commit d57662e24c78a964a2ba30e09c04322410559be6.

Conflicts:
	QCameraHWI_Parm.cpp
Use kernel headers
Add iso enum
Fix 1080p resolution

Change from 1088 to 1080
build camera hal

Change-Id: I377938339399b41da64f77990e9401892c959fa7
Only call if BOARD_VENDOR motorola
Clean up files overridden during build

Change-Id: I72691ab2af69912a760a04aef907e2d17a70b9a3
Use more discriptive BOARD_VENDOR motorola-msm8960

Change-Id: I826309068d6bc3308338d72e5df01a2e60263327
Move "scripts" directory from vanquish-common

git history:
commit 12cbb35629d720f7b1f2d3938de0a409395beee6
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Jan 25 10:53:24 2013 -0200

    Replace sleep hack by a wrapper script for sensors

    This wrapper sets the umask to 000 so the socket is created with 666
    permission.

    Change-Id: I5d78e90da76c2d79377ddb8304373685e7986e46

commit 37ca65d1f5876947549a2af81762ea7dd52cdac2
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Wed Nov 28 00:49:39 2012 -0200

    Add wrapper for mm-qcamera-daemon

    Without this wrapper, the socket is always created with 0600.

commit 141233629c8a32e507c3884016faae9b58da176d
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Nov 24 20:58:15 2012 -0200

    Wifi cleanup

commit b90113e43567e2e9a146c5013fee3c0f22f228eb
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 22 21:42:35 2012 -0200

    Copy wifi firmware from /persist if ! -e

commit 4b6e716bfca37a1ed48ac1b65aa176aaf776cc50
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sun Nov 18 15:16:27 2012 -0200

    Add conn_init

commit 67ded826f3056c175caa733afc43874c25aa6fb0
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Tue Nov 13 23:51:47 2012 -0200

    Initial commit

Change-Id: I3ea73e29ea38f172384197282ea6fcd95348fe93
Move extract-files from vanquish-common

Change-Id: I8f71575086938fea23cf1113a52828ab40774009
Move recovery configs from vanquish-common

Change-Id: Ib3e7e6a4a29f97e35115d4988f1a5cc42bd1da1c
Move storage configs from vanquish-common

Change-Id: Ic20e94fa956a4b4e77b9ba2818ab3e470ce74fa2
Move egl config from vanquish-common

Change-Id: I564b820b3d369b49bcea004cdc5ddd2d24f7fa0a
Move recovery.fstab from vanquish-common

Change-Id: I304fa7ed12b7a54993e9f72886339641931b6d0d
Move "root" directory from vanquish-common

git history:
commit 8d60f8aa89373782b3918dbbbe1cd0f58ef78ac1
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Mar 4 13:01:35 2013 -0300

    Revert "Fix sensors startup problem"

    Not needed anymore

    This reverts commit 1b8728667a7b97993c277e88f8f377f970e9ebdb.

    Change-Id: I0db35dbc16e81191a4ab13f4e65825294d94345c

commit 1b8728667a7b97993c277e88f8f377f970e9ebdb
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Jan 26 14:18:40 2013 -0200

    Fix sensors startup problem

    Change-Id: Ife8032164761297083d71ca048b5c9f1fb3ad253

commit 12cbb35629d720f7b1f2d3938de0a409395beee6
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Jan 25 10:53:24 2013 -0200

    Replace sleep hack by a wrapper script for sensors

    This wrapper sets the umask to 000 so the socket is created with 666
    permission.

    Change-Id: I5d78e90da76c2d79377ddb8304373685e7986e46

commit 0038e52653700431b891a13adc1fcfc86034ccc9
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Jan 24 12:07:49 2013 -0200

    Remove duplicates and fix service name

    And remove invalid uid

    Change-Id: I4c930d0d881b2088c23a03e0728ff2abdfcd4944

commit a0188a5424f862a2d06cc812fd703580664ffdba
Author: Hashcode <hashcode0f@gmail.com>
Date:   Thu Jan 24 01:39:39 2013 -0800

    remove extra dhcpcd_bnep0 service

commit bb2d99b8106093bdb675ba64ddd92fc8e1aeaa23
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Jan 17 13:02:44 2013 -0200

    Fix hostapd command line and remove unused chmod

    Change-Id: Iad96208a4057db457afb3a59430522092337c2a3

commit 6586d03a8c27027cd282cd6335afb19dc5bc6961
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sun Jan 13 12:37:38 2013 -0200

    Add bluetooth sleep to init

    Change-Id: I99869ab6b584e83437dab778731ab96ec9c47011

commit ffaf116d72101bc9a088160b83040ddc966d6a99
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Jan 7 12:16:27 2013 -0200

    Fix camera permission

    Change-Id: Ie5f578d814f01f8dcb0c1a631d19bfc061181cd8

commit ad27f59531d3d245a6e216dd64b45f957a26430b
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Dec 17 16:18:07 2012 -0200

    Fix safestrap

    The kernel modules will be moved to the device

    Change-Id: Ib31c279a14350084b788518166b98cd218cf3b59

commit 378f78e5554fb43b31f80e79439708167d937956
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Dec 7 20:01:12 2012 -0200

    Fix rmt_storage startup

    Change-Id: Ie236f0aafe2a540544e9ccd523c96963555a5f03

commit 8f12fa8bf2d7e250d550b0d859dc886049fc6f43
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Dec 7 15:16:17 2012 -0200

    Fix storage

    Change-Id: I04183381fb93f512dac70eb30059e1cae079c864

commit 3d7b386bf31c30a2a804bd957b4ac32362c9b253
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Dec 7 14:24:56 2012 -0200

    Change event from "on emmc-fs" to "on fs"

    Change-Id: Icd97ecc9879e2e789225b172c46b23a31e968c26

commit 7c05b96816ab627309addebedfda3897d2b4f82d
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Dec 7 01:10:52 2012 -0200

    Load network related modules

    Change-Id: I50d63e8b1334a41952477ae69ca3f89a0632a42e

commit c99f16edb9c15eac62e66cfdf24f3d5de6e11026
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Wed Dec 5 09:48:40 2012 -0200

    Adjust dhcpcd commands

    Change-Id: I3ce1e0f98870d1b7c02dd3c1e17b3317478290e6

commit 7f9dd34be9137c2db72b8c0352cc441bae4ef751
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Tue Dec 4 20:51:16 2012 -0200

    Add proprietary services

    Change-Id: I00f2b2ba77426039f73e16373c04d9bbd33e4b11

commit 7b62866cb46750196b8220cf0149887fffbe5361
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Dec 1 18:59:21 2012 -0200

    Fix logs permission

commit 37ca65d1f5876947549a2af81762ea7dd52cdac2
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Wed Nov 28 00:49:39 2012 -0200

    Add wrapper for mm-qcamera-daemon

    Without this wrapper, the socket is always created with 0600.

commit 12c48345a5b528d5e8471a904519f364833ed4b7
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Nov 26 12:57:26 2012 -0200

    Remove unneeded "start adbd"

commit 69decf986b166be0f9a6e061bdf5d173a1695b8a
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Nov 26 11:52:16 2012 -0200

    Move mounts to fstab

commit dd87c62c9ef367f63abfaadbce76550218781175
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Nov 26 09:31:48 2012 -0200

    Improve filesystem performance

commit b2bde20ac54265e4bdd18c8b6e90072694aced91
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Nov 24 23:59:43 2012 -0200

    Fix wifi instability

commit aee21f033ff2579d360b03ded84f550b2d0d038b
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Nov 24 21:11:09 2012 -0200

    Cleanup init.target

    Remove unneeded stuff

commit 141233629c8a32e507c3884016faae9b58da176d
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Nov 24 20:58:15 2012 -0200

    Wifi cleanup

commit 643113641a9026b0e8fa093823b01725cac11ba8
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Nov 23 12:18:27 2012 -0200

    Remove conn_init

commit 9c1c2f598d5e8bcf6bbf3aa4a193c9a7ff15ea88
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Nov 23 12:09:20 2012 -0200

    Fix Wifi P2P

commit 288b54586027a2de0e89601bd9394baea2832de9
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 22 21:30:27 2012 -0200

    Add permissions for rfkill

commit de5a0471a1c5b77046b1d4f1aa72ccae54d90654
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 22 21:30:09 2012 -0200

    Add wifi services

commit a06053745d9b5633726c9f205ac541b2329ffe2c
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 22 21:29:14 2012 -0200

    Remove non-working service

commit 4b6e716bfca37a1ed48ac1b65aa176aaf776cc50
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sun Nov 18 15:16:27 2012 -0200

    Add conn_init

commit 0fc1557e7a98a999b4035b5c47cd35509aa2aa82
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 15 19:44:10 2012 -0200

    Upgrade Adreno drivers to AU_LINUX_ANDROID_JB.04.01.01.00.036

commit 67ded826f3056c175caa733afc43874c25aa6fb0
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Tue Nov 13 23:51:47 2012 -0200

    Initial commit

Change-Id: Ia139723c0bbfddd3387238d12ad572483f4563c9
Move properties from vanquish-common

Change-Id: Iede90c15c26b263fd48d87c87020d805d06a6bc3
Move wifi config from vanquish-common

Change-Id: Id24ad6b1f2f2586e82fb898221cf3f6d38c480e9
Move includes from vanquish-common

Change-Id: Iea146c63f0fc7d256aa8bb6002a693e0e961d3ec
Move "config" directory from vanquish-common

git history:
commit 64750e4f2e8011e7146088c11ef8070d1ef0b716
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Tue Apr 16 10:10:21 2013 -0300

    Use 8khz while the camera audio bug exists

    Change-Id: I935dd9c703ac6f74278ac0a570288c7571c3a16d

commit 6d0b2375511b12d89cc1cd835d63d9923deef6c8
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sat Feb 16 14:55:34 2013 -0200

    Use acdbid from "Line" for Speaker DMIC Endfire

    This is needed to fix the speakerphone calls volume when we are not
    using DEVICE_IN_BACK_MIC in alsa_sound(audio-caf).

    Change-Id: I4737d5dfc87a7eb8c1df7d53ba987f0499de8fd9

commit a6804d965608be7e4b2a4905abf284b27e9926d1
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Wed Jan 23 15:37:00 2013 -0200

    Update audio_policy

    Add lpa, tunnel and voip
    Remove usb and a2dp

    Change-Id: I19ca6c18b9f464b39a52facce4927a977d6bf9db

commit d29c695211abc90d4a7824488c759321dd3483d9
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Tue Jan 22 09:50:33 2013 -0200

    Increase Voice Speaker volume

    Change-Id: Ie2c176d9db625096fa9955ce34aaa609a6c8596d

commit 6ee3039712d237920081f74c7582f6c72af20d3d
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Jan 7 07:30:02 2013 -0200

    Add Voice Recognition device

    Change-Id: I4070c3ca0f70e24cd11ec48ece772b786d3ccdf5

commit cd74cb245251397973d726d9d2c94cb14a404357
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sun Jan 6 23:02:10 2013 -0200

    Adjust sound volumes

    Change-Id: Iff7496c335c8b5169d8a0657a2bd27994c94d13f

commit 351d996972b0e304e6ce2b18b96187cbfc08e323
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Sun Jan 6 21:23:39 2013 -0200

    Fix audio and voice speaker problems

    Change-Id: Ia2da5d162619caa8c37c001fd5db68e14d7b2eaf

commit 4edd6d80bb980be7353ab57aa32d687f7b6ca340
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Tue Dec 18 08:15:17 2012 -0200

    Fix incall volume

    Change-Id: I66b2741bfe145789d5eadbdbf96f8404b408e015

commit 0326083c4e2a14a1768cfec1c9a6786875e48b57
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Dec 7 17:39:40 2012 -0200

    Add audio_effects

    Change-Id: Idf1579356ff40dce09dcf4ef82efa34dd2ac9a95

commit 47ab5845582ac4cc707cdcd86ebe73d93b42d3c3
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Fri Dec 7 17:39:16 2012 -0200

    Update audio_policy for mr1

    Change-Id: I925edf5220629500aa36c2824a9ba5ac6b5714cb

commit 4df1289a26a5fec80c1f917d11f71249f3b46651
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 29 12:45:46 2012 -0200

    Fix Speakerphone

commit ff6c0852d6d1326515d808ce2512823b1e33de22
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 29 11:41:26 2012 -0200

    Add lpa, tunnel and voip to audio_policy.conf

commit 5785d2e6e8cd346300133ea3eb27655816ebb2f8
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Thu Nov 15 20:43:19 2012 -0200

    Fix snd_soc_msm_2x

commit bb062e4ae7da00b9e8f890ed7f00c4bbcede3198
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Wed Nov 14 23:32:30 2012 -0200

    Fix in-call audio bug

    Copy snd_soc_msm_2x from hardware/qcom/audio and adjust the DMIC Endfire
    and Line sections.

commit 67ded826f3056c175caa733afc43874c25aa6fb0
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Tue Nov 13 23:51:47 2012 -0200

    Initial commit

Change-Id: I1faea26a4590f6c70f9a14b27fe42daddd3b828f