Commit Graph

18 Commits

Author SHA1 Message Date
Bruno Martins
f18c331af6 stone: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
2024-05-07 22:57:51 +02:00
Flower sea
7109ac5201 stone: rootdir: move init.xiaomi.rc to rootdir
since we dropped init and switch to libinit implementation, lets push init.xiaomi.rc to rootdir
2024-05-07 22:57:05 +02:00
kamikaonashi
a5b3ae5923 sm6375-common: audio: import mixer_paths.xml from stock
extracted from moonstone 14.0.6.0
2024-05-07 22:52:00 +02:00
kamikaonashi
1f9df34613 sm6375-common: set ART debug to release mode 2024-05-07 22:51:53 +02:00
kamikaonashi
1eb9cedb9a stone: switch to AOSP Wifi Display 2024-05-07 22:50:25 +02:00
kamikaonashi
d3eeac4cd2 sm6375-common: add remove_packages and make it optional
set new flag TARGET_DEBLOAT for optional remove_packages
this may be useful to debloat updater for unofficial roms. you can expand the list for any package, just write them in the Android.mk of remove_packages folder

Co-Authored-By: Michael Bestas <mikeNG@users.noreply.github.com>
2024-05-07 22:46:51 +02:00
kamikaonashi
594ff27184 sm6375-common: build libstdc++_vendor 2024-05-07 22:40:32 +02:00
Shinjo Akane
fd87f8ba11 sm6375-common: Build libprotobuf from source 2024-05-07 22:40:25 +02:00
kamikaonashi
17e30d6474 sm6375-common: import XiaomiParts and adapt for stone
imported and adapted xiaomiparts from https://github.com/AlphaDroid-devices/device_xiaomi_sm8350-common/tree/alpha-13/parts

with thermal profiles, per app refresh rate, speaker cleaner
2024-05-07 22:40:18 +02:00
kamikaonashi
94d0958333 stone: call audio_effects.xml 2024-05-07 22:37:28 +02:00
kamikaonashi
1106931b5e stone: call audio_io_policy.conf 2024-05-07 22:19:09 +02:00
Sarthak Roy
84b7cbb2fb sm6375-common: Switch to Wifi service AIDL
Signed-off-by: JaswalAshish <ashish@m.ms.evolution-x.org>
2024-05-07 22:15:19 +02:00
Pascoato
669ff0ae98 sm6375-common: Build android.hardware.power@1.2
- Fixes: I hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.2::IPower/default in either framework or device VINTF manifest.

Signed-off-by: anandhan07 <anandhasayanan007jb@gmail.com>
Signed-off-by: JaswalAshish <ashish@m.ms.evolution-x.org>
2024-05-07 22:12:58 +02:00
rdx420
9601361f5f sm6375-common: Build vendor.xiaomi.hardware.mlipay@1.0
* CANNOT LINK EXECUTABLE /vendor/bin/mlipayd@1.1: library vendor.xiaomi.hardware.mlipay@1.0.so not found: needed by main executable

Signed-off-by: rdx420 <padraramesh420@gmail.com>
2024-05-07 22:03:58 +02:00
kamikaonashi
1ce489997a stone: change to "virtual_ab_ota" 2024-05-07 22:01:37 +02:00
kamikaonashi
4f65ed16fe stone: fix ZRAM
set 4GB for all users and set swappiness to 80
2024-05-07 21:49:25 +02:00
aalajimaestro
0f3b87eff6 sm6375-common: Optimise dex flags
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.
 13.0
2024-05-07 21:26:05 +02:00
kamikaonashi
2ffcba68c8 stone: unify common and device tree to stone tree
also drop veu/peux related stuff while we're at it
2024-05-07 20:57:13 +02:00