This will let the wifi hal run as wifi user and not need root
permissions to access this path for firmware reloads.
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba23
This reverts commit 3c04b582d7.
* The real cause for the seeming Adaptive LMK misbehavior was a merge
derp in the kernel that did not take into account zcache pages. This
is corrected with LineageOS/android_kernel_samsung_msm8974 1355fda449
Change-Id: I9441538de0d2d0dfc775519a7e8e17b584a2b833
* This is being overly aggressive, so let's go ahead and disable by
default. It is still available in kernel, so those "advanced users"
can go ahead, use it, and tweak things to their heart's content.
Change-Id: Ife119211a49479e0edb5d0c8ac04773d01d10f28
* cpu0 is the only one with cpufreq/scaling_governor or
cpufreq/scaling_min_freq, so let's not try that for all 4 of them
Change-Id: I5820a5e436e231d77de94babbea347d63ff9853a
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
Add wakelock group to access:
/sys/power/wake_lock
-rw-rw---- 1 radio wakelock 4096 2017-06-28 00:37 wake_unlock
Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
* Commit 722ab7ae6d inadvertently
removed the entry in ueventd.qcom.rc that sets ownership and
permissions for the NFC device node used in kltedv and kltespr
devices
Change-Id: Iae2758603b9cb91aa011e105b0d964561d9e362d
This reverts commit 92828016a3.
* Do not ever ever ever use this partition for anything, not even if
someone has a gun to your head. It will cause misery and make
EVERYONE want to murder someone. And only you will know it is you.
* This was the cause for the "gapps upgrade makes klte unuseable"
problem.
Change-Id: Ibd69a528a1f3df4d8146472d1dc977676c72bbed
* Symlinking the files seems to be horrendously brittle. Sometimes
after a nandroid restore, the OS would helpfully "upgrade" the
symlink to the new location, causing self-directed symlink for these
criticial files.
* This actually handles the nandroid restore path.
Change-Id: If53d7ddfb7493df1526b7578be3ccf9a63997234
This was previously removed in commit 1b54691
due to the fact that it was mounted in the global init.rc in Android 6.0.
In Android 7.0 however, this is no longer the case.
Hence, revive the mount.
Change-Id: I15b9571db4dd07a19b298a670f9ce6db1c4eeb63
* Our closed source libsec-ril.so hardcodes paths to the old
/data/data/com.android.providers.telephony, N moved this somewhere
else.
Change-Id: I9dbb229ee4aca83f36e5d73532dd32cda324486e
Enable macloader to load the correct nvram calibration
data matching the hardware variant. Since macloader
writes files in /data it needs to rerun after decryption,
requiring running during late_start. Additionally,
calibration data needs to be reloaded every time the driver
is reloaded.
Note that /sys/module/dhd/parameters/nvram_path is cleared
after the driver has accepted the input, you can use
"dhdutil -a wlan0 vars" to confirm that the calibration
data has been applied.
Change-Id: Ieb8ef0eafeead10a6dfc32862887abbe84e22a93
* Use a fully OSS FPS stack to remove dependency on a service to
register fingerprints and hacked up touchwiz libs from Samsung
Change-Id: I66ae7fc807a213befdf77d0f09d38f2fbe01df61