Update storage configuration & development settings

* Add debugging properties
* Allow mass storage mode
* Update default USB configuration (still using mtp,adb by default)

Change-Id: Ibef617fd0a56c7f1d46092114f65fa867298378e
Camera HAL: workaround for QCOM legacy camera parameters on KitKat

On Qualcomm legacy devices, the following camera parameters exist:
contrast-max, saturation-max, sharpness-max. However, newer camera
libraries name these parameters differently (max is the prefix,
not suffix).

This is patched in cameraservice, but in
frameworks/base/core/java/android/hardware/Camera.java,
the parameters are still hardcoded to max-contrast, max-saturation
and max-sharpness.

Workaround this by copying values in the camera HAL (or if
they don't exist, set to -1 so that the camera will still function).

Change-Id: I8e3e4e1b7a669e060e08018f02c9083dd3fffce8
Switch init to (working) mount_all

Create symlink to real fstab so that init binary can find it.

Change-Id: I72fddfa56f2f4af0e5969e80b2b15a37831da8f5
Cleanup init scripts & fix fstab mount

* Use makefile to fix the fstab bootloader name, and dynamically
  adjust service details for device-specific quirks.
* Remove dead vold.fstab
* Move Bluetooth services to dedicated init scripts

Change-Id: Id9e28f722e05bf32df2315ff1477da74b57656bf
GalaxyParts: add option for highend graphics

* Property is persist.sys.force_highendgfx
* Set to enabled in build.prop by default

Change-Id: Ia7609717a419d37db60c398b4321ee44c4337d4a
Set default recording to 480p profile

Needed for KitKat.

Change-Id: I357b59710743bd1187f79ae033c0002ea58add76
Merge "Set default recording to 480p profile" into cm-11.0
releasetools-extras: add more unnecessary files

Needed to give us some space on the /system partition, especially
on galaxy5.

Change-Id: I04fc6c20405c5a37191a46456fdc08d4dc705537
Adjust lowmemorykiller tunables for Samsung devices

* Set config_lowMemoryKillerMinFreeKbytesAdjust to 8192
* Force all Samsung devices to set 3072 for extra_free_kbytes.
  Default calculation is width * height * 4 * 3 / 1024. This would be 900KB
  for ldpi or 4500KB for hdpi. Let's use 3MB for all devices.

Change-Id: Ib60e478ddd1a64fc2c4abfcdc721041d77615a8d
Enable KitKat-style zRAM support by default

* Enable 48MB (Gingerbread) / 32MB (Froyo) zRAM allocation
* Modify GalaxyParts to allow zRAM & regular swap coexistence
* Set swap priorities: 0 for regular swap, 1 for zRAM

Change-Id: I3df810ec4abb4146b907cf9ae1231e75e111684a
Remove lowmemorykiller minfree tunable

Change-Id: Ib0f473423d5c29efca2b80a25ed064fc21b03850
GalaxyParts: remove dynamic lmk & background process limit options

These options are unnecessary on KitKat

Change-Id: I16df9e4767d242d7cafd56b8ac2defa110faa01b
Fix ath6kl-compat wpa private library for KitKat

Resolves problems with wifi (missing MAC address, no resume from
sleep).

* Remove outdated driver_nl80211.h header, and point to the version
  in hardware_legacy includes
* Add WLS_BATCHING to list of ignored commands
* Disable p2p support in driver for STA mode

Change-Id: I3f9a5f7d5228c9eb02885d629dc7356e6df9e725
Fix g5sensord never sleeping & adjust init layout

* Service needs use to system:misc permissions so that libsensors can
  send USR signals to sleep/resume correctly.
* Reorganize init.rc so that post-fs-data is created in correct order, to
  prevent crash of g5sensord service on fresh boot (no /data/misc/sensors)

Change-Id: Ib3b3af8729a8e1e910683de9ae03e63756da4ef6
Merge "Fix ath6kl-compat wpa private library for KitKat" into cm-11.0