don't run adbd as root by default

 * can easily be overridden with "adb root"
clean up ueventd

 * no need to set perms already present in common init.rc
 * add back mpu
recovery: adb should run as root either way
sync omx buildpack to upstream
set debug.egl.recordable.rgba8888

 * fixes "no suitable EGLConfig found"
 * some games depend on this

see https://android.googlesource.com/device/lge/mako/+/4cac3659d68161514f11a18b5ff953f6165ddcff%5E%21
sync camerahal to upstream
this is a squash of 2 commits

Free QualcommCameraHardware instance when closing camera

The LINK_mm_camera_destroy is being called in QualcommCameraHardware
destructor. If we do not free the QualcommCameraHardware from
camera_device_close the camera may not be deinitialized and drain
the battery when not using camera.

This is especially visible when Skype is installed - which opens the
camera during startup to probe the camera and obtains its parameters
even when the user is not using camera in skype.

Fix crash during camera close

Move LINK_mm_camera_destroy call to ~MMCameraDL, call mMMCameraDLRef.clear() from
QualcommCameraHardware destructor to make the behaviour consistent
with CAF;s kk_2.7_rb1.29 release
more camera fixes
use media-caf

 * we can utilise media-caf since the inclusion of the respective commits in vidc
 * should fix a few issues with hd video hardware decoding

also get rid of the duplicate audio-caf flag
init: remove wifi dir/file creation

already handled in common init.rc
overlay: use wlan0 for data accounting
disable core0 power collapse

this allows us to use mpdecision again w/o running into suspend audio issues.
thx to @jcsullins for the find.

also remove unused thermald stuff
reenable idle power collapse for core 0

https://github.com/milaq/android_kernel_hp_tenderloin/commit/ee9eb0883f48e60ac93e625a67172048af0a10aa allows us to do this as the icodec takes care of holding an idlelock while audio out is active. so in other cases where audio out is not active let idle power collapse kick in.
boot with noop i/o scheduler to improve speed
boot with performance gov to improve speed
disable mpdecision

suspecting that shutting down core1 when idle is the reason why we have a few SODs lately.
need to verify that though, so let's try it with a bigger audience.
remove msm includes
use the ones from kernel
enable use of FFMPEG codecs for extended formats
msm8660: enable QCOM_BSP

  * needed to fix video corruption in Netflix
  * as a result of this change, use custom graphics.c for recovery
      - using a 3.0 kernel and QCOM_BSP causes recovery build errors.
      - workaround this by using a custom graphics.c.

backported from msm8660-common
enable three buffers at all times
remove mpeg4/h263/h264 ffmpeg entries