Enhance liblights to support touchkey backlight

Adds the necessary function to control capacitive key backlight from userspace

Set BOARD_BUTTON_LIGHTS_PATH in BoardConfig to the relevant device node path to enable this

Used by Infuse4g at least - May be applicable to other devices? (epicmtd has a similar function in their liblights)

Change-Id: I2bebd6a8b2dc7624c42c78e9862246f10725a000
releasetools: remove boot.img handling

Depends-on: Ic348d31e8df7933dc4f9f055b7a5a2beacc21d32
http://review.cyanogenmod.org/36813

Change-Id: Ia8dc8219a360c391243dee7a760067277e9e52d1
aries-common: 4.3 bring up

TODO: Implement SELinux

Change-Id: Iad1a601063eeae4524ddeddf4845e298bbb4f3fb
aries-common: fix fstab.aries partition

This is the original value specified in vold.fstab

Change-Id: I7dcd0c8d3177a9bb8b54e2d061bb68c74f2efd97
libcamera: touch-to-focus fixes

- Do not send command to camera unless preview is started
  (fix 4.3 AOSP camera crash)
- Send touch AF command regardless of previous state
  (required to actually trigger touch AF at the new area)

Change-Id: I51a8f80ce1ec38f1052e4660f708be8649478a88
libcamera: properly advertise lack of scene mode

Otherwise Focal with errorneously show all available scene modes

Change-Id: Id2987c6f3a01a331485bb76d879a6178b1c22bf6
Remove make_ext4fs from PRODUCT_PACKAGES

This has been in the core package set since 4.2.

Change-Id: I512e3b042e2c98115098a61f025b9022b58095d3
Disable GL scissor optimization for aries (SGX540)

http://source.android.com/devices/tuning.html

Change-Id: I8eb0bd6f868a6b0532c1c833e43a4b30031f7261
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: set ro.bq.gpu_to_cpu_unsupported

This tells SurfaceFlinger to always use the CPU
pipeline for taking screenshot. We don't actually need
this since our surface type isn't supported by Bitmap
and will defaults to CPU anyway, but setting it doesn't
hurt.

Change-Id: I35c15dff969a89990c0f4ef6512cb79ab3c71362
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: SELinux

- Added basic sepolicy to allow device to boot (there's a bug that
  crashes the device without it)
- Added other sepolicies to fix denial and tighten processes
- Uses bind mount instead of symlink because file_contexts uses real
  path

Change-Id: I16628a9d4b8e1f66ccfc84df4adeee53eaf79bf9
aries-common: repartition /system to 600M

The current 400M partition is too small now.

Change-Id: Ie38c41fd2c0d6d5518c7e809d4af3d27af5c1193
aries-common: Update BT network interface name for Android 4.3

Change-Id: I52d70f4aa722106527858a50478166b57f4c7ce5
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
Build with A8-cortex optimized Linaro 4.7.4 toolchain from Christopher

Change-Id: Ifd70e537f1aa07b03edfaf2fce8eac2034505467