Commit Graph

657 Commits

Author SHA1 Message Date
Arijit78
b6245f24ee stone: init vendorsetup.sh
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-10 17:54:39 +00:00
TogoFire
5b6379c879 stone: sepolicy: add audioserver.te
to fix audio mods like dolby or viper4fx
2024-05-10 18:49:04 +02:00
kamikaonashi
78902c8026 stone: inherit Viper4FX if package exists 2024-05-10 18:47:41 +02:00
kamikaonashi
6180b366b5 stone: rootdir: give permissions to read fastcharge node
Co-Authored-By: Vedraj Gawas <82878564+gawasvedraj@users.noreply.github.com>
2024-05-10 18:46:47 +02:00
kamikaonashi
c206fe4117 stone: overlay: set correct fastcharge path
Co-Authored-By: Vedraj Gawas <82878564+gawasvedraj@users.noreply.github.com>
2024-05-10 18:45:32 +02:00
kamikaonashi
c94fb9cd8e stone: drop FM Radio temporarily
QPR2 made me big sad
it broke Fm Radio, so drop for now by kamikaonashi
2024-05-10 18:43:28 +02:00
jesec
eb0d435484 stone: overlay: Configure SQLite to operate in MEMORY mode 2024-05-10 18:42:39 +02:00
kamikaonashi
794a0e2904 stone: overlay: lower vibration strength 2024-05-10 18:40:58 +02:00
Bruno Martins
2c862f0643 stone: overlay: remove obsolete keyboardTapVibePattern 2024-05-10 18:40:23 +02:00
kamikaonashi
9326fe03c2 stone: properties: remove duplicate fm prop
defined in odm prop
2024-05-09 22:20:14 +02:00
kamikaonashi
7a3db79ddc stone: properties: fix bluetooth.soc name 2024-05-09 22:19:52 +02:00
kamikaonashi
47cf5c1cea stone: nuke thermal 2.0 service hals
Crash:
    - E android.hardware.thermal@2.0-service.qti: ThermalHAL not initialized properly.
    - E ThermalHalWrapper: Couldn't get temperatures because of HAL error: ThermalHAL not initialized properly.
2024-05-09 22:12:10 +02:00
John
61ced3eee4 stone: Build extphonelib 2024-05-09 22:06:15 +02:00
kamikaonashi
05456f0cf1 stone:sepolicy: fix hal_lineage_health missmerge 2024-05-09 21:54:02 +02:00
kamikaonashi
71b4d645e0 stone: sepolicy: allow power_supply/usb 2024-05-09 21:53:26 +02:00
kamikaonashi
a5e2c0a2a0 stone: update blobs to moonstone hyperos 1.0.3.0 2024-05-09 16:49:42 +02:00
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