KSM: override values upon boot completion

Needed to override values in init.cm.rc that are too aggressive
on our devices.

Change-Id: I4f8c847d24e4dbafd9dc07d2368d745f86d223c2
Add local healthd

Fixes battery info with new 4.4 health daemon

Change-Id: I26cfd2952053dfa74bede9598ad128574bc59f0c
GalaxyParts: add SD swap high priority support

Allows users to set SD swap priority higher than zRAM, therefore
causing SD swap to be preferred over internal memory swap via zRAM.

Change-Id: I90157f74775602f94da75d409440f1d2349e14ef
Recovery updates

* Set default recovery pixel format to RGBX_8888
* Define backlight brightness path
* Enable "swipe" feature

Change-Id: I20614907f17bc70c471ab93838da4534c109507b
Update camera HAL & implement libcamera2

* camera HAL adapted from Evervolv:
  https://github.com/Evervolv/android_hardware_qcom_camera/tree/jellybean-4.1.2

* Set TARGET_PREBUILT_LIBCAMERA := true to build only the camera HAL.

* Implements TARGET_CAMERA_SENSOR_MP_SIZE to specify default preview
  size. Defaults to 2 if unset.

* Set the 480p media profile to 320x240 size; kernel doesn't allocate enough adsp
  memory and it's not worth the trouble.

Note: libcamera source requires Froyo version of liboemcamera.so.

Change-Id: I3220c7c101af09eea242c24911d4dbf3d5e636ad
Bootanimation updates for Samsung devices

* Enable bootanim preload
* Enable bootanim texture cache
* Use half-res bootanim (to save disk space)

Change-Id: I77b87d2d68f36c580dcaf6daa72d7469f3dd22a7
Update configuration for better secure ADB/root support

Includes workaround to prevent kernel hang when restarting ADB
daemon via "adb root".

Note: secure ADB & root not enabled yet - let's wait until things
      settle on this branch.

Change-Id: I296010b2068970dc27617615020dc167bb76c044
cameraHAL: fix sensor size for old HAL

Change-Id: I8283507ddf569e56f8db0b9e757f853cecd30536
Camera: add BOARD_USE_CAF_LIBCAMERA_GB_REL support

Needed for Samsung GB prebuilt libcamera

Change-Id: I46cd52c3973659e7afeda39c308181832401c77f
Merge remote-tracking branch 'androidarmv6/cm-11.0' into kitkat