tegra3-common: CM -> AICP conversion

Change-Id: I9bee46647e572ad50ea8a5b4889e1a5d92694b31
Revert "removing T3parts"

This reverts commit 366343e3ba231f234f4b06aadfc781e0f8327725

Change-Id: Ia88b45a399f59e1d442e3b8ba7088302fc549099
HTC T3-common: Clean up of Boardcommon

Change-Id: I8d803b4ebef3cdb6f48d5f63367efc02451448b5
tegra3-common: Remove surfaceflinger_client stub

Change-Id: Ifa4a7435453685f7ebb882fea78b0a4aa07bbe94
HTC T3-common: initial upload of sepolicy

Change-Id: Ifa3d72162345b66ecce784c7086491f946104b78
HTC T3-common: remove the old selinux folder

Change-Id: I1c4dc84a6bf4ce17f906e0da77cb55a7db8de675
HTC T3-common: No need for selinux to be default permissive

Change-Id: I6772051e887189b0ca560da52d03578f053647ff
tegra3-common: Start pollyd late

In-call volume problems are related to pollyd not correctly
starting/restarting. It's possible for pollyd to be in a permanent
"stopping" state without an actual running process. Init will not restart
pollyd in this case. This might be a bug in init.

Starting pollyd late seems to make it more reliable.

Change-Id: I38dcab7337da8cc2aa681308202f2124d8cab5aa
tegra3-common: Fix some permissions

Fixes the following errors on boot.

E/HtcCameraHal(  151): [CAM] [Calibration] open file ["/data/factory_main.bin"] failed, errno = 13 (Permission denied)

E/hwcomposer(  148): /sys/class/graphics/fb0/device/smartdimmer/enable: open failed: Permission denied
E/hwcomposer(  148): Failed to set initial DIDIM status to disable

E/nvaudio_hw(21838): open failed of sysfs entry /sys/power/suspend/mode
E/nvaudio_hw(21838): Error in save_lp_mode

Change-Id: I98a32a39a66f88f7dff3a4ab1ada867aaabff568
DT2W : Make changes inline with kernel commit

Change-Id: I4457cdd848264e6cc23a62883f95f5c848468a79
tegra3-common: replace "b" with "p" in tab

Change-Id: Ieaca6075139c9dcc1f714e39615fda024edaca58
tegra3-common: Add HTC RIL daemon service

We need at least the rild-audio-gsm socket for adjusting the in-call volume
when using the HTC libril/libcall_volume.

Change-Id: I4505ac575102c7914ef51d358c8e14af356dc307
tegra3-common: RIP polly, you served us well

Change-Id: Idf50c582598a851bb32baa1cc08ca751e80c0bad
tegra3-common: Fix init script

The ril-daemon is now correctly stopped.

Change-Id: I6223a2da94216c698385d249a999c422676022b9
tegra3-common: Fix rild-audio-gsm socket group for libcall_volume

Without this libcall_volume cannot open and write to the rild-audio-gsm
socket which breaks adjusting the in-call volume.

Change-Id: Ibc46060904915c032291f2e9ce66c79da2cb5e45
tegra3-common: Add and use HTCTegra3RIL to fix parsing of operator infos

We have two ways to fix the mobile network scanning issue:
  1) We use the open source libril and set BOARD_USE_NEW_LIBRIL_HTC := true
  2) or we use the HTC libril with a custom HTCTegra3RIL class in the framework
     that correctly parses the QUERY_AVAILABLE_NETWORKS response.

This commit simply converts 1 to 2 because the HTC libril does some things we
want. For example it listens on the various rild sockets like rild-audio-gsm for
signals from libcall_volume or other services.

Change-Id: Ie363c60afe8860751684e3a053986c2a2837685e
HTC TEGRA3-COMMON: SElinux fixup

Change-Id: Iaba81e171fa18e87de89dfa159196703919dc01f