This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.
Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.
This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.
PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter. For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.
Change-Id: Ib2dc9a55dfb332ba3fb84a13544d564a63f37ad2
Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Change-Id: I8f4c3ce55fe206786018ffba5e3301c52158a844
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This will OFF kernel page table isolation.
Notes from Kuba Wojciechowski <nullbytepl@gmail.com> in 86bb20a832:
As per qualcomm - "SM8150/SM8250/SM8350/SM7250/SM7150/SM6150 - KPTI Not required".
It can also help increase performance by a lot in some scenarios.
Change-Id: Idd36c359d4955701e9ee3ee27a58177a8d622c86
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
Signed-off-by: Hafidz Muzakky <ais.muzakky@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
/dev/hw_random should be readable by system_server for EntropyMixer to
be able to use it.
Bug: http://b/179086242
Test: adb shell logcat | grep Entropy
Test: android.permission.cts.FileSystemPermissionTest#testDevHwRandomLockedDown
Change-Id: I7dd7faf300f5ce3cab8d02c69be7915238cf61da
* VENDOR from LA.UM.9.12.r1-14400-SMxx50.QSSI13.0
* QSSI from LA.QSSI.13.0.r1-09000-qssi.0
* Split CAF proprietary files
* Update Keymaster to 4.1
* Use FBE v2
* Use Non 20801/20804 (Nord) libs/firmwares
* Do not use odm/vendor dir for WCNSS_qcom_cfg.ini
It has been changed to false on the PE side recently.
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I9be2efa11f7824701322c288d0510a18fc296aa1
apk name and path was changed as seen here
8be4fc80c0
This causes errors in logs since pinner was trying to pin old app.
PinnerService: Could not pin file /system_ext/priv-app/SystemUI/SystemUI.apk
PinnerService: Failed to pin file = /system_ext/priv-app/SystemUI/SystemUI.apk
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.
Some OEMs have been doing this for years.
Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
* Generated using the command
"adb shell thermal-engine -o > thermal-engine.conf"
* We don't use thermal daemon from OOS which has these
changes inline, instead, make CAF thermal-engine happy
with the config.
Change-Id: I02e45dfbf9880c8e8418c4d8d9b4d827b4d7066d
thirteen
* Align with OnePlus' 24 bit-width audio enforcement.
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
Change-Id: Ia0e067a6f7f6ff4ca3bf97b896e38a851954d1a9
* OnePlus had made the corresponding change in the IO policy config
but however it seems that policy side configuration was left as is
due to which format routing to device was broken as the IO policy
specificed a 24bit PCM format for primary audio meanwhile the policy
config marked 16bit PCM as the format causing backend failures.
* This will also align to OnePlus's 24 bit width audio enforcement.
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
Change-Id: Ic5e715311c6d3c46579b93346a9ffd814e022e91
* Ultra low latency playback is currently broken. Crackling audio
can be well noticed while playing WhatsApp audio messages or even
during some games.
* This patch routes all audio that normally used audio-ull-playback
paths to low-latency-playback paths instead, thus meaning we're
switching from ULL to LL mode.
Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
Sadly RF version can not act as a unique identifier for EU and GLO variant of avicii since OnePlus decided to use RF version 14 for both.
Due to this reason we're only setting the property for IN variant.
Change-Id: I9057f11f5728898530cd0504c4a0125091da6910