A510 is not supported in mainline ART. Kryo785 is supported,
but does not enable DotProd. Currently, A76 is the target
that enables all the features we want.
dex2oatd E 12-27 23:35:27 3642344 3642344 dex2oat.cc:222] Unexpected CPU variant for Arm64: cortex-a510.
dex2oatd E 12-27 23:35:27 3642344 3642344 dex2oat.cc:222] Known variants that need a fix for a53 erratum 835769: default, generic, cortex-a53, cortex-a53.a57, cortex-a53.a72, cortex-a57, cortex-a72, cortex-a73.
dex2oatd E 12-27 23:35:27 3642344 3642344 dex2oat.cc:222] Known variants that do not need a fix for a53 erratum 835769: cortex-a35, cortex-a55, cortex-a75, cortex-a76, exynos-m1, exynos-m2, exynos-m3, kryo, kryo300, kryo385, kryo785
Change-Id: I496143af83179896136b78802a3f7d7bd99ad3b4
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: inferno0230 <mail@inferno0230.in>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
This is a squash of the following commits:
1. Optimise dex flags for a faster boot
* Used multiple threads and speed profile to hasten the first boot
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf
2. Rework dex flags again
When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope).
Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads.
PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it.
I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off.
The speed level mentioned here runs dex verification and compiles all AOT methods.
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Ic0156ff8956a7c5f53820be6db438f6f6399d3c0
3. Switch certain dexopt profiles to verify
Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced.
Switch to Google's recommendation of using verify for an OTA package.
Applications still stay on speed.
Instead, replace the install profile with speed-profile making apps perform better.
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
- Add Google dialer, Settings & SystemUI
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.
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
inherit vabc_features.mk instead of android_t_baseline.mk which
has correct configuration for android_u. Update the
PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD from gz to lz4. Also, enable
virtual_ab.compression.threads to improve OTA performance.
Change-Id: I3b17e236701cefab4f424c8babb2fc59d2b9df09
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
oplus restricts refresh rate to 30hz on AOD
setting fixed refresh rate on AOD seems to fix the issue with FOD HBM on turning off screen as well as issues with brightness bumps on AOD mode
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
This is enabled by default on U, and it causes apps like
Chrome and YouTube to render the frame rate at 30FPS when
playing some videos.
Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
Added a device specific overlay that changes the default name
from "AndroidAp" to customized name
Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.
This may cause memory pressure.
Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
* Our device directly measures in mA and not uA.
* This fixes "Charging Rapidly" info on lockscreen.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
* In kalama (msm-5.15) pmic driver now lies in adsp [1], so
adsp firmware must to be loaded along with qti battery/
charger kernel module, in order to get battery and usb
power_supply up & running
* The GKI kernel for 5.15 explicitly disabled
FW_LOADER_USER_HELPER_FALLBACK, and the right way to enable it is to
echo 1 to the /proc/sys/kernel/firmware_config/force_sysfs_fallback,
so do this before writing to adsp sysfs node.
[1]: 4e2b0f663a
Depends-On: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef
Change-Id: I835fa5daaa53eb704cc6c0777d7069d47ecbe10c
Since audio.primary.kalama is no longer present in PRODUCT_PACKAGES,
the vintf files are not copied anymore, so account for that and merge
to the manifest instead.
Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b