* Set it on init instead of after boot
* Add camera-daemon schedtune
* Fix some derp
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This reverts commit 1229fc5a8473c7ea99e90c4ff0a6f6d3a05a8b14.
* Nuked the schedtune.prefer_high_cap in kernel so it is not useful anymore
* Partially reverts only as some are still useful
Signed-off-by: pix106 <sbordenave@gmail.com>
This reverts commit 1229fc5a8473c7ea99e90c4ff0a6f6d3a05a8b14.
* Nuked the schedtune.prefer_high_cap in kernel so it is not useful anymore
* Partially reverts only as some are still useful
Signed-off-by: pix106 <sbordenave@gmail.com>
* Retune some fps values based on CAF
* Removed some unused decoder
* From LA.UM.8.2.r1-07400-sdm660.0
* Build some media extensions
* Added some media codecs from google
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Provide permissions for msm_adsp_sleepmon dev
Change-Id: I8c2cd12ba4e0e06b2ffc46dbaff9423f9175fdb6
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
The mem_buf VM files under /dev/mem_buf_vm/ are only ever opened with
O_RDONLY permissions. Additionally, processes not in the 'system'
group need to be able to open the mem_buf VM files. Correspondingly,
make the permissions for all of these VM files 444.
Change-Id: Icfb2249c964ccc914db1c904274d9ff40d0f1535
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This change adds the devcoredump sysfs nodes to the ueventd rc
which is used for ramdump collection of remoteprocs.
Change-Id: I7112a1196f343d4398245147d7bcf6650ed34707
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
We currently set all heaps to have RWX permissions of 644. However,
libdmabufheap only opens the heap files as O_RDONLY. Reduce the
permissions to 444 accordingly.
Additionally, stop overriding the default permissions given to the
system, system-uncached and system-secure heaps (which all have RWX
perrmissions of 444).
Change-Id: Icc6159acc494ab169a6d04fd86732c1b126e7b15
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
- to comply with device tree entry
Change-Id: I7fd62a60992352cae2d9fa63a6e2fca223e7848f
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
The char devices under /dev/mem_buf_vm each represent a
Virtual Machine to which HLOS can transfer or share memory
using an ioctl.
Change-Id: If3546148204e3b1c389975d3ec9aabd265b03012
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Add permissions for peripheral manager to be able to access remoteproc
nodes in order to boot modem.
Change-Id: I04ab76ef8e17c4b68c2662de57e26499201b8b3d
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Give access to /dev/dma_heap, with the same permissions given to
/dev/ion.
Change-Id: I4516f8771a65ee799b0ad033c37368970221325c
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* when tested with [1], even after exiting the app, spm was
still active in powerhal thereby keeping max freqs limited
and blocking boosts
* enable/disable it properly and end all other hints before
enabling, to fix this issue
[1] https://android.googlesource.com/platform/cts/+/refs/heads/master/hostsidetests/sustainedperf
Change-Id: I672195fc6f7aba91928e2ab6147a6a7cac51f459
Signed-off-by: chiru2000 <chiranth@m.ms.evolution-x.org>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* end all running boosts when battery saver is turned on,
and block all boosts until its turned off
Change-Id: I888fe8f3d6779c22e26c24781c492d5576cb5610
Signed-off-by: chiru2000 <chiranth@m.ms.evolution-x.org>
[clarencelol]
* This one integrated into powerhal, much better
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* It has been removed in Android S
* 2ec5391acf
Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Prebuilt libcameraservice sets this prop to 1 if the running camera
app is MIUI/ANX camera, and 0 otherwise
* This is needed to unlock all functions of MIUI/ANX camera in
the camera HAL, such as pro mode controls, beauty modes, portrait
depth slider and much more, and mainly fixes excess noise in
camera shots taken with our ultrawide lens
* We won't keep the prop enabled by default because as long as its
enabled, gcam/mods crash immediately on launch and we don't want
that. So let's retain the stock behaviour instead.
[clarencelol]: * avc: denied { set } for property=sys.camera.miui.apk pid=1008 uid=1047 gid=1005 scontext=u:object_r:system_prop:s0 tclass=property_service permissive=0
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>