init.rc: mount pstore fs, set console-ramoops permissions

Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
Fix overflow in adb_client

Change-Id: I7f8582bd8a69d61ce47d11a9ffd0e901fc371037
Credit: Joshua Drake
Bug: 12060953
am e89e09dd: Fix overflow in adb_client

* commit 'e89e09dd2b9b42184973e3ade291186a2737bced':
  Fix overflow in adb_client
am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit 'd63fb078aea697c536b19c03d29d4dde4ac087fc':
  Fix overflow in adb_client
am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit '03d4eb29003a712c28733646588fafc8939fc1fe':
  Fix overflow in adb_client
am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit 'e975716e36c9ad6aa80be2b54ee2cc63eadbdc44':
  Fix overflow in adb_client
am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit 'ba104fb7f1f0acad99a0d3a1cf7153aab57ea450':
  Fix overflow in adb_client
am cd072e94: am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit 'cd072e94cf7e546cd6d333cd65641edcd69402b7':
  Fix overflow in adb_client
am 54a80bcf: am cd072e94: am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit '54a80bcf88060b21f527c631c7ec911171bdb13f':
  Fix overflow in adb_client
am 33e7f915: am 54a80bcf: am cd072e94: am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit '33e7f915d6a27880dd4c4c0709dcc921f549eea2':
  Fix overflow in adb_client
am 02d90b92: am 33e7f915: am 54a80bcf: am cd072e94: am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client

* commit '02d90b92ce65ad4e7f49565f0e97373e1d8b0fbf':
  Fix overflow in adb_client
Remove obsolete vdc call.

Since ca8e66a8b0f843812014a28d49208f9f6f64ecbc, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc.

Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881
(cherry picked from commit 225459a5da21e9397ca49b0d9af7d5fe3462706b)
don't load property_contexts from /data

Bug: 12613118
Change-Id: I5a84b13d2151075d5136e3682431fbcc9307df13
(cherry picked from commit dc3a42bb11dc2aefee37f799b5a1cce87cf35aaf)
init.rc: prep tcp_default_init_rwnd, set the default to 60

The kernel's default is between 4~20.

Prepare for javaland to modify the value at runtime.

It can be done via
  setprop sys.sysctl.tcp_def_init_rwnd  <value>


Bug: 12020135
Change-Id: Id34194b085206fd02e316401c0fbbb9eb52522d2
(cherry picked from commit 7c862c8b5e59cbe216a5bc092c01f1ecba8e9de4)
Initial support for Broadcom VideoCore / BCM21553

This commit adds Broadcom support for:
* system/core

Enable via:
* BOARD_USES_BROADCOM_HARDWARE := true
* COMMON_GLOBAL_CFLAGS += -DBCM_HARDWARE

Change-Id: I37e8250a5366e9fbd0de132c042dc7be680da82a
Add mknod support to init

Takes the following arguments:
mknod name, type[b/c/u/p], mode, major, minor

Based on implementation from:
https://gitorious.org/openaos-cyanogenmod/device_archos/commit/79da8a8

Change-Id: If8bb181d60c02949ef3be753f63d0f148e05164f
init: enhance charging/recovery support via kernel cmdline

New BoardConfig options:
* BOARD_CHARGING_CMDLINE_VALUE_RECOVERY - value exported by kernel
  cmdline to signify that we are in recovery.
* BOARD_CHARGING_CMDLINE_NEEDS_FS - indicates that charge mode requires
  a fully mounted filesystem in order to function correctly.
* Handle cases in which BOARD_CHARGING_CMDLINE_VALUE_RECOVERY is set
  and TARGET_NO_SEPARATE_RECOVERY := true. This means that we need to
  share a ramdisk between CWM and the regular boot, so ensure that init
  loads "/recovery.rc" & reads properties from "/default.prop.recovery"
  when in recovery mode.

Change-Id: I80d3cbe2d2aa28471ef15133e8a5caf5fcde94e1
Merge tag 'android-4.4.3_r1' into HEAD

Android 4.4.3 release 1
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0

Conflicts:
	rootdir/init.rc

Change-Id: Id6df52a2d1c06f2d54d03600d84e90107b0112df
audio: Add support for FLAC in compress offload path

- Add new audio format for FLAC
- Add FLAC in valid formats list
- Add bitWidth in offload info

Change-Id: Ic716aff8b7cdb28b03f32f686eca33ff0beb981c