* Remove some old hacks
* Remove an unused ril prop
* Move to using a prop for mQANElements
* Reorganize structure based on AOSP RIL.java
Change-Id: Id837ea9b9fc82ebb74212d51974da385b40180a5
* It doesn't make sense to rely on utils in recovery
when we can't guarantee they'll always work right,
and need to hack around them for secontexts
* Just use toybox's cp from /system, as it works
right, and is something that we have control over
Change-Id: I1536eebc7c974a549012aaba643b34d732665cfd
This reverts commit 4f33809cf6.
* The cause for the apparent space leak (until unmount) is caused by
asymmetric access by Android to the upper vs. lower filesystems on
external storage and the fact that sdcardfs maintained upper/lower
icache and dcache that are not synched. While normally only visible
to users on external sdcards, it could be forced on internal storage
by twiddling /data/media/0 and /sdcard.
* See https://review.lineageos.org/#/c/193137/ for resolution.
Change-Id: Ia642815aef2f7e7ab76507a27cdc7cd1d4648028
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
* There is some kind of subtle bug related to unlink where the newly-
freed space is not propagated to lower-level storage until unmount.
* This has been observed across multiple underlaying filesystems, and
I've spent too much time already doing A/B testing, so let's do the
sane thing.
* This is a logical revert of 936ea50b37,
but it's better to leave the prop explicitly defined to false in the
event that the system-level default changes to true in the future.
Change-Id: Ie7cbce4673de7ea7d6746ae79f2cda333c96b2f6
* 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
* These aren't copied to the final build, drop them
to avoid confusion of where to look for configs
Change-Id: I20a117fc2ef230e04838283be721a45405d8768f
* Move TWRP fstab to twrp directory and use TARGET_RECOVERY_DEVICE_DIRS
* Remove variables set globally in Lineage tree
* Set TW_NO_LEGACY_PROPS to true in preparation for O compatibility
Change-Id: I8b11be9dbfdb4fd9e1cde7b4a5610d5188fddd9e
* Yes, this looks horrendously wide-open, but this only applied for the
complete sandbox that is external sdcard
Change-Id: Ibd1fe240eeed65f079e810a3da5157a4e64944f2
* 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
* The 4 bytes at 0x76c8 were edited to 00 00 00 00 (NOP) to cancel the
call to __android_log_print, eliminating LightSensor logspam, when the
sensor registers 0 lux
* Inspiration taken from k3gxx
Change-Id: I4bb25b1e6818e74e4a5eab18215e870d0b7f9c0f
vcs_stop_auth_session() was called invoking qseecom securefp app without
first calling sensor_init(). That crashes soft-reboot.
Add some more other robustness too and close the fd.
Change-Id: I586139f52d3dc841b8960e1de8c50d596e98d210
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
* Update primary blob source note
* Describe where pinned blobs come from
* Copy, don't pin, the alternative BT blobs. This will make it more
clear that something should be fixed if BT firmware actually gets
updated in the future
Change-Id: Ice23b6135c84256848ef6d58d880d32b07969e33
* This fixes auto time zone
* This is related to how it was handled in the
old SamsungQualcommRIL class (deprecated) but
the Parcel is fixed rather than handling it
directly in the RIL subclass
* This is done because after we handle it,
it's still handled by processUnsolicited
in the super class, which undoes our changes
* The extra "garbage" that is sent in the
RIL_UNSOL_NITZ_TIME_RECEIVED parcel seems
to be country MCC code for whatever reason
Change-Id: I70982873e6304d81794bdd03eb8d9a1c1d3f3a55
* 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
* Disable MSB. Quicker and stronger lock. Winning.
* All regions/carriers are now (GEOFENCE|ON_DEMAND_TIME|SCHEDULING)
* CDMA carriers were already set to this value
Change-Id: I2b060a11795a97889e96b3d7de26b0ed28392841