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
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
Nippon
d9cf03682b
sm6375-common: properties: set display power timer to 3s
2024-05-07 21:25:36 +02:00
Adithya R
3461b4827e
sm6375-common: properties: Enable display smooth motion (SmoMo)
...
Change-Id: Ibc9e5c9bc686239dcd4d35fa882081307be0a245
2024-05-07 21:25:17 +02:00
Andrzej Perczak
d3b9dfb895
sm6375-common: properties: Disable redir_party_num
...
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Lenovo enabled this ancient prop.
2024-05-07 21:24:47 +02:00
Jun Wang
c7a90812f7
sm6375-common: properties: Enable the pre-rendering feature
...
* Pre-rendering feature can improve FPS and reduce the janks
in scrolling cases.
Change-Id: I2152d0a1a8f9e337cb0355c8874e72f0f3c2cb46
2024-05-07 21:24:26 +02:00
Adithya R
be93694478
sm6375-common: properties: Enable QCRIL radio power saving
2024-05-07 21:24:12 +02:00
Andy | アンディ
76a6cd4e5e
sm6375-common: props: ro.config.media_vol_steps is set by default
2024-05-07 21:24:00 +02:00
Andy | アンディ
35957acc82
sm6375-common: props: Make surface flinger separately also tuned some prop
2024-05-07 21:23:52 +02:00
Andy | アンディ
69dfe5f174
sm6375-common: props: Disable audio fluence for voice recorder
2024-05-07 21:23:17 +02:00
Andy | アンディ
61f3c48f82
sm6375-common: Overlay: Fixup! Set preferred refresh rate on keyguard to 60
...
This ensures that the device doesn't switch to hrr while
doze mode is active.
2024-05-07 21:22:55 +02:00
Andy | アンディ
a7cc291ddb
sm6375-common: Compile HWUI for performance
...
* Activates a few optimizing compiler flags for HWUI.
* -fno-omit-frame-pointer, -marm, -mapcs
2024-05-07 21:22:35 +02:00
Andy | アンディ
91bc1c74a1
sm6375-common: properties: Do not set refresh rate when display is off
...
Avoids HWC rendering at 60 Hz after display turning off at 60 Hz
(VRR idle) and then waking up to 120 Hz.
2024-05-07 21:22:25 +02:00
Andy | アンディ
2186f2fb00
sm6375-common: overlay: Drop OEMs Fast Charger path
...
This device doesn't have that
2024-05-07 21:22:16 +02:00
Andy | アンディ
c3f4dcb200
sm6375-common: overlay: Fix fingerprint wake-up animation
2024-05-07 21:21:38 +02:00
Andy | アンディ
d4bafd24b0
sm6375-common: props: Set default vc call volume to 9
2024-05-07 21:21:03 +02:00
Andy | アンディ
e8dc32a405
sm6375-common: dt2w: Optimize Java code
2024-05-07 21:20:44 +02:00
Notkerd69
ab8b55b36d
sm6375-common: props: Fix volume in calls
...
- Setting the prop ro.vendor.audio.sdk.fluencetype=fluence to none
fixes the volume in calls there.
Signed-off-by: Notkerd69 <jerespn@gmail.com >
2024-05-07 21:12:59 +02:00
kamikaonashi
5ab9583545
stone: add stone to board-info
...
we unified now
2024-05-07 21:06:19 +02:00
agathasenpai
e080628fbe
stone: Add board-info.txt in tree
...
* Fixes flashall in fastbootd
2024-05-07 21:05:49 +02:00
kamikaonashi
815477694b
stone: rename BoardConfig
2024-05-07 21:05:44 +02:00
LuK1337
d338c97223
stone: Set SSR restart_level in init script
...
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com >
Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com >
2024-05-07 21:02:32 +02:00
Andy | アンディ
947e489d67
stone: Import power_profile from vendor framework
...
The one from system isn't providing battery usage stats
2024-05-07 21:02:01 +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