d2-common: Add permissions for vibration control

needed for http://review.cyanogenmod.org/35981 http://review.cyanogenmod.org/36175

Change-Id: I71e58a0a4e24d6d2c4ce51b2e51eb7183b99dc52
d2-common: add some common ril props that we were missing

These may do nothing, but they are in a stock build.prop
Not sure why they are set to nothing...

Change-Id: Ic923eb8f0e03463cf8c9ebc038dc17306ab7f6ca
d2-common: radio wait for card

This fixes the issue some people have on newer modems where the
device will attempt to activate on a clean boot and show a no SIM
error.

Change-Id: Ia1b0d6f8fd239805044cfe98a9d0af3d2a9b4e55
d2-common: fix ril props...derp

if we are going to initialize them, let's at least do it properly

Change-Id: I5ee3bf0c7b4c6b72f31c5a7a55eb5c88991ef47d
d2: Make guard makefile more specific

Change-Id: If9d91f802ccc99448a00f0288bf4bc4ddcb4364e
d2: Relocate GPS HAL

Change-Id: If374274b5202672bb51892f9e078ed09c3c9e8aa
d2: Relocate keylayout files for D2

Change-Id: Id528dc811d5cc7766c346fe04bb938486ae82b81
d2: Relocate modem link scripts

 * Moving from msm8960-common

Change-Id: Ib470cbbf87cac950701a4ae7ba29f08de8015308
d2-common: Fix relocation pathways for KeyLayout and GPS

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I53a0c054d3b42b5b60cfad4f112f402526860128
d2-common: add permissions for panel color temp sysfs interface

Change-Id: Iab1d2a5d14b8ccda49ac95765441f6230fb31dff
d2: Relocate NFC configuration

 * Moving from msm8960-common

Change-Id: Ic8d85e1394ed5310ab4b9fa77500f3e8b4fcde16
d2: Add configuration for panel auto-brightness mode

 * D2 needs the sysfs knob set to 1 to enable proper gamma
   configuration.

Change-Id: I2bbd66cf89a8234af884469884eaf34eb2488b7a
d2-common: init: relocate panel_colors sysfs interface

Change-Id: Iac00a74846b40ccd0415d6ceaac7da2a65f8a6e5
d2: Add media profile and fix a crash

 * We were crashing if the user selected 1080p recording on the front
   camera, which hilariously leaves the hardware in a state that can't
   be easily recovered from without rebooting.
 * Update the profile configuration, and remove 1080p from the front
   camera.

Change-Id: I2604c054407cf23f55e11c80e8d69d190cb9ee10
gps: Update to CAF jb_2.3.2, reenable privacy lock.

Squashed commit of:

commit 1fc7e568880473fa15fdac4d7a3b4a9557e2781e
Author: Mike Kasick <mike@kasick.org>
Date:   Tue Jan 1 21:47:51 2013 -0500

    gps: Add loc_eng_set_privacy function to enable/disable GPS privacy lock.

    Privacy lock is enabled on loc_eng_init, disabled on loc_eng_cleanup,
    mimicking the behavior of TW.

    The privacy lock state is non-volatile, and control of the lock is needed
    to ensure that the GPS works and is responsive to requests.  Otherwise the
    GPS may silently cease to work depending on its last state in TW.

commit fe69d4eb5e2cf3ef003def7fa134549ffdadcb53
Author: Mike Kasick <mike@kasick.org>
Date:   Sat May 4 20:44:54 2013 -0400

    gps: Update to CAF jb_2.3.2 (a731b5ab6b3acba561abfcbf1742fb1519607bc3).

    Conflicts:
    	gps/libloc_api_50001/Android.mk
    	gps/libloc_api_50001/LocApiAdapter.cpp
    	gps/utils/Android.mk
    	include/hardware/gps.h

Change-Id: Ia04c76d91963ce4932fb9b74f9425d87705cb861
d2-common: use proper hardware key bit field

This allows remapping of the proper keys in System > Hardware keys

Change-Id: I62ee00251b98ec38734e26e8a887f845857169b8
d2-common: increase mms size, height and width

same settings as toro, they work on d2vzw
need tested on other d2 variants

reference:
https://github.com/CyanogenMod/android_device_samsung_toro/blob/ics/overlay/packages/apps/Mms/res/xml/mms_config.xml

Change-Id: I9834a68daf8968421e3c3610ee29c8f0e484013a
d2; Fix audio in Hangouts

 * Add higher sample rates and stereo input device

Change-Id: Ic1d35fe3a5f1cde43bea6d3fd53f070829c34b8a
d2: camera: Add 2.4MP, 6MP, 7MP/Remove VGA resolution

Front camera behaves poorly with VGA and iommu enabled.

Change-Id: I6f382098f97f6e9a586982e71723389c8a05a952
d2: additional camera blob

Change-Id: Iefe984382e7050a937b1b89b5b3b078012d922ce