Commit Graph

495 Commits

Author SHA1 Message Date
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
Drpto
a930cbcfe4 sm6375-common: fstab: data=journal,commit=1 for /metadata
Since Ext4 doesn't implement "-o sync", it commits metadata at every 5 secs.
This may cause /metadata corruption.

Bug: 162883014
Change-Id: Icd38754bad1b1529d01165ea8c703c214d20bb4b
Co-authored-by: Randall Huang <huangrandall@google.com>
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
Signed-off-by: Drpto <dr.juniornoob@gmail.com>
2024-05-07 21:55:16 +02:00
sushmit1
d3c5273f9a sm6375-common: Add libmisoundfx 2024-05-07 21:55:00 +02:00
AmeChanRain
5d63853d25 sm6375-common: gps: Fix misleading indentation
* That makes clang17 happy
* Fix:
  device/xiaomi/sm6150-common/gps/android/utils/battery_listener.cpp:191:13: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
            auto r = mHealth->unlinkToDeath(this);
            ^
device/xiaomi/sm6150-common/gps/android/utils/battery_listener.cpp:189:9: note: previous statement is here
        if (mHealth != NULL)
        ^
1 warning and 1 error generated.

Change-Id: I3be1e3de45ce184c9d3dbcede57a312375a91498
Signed-off-by: Nanhumly <admin@warbler.cc>
2024-05-07 21:54:38 +02:00
Drpto
96447a4029 sm6375-common: gps: Fix some Indentation error
Authorship Goes to github.com/Subratam6296 aka rdx55

Signed-off-by: Drpto <dr.juniornoob@gmail.com>
2024-05-07 21:54:30 +02:00
Leonardo Ledda
5d95f6f7d1 sm6375-common: gps: Fix unqualified call to std::move
Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
2024-05-07 21:53:24 +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
kamikaonashi
f1a6c61853 stone: overlay: switch to AVC 3.1 Screen recording 2024-05-07 21:39:17 +02:00
Christopher
0596af0bbf sm6375-common: sepolicy: Allow user apps to read proc/zoneinfo files
* lacrima relies on proczone meminfo readings:
07-27 05:18:23.410 21585 21621 E nightwatch-target: /proc/zoneinfo open: errno=13
07-27 05:18:23.410 21585 21621 E nightwatch-target: sysmeminfo parse failed

after failing:
07-27 05:18:16.100 21127 21127 W Lacrima_startup: type=1400 audit(0.0:1546): avc: denied { read } for name="zoneinfo" dev="proc" ino=4026531859 scontext=u:r:untrusted_app:s0:c52,c257,c512,c768 tcontext=u:object_r:proc_zoneinfo:s0 tclass=file permissive=0 app=com.instagram.android
07-27 05:18:16.103 21127 21153 W MultiSignalANRDetectorLacrima: Pausing error state checks
07-27 05:18:16.103   894 21490 I sensors-hal: handle_indication_realtime:482,  SCHED_FIFO(10) for qmi_cbk
07-27 05:18:16.107  1254  1308 W statsd  : StatsPullerManager: Unknown tagId 10005
07-27 05:18:16.107  1254  1308 E statsd  : Stats puller failed for tag: 10005 at 30618177112118
07-27 05:18:16.107  1254  1308 W statsd  : StatsPullerManager: Unknown tagId 10038
07-27 05:18:16.107  1254  1308 E statsd  : Stats puller failed for tag: 10038 at 30618177112118
07-27 05:18:16.110  1254  2381 W statsd  : StatsPullerManager: Unknown tagId 10038
07-27 05:18:16.123  3738  4154 I DeviceStatusMonitor: DeviceStatusMonitor.handleBroadcast():123 onReceive() : Action = android.intent.action.SCREEN_ON
07-27 05:18:16.043 21188 21188 W AppInit5: type=1400 audit(0.0:1545): avc: denied { read } for name="zoneinfo" dev="proc" ino=4026531859 scontext=u:r:untrusted_app:s0:c61,c257,c512,c768 tcontext=u:object_r:proc_zoneinfo:s0 tclass=file permissive=0 app=com.facebook.katana
08-04 05:51:57.363 21059 21059 W am.android:mqtt: type=1400 audit(0.0:997): avc: denied { open } for path=/proc/zoneinfo dev=proc ino=4026531859 scontext=u:r:untrusted_app:s0:c52,c257,c512,c768 tcontext=u:object_r:proc_zoneinfo:s0 tclass=file permissive=0 app=com.instagram.android
08-04 05:50:25.297 20336 20336 W AppInit1: type=1400 audit(0.0:876): avc: denied { open } for path=/proc/zoneinfo dev=proc ino=4026531859 scontext=u:r:untrusted_app:s0:c108,c257,c512,c768 tcontext=u:object_r:proc_zoneinfo:s0 tclass=file permissive=0 app=com.facebook.katana
2024-05-07 21:32:40 +02:00
chrisl7
cc352c9e6d sm6375-common: Add diag-router blobs 2024-05-07 21:31:42 +02:00
Michael Bestas
29774bbb63 sm6375-common: rootdir: Set vendor.post_boot.parsed=1
* Allows perf to work properly on boot to restore selected power profile

This fixes log spam -
QTI PowerHAL: Failed to acquire lock.

Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
2024-05-07 21:31:27 +02:00
Andy | アンディ
70cd32e04b sm6375-common: dt2w: Convert value to String 2024-05-07 21:27:44 +02:00
Andy | アンディ
9b7d5329de sm6375-common: sepolicy: Allow hal_health_default
Allow to read sysfs_usb, USB & Charger Supply, Battery info
2024-05-07 21:27:36 +02:00
johnmart19
e9fb53daed sm6375-common: configs/properties: Enable VoNR Calls support
Reference: bc1818a363
2024-05-07 21:26:54 +02:00