Commit Graph

541 Commits

Author SHA1 Message Date
kamikaonashi
71b5206a9e stone: properties: drop disable_backpressure
causes more harm than good
2024-05-09 14:40:46 +02:00
kamikaonashi
cb9bdce6e3 stone: properties: disable hwc_vds 2024-05-09 14:40:20 +02:00
kamikaonashi
09a254d358 stone: sepolicy: allow HBM to write brightness
this fixes crash of settings when turning on HBM
2024-05-09 12:22:59 +02:00
kamikaonashi
e8b3711321 stone: audio: drop FM tuner from voip_tx and primary input 2024-05-09 11:43:19 +02:00
Vedraj Gawas
4fc70bca1b stone: properties: Silence LSPosed log tags 2024-05-09 11:43:19 +02:00
kamikaonashi
bede765fbe stone: properties: set 20% margin 2024-05-09 11:43:19 +02:00
kamikaonashi
c6b297982d stone: properties: drop force triple frame buffers 2024-05-09 11:43:19 +02:00
Tommaso Fonda
71b5458996 stone: Silence spammy log tags 2024-05-09 11:43:19 +02:00
Tommaso Fonda
16bae52712 stone: gps: Use GrapheneOS's SUPL server 2024-05-09 11:43:19 +02:00
Arne Coucheron
bd234dfc69 stone: overlay: Set config_avoidGfxAccel to true 2024-05-09 10:19:31 +02:00
kamikaonashi
a35b04a79f stone: overlay: Switch to RRO Overlay 2024-05-09 07:50:57 +02:00
kamikaonashi
99cf61a642 stone: !fixup ZRAM
forgot to add
2024-05-08 17:32:01 +02:00
Arijit78
28d0f8e5aa stone: Include Leica Miui Camera 2024-05-08 15:54:58 +02:00
thepriyanshujangid
a700e32f0c stone: sepolicy: Import missing adress for Leica Camera
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-08 15:54:52 +02:00
TheStrechh
8fc8b47092 stone: Add missing packages for camera
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-08 15:54:44 +02:00
kamikaonashi
c304ebd519 stone: Fix FM Radio 2024-05-08 15:54:39 +02:00
kamikaonashi
bceafcd0eb stone: uprev Audio Hal to 7.0 2/2
part 1 2bd0ed7
2024-05-08 15:34:47 +05:30
kamikaonashi
54f675c11b stone: create KERNEL_OBJ/usr
some rom sources dont create it when forcing prebuilt kernel, so lets create it ourselves
2024-05-08 15:34:46 +05:30
kamikaonashi
6829306cc2 stone: Ignore Selinux Neverallows
we will fix them later
2024-05-08 15:34:46 +05:30
kamikaonashi
e97af5a728 stone: link to prebuilt kernel-headers 2024-05-08 15:34:46 +05:30
kamikaonashi
897a00a844 stone: sepolicy: fix vendor_radio_prop is not set of
fixes:
Error: type "vendor_radio_prop" is not of set: "hwservice_manager_type"
2024-05-08 08:13:57 +02:00
nullptr03
4849edca13 stone: sepolicy: drop vendor_sysfs_charger_supply entry 2024-05-08 07:28:43 +02:00
kamikaonashi
49e689ae03 stone: overlay: !fixup duplicate entries
should do stuff like this when sleep deprieved
2024-05-08 07:26:22 +02:00
kamikaonashi
305d92a593 stone: drop dependencies 2024-05-07 23:33:54 +02:00
kamikaonashi
186dbed08e [SQUASH] stone:parts: Implement HBM & Auto HBM
m8250-common: hbm: Add preference for time-based HBM disable

To specify a duration after which High Brightness Mode (HBM)
is automatically disabled if the lux level falls below the
defined threshold.

[EmanuelCN: Use thread sleep and recheck lux after timeToDisableHBM]

Signed-off-by: AnierinB <anierin@evolution-x.org>

sm8250-common: hbm: Deactivate the HBM tile when the screen turns off

When the screen is turned off, HBM will shut down and the HBM tile should become inactive.

sm8250-common: hbm: Refresh the QS brightness slider whenever the HBM is activated

The brightness slider should be set to 100% when the HBM is activated.

sm8250-common: hbm: Avoid writing to the backlight when turning off the HBM

Not needed.

sm8250-common: hbm: Include a 7-second delay when turning off the HBM

The HBM turning off while walking through a shadow was frustrating. Address this issue by verifying if the threshold has been reached after the 7-second delay.

sm8250-common: sepolicy: allow parts to get SettingsLib prop

ThermalSettingsFragment's use of ApplicationsState includes a
check of whether a package is an instant app or not. The function
isInstant() in AppUtils reads settingsdebug.instant.packages prop
to retrieve a list of instant packages for debugging purposes.

We do not actually use this property, but this check triggers an
SELinux denial for every package in the list and spams the logs
with permission denied errors. Get rid of these log spams by
allowing parts to read the prop.

Test: open the thermal profile settings and check logs

sm8250-common: sepolicy: Allow devicesettings write to vendor_sysfs_graphics

sm8250-common: Disable hbm thermal throttle

adapted to stone (sm6375)

Co-Authored-By: Emanuel <emanuelghub@gmail.com>
Co-Authored-By: maxwen <max.weninger@gmail.com>
Co-Authored-By: Hikari-no-Tenshi <16803494+Hikari-no-Tenshi@users.noreply.github.com>
Co-Authored-By: Anierin Bliss <anierin@evolution-x.org>
Co-Authored-By: Alec Chan <88945170+alecchangod@users.noreply.github.com>
2024-05-07 23:17:44 +02:00
kamikaonashi
17699aec4f stone: sepolicy: allow apps to read clock speeds 2024-05-07 23:13:46 +02:00
kamikaonashi
472a305177 stone: libinit: update fingerprints
update fingerprints to HyperOS ones

Co-Authored-By: Arijit Saha <107979673+Arijit78@users.noreply.github.com>
2024-05-07 23:13:38 +02:00
RealJohnGalt
29d5b49f7b stone: media: add dav1d av1 decoder entry
Based on 10bit av1 for msmnile which can do up to 1080p60 10bit av1
without frame drops.

NOTE: YouTube app ignores perf limits
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:13:32 +02:00
Arijit78
d7f5cd97a8 stone: Add build fingerprint
apparently QPR2 doesnt boot without it, even though it gets called via libinit

thanks goolag?
2024-05-07 23:13:24 +02:00
wangchaohui
97f200ee45 stone: parts: Dirac: Migrate to CompoundButton.OnCheckedChangeListener
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
2024-05-07 23:13:14 +02:00
Peter Kalauskas
0e2783f6ca stone: parts: Enable use_resource_processor for all sysui deps
This will make the build faster

Test: m checkbuild
Bug: 295208392
Fix for UQPR2
2024-05-07 23:13:07 +02:00
Michael Bestas
7ecb46ef20 stone: overlay: Enable battery cycle count
Change-Id: I92bc8363e1c9e2ad54c29a0a30dce992e25f697d
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:13:01 +02:00
Giovanni Ricca
451f3b0921 stone: Build goodix lib from source
Change-Id: Ibaf1b9489b509318032c720c9c83e315cfe6ab3e
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-07 23:12:55 +02:00
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