Do not grant DAC override permission which would allow this daemon
unix permissions to everything.
avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0
Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.
avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability
Adding
wifi group to access
/data/misc/net/rt_tables
-rw-r--r-- 1 system wifi 130 2016-05-11 09:58 rt_tables
wakelock group to access:
/sys/power/wake_lock
-rw-rw---- 1 radio wakelock 4096 1970-01-19 15:03 wake_lock
radio/inet groups to access
/dev/socket/netmgr/netmgr_connect_socket
srw-rw---- 1 radio inet 0 1970-01-19 15:03 netmgr_connect_socket
Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b
Tells Qualcomm GPS hardware to:
1) Use https
2) Use the more secture version 3 file
3) Check that the
XTRA file version downloaded matches the version
expected - i.e. the more secure (signed) version 3
Test: On device, via adb push/pull, watched
Xtra download logs and confirmed GPS acted as if Xtra
assisted
Bug: 31470303
Change-Id: Ib2a1b9ec9be32f842a158c05fa2ba04cb0262b76
With the OSS camera HAL, the camera preview freezes every time
a picture is taken. Restart the preview to unfreeze it.
Change-Id: If0fd6a1fcb01eccc4cf7f1abc548dcb92e9546b1
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
Check if power off alarm is set, then set alarm's properties
Adapted from Mao Jinlong <c_jmao@codeaurora.org> patch in init.qcom.early_boot.sh
Change-Id: Ib86584d1c09aba07c47435ac8bed39aac79a80f7
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This was missed out from init.qcom.early_boot.sh.
Change-Id: Iab5b0d7782a53b97315d2aa9d0c301ed7725e01d
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
* As per latest MIUI Global Beta.
* Thanks to danielstuart14.
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
Signed-off-by: charansai612 <charansai612@gmail.com>
* When a device with hundreds of apps is booted up, hundreds of
apps will spawn their BOOT_COMPLETED receivers which start
up their background initialization services. Since only one
core is allowed for these processes, the time for all these
services to complete is extremely long.
* To improve this, allow three cores for background processes,
keeping the fourth for idle wakeups. This ends up producing
a better thermal profile for the device as well, since the
small cores are not the aggressor on this SoC.
Change-Id: I98bbf8bf565bd77066ff7726014e6fa5730a4e09