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
Andy | アンディ
716cae6be5
sm6375-common: Add check for lineage trust
...
This will check if the rom hardware interfaces including the packages
2023-09-14 15:20:16 +08:00
Andy | アンディ
9a202f1a3b
sm6375-common: Build Lineage Health
2023-09-14 15:20:14 +08:00
Andy | アンディ
f89889da20
sm6375-common: properties: Correct SoC info
2023-09-12 17:34:51 +08:00
Andy | アンディ
bd7384a45f
sm6375-common: properties: Move specific audio prop to system
2023-09-08 15:50:29 +08:00
Andy | アンディ
3fbc1877d3
Revert "sm6375-common: Allow system_susped to read sysfs"
...
This reverts commit 779e212afd .
2023-09-08 15:44:25 +08:00
Andy | アンディ
ec78e796fa
sm6375-common: Merge device compatibility matrix from ROM vendors
2023-09-08 15:28:55 +08:00
boedhack99
b230ed2943
sm6375-common: wifi: Fix typo hostscan!
...
Change-Id: Ia631f993296ec5447a124359468529d3146dd79f
2023-09-08 15:18:51 +08:00
Andy | アンディ
37c363c2e7
sm6375-common: sepolicy: Remove hal_lineage_health_default & Unused code
...
Lineage Health Hal: This only available in LineageOS based rom, other rom based on AOSP will get sepolicy error while building
2023-09-08 15:17:36 +08:00
Andy | アンディ
6c04d0d309
sm6375-common: sepolicy: Allow to open kernels wakelock stats
...
09-07 08:10:08.332 628 2536 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup26 (../../devices/platform/soc/4c84000.i2c/i2c-1/1-006a/power_supply/usb/wakeup26): Permission denied
09-07 08:10:08.341 628 2536 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup40 (../../devices/platform/soc/soc:charger-manager/power_supply/battery/wakeup40): Permission denied
2023-09-08 15:13:19 +08:00
Andy | アンディ
8c3b9eb1f1
sm6375-common: sepolicy: Mark sys.fp.vendor as exported_system_prop
2023-09-08 15:12:50 +08:00
Andy | アンディ
039618f721
sm6375-common: sepolicy: Allow hal_fingerprint_default to search sysfs_leds
...
07-08 05:12:25.531 1390 1390 I auditd : type=1400 audit(0.0:48): avc: denied { search } for comm="android.hardwar" name="5c1b000.qcom,cci0:qcom,camera-flash@0" dev="sysfs" ino=22785 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_leds:s0 tclass=dir permissive=0
2023-09-08 14:48:34 +08:00
Andy | アンディ
f4814cc50a
sm6375-common: sepolicy: Allow vendor_sensors to read huaqin_sysfs (file)
...
07-08 05:12:23.639 632 632 I auditd : type=1400 audit(0.0:34): avc: denied { read } for comm="sscrpcd" name="pcba_config" dev="sysfs" ino=18246 scontext=u:r:vendor_sensors:s0 tcontext=u:object_r:huaqin_sysfs:s0 tclass=file permissive=0
2023-09-08 14:48:34 +08:00
Andy | アンディ
3d09a3ae15
sm6375-common: sepolicy: Allow to set (ro.qc.sdk.audio. & persist.audio.fluence.)
...
07-08 05:12:16.032 0 0 E init : Do not have permissions to set 'ro.qc.sdk.audio.ssr' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
07-08 05:12:16.032 0 0 E init : Do not have permissions to set 'ro.qc.sdk.audio.fluencetype' to 'fluence' in property file '/vendor/build.prop': SELinux permission check failed
07-08 05:12:16.032 0 0 E init : Do not have permissions to set 'persist.audio.fluence.voicecall' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
07-08 05:12:16.032 0 0 E init : Do not have permissions to set 'persist.audio.fluence.voicerec' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
07-08 05:12:16.032 0 0 E init : Do not have permissions to set 'persist.audio.fluence.speaker' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
07-08 05:12:16.032 0 0 E init : Do not have permissions to set 'persist.audio.fluence.voicecomm' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
2023-09-08 14:48:34 +08:00
Andy | アンディ
28f4765010
sm6375-common: sepolicy: Mark ro.factory_mode as exported_default_prop
2023-09-08 14:48:08 +08:00
Andy | アンディ
0c90175e1f
sm6375-common: sepolicy: Mark wifi.pktlog.debug.0.chen as exported_system_prop
2023-09-08 14:47:38 +08:00