History log of /device/lge/hammerhead/init.hammerhead.rc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d1579c84de4127bacd04c06abb3289cf8a010324 21-Sep-2014 Nick Kralevich <nnk@google.com> label /firmware as u:object_r:firmware_file:s0

Commit https://android-review.googlesource.com/70873
(674a5c2a3ad778eff30238a64e93bcb6f02168b7) modified fstab.hammerhead
to label /firmware as u:object_r:firmware_file:s0, but forgot to do
the same thing in init.hammerhead.rc. Fixed.

Addresses the following denial:
audit(19453847.720:346): avc: denied { search } for pid=174 comm="ueventd" name="/" dev="mmcblk0p1" ino=1 scontext=u:r:ueventd:s0 tcontext=u:object_r:vfat:s0 tclass=dir

Bug: 17589328
Change-Id: Ic4ee53177ebe6f123ff527cfc064996b10d3dce4
/device/lge/hammerhead/init.hammerhead.rc
aa5ac58e32a619c4b6959b3b87918a3c0227c7bf 15-Sep-2014 Patrick Tjin <pattjin@google.com> hammerhead: fix typo in init file

Change-Id: I34972f879e050966bce91fd04d244ca5b2b0ea9d
/device/lge/hammerhead/init.hammerhead.rc
d2b0c6d647443e4bca81809a78b9aae215cf7b7d 18-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Fix Telephony tcp buffer sizes for hh.

bug:16549611
Change-Id: I73db95e920ac34e088e1a591406e7a8ce1717a4b
/device/lge/hammerhead/init.hammerhead.rc
94e46d152740c74442d4df96fd8a4e542dbdf971 02-Jul-2014 Naveen Ramaraj <nramaraj@codeaurora.org> sensors: Migrate resources from data to persist partition

Modify the location of registry, sensors socket and
update the associated security policy

Bug: 16040657
Change-Id: I7caca6667316eb17b20a7972e64cfd00c8d7fe9f
/device/lge/hammerhead/init.hammerhead.rc
69362fe112c7e346843bce3c1cb9b5e692991c1d 26-Jun-2014 Mekala Natarajan <mekalan@codeaurora.org> init.hammerhead.rc: start qseecomd as root

qseecomd communicates with the secure domain via rpmb
needed for widevine anti rollback feature.

Bug: 15777869

Change-Id: I6f7066258d409b9e6d447ae17bf50200323fa670
/device/lge/hammerhead/init.hammerhead.rc
27cda9a228a824fb81c254bf81fb44bd09a4e49c 26-Jun-2014 Devin Kim <dojip.kim@lge.com> Make sure to load the adsp firmware after creating symlink for /vendor

Moved symlink for /vendor to occur after mounting partitions. So the loading
adsp firmware also need to be excuted after that.

Bug: 15888040
Change-Id: I5119d174ea4ca92e32cb41f365f3a0b41186b073
/device/lge/hammerhead/init.hammerhead.rc
b2ab995cdfabfeea0b3e632998f28dd9bb00f9e7 23-May-2014 Lorenzo Colitti <lorenzo@google.com> Make Ethernet run on hammerhead.

The code and drivers are there, but there's no service entry in
init.rc for DHCP. Add one.

Bug: 15164072
Change-Id: I2c53119d04c9adafec81719da310e6627505a1ec
/device/lge/hammerhead/init.hammerhead.rc
97adde2d437410d27849e43cb30c3e8b04939697 08-May-2014 Nick Kralevich <nnk@google.com> Don't start subsystem_ramdump on secure builds.

We shouldn't be dumping ram on secure user builds.
subsystem_ramdump is not intended for production user builds.

Bug: 13937392
Change-Id: Ia7e9cfe87f6f4222856b789a7a16355df1e0e55a
/device/lge/hammerhead/init.hammerhead.rc
f011b7e74c59535ef4adcc9a58ae71e50de95833 02-May-2014 Nick Kralevich <nnk@google.com> am 3f33e4a3: am 9610886b: am 6c6252a6: Merge "Address new SELinux denial."

* commit '3f33e4a3a2c6162309861bb08b95fbebd0d88f7c':
Address new SELinux denial.
3f33e4a3a2c6162309861bb08b95fbebd0d88f7c 02-May-2014 Nick Kralevich <nnk@google.com> am 9610886b: am 6c6252a6: Merge "Address new SELinux denial."

* commit '9610886b540e2b949f296c70f53b108994b3a58c':
Address new SELinux denial.
9610886b540e2b949f296c70f53b108994b3a58c 02-May-2014 Nick Kralevich <nnk@google.com> am 6c6252a6: Merge "Address new SELinux denial."

* commit '6c6252a6336d22d2e3ea9927edda8a71f4c342d3':
Address new SELinux denial.
bf8fcfa71fd365add34a394cbe38828ce8a558fb 02-May-2014 Nick Kralevich <nnk@google.com> Address new SELinux denial.

system/core commit 75b287b771b302c99797d812122b72f83d2f56f9 fixed
/sys/devices/system/cpu/cpu*/cpufreq/scaling_* so that it was properly
owned by uid/gid system. That started generating the following SELinux
denial:

<4>[ 380.676844] type=1400 audit(1398985976.921:19): avc: denied { dac_override } for pid=2033 comm="mpdecision" capability=1 scontext=u:r:mpdecision:s0 tcontext=u:r:mpdecision:s0 tclass=capability

Add mpdecision to the system group. This stops the DAC override denial
by giving mpdecision DAC read/write access.

Remove the explicit chown / chmod calls from init.hammerhead.rc. They
duplicate the uevent configured permissions.

Change-Id: Icc3ece8f815ff817baca1344f74fbd96298fea80
/device/lge/hammerhead/init.hammerhead.rc
690af8b164cd9744ca3e78ea9d5276c8251296a2 07-Apr-2014 Vineeta Srivastava <vsrivastava@google.com> hammerhead: enable ramdump

Bug: 13744629
Change-Id: I8b9572daf56dc8ba971360f7b16d8fcbec8e7628
/device/lge/hammerhead/init.hammerhead.rc
727b35a777a661c7fde80a34a1093edeaf07963b 24-Mar-2014 Nick Kralevich <nnk@google.com> am 4acfd0ba: am c37183a8: am c6e64558: Merge "Fix mode on sysfs file to avoid need for thermald dac_override."

* commit '4acfd0ba1041c10c7bc1bc487224cf4db5b9eadc':
Fix mode on sysfs file to avoid need for thermald dac_override.
4acfd0ba1041c10c7bc1bc487224cf4db5b9eadc 24-Mar-2014 Nick Kralevich <nnk@google.com> am c37183a8: am c6e64558: Merge "Fix mode on sysfs file to avoid need for thermald dac_override."

* commit 'c37183a84c600ecec5ae6a5a561da3458105de58':
Fix mode on sysfs file to avoid need for thermald dac_override.
07c5346283017b70869aa751ba132c4cea31873a 24-Mar-2014 Nick Kralevich <nnk@google.com> am c37183a8: am c6e64558: Merge "Fix mode on sysfs file to avoid need for thermald dac_override."

* commit 'c37183a84c600ecec5ae6a5a561da3458105de58':
Fix mode on sysfs file to avoid need for thermald dac_override.
564188962b5bceab22dd9917d30d2dfd9fb33b31 21-Mar-2014 Stephen Smalley <sds@tycho.nsa.gov> Fix mode on sysfs file to avoid need for thermald dac_override.

/sys/class/leds/lcd-backlight/brightness has system owner/group
and is only owner-writable which triggers CAP_DAC_OVERRIDE check
when thermald tries to write to it. Fix by chmod 664 to make
it writable by group system, which thermald already has in its
group set.

Before the change:
-rw-r--r-- system system u:object_r:sysfs:s0 brightness

After the change:
-rw-rw-r-- system system u:object_r:sysfs:s0 brightness

The policy for thermald is left unchanged by this change; we can
continue to watch for further dac_override granted messages until
we are sure there are no further cases.

Change-Id: Ic9372d9c5cefeefbf3d2369e95b65f265df85a02
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
86341681e0fca495a8a24e18c0f2d6159d99f958 14-Mar-2014 choongryeol.lee <choongryeol.lee@lge.com> am 8e4ea416: am 24a08ea0: hammerhead: enable slimport detection after boot completion [DO NOT MERGE]

* commit '8e4ea416bcf083bc41d830035db4e06423c271c2':
hammerhead: enable slimport detection after boot completion [DO NOT MERGE]
8e4ea416bcf083bc41d830035db4e06423c271c2 14-Mar-2014 choongryeol.lee <choongryeol.lee@lge.com> am 24a08ea0: hammerhead: enable slimport detection after boot completion [DO NOT MERGE]

* commit '24a08ea06ce1a54913e323cf5676fa60ef5cea8b':
hammerhead: enable slimport detection after boot completion [DO NOT MERGE]
fe22c13fdb7406785e89036d7f9fe2986223cb04 14-Mar-2014 choongryeol.lee <choongryeol.lee@lge.com> am 24a08ea0: hammerhead: enable slimport detection after boot completion [DO NOT MERGE]

* commit '24a08ea06ce1a54913e323cf5676fa60ef5cea8b':
hammerhead: enable slimport detection after boot completion [DO NOT MERGE]
24a08ea06ce1a54913e323cf5676fa60ef5cea8b 06-Nov-2013 choongryeol.lee <choongryeol.lee@lge.com> hammerhead: enable slimport detection after boot completion [DO NOT MERGE]

To prevent slimport error during boot up, wait until boot
completion before start slimport detection.

Bug: 11518558
Change-Id: I4d3e8bf27cebc5e79d566400d768fadc2873e9b5
/device/lge/hammerhead/init.hammerhead.rc
0a475fa2ef6f73b6f614bc62533f83325f1daab0 28-Feb-2014 Nick Kralevich <nnk@google.com> am 74252f7d: am e5c7ffae: am 744dee37: Merge "Remove restorecon_recursive /data/* calls."

* commit '74252f7d500c61927a5f5be07654411fcf1bbc41':
Remove restorecon_recursive /data/* calls.
74252f7d500c61927a5f5be07654411fcf1bbc41 28-Feb-2014 Nick Kralevich <nnk@google.com> am e5c7ffae: am 744dee37: Merge "Remove restorecon_recursive /data/* calls."

* commit 'e5c7ffae7f3337f29399438b3b8ab688f794bebc':
Remove restorecon_recursive /data/* calls.
654574b8c84fdeedf6b4114afe9b54734af4f010 06-Feb-2014 Stephen Smalley <sds@tycho.nsa.gov> Remove restorecon_recursive /data/* calls.

These are obsoleted by the restorecon_recursive /data call made
by init.rc.

Change-Id: Ib8d9751a47c8e0238cf499fcec61898937945d9d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
06561586119d1e52a29f88767c2647d59c58c496 12-Feb-2014 Ruchi Kandoi <kandoiruchi@google.com> Enabled Wake up reasons to be logged in the kernel

Change-Id: Id95420b7d0273193209ffc5293e33c3c5ae6d558
/device/lge/hammerhead/init.hammerhead.rc
e5e04ebc7deac3445b74220e8af05b59fa1e528f 20-Feb-2014 Vineeta Srivastava <vsrivastava@google.com> am 64e64263: resolved conflicts for merge of 5e8a768c to klp-modular-dev-plus-aosp

* commit '64e64263dbefbaafbe257e09a033939c070de443':
Revert "Revert "hammerhead: Disable subsystem ramdump collection"" [DO NOT MERGE]
64e64263dbefbaafbe257e09a033939c070de443 20-Feb-2014 Vineeta Srivastava <vsrivastava@google.com> resolved conflicts for merge of 5e8a768c to klp-modular-dev-plus-aosp

Change-Id: I32a1474445eec9f15f00906e0d6503399026411f
d3daceba8dbc6b1de814743173ab8e82f0ebfce8 20-Feb-2014 Vineeta Srivastava <vsrivastava@google.com> am c1dbe43a: Merge "Revert "hammerhead: Add support for modem logging" [DO NOT MERGE]" into klp-dev

* commit 'c1dbe43afce53b8ddc99301b93aff7cf0e46bd12':
Revert "hammerhead: Add support for modem logging" [DO NOT MERGE]
9405835bebb209e786e21ab2fa2ddb354a056b30 20-Feb-2014 Vineeta Srivastava <vsrivastava@google.com> am 42ed506f: Merge "Revert "Revert "hammerhead: Disable subsystem ramdump collection"" [DO NOT MERGE]" into klp-dev

* commit '42ed506f31aa75fe078e7c499ab0367aa06f3aad':
Revert "Revert "hammerhead: Disable subsystem ramdump collection"" [DO NOT MERGE]
007ccbcf1bf7ab629b8d857354a436c35a36f19a 19-Feb-2014 Dmitry Shmidt <dimitrysh@google.com> hammerhead: Get rid of ctrl_interface=/data/misc/wifi/sockets

Bug: 10893961

Change-Id: I0246884893f30d7026291ac3abf13c83de9fb262
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/lge/hammerhead/init.hammerhead.rc
2d89d536564c8230d170b9c3ecdd8e0d74aaf928 19-Feb-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "hammerhead: Add support for modem logging" [DO NOT MERGE]

Modem logging disabled

Bug: 12486394

This reverts commit 62c468c2ec192d99e5f3eaa1b51db96382b7dbd9.

Change-Id: I3edaa52b7d75dc131214837e58ab0134025b62bc
/device/lge/hammerhead/init.hammerhead.rc
a76e7ed60d5a101207516f39cb8433f38f8397ba 19-Feb-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "hammerhead: Disable subsystem ramdump collection"" [DO NOT MERGE]

This reverts commit 98154d5b1eeddbb8d72d88876b867a921cec6b36.

Disable subsystem ramdump.

Bug: 12486394

Change-Id: Ia6c3af2260616c6dcf5c8fe2d2d969e7dab1101f
/device/lge/hammerhead/init.hammerhead.rc
cb35dbe40ca012479a4828a71fc258b9660d247e 05-Feb-2014 Nick Kralevich <nnk@google.com> am 91e0dbc8: Fix SELinux security labels for /data/tombstones

* commit '91e0dbc80c81da09dc644e282c408e667f9acc76':
Fix SELinux security labels for /data/tombstones
91e0dbc80c81da09dc644e282c408e667f9acc76 05-Feb-2014 Nick Kralevich <nnk@google.com> Fix SELinux security labels for /data/tombstones

Fix up the SELinux label for any pre-existing files in
/data/tombstones. This is needed to support SELinux policy
for subsystem_ramdump.

Change-Id: I28d59c7807cfcef8c5f3b45cc4ed75ebd1aab5c8
/device/lge/hammerhead/init.hammerhead.rc
ad27934c711cacdf235b80cc1ff2656c13fc88b8 04-Feb-2014 Nick Kralevich <nnk@google.com> am 8613b3e8: am 7a984d5c: Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file."

* commit '8613b3e82374301e3e3b8ae2274ecbf4d885620a':
Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
8613b3e82374301e3e3b8ae2274ecbf4d885620a 04-Feb-2014 Nick Kralevich <nnk@google.com> am 7a984d5c: Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file."

* commit '7a984d5c5770eca14c327a4838cfdb15aa035fb5':
Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
1215f89fd08ac15e85fb0e5457e8220e0bc58ed7 31-Jan-2014 Vineeta Srivastava <vsrivastava@google.com> am 1b9286d4: am 89114b20: am 98154d5b: Revert "hammerhead: Disable subsystem ramdump collection"

* commit '1b9286d4eff3fed7e3b1c474b7722b3b16504e5d':
Revert "hammerhead: Disable subsystem ramdump collection"
89114b203ba4a25ddb0db7a0218e1b7e0592ad2d 31-Jan-2014 Vineeta Srivastava <vsrivastava@google.com> am 98154d5b: Revert "hammerhead: Disable subsystem ramdump collection"

* commit '98154d5b1eeddbb8d72d88876b867a921cec6b36':
Revert "hammerhead: Disable subsystem ramdump collection"
4ced34b8d8dc264c81c26484d107223baef12c48 31-Jan-2014 Vineeta Srivastava <vsrivastava@google.com> am 62c468c2: Revert "Revert "Revert "Revert "hammerhead: Add support for modem logging""""

* commit '62c468c2ec192d99e5f3eaa1b51db96382b7dbd9':
Revert "Revert "Revert "Revert "hammerhead: Add support for modem logging""""
98154d5b1eeddbb8d72d88876b867a921cec6b36 31-Jan-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "hammerhead: Disable subsystem ramdump collection"

This reverts commit 42aaafc30e1d899cdc3a2f30fa952987c9da697a.

Change-Id: I1215143de6b62cc5691dbd6dc1d3d10a7422a987
/device/lge/hammerhead/init.hammerhead.rc
62c468c2ec192d99e5f3eaa1b51db96382b7dbd9 31-Jan-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "Revert "Revert "hammerhead: Add support for modem logging""""

This reverts commit 35deeefd40451a584a4ef8df2b47c87c58b8f898.
/device/lge/hammerhead/init.hammerhead.rc
b4d33293b422e55a617f5a6e125215ff7e06f4e2 29-Jan-2014 Stephen Smalley <sds@tycho.nsa.gov> Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.

mkdir /data/misc/wifi subdirectories and /data/misc/dhcp is performed
in the various device-specific init*.rc files but seems generic.
Move it to the main init.rc file.

Change-Id: I51b09c5e40946673a38732ea9f601b2d047d3b62
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
df9c83c242f5f3dbc9ca578fcddc7a6ab2caf114 17-Jan-2014 Andres Morales <anmorales@google.com> Added support for hammerhead svelte to device makefile and init script

Change-Id: Ibf54fa44dbe79f747791b9554c4f22d01a18ca50
/device/lge/hammerhead/init.hammerhead.rc
a5fd4778f392de780fe887f5f5976a04a55816b9 16-Jan-2014 Nick Kralevich <nnk@google.com> am 0b9869bd: am 4efb0807: am 6c2f0b55: Merge "Remove /data/app/sensor_ctl_socket on boot."

* commit '0b9869bd77a67ded33a9713c082ed6e70060833a':
Remove /data/app/sensor_ctl_socket on boot.
6c2f0b558dd2f4010a203feff4abe64b3bfcdd08 16-Jan-2014 Nick Kralevich <nnk@google.com> Merge "Remove /data/app/sensor_ctl_socket on boot."
b73e1b99544c9e6011426f17b974fc938dbb1705 16-Jan-2014 Nick Kralevich <nnk@google.com> am 9b4e9ce6: am bdd2407a: am 9d38990c: Merge "Fix a few restorecon calls."

* commit '9b4e9ce6ddc4acd614b1df1edeea84186a78fb38':
Fix a few restorecon calls.
ad2861101ccd46068579705ea52043f26e446472 15-Jan-2014 Stephen Smalley <sds@tycho.nsa.gov> Fix a few restorecon calls.

restorecon /proc does not work; /proc does not support the xattr API
but is internally labeled based on genfs_contexts in policy.

fdAlbum is a file not a directory so we only need a regular restorecon,
and move it to the same location as in other device init*.rc files.

Change-Id: I0cbde680fa284e74977158a2d71f7c2e28a5e4ea
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
cb72c56da0235ad9ef84f749ad4a590e71242ff3 15-Jan-2014 Nick Kralevich <nnk@google.com> am 0a0f4e02: am 01d898fd: am 3baa5712: Merge "restorecon /data/media and /data/nfc."

* commit '0a0f4e02429ed1f1a035ee879f3ae4dbbe8cf6d6':
restorecon /data/media and /data/nfc.
4c9c59a20e5075aab963d9df32648185a37ad0e9 15-Jan-2014 Stephen Smalley <sds@tycho.nsa.gov> restorecon /data/media and /data/nfc.

More cases where /data is mislabeled if directly upgrading
from KOT49H with an existing userdata.

Change-Id: I4a191d32a46104a68f6644398c152b274c7937a6
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
aaab3a3aacb28fd79202e6e4bac5108590da4615 15-Jan-2014 Nick Kralevich <nnk@google.com> am df535725: am dd23a6b9: am 7c973979: Merge "restorecon /data/fdAlbum and /data/misc/audio."

* commit 'df5357255bce9a65cb0354b8567c87d73170f269':
restorecon /data/fdAlbum and /data/misc/audio.
2a506e43a112218c0aa817507150f9ea87289892 15-Jan-2014 Stephen Smalley <sds@tycho.nsa.gov> restorecon /data/fdAlbum and /data/misc/audio.

Required to get them into the right security context when
updating from KOT49H to AOSP master without erasing userdata.

Change-Id: I023910f8dc9d97e09d4e920923ce7cad9e923ae5
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
6c7569e218c0cc858e3d11421d571dff648868db 14-Jan-2014 Stephen Smalley <sds@tycho.nsa.gov> Remove /data/app/sensor_ctl_socket on boot.

This ensures that any old socket file left by a prior boot
that may have the wrong security context due to old policy
is removed and does not cause any denials.

With this change, flashing KOT49H, booting it fully, and
then reflashing with AOSP master + enforcing sensors+camera
domains yields no denials on this socket and the socket
is correctly re-created in the sensors_socket type.

Change-Id: Ibc7501860350e6bc4264e75581e0076ff566202a
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/device/lge/hammerhead/init.hammerhead.rc
5400da04b1adc72897ea65b8f6d840916520a476 09-Jan-2014 Nick Kralevich <nnk@google.com> am 996de5d4: am 0010bdd8: am 83ee6088: Merge "Address new thermald and mpdecision SELinux denials."

* commit '996de5d4c3d6dcbe802d38cce0dddeee12fef784':
Address new thermald and mpdecision SELinux denials.
fdc51c85be1faa0fca837365c577e79585c95792 07-Jan-2014 Robert Craig <rpcraig@tycho.ncsc.mil> Address new thermald and mpdecision SELinux denials.

* The thermal service needs rw access to
/sys/module/msm_thermal/pmic_sw_mode/vdd_dig/mode and
/sys/module/msm_thermal/vdd_restriction/enabled. Allow
dac_override for now til the perms can be properly
fixed in the kernel. The perms are:
--w----r-T root root u:object_r:sysfs:s0 mode
--w----r-T root root u:object_r:sysfs:s0 enabled

* In order to avoid a dac_override with access to
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
the perms were changed to 664 from 644. This allows
both mpdecision and thermal services to access it.
This addressed the following denials:
type=1400 msg=audit(2996841.439:197): avc: denied { dac_override } for pid=1944 comm="mpdecision" capability=1 scontext=u:r:mpdecision:s0 tcontext=u:r:mpdecision:s0 tclass=capability

* In order to avoid another dac_override with access to
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
thermal service nows runs with the system group id.
This addressed the following denial.
type=1400 msg=audit(3008460.600:19): avc: denied { dac_override } for pid=195 comm="thermal-engine-" capability=1 scontext=u:r:thermald:s0 tcontext=u:r:thermald:s0 tclass=capability

* Give the thermal service read access to the /dev/socket/mpdecision
directory. This address the following denial.
type=1400 msg=audit(3007815.520:23): avc: denied { search } for pid=262 comm="thermal-engine-" name="mpdecision" dev="tmpfs" ino=6071 scontext=u:r:thermald:s0 tcontext=u:object_r:mpdecision_socket:s0 tclass=dir

* Add new wpa rule to allow access to persist partition files.
type=1400 msg=audit(3090909.619:194): avc: denied { search } for pid=851 comm="wpa_supplicant" name="/" dev="mmcblk0p16" ino=2 scon
text=u:r:wpa:s0 tcontext=u:object_r:persist_file:s0 tclass=dir
type=1400 msg=audit(3093618.959:200): avc: denied { search } for pid=3062 comm="wpa_supplicant" name="wifi" dev="mmcblk0p16" ino=12 scontext=u:r:wpa:s0 tcontext=u:object_r:persist_wifi_file:s0 tclass=dir

Change-Id: Ied2293d9effb1b2d9e043e01c08b5e7be407c868
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
/device/lge/hammerhead/init.hammerhead.rc
d5a024e7a9c960e80944cc0a4e10a9d48732b3ac 07-Jan-2014 Nick Kralevich <nnk@google.com> am e4df6c43: am 658a3e55: am 11667318: Merge "fixup sensors files."

* commit 'e4df6c43c6d5434e9d0d191114032171f4f62a19':
fixup sensors files.
2442fe86cc5cc36be8da8bf527fa1cc0094f45e0 07-Jan-2014 Nick Kralevich <nnk@google.com> fixup sensors files.

The sensors data files are improperly labeled on old
devices. Fix them up.

Bug: 12416169
Change-Id: I3377c0993cec21535f07233ff9b7d72334b0cf08
/device/lge/hammerhead/init.hammerhead.rc
6a7f5407ecae0b7067df208e598cc5831f238111 06-Nov-2013 choongryeol.lee <choongryeol.lee@lge.com> hammerhead: enable slimport detection after boot completion

To prevent slimport error during boot up, wait until boot
completion before start slimport detection.

Bug: 11518558
Change-Id: I4d3e8bf27cebc5e79d566400d768fadc2873e9b5
/device/lge/hammerhead/init.hammerhead.rc
436fa0a4d3eb95d1c02e638b03690ac7046f6909 13-Dec-2013 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "Revert "Revert "hammerhead: Add support for modem logging""""

This reverts commit 35deeefd40451a584a4ef8df2b47c87c58b8f898.
/device/lge/hammerhead/init.hammerhead.rc
a08e2b01113de79590062720ce5f7639ec9c85ae 06-Dec-2013 Nick Kralevich <nnk@google.com> am 5ded11eb: am b20ec984: am 98c4005e: Merge "Initial selinux policy."

* commit '5ded11ebabd52805719baf8e8892308d8d56f4f0':
Initial selinux policy.
b20ec984819f4a3fb971682fec88d6d30a9b471e 06-Dec-2013 Nick Kralevich <nnk@google.com> am 98c4005e: Merge "Initial selinux policy."

* commit '98c4005ecf7a8bef1cbb413ac39c10adaf1f85db':
Initial selinux policy.
7deeb79d944c9008a2ef38ed51cd2dff0071a66c 04-Dec-2013 Robert Craig <rpcraig@tycho.ncsc.mil> Initial selinux policy.

The majority of the policy was taken
from the existing flo and mako policies
as both of those use qcom bits too.

Change-Id: I51ac30414abb7cf79e54faa7feb17e154ee07b8c
/device/lge/hammerhead/init.hammerhead.rc
241eb07ef0a7eb3ae874719601c5f04edf4d752c 14-Nov-2013 Pat Tjin <pattjin@google.com> am 0e54c161: am 6ed63e52: Merge "Revert "Revert "Revert "hammerhead: Add support for modem logging"""" into klp-dev

* commit '0e54c161296985648af351ca90b98b368e9f79cb':
Revert "Revert "Revert "hammerhead: Add support for modem logging"""
6ed63e52e105b1190dd08e2fb870ccd43d652e59 13-Nov-2013 Pat Tjin <pattjin@google.com> Merge "Revert "Revert "Revert "hammerhead: Add support for modem logging"""" into klp-dev
35deeefd40451a584a4ef8df2b47c87c58b8f898 13-Nov-2013 Pat Tjin <pattjin@google.com> Revert "Revert "Revert "hammerhead: Add support for modem logging"""

Bug: 11335064

This reverts commit d09b29155c8c640f17dab0484db5beab0e2ebd10.

Change-Id: I489d4fda016bce3db3bb4452d0598f2005db3a6f
/device/lge/hammerhead/init.hammerhead.rc
ad0607793548098505950a4a60faf8591b3082b8 07-Nov-2013 Sungmin Choi <sungmin.choi@lge.com> am e53222a9: am 71cfe462: hammerhead: Remove logwrapper for wpa_supplicant

* commit 'e53222a96f05ad8184f9a6b44737b6dc4674afa2':
hammerhead: Remove logwrapper for wpa_supplicant
71cfe4623c29611169ac4ab001d7f527393106b1 07-Nov-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: Remove logwrapper for wpa_supplicant

Bug: 11116723
Change-Id: I7cf71bc1b53438a06a39aca0decd3a775cf17bfd
/device/lge/hammerhead/init.hammerhead.rc
56c9c7e2a7950d2d8e12aff080eeff7825a51ec0 22-Oct-2013 Patrick Tjin <pattjin@google.com> am 49193de2: am d09b2915: Revert "Revert "hammerhead: Add support for modem logging""

* commit '49193de2e4c8345eafda36c3f641dd46cef83b6b':
Revert "Revert "hammerhead: Add support for modem logging""
d09b29155c8c640f17dab0484db5beab0e2ebd10 22-Oct-2013 Patrick Tjin <pattjin@google.com> Revert "Revert "hammerhead: Add support for modem logging""

Enable modem logging

Bug: 11289030

This reverts commit 0fe55c911efa32a47a7744d5020dd9eba2f605b1.
/device/lge/hammerhead/init.hammerhead.rc
d4a049586091cb8c002ca4d5a0a6abbcff48a47b 18-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> am f5b3c7d1: Merge "hammerhead: Change dhcdcp options" into klp-dev

* commit 'f5b3c7d19938a902d93939c8188c2cd1ee50875d':
hammerhead: Change dhcdcp options
50359758471161220bbfe655c76c3bc90162c8c5 18-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> am fbab773e: Merge "hammerhead: dhcp: Add CLIENTID request to dhcpcd service" into klp-dev

* commit 'fbab773eebc6068a74f3ecc05b4715396fa3deca':
hammerhead: dhcp: Add CLIENTID request to dhcpcd service
7d4d4566130f514eed9ab2d6255b5b8f7ca76592 17-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: Change dhcdcp options

Add -a option (avoid_route)
Remove -G option (Gateway)

Bug: 11245586

Change-Id: I6ee34801d8bfa2995f94d39ec3764e163cdd6a95
/device/lge/hammerhead/init.hammerhead.rc
1a52783b9dcf080820261b3818642c79059efb32 16-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: dhcp: Add CLIENTID request to dhcpcd service

Bug: 11245586
Change-Id: Ie8025e4b767a425cb0418d0aca78b8533bdeb9a0
/device/lge/hammerhead/init.hammerhead.rc
2f0f5ab58edfb0de7382e1ecef7ba0f21e8d9c9e 15-Oct-2013 Patrick Tjin <pattjin@google.com> am 0fe55c91: Revert "hammerhead: Add support for modem logging"

* commit '0fe55c911efa32a47a7744d5020dd9eba2f605b1':
Revert "hammerhead: Add support for modem logging"
6918fa8322e4dfd5a817da8f8f2ca2c8bac68137 15-Oct-2013 Pat Tjin <pattjin@google.com> am 8c2c298f: Merge "hammerhead: Disable subsystem ramdump collection" into klp-dev

* commit '8c2c298f8eb5374a7ab0525c5009f6eec76d0ae0':
hammerhead: Disable subsystem ramdump collection
a1c5c2640060241bfd61e8af4abf95e4649ee40e 15-Oct-2013 Torne (Richard Coles) <torne@google.com> Resolve conflicts for merge of 43526e54 into master

Change-Id: Ib97f2d040e28922153aa01e1a90e8d654695c71b
0fe55c911efa32a47a7744d5020dd9eba2f605b1 16-Sep-2013 Patrick Tjin <pattjin@google.com> Revert "hammerhead: Add support for modem logging"

This reverts commit d30e2062d7c99f0dd3677eb5369cbf2151ce672f.

Bug: 9589361
Bug: 10719184

Conflicts:
init.hammerhead.rc

Change-Id: Ieb166b8ba35dca677e235556832478f84d42f6de
Signed-off-by: Patrick Tjin <pattjin@google.com>
/device/lge/hammerhead/init.hammerhead.rc
8c2c298f8eb5374a7ab0525c5009f6eec76d0ae0 15-Oct-2013 Pat Tjin <pattjin@google.com> Merge "hammerhead: Disable subsystem ramdump collection" into klp-dev
42aaafc30e1d899cdc3a2f30fa952987c9da697a 09-Aug-2013 Devin Kim <dojip.kim@lge.com> hammerhead: Disable subsystem ramdump collection

Bug: 10246802
Change-Id: Ie4a1b7f8c4efab044e3b6f5ea32f4e3d6970e9c2
/device/lge/hammerhead/init.hammerhead.rc
43526e54f5fb2e8107778ce3ba87ddf7bb2e9ead 14-Oct-2013 Patrick Tjin <pattjin@google.com> Revert "Hammerhead: Fix sdcard permissions for native apps."

Bug: 9337252

This reverts commit 86ab9316cb1a33323f9c00ce2c5f8a2843823d0c.

Signed-off-by: Patrick Tjin <pattjin@google.com>
/device/lge/hammerhead/init.hammerhead.rc
0e9fdc394459ca268bd05d72b769a953ba8f29c9 11-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> am a96f5289: Merge "hammerhead: Remove logwrapper for irsc_util" into klp-dev

* commit 'a96f5289743d957072a1808381d967c7f8912339':
hammerhead: Remove logwrapper for irsc_util
a96f5289743d957072a1808381d967c7f8912339 11-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "hammerhead: Remove logwrapper for irsc_util" into klp-dev
c0d4379123923f5be194c211688ada7ee26eb9d0 10-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> am abbce9c7: Merge "hammerhead: updated TCP buffer sizes." into klp-dev

* commit 'abbce9c7c99341a208ff25e613b3b9f1fe3a3f2a':
hammerhead: updated TCP buffer sizes.
58e3ff54e5f5dd182cf5a1b3d715e65946b9a35c 09-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> hammerhead: updated TCP buffer sizes.

Updated ReadMax and WriteMax TCP buffer sizes for HSPA data.

Bug: 10587546
Change-Id: I3cc9c33155fbb919c9174574ab8b2555b487b94f
/device/lge/hammerhead/init.hammerhead.rc
33c18fbc35061d9103e83bd5ec947545b3828076 08-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: Remove logwrapper for irsc_util

Bug: 11116723
Change-Id: I659bd41e10694fe9f1ba588f083c7364121c0cc2
/device/lge/hammerhead/init.hammerhead.rc
8e7f542e093aa5834313dafff4fd0a31ecc754a6 18-Sep-2013 Todd Poynor <toddpoynor@google.com> hammerhead: changes for healthd charger mode

Change-Id: Ibf34d0c220870a61b12fc5d150e03709d607349d
/device/lge/hammerhead/init.hammerhead.rc
bd453519a0a86f06e0e81fd63d64ed5030d2ee34 07-Sep-2013 Patrick Tjin <pattjin@google.com> hammerhead: init: change owner of kgsl/proc debugfs directory to system

Bug: 10652041
Change-Id: Ie63407f909b4b9b9c53b43cfec2e92f362c36170
/device/lge/hammerhead/init.hammerhead.rc
f0cbe2b1057487a09e417e0f3559a04dfabd1ea3 04-Sep-2013 Jeff Sharkey <jsharkey@android.com> Enable richer SD card permissions.

Bug: 10330083
Change-Id: Ibfb72094759b248b7162d4c26cd248fc3a331768
/device/lge/hammerhead/init.hammerhead.rc
08edf8e93b83f18d1888970c24fa67c9e74e6f00 29-Aug-2013 Ajay Dudani <adudani@codeaurora.org> Disable vss logging service by default

Change-Id: I54b05c7c2b9530b7522321addc2fb10e45d17ce6
/device/lge/hammerhead/init.hammerhead.rc
e5d4645c6e381b79cc7a52109fa61088066cb1b2 28-Aug-2013 Dmitry Shmidt <dimitrysh@google.com> hammerhead: wifi: Use separate p2p config overlay

Bug: 10513949

Change-Id: I868c3799f02d0f191584749de0fe8214936c23f1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/lge/hammerhead/init.hammerhead.rc
3ec41701a8166efca06f468b6ab5901f3e14df06 27-Aug-2013 Naseer Ahmed <naseer@codeaurora.org> hammerhead: Set permissions for HDMI SPD nodes

Change-Id: I481ffb82bfab85c61e8fdc45576faffeb004c619
/device/lge/hammerhead/init.hammerhead.rc
4e858dde1463a7cbdb4e2489cfa9f7002cb73dc2 21-Aug-2013 Patrick Tjin <pattjin@google.com> Revert "Revert "Revert "Revert "Sensors: Enable Qualcomm Sensor""""

(enable Qualcomm sensor)

This reverts commit e07b5594371c768a67d8e8358262e7f068cab5cd.

Change-Id: Ieca1b5518dfecb481eda6e9b52c30c51e379fc85
/device/lge/hammerhead/init.hammerhead.rc
8dde32bae2a730eb3ae3dc17a0638a25641eb724 21-Aug-2013 Ajay Dudani <adudani@codeaurora.org> mpdecision: Synchronize sysfs param init and starting mpdecision

Change-Id: I0fb4340053fb828c5fff4179c60abf05e604a9a6
/device/lge/hammerhead/init.hammerhead.rc
b701f4bf2a6d63e8a86ea01f7cfc470dfcda7c07 14-Aug-2013 darren.kang <darren.kang@lge.com> hammerhead: exchange thermal-engine-hh

thermal-engine ported into /vendor/lge/hammerhead
from /vendor/qcom/proprietary. so execution name is
changed by that

Change-Id: I52c368ccf2e89b29bc2cdf5980f1be6a2b096b6d
/device/lge/hammerhead/init.hammerhead.rc
6f32eed29a514d627014dd855c9250281ac17349 20-Aug-2013 Patrick Tjin <pattjin@google.com> Merge "Revert "hammerhead: disable retention mode"" into klp-dev
5c1b7d1d36b2fcecc7429e57e8467cb65672c3d8 20-Aug-2013 Patrick Tjin <pattjin@google.com> Revert "hammerhead: disable retention mode"

This reverts commit 5ec28ab68175d174438dc58c94a204497334fcca.

Change-Id: I75a138187caa5097e9911838bb41a0abd13de8fc
/device/lge/hammerhead/init.hammerhead.rc
3c82b1a6b00da51df54c7a03eec722d5f7165214 07-Aug-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead : add ECC database

Bug: 10154455
Change-Id: I971047d728c104560ec74089e1973cf78927c721
Signed-off-by: giseok.seo <giseok.seo@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
5ec28ab68175d174438dc58c94a204497334fcca 13-Aug-2013 Bongkyu Kim <bongkyu.kim@lge.com> hammerhead: disable retention mode

Several watchdog resets are reported during retention mode.
So, disable retention mode.

Change-Id: Ied27d182ccabd77e09e02300f79d7802c0ab9ad7
/device/lge/hammerhead/init.hammerhead.rc
2b7ff44907c3b1be676ee4bccd0fd9468110eb1a 13-Aug-2013 janghyun.baek <janghyun.baek@lge.com> hammerhead: Turn on the CPU 1~3 before set the property.

CPU 2/3 did not turned on because of max cpu settings.
To make the cpu 2/3 enter sleep(power collapse), turn on the
CPUs before set the property when power off charging.

Change-Id: Ie310f78805f700e8fca9780fc44c1b48a3c2c10c
Signed-off-by: janghyun.baek <janghyun.baek@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
e07b5594371c768a67d8e8358262e7f068cab5cd 12-Aug-2013 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "Revert "Sensors: Enable Qualcomm Sensor"""

This reverts commit 0a3d484eacd2a0d8e995fbbcf900bc82bc8f1eef.

This also fixed the build.

Change-Id: I3d69fbe86ab8b7f84b1fda73ad7b5b7f092a81ef
/device/lge/hammerhead/init.hammerhead.rc
6c6195e0f3d94d78f4f193c9a8e079cbf514f035 07-Aug-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "hammerhead: Enable subsystem ramdump collection"
4caa627f16baf13e6a26cb198fb6c9bc75c03382 07-Aug-2013 Naveen Ramaraj <nramaraj@codeaurora.org> hammerhead: Enable subsystem ramdump collection

Bug: 9123811
Change-Id: Ic7d1a2f3e7263b8997e8761762705c5def3a2c52
/device/lge/hammerhead/init.hammerhead.rc
095d92566df23521d81ab8c999fb0678707154f5 31-Jul-2013 Bongkyu Kim <bongkyu.kim@lge.com> hammerhead: enable power modes at boot completed

In early stage of boot, abnormal panic is occurred during power collapse.
It is caused by the below conditions.
- High temperature (disable thermal mitigration for set cpu governors)
- Subsystems boot up

Thus, enable power collapse mode after boot completed.

Bug: 9491258
Change-Id: I0d8c667fb60227c3a5c0b34ab48c889e2597b269
Signed-off-by: Bongkyu Kim <bongkyu.kim@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
0a3d484eacd2a0d8e995fbbcf900bc82bc8f1eef 06-Aug-2013 Patrick Tjin <pattjin@google.com> Revert "Revert "Sensors: Enable Qualcomm Sensor""

This reverts commit f21e2c58498a21298b21ddbfe653cce59e579e3b.

Change-Id: I3f0910e0a1a12b8cfc14371352f0c504f7085adf
/device/lge/hammerhead/init.hammerhead.rc
f21e2c58498a21298b21ddbfe653cce59e579e3b 27-Jul-2013 Patrick Tjin <pattjin@google.com> Revert "Sensors: Enable Qualcomm Sensor"

This reverts commit 704eb44a5f2b56ff8cd244a0f24347f7167eeaf7.
/device/lge/hammerhead/init.hammerhead.rc
704eb44a5f2b56ff8cd244a0f24347f7167eeaf7 17-Jul-2013 kangsik.shin <kangsik.shin@lge.com> Sensors: Enable Qualcomm Sensor

- Remove/Disable Invensense IIO based Sensors
- Enable Qualcomm Sensor

Change-Id: I6bd0910d1df36481718c0479faba60cf9284f131
/device/lge/hammerhead/init.hammerhead.rc
46144a1f7dfca8a21595af1e17d6ba6e986859ac 29-Jun-2013 hyungjung0521.kim <hyungjung0521.kim@lge.com> hammerhead: bluetooth: Support for Low Power Mode

Adding interface for Bluetooth Low power mode

Change-Id: Icac75f8ee67f7a71aba8dfc7b7f58c833e196ec0
Signed-off-by: hyungjung0521.kim <hyungjung0521.kim@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
7012bacc29bb0f99083baa79e349f190bba85d5d 05-Jul-2013 Ajay Dudani <adudani@codeaurora.org> Add time_daemon service for handling RTC time

Change-Id: Id59ca3fd374dc88f4328543b81528e8dcb620b8e
/device/lge/hammerhead/init.hammerhead.rc
5c14254cc81013405f371a4920e77dd716cce7b4 18-May-2013 Sungmin Choi <sungmin.choi@lge.com> lights: use hammerhead's own lights HAL

Bug: 9549451
Change-Id: Id551b8caa2c02d214e3603d7a38c03562892f161
/device/lge/hammerhead/init.hammerhead.rc
ba9df9ab05b12d7a68639154180d3fc6a8e536be 01-Jul-2013 Vineeta Srivastava <vsrivastava@google.com> hammerhead: Disable ramdumps

Change-Id: I2e6b9a09f2ae8fef230e4ea3c8cd570ba3bde79c
/device/lge/hammerhead/init.hammerhead.rc
1179906c057f89112005c46df8aa57ee3733b809 25-Jun-2013 youngsam83.kim <youngsam83.kim@lge.com> add "Modem log to adb" feature for Issue Analysis.

When you capture adb log on your device, we can see modem log in adb log.

This feature is helpful for us to solve issue about modem side.

Hammerhead: Add vss service for modem logging phase2
Bug: 9331638

Change-Id: Iecb3584cbbf4a998907dc4895ade541ea099de71
Signed-off-by: youngsam83.kim <youngsam83.kim@lge.com>
Signed-off-by: shinkook.kim <shinkook.kim@lge.com>
Signed-off-by: jaehyun.park <jaehyun3.park@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
d30e2062d7c99f0dd3677eb5369cbf2151ce672f 26-Jun-2013 Patrick Tjin <pattjin@google.com> hammerhead: Add support for modem logging

Bug: 9333101

Change-Id: Ic4e69b106cb7c7cd774b23f9691e8677eed025aa
/device/lge/hammerhead/init.hammerhead.rc
8e54a61e0acad4e84a2e2c5da49f901188090e5e 25-Jun-2013 Naveen Ramaraj <nramaraj@codeaurora.org> hammerhead: Add support for subsystem restart and ramdump collection.

Bug: 9123811
Change-Id: I2731bfc2e201fcb16e2a3058c37153d78f9d1763
/device/lge/hammerhead/init.hammerhead.rc
0001f12a57d9d8acc37efe5d4a05984d2df004a5 18-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "hammerhead: set permission of invensense nodes for driver update"
3046dbc9df7c6785d5cfbeb929da5e2cad2cd8d9 17-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "hammerhead: set permission of proximity and light sensors"
905b8501e036f6176985ca78d90f3f8647a164c9 15-Jun-2013 Devin Kim <dojip.kim@lge.com> hammerhead: set permission of proximity and light sensors

Change-Id: I3efc587d4a790be79662612a2131ecf6a894c849
/device/lge/hammerhead/init.hammerhead.rc
700f41ce2c00ff2c2a06737a17d3b0609e4dac14 15-Jun-2013 Devin Kim <dojip.kim@lge.com> hammerhead: set permission of invensense nodes for driver update

Updated for Invensense Motion Apps 5.1.6 Release Candidate 25

Change-Id: Id9818e1b7f96a2f069b43a345fc22da87374a12d
Signed-off-by: chohee.park<chohee.park@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
0abd9bb027ca0bd9d70a467c174e92a5b261fcd4 15-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "hammerhead: add nfc storage for CE mode"
6fc4efd0690b63c342ea34496952cd7941688576 14-Jun-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: add nfc storage for CE mode

Change-Id: I6d2b1bf0b534d9634be08f16d18682798b16deb0
Signed-off-by: Wongab Jeon <wongab.jeon@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
dabbfe54347e7f453e88e2e711ab8e499d785c1e 14-Jun-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: Enable bt-pan feature

Bug: 9415879
Change-Id: I0fcb39d1ed59d59df8e67efec632625559fba59d
/device/lge/hammerhead/init.hammerhead.rc
cb1f0d1f4ca186874a60d889f5b94b8b3c11c83c 13-Jun-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: Fix the modem crash on encrypting phone

There is an efs sync problem becuase of class type of rmt_storage service.
when encrypting phone, modem crash occurs due to not being able to sync
between AP and CP. So, rmt_storage class should be a core class.

Change-Id: Icb718f00e0cf9590647e98334b1551d60bb8c404
Signed-off-by: Woojin Jo <wj1208.jo@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
389baf3ed7729d31e497e88c6ed366f61bd5e18f 11-Jun-2013 Ajay Dudani <adudani@codeaurora.org> hammerhead: Fixup permissions for /dev/socket/mpdecision

Change-Id: I94096f85f71ef104be90a3ab0eba720339d86f1a
/device/lge/hammerhead/init.hammerhead.rc
63a38e41085e5ce4098727c49d0390dc6ea259c6 10-Jun-2013 Ajay Dudani <adudani@codeaurora.org> Enable retention mode and thread migration

Change-Id: I005b44d91ebc850bd79413a789e05c6be2bf5935
/device/lge/hammerhead/init.hammerhead.rc
86ab9316cb1a33323f9c00ce2c5f8a2843823d0c 07-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Hammerhead: Fix sdcard permissions for native apps.

Native apps with UID other than SHELL can't access /sdcard even
with GID as SDCARD_RW becaue only SHELL has permission to read /mnt.
To fix this create a mount bind to fuse card.

Change-Id: I0fed646795fda3bab7869210c738036b97b0fe5b
/device/lge/hammerhead/init.hammerhead.rc
c571c7b2d83ce990acfd3a2df7133a28ee21069d 08-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "Revert "Hammerhead: Fix sdcard permissions for native apps.""
83790329cca27e48bc8d4a75600c33f64fdfb7d9 08-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Revert "Hammerhead: Fix sdcard permissions for native apps."

This reverts commit d7b4841278a7f2b546f1769f980fc3450c44160b

Change-Id: Iace2eafaaa56c08fe961278b2bbace6c108fce3c
/device/lge/hammerhead/init.hammerhead.rc
4c223cf8d6c29c24eca03f173fd529789e858387 07-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "Hammerhead: Fix sdcard permissions for native apps."
d7b4841278a7f2b546f1769f980fc3450c44160b 07-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Hammerhead: Fix sdcard permissions for native apps.

Native apps with UID other than SHELL can't access /sdcard even
with GID as SDCARD_RW becaue only SHELL has permission to read /mnt.
To fix this create a mount bind to fuse card.

Change-Id: Ia082620b63cdb10e88ccb7aca914caa522aee463
/device/lge/hammerhead/init.hammerhead.rc
c7bc4fe9184807d352ff9a7e88d2f09960ba63b7 06-Jun-2013 Dmitry Shmidt <dimitrysh@google.com> Merge "hammerhead: wifi: Override control iface to leave it to global"
691e93aac43cd3ba81b2c508d84cbe882798218e 06-Jun-2013 Dmitry Shmidt <dimitrysh@google.com> hammerhead: wifi: Override control iface to leave it to global

Change-Id: Ie7ea418169465c7119e13800246dd5517c557424
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/lge/hammerhead/init.hammerhead.rc
93ea1541952e2a0067d462cf2600ed333a224df4 24-May-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: remove qcom sensor hal

Change-Id: I0b9cfdc371f9966c87a205920659602c02c22046
/device/lge/hammerhead/init.hammerhead.rc
aa0f48147698e347ed6266652406c3cd85909559 25-May-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: set permission of invensense nodes

Change-Id: I999ddec600bd9932d12dd117f5f296db64db93eb
/device/lge/hammerhead/init.hammerhead.rc
7914f5afd0d662579689fc11368454242d464bb1 04-Jun-2013 Dmitry Shmidt <dimitrysh@google.com> hammerhead: wifi: Use global socket interface

Change-Id: Ic7fcba8b83750b40dd645e9b739e755db7b70e4d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/lge/hammerhead/init.hammerhead.rc
35d893670dc0ca6d9eac5bab59b4309d31a2131d 17-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: allow interfaces to get v6 address when tethering is enabled

From kernel/Documentation/networking/ip-sysctl.txt
accept_ra - INTEGER
Accept Router Advertisements; autoconfigure using them.

It also determines whether or not to transmit Router
Solicitations. If and only if the functional setting is to
accept Router Advertisements, Router Solicitations will be
transmitted.

Possible values are:
0 Do not accept Router Advertisements.
1 Accept Router Advertisements if forwarding is disabled.
2 Overrule forwarding behaviour. Accept Router Advertisements
even if forwarding is enabled.

Functional default: enabled if local forwarding is disabled.
disabled if local forwarding is enabled.

Change-Id: I7d91c05ab378deca1d4b153e70a52c34e2cb47ab
/device/lge/hammerhead/init.hammerhead.rc
e3202be780de6f8d0f062e6b2389078ddefa2915 21-May-2013 Bongkyu Kim <bongkyu.kim@lge.com> hammerhead: enable booting modem for charger

Because msm8974 need modem for XO shutdown, enable booting modem for charger.

Change-Id: Idc5261319b0431ebe52b80861ea573a306be51fe
/device/lge/hammerhead/init.hammerhead.rc
e0dfc2bf63a0df7bbec5dbec35c7256780890c46 22-May-2013 Shashank Mittal <mittals@codeaurora.org> hammerhead: Enable thermal service.

Change-Id: I69b9fc1dedaca0fe65887b7d3807f1788c7dfb7b

Conflicts:
init.hammerhead.rc
/device/lge/hammerhead/init.hammerhead.rc
023a0cc5d8ba67eadb005331a210cd2e3ba3c310 23-May-2013 Shashank Mittal <mittals@codeaurora.org> hammerhead: Enable mpdecision on hammerhead device.

Change-Id: I78ad369d3c949d858a0e47c4c67c51912859a4c0
/device/lge/hammerhead/init.hammerhead.rc
4b5e02560a7db7ea63ee1abefa5a38a7fb606b95 20-May-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: enable camera recording

symbolic link /dev/video32 to /dev/video/venus_dec and
/dev/video33 to /dev/video/venus_enc

Change-Id: I9bd98f7e89c6a9e266b894a6d42e8abdf80b8815
/device/lge/hammerhead/init.hammerhead.rc
9b9464e8f93d692bc04587756013ee506be146a9 18-May-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "hammerhead: enable sensor after factory reset"
0db6997ae90e3415af6152c5e82106ab7222da6b 17-May-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: enable sensor after factory reset

Before executing sensordaemon, must make connection with sensor subsystem.
After factory reset, doesn't make connection with sensor subsystem.
To connecting with the sensor subsystem, set /data/system/sensors/settings to 1.
However, couldn't make /data/system/sensor directory.
Because there is no /data/system directory.
So, make /data/system directory to enable sensor after wiping data.

Change-Id: I8867311ec3284be8cf1308356edb6529e8903c98
/device/lge/hammerhead/init.hammerhead.rc
73eeac982a56d1ad45480e93b0815eb0e9593240 17-May-2013 Dmitry Shmidt <dimitrysh@google.com> wifi: Set wpa_supplicant debug level to default (MSG_INFO)

Change-Id: I3cbd0baf290587bd8ec66f7311e97e24190ae834
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/lge/hammerhead/init.hammerhead.rc
5b715a71ca9271e5388bb1007a9d42bb65cc2e4e 15-May-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: read bluetooth address using bdAddrLoader

Add bluetooth address loader to support some arguments:
-f : file path to be read (default, /persist/bluetooth/.bdaddr)
-h : data type to be read is hex
-s : data type to be read is ascii
-x : if it is set, bd address is printed through standard output

Change-Id: I1da55fc5ee256b1c38b3108b591dff3b8c20d58e
/device/lge/hammerhead/init.hammerhead.rc
b2ce383b11aab17d8920730f8953e9b19d6ce010 15-May-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: wifi: change owner for reading address

To read wifi address, change owner of directory from system to wifi

Change-Id: I1a32aa018bb1a618a9ae1281eab0b52d34482a49
/device/lge/hammerhead/init.hammerhead.rc
68afd4286ef8f249fa1b65222caef10f425b94c8 10-May-2013 insup.choi <insup.choi@lge.com> camera: enable camera

enabling qcamera daemon and registering HAL

Change-Id: Ie5399d79426ad1f4b4f04158a3f843d79cbe15db
Signed-off-by: insup.choi <insup.choi@lge.com>
/device/lge/hammerhead/init.hammerhead.rc
64ac66d00f37346f4b9220588d21f27964759cdd 17-Apr-2013 jihyun.seong <jihyun.seong@lge.com> hammerhead: add permission for hdmi

Change-Id: Ic1eb9d9cc4f02dc87733bb146f5698ec5652fb03

Conflicts:
init.hammerhead.rc
/device/lge/hammerhead/init.hammerhead.rc
e6baacf8fd3157ce6405ed298aca7a5222111c34 17-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: data: define TCP buffer threshold for low throughput

Define TCP buffer threshold to 2097152 bytes for resolving TCP low throughput
in LTE area.

Change-Id: Icae2fc705e03700ca9d0382df761e4225af0c490
/device/lge/hammerhead/init.hammerhead.rc
52590e6866f4d6d5c1a2485e8a190589578abc73 26-Apr-2013 Dmitry Shmidt <dimitrysh@google.com> hammerhead: wlan: Add wpa_supplicant overlay file support

Change-Id: I723c645071a243345c16434b2a8337c537629873
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/lge/hammerhead/init.hammerhead.rc
8c1e590c0cc7a34000dcc67e1889b1fdb9ca25b8 22-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: remove useless bluetooth nodes

Change-Id: I2bd4e23d99d344b827475c6970cf76b113053ec5
/device/lge/hammerhead/init.hammerhead.rc
816f974dc1b76374aa5a0d05821264a4dd35b654 12-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: initial power mode configuration

Reduce the consumption current during suspend mode
and off-mode charging

Change-Id: If99da89f621e5639b054081ad6fbab70d0d9dfd8
/device/lge/hammerhead/init.hammerhead.rc
a132bc044e3534cc9072fc9723aa761d40e4ce5f 13-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: add service related to widevine

- Add qseecomd service
- Add mode and owner of qseecom

Change-Id: I1a17a36526bb1a351c87a81e700bf7aede944a70
/device/lge/hammerhead/init.hammerhead.rc
364e1cfdad2bbe19bf15e7c1b1dae49a6c8b92bc 12-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: stop dhcpcd when stop wpa_supplicant service

Change-Id: I7fa30653202ace46ead1d94103d25535eed84ca7
/device/lge/hammerhead/init.hammerhead.rc
ce50d1caa30f1902d16bc8c42426edba7ad3fb6f 15-Apr-2013 Vineeta Srivastava <vsrivastava@google.com> Merge changes Ia4becb45,I3d1f4357 into jb-mr2-dev

* changes:
hammerhead: add wifi property about supplicant scan interval
hammerhead: initial wlan bring up
b8b4e662ba8fd76011401fc4c7df2e96dc3b5d0e 14-Apr-2013 Vineeta Srivastava <vsrivastava@google.com> Merge changes Ie9f4ae85,I384d87bb into jb-mr2-dev

* changes:
hammerhead: add support for bluetooth configuration
hammerhead: initial bluetooth bring up
5c40d7487be6f3017ade56745a4025a808be4e1c 13-Apr-2013 Devin Kim <dojip.kim@lge.com> hammerhead: audio: enable loading ADSP image during bootup

Now we're using the built-in adsp-loader instead of kernel module.
adsp_loader is modified for that.

Change-Id: I02b226a84a5960674e8a8c2f81bb2aac323edeba
/device/lge/hammerhead/init.hammerhead.rc
19fa399f67b5d548b455343e9343b3686df89762 05-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: initial wlan bring up

- Add wlan-related dev notes and services.
- Add p2p_supplicant.conf and wpa_supplicant.conf.
- Add calibration data
- Set wlan configuration on BoardConfig.mk.
- Include broadcom wlan makefile

Change-Id: I3d1f4357db4a34b67a7bf28a297e942ef9e5a6ae
/device/lge/hammerhead/init.hammerhead.rc
9e05f65c6b24c5b13afee50ff1c132c69762a7c9 07-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: initial bluetooth bring up

- Add bluetooth-related dev nodes.
- Set bluetooth configuration.

Change-Id: I384d87bbe6221da88db30b12919be778313defce
/device/lge/hammerhead/init.hammerhead.rc
3ba47ccc133bdf899a8b986bfce83b52fdc6f13c 05-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: add charger service

Change-Id: I464527b075d6dba15b754c59fe9865776baf681e
/device/lge/hammerhead/init.hammerhead.rc
eddeaf0fc2eea7ae7635e6e961e4ceb45eb7a6ec 05-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: initial sensor bring up

add sensor service and make related directories

About irsc_util, cherry-pick the following CL:

commit e39a04c2f6ffb6eb2d873ab0eb303662aeae37be
Author: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Date: Mon Jan 7 12:10:14 2013 -0700

common: init: Execute IRSC utility during initialization

IPC Router Security Configuration(IRSC) util is used to configure
the IPC Router with security rules for QMI services. Execute the
IRSC util during the system initialization.

CRs-Fixed: 437683
Change-Id: I7c4d93580a234b81333aee340ffbfb90b3a69bae

Change-Id: I1d3d4575b549d44bfd786317cf2ac37eed7b9640
/device/lge/hammerhead/init.hammerhead.rc
827ea726230c23decf23735be6518aa805e797d9 04-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: initial ril to bring up modem

- enabled the following daemons:
rmt_storage, bridgemgrd, qmuxd, netmgrd
- set file permission
- set property to point rild to the appropriate library

Change-Id: Ibf40a388d21cac2c61f6b20a6657bd2057ae843d
/device/lge/hammerhead/init.hammerhead.rc
e6bd7db07260ac84dfdccf2c734ba3983b7e9559 02-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> hammerhead: enable audio

In the future, adsp*.ko will be removed.

Change-Id: Ia6106c13fcd12816b91dfa92f01366115f9c28e0
/device/lge/hammerhead/init.hammerhead.rc
e48764089971f7cf9d5931abb22ef61b2c317ff2 28-Mar-2013 hyejin.kim <hyejin.kim@lge.com> hammerhead: add bugreport generation on Power + VolumeUp + VolumeDown

Change-Id: I94bff2f59c8e940571d9847b6520857e8679b242
/device/lge/hammerhead/init.hammerhead.rc
bfe39bfa3420b5259d17be16059fb15398e6124a 28-Mar-2013 hyejin.kim <hyejin.kim@lge.com> hammerhead: add init.hammerhead.usb.rc

Change-Id: Ie0aec5b249d8219a12b963a6a47cd8c380d4ab41
/device/lge/hammerhead/init.hammerhead.rc
a772693f4889fb072099497de9e19e70f1ca8031 25-Mar-2013 Hyejin Kim <hyejin.kim@lge.com> hammerhead: add basic build config

Change-Id: I98db743b858a9461fad8658f65ffef256cd433c4
/device/lge/hammerhead/init.hammerhead.rc