g2: bring in aosp sepolicy

g2 doesn't boot because apps can't access the graphics device

Bug: 9877470
g2: kitkat 4.4 bringup
g2: add NEEDS_VECTORIMPL_SYMBOLS needed for the cam.
Fixes camera after Dhackers core merge.
g2: recovery: HACK: Disable secure discard

 * Secure discard is causing wipes to take insane amounts of time.
 * Enable this workaround until the problem is sorted.

credits: Koush
g2: move gsm & cdma permissions over to common
g2: bringup overlays

* support cdma/gsm overlays in common
* update and refine some overlays

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: add default wallpaper

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: remove logwrapper for irsc_util
Bug: 11116723
g2: update TCP buffer sizes
Updated ReadMax and WriteMax TCP buffer sizes for HSPA data.
Bug: 10587546
g2: add ECC database
Bug: 10154455
g2: Update 1x signal strength after 2 sec
Update 1x signal strength after 2s (snapshot_timer)
when the UE initiate a voice call.

Bug : 10958351
g2: Read value of network mode from NV
In case of 1xCSFB, when LTE is disabled, modem sends GSM/WCDMA/CDMA
except LTE. And then, device does not recovery LTE mode during 12
minutes. To fix it, this patch reads value of network mode from NV.

Bug: 10788525
g2: request modem to send PLMN name always
1) reverts the property change to prefer SPN over PLMN name
2) requests modem to send PLMN name always
g2: Add noresample sysprop
Disable touch resampling on g2 devices. This eliminates 5ms
of latency we introduce in order to minimize resampling error. On g2,
because it uses an in-cell solution, resampling isn't as important
and thus we can disable it altogether.
g2: add g2 cmhw tunables frameworks
g2: volume rocker wake
g2: kk upstream merges

Use special TMobile tethering APN on g2
bug:11383698
Change-Id: Iac07491a41b1ced3cdfd2d4bd1f8291a939f9708

Remove logwrapper for wpa_supplicant
Bug: 11116723
Change-Id: I7cf71bc1b53438a06a39aca0decd3a775cf17bfd

Show LTE icon for KT operator
Bug: 11523988
Change-Id: I21c82f0b268920af78c6a488198af80cd8f0ee38

Add mms overlay for lliad and Bouygues Telecom
Bug: 11361843
Change-Id: I1e2a1a5f316cc6b2d483edf02aabf5bea2b8d7f5

Remove Manage Mobile Plan
Set config_show_mobile_plan false to remove "Manage mobile plan"
Bug: 10819853
Change-Id: Ic3c69fb4246cc0de38518ef6c9950cee7fa4d987

Use MCC-specific operator name list
Display Operator names according to SIM Card MCC.
Currently available tables exist for China(Simplified Chinese)
and Taiwan (Traditional Chinese).
Bug: 10399327
Change-Id: I248fe92d099b67e14486dae44a097a0cc60e229c

Signed-off-by: houstonn <houstonn@gmail.com>
g2: squash changes from CM

Signed-off-by: houstonn <houstonn@gmail.com>
g2: mount options to improve performance

* also tidy up fstab

Signed-off-by: houstonn <houstonn@gmail.com>
g2: Always keep 3 buffers ready

 * Reduces overall jank system-wide

Signed-off-by: houstonn <houstonn@gmail.com>