Add MMI specific groups and property permissions

Change-Id: Ibd6643541271545ecd07672f35a38601fb7ab488
Reviewed-on: http://gerrit.pcs.mot.com/455964
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
(cherry picked from commit 07bfa9b)

Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
 Port support for EMU analog audio to Android 4.2

Add new device for Motorola EMU Docks.

Change-Id: I4a53557bde537e6ff16f68b33091d74235952ced
Reviewed-on: http://gerrit.pcs.mot.com/513890
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jonathan Eklund <e11237@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: David Ding <dding@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
(cherry picked from commit 72e8acc)

Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
 mkbootimg: Add --dt parameter to specify DT image

New optional --dt parameter to specify a kernel device
tree image.

Change-Id: I824bba28e16de375fc3427acd85e99caafc3718f
Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
 init: set ro.hw.radio from UTAG

For single binary builds, the marketing name needs to be set
from UTAG, but Settings app and other places take ro.product.model,
which is set from build.

Allow UTAG value to override that, if set.
Also set ro.hw.radio to have uniform access to all HW ID values.

Change-Id: I02ae97c1ca0f783728cfce61a744793e5811a39a
Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
fs_mgr: introduct recover_userdata

Change-Id: Ibf4f107c5e5184f331786d5398f666f6e05276e1
Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
 init: propagate hwrev from cmdline to property space

New bootloaders are expected to pass hw revision on command line as
androidboot.hwrev. Put this into property for convenience.

Change-Id: I79ea76c5c3b08d22b6fde6fd23bde7cec8076025
Reviewed-on: http://gerrit.pcs.mot.com/531406
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
SLT-Approved: Christopher Fries <qcf001@motorola.com>

Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
 init: Format userdata from fs_mgr if needed

Rather than having a init script cludge to recover userdata as
needed, let's only recover (format) userdata when it won't mount.

Minor change in init required to avoid symbol collision on make_link,
and to include new static libraries.

Change-Id: Id1a1660e47b5cb99652db2ec638333f028478812
Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>
 init: uevent: Add msm video symbolic link handling

Create meaningful symbolic links for video encode/decode
devices based on link_name sysfs node so that video client
doesn't have to rely on dynamic dev node names like device32,
device33 etc.

Change-Id: I01366dcd31b735887a8c9a5ad1f1f6169fe12d8a
Signed-off-by:Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>