Commit Graph

508 Commits

Author SHA1 Message Date
Nippon
3e3626464d stone: proprietary: import missing seccomp files
W android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediacodec.policy'
W android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediaextractor.policy'
W android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediaswcodec.policy'

Signed-off-by: Nippon <adamayyad1999@hotmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:12:47 +02:00
Cole Faust
0f6992ac10 stone: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:12:14 +02:00
Steven Moreland
26c7da639b stone: Move /vendor/ueventd.rc to /vendor/etc/ueventd.rc
The root location of this file is deprecated for Android T.

Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:12:04 +02:00
basamaryan
a76e77cb19 stone: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
Signed-off-by: mukesh22584 <mks22584@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:11:58 +02:00
Tomasz Wasilczyk
8d21165dc6 stone: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:11:50 +02:00
kamikaonashi
1afa95c892 stone: properties: Disable Async MTE on System Server
Co-Authored-By: exer <98556122+ekkusa@users.noreply.github.com>
2024-05-07 23:11:31 +02:00
ghostrider-reborn
70b4e7ebf7 stone: properties: disable IMS debugging in props
silence some useless log
2024-05-07 23:11:24 +02:00
ghostride-reborn
5aebd21566 stone: properties: Set debug.sf.defer_refrash_rate_when_off=1
This is required on some devices with video mode panel, since the
scheduler sets refresh rate to 120 Hz _after_ turning screen off at
60 Hz (VRR idle) but the HWC ignores this and when the display is
turned back on SF thinks we are back at 120 Hz while HWC is still
rendering at 60 Hz. Defer setting refresh rate until the screen is
turned back on, to avoid this confusion.
2024-05-07 23:09:51 +02:00
Lucchetto
7bac08421a stone: properties: Disable phantom process monitoring 2024-05-07 23:07:46 +02:00
kamikaonashi
f50d736549 [SQUASH] stone: configs: add media_codecs from stock holi config and build codecs
enables secure streaming on some streaming apps.
2024-05-07 23:04:59 +02:00
kamikaonashi
43312b6de2 stone: overlay: disable "mobile data always on" 2024-05-07 23:03:03 +02:00
kamikaonashi
ad8602e112 stone: parts: import dirac from marble 2024-05-07 23:01:30 +02:00
kamikaonashi
60db844c45 stone: properties: disable cpu vsync 2024-05-07 22:59:23 +02:00
kamikaonashi
5a80c2a21a stone: parts: drop 90hz per app refresh rate 2024-05-07 22:59:00 +02:00
kamikaonashi
3c264af93b stone: rootdir: more access for thermal 2024-05-07 22:58:39 +02:00
kamikaonashi
47292224d5 stone: adress sepolicy denials
Co-Authored-By: Onett Boots <90538882+onettboots@users.noreply.github.com>
2024-05-07 22:58:32 +02:00
minaripenguin
9a4c7064d6 stone: update fling velocity for modern devices 2024-05-07 22:58:27 +02:00
kamikaonashi
69dc1708b4 stone: parts: update clear_speaker_sound.mp3
nobody uses it, so include easter egg :)
2024-05-07 22:58:21 +02:00
xNombre
c21c45126a stone: add missing libvnfwk_detect_jni.qti and symlink for CneApp
Needed by CneApp.

dlopen failed: library "/system_ext/lib64/libvndfwk_detect_jni.qti.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "vendor-clns-5"
2024-05-07 22:57:57 +02:00
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
abfbbd961e [SQUASH] stone: switch to libinit
switch to libinit for device recognition, taken and modified from

https://github.com/Evolution-X-Devices/device_xiaomi_marble/commits/udc/libinit
2024-05-07 22:56:43 +02:00
kamikaonashi
69b4f212a5 sm6375-common: audio: increase speaker volume 2024-05-07 22:52:06 +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
redgroul
6aafdc6ba6 sm6375-common: Use threaded GLES render engine 2024-05-07 22:51:41 +02:00
redgroul
268e1fc7d9 sm6375-common: Force triple frame buffers This yields significantly
reduced jitter and doesn't have any measurable impact on latency.
2024-05-07 22:51:27 +02:00
kamikaonashi
1eb9cedb9a stone: switch to AOSP Wifi Display 2024-05-07 22:50:25 +02:00
kamikaonashi
7d4c2f09c7 stone: drop duplicate vendor.camera.aux.packagelist 2024-05-07 22:47:27 +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
3f6b7f691a stone: declare proper cpu variant 2024-05-07 22:45:54 +02:00
kamikaonashi
fe6f00d73e sm6375-common: add missing lineage_health sepolicy file 2024-05-07 22:44:48 +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
Ghosuto
5e277cff29 sm6375-common: introduce spatialaudio from cheetah 2024-05-07 22:40:01 +02:00
TogoFire
6fbfec2559 sm6375-common: add Viper4FX 2024-05-07 22:39:41 +02:00
kamikaonashi
94d0958333 stone: call audio_effects.xml 2024-05-07 22:37:28 +02:00
kamikaonashi
134a85aff2 stone: audio: add back audio_effects.xml
taken from stock hyperos rom (moonstone)
2024-05-07 22:35:35 +02:00
Ghosuto
2bd0ed7410 stone: audio: uprev to Audio Hal 7.0 2024-05-07 22:33:44 +02:00
kamikaonashi
471587de34 stone: overlay: adjust animations to 80% 2024-05-07 22:20:58 +02:00
Adithya R
33bbd48315 sm6375-common: init: Run cnss_diag only when requested
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2024-05-07 22:19:36 +02:00
kamikaonashi
1106931b5e stone: call audio_io_policy.conf 2024-05-07 22:19:09 +02:00
CHRISL7
061e076cb2 sm6375-common: audio: Import audio_io_policy.conf from MOONSTONE
Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com>
2024-05-07 22:15:37 +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
kamikaonashi
0f1070c866 stone: Migrate to restructured sepolicy_vndr 2024-05-07 22:11:27 +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
Nippon
21bd0fda01 sm6375-common: Silence some log spam
Signed-off-by: Nippon <adamayyad1999@hotmail.com>
Signed-off-by: JaswalAshish <ashish@m.ms.evolution-x.org>
2024-05-07 22:00:13 +02:00