Commit Graph

165 Commits

Author SHA1 Message Date
basamaryan
51c644fcf2
sweet: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2023-06-04 22:14:15 +05:30
basamaryan
c30dfe1ecc sweet: Move libqti-perfd-client to common
Change-Id: I9cc683652a46ca08a6d9532b53773099c739ef52
2023-06-04 12:23:23 +02:00
basamaryan
885a5d01ae Revert "sweet: Add headphone button jack keylayout"
This reverts commit 3c26bea583.

Reason for revert: Fixed in I8ecc1609d929ac5a8d4d73711b15b4a741d910a3
2023-06-04 12:23:23 +02:00
basamaryan
9a6491aefe
sweet: Drop BUILD_BROKEN_DUP_RULES
Change-Id: I496be758d06f5fe4155e2da68be4e034c8eaf43e
2023-06-01 01:30:57 +05:30
Arian
140b13e72e
sweet: Add lineage dependencies
Change-Id: Ie15ee9fcb9d04f1048d73d4ba3dd27cfbcc0adfa
2023-06-01 01:30:57 +05:30
Sebastiano Barezzi
4b21fbed51
sweet: Go away Megvii
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2023-06-01 01:30:57 +05:30
Arian
e8b0ea05ce
sweet: Switch to kernel config fragment
Change-Id: I91d35f56e90d4849716df85afa9de2771d29f578
2023-06-01 01:30:57 +05:30
danielml
7d09356da6
sweet: Override doze mode support
Change-Id: Ibdc4080dc66b5667993307f4c8ff6f83dc751e85
2023-06-01 01:30:57 +05:30
Adithya R
c1b697fec7
sweet: sepolicy: Address more battery secret denials
[   19.924855] type=1400 audit(1617105165.784:140): avc: denied { getattr } for comm="batterysecret" path="/dev/kmsg" dev="tmpfs" ino=12292 scontext=u:r:batterysecret:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0

Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: Icee6cc5f3dfc84864d0bb9bb8af59731f33d64be
2023-06-01 01:30:47 +05:30
Zinadin Zidan
7c4b20bb8b
sweet: sepolicy: Label elliptic ultrasound property
* E libc    : Access denied finding property "elliptic.ultrasound.multiple_mics.enable"

Signed-off-by: Zinadin Zidan <zidan.roking@gmail.com>
Change-Id: I4ed2035de3887ca6769ba5c268fa401d9b766c65
2023-06-01 01:30:43 +05:30
basamaryan
f20c87a87d
sweet: sepolicy: Bring up property contexts for android 13
Change-Id: I5bede11534edd2442db617ef6f147e44f07b9750
2023-06-01 01:30:43 +05:30
Park Ju Hyung
a8782400ef
sweet: Relax timers for automatic refresh rate switching
Due to visible gamma shifts on our panels, we should make the switchings
to happen conservatively.

With idle timer >= touch timer, idle timer now always takes precedence,
but we're leaving touch timer property to immediately switch back to
120 Hz on touch input events.

Display power timer is left untouched as it's responsible for display
mode changes such as Doze.

Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2023-06-01 01:30:43 +05:30
AdarshGrewal
a50f2c80ce
sweet: Enable content detection for refresh rate switching
Change-Id: I6d85f04dcce3f602c2b49e0f19c2087e502f3996
2023-06-01 01:30:43 +05:30
althafvly
778a6b6ccd
sweet: overlay: Configure RefreshRate brightness thresholds
The display uses different gamma curves for different refresh rates.
It's hard for panel vendor to tune the curves to have exact same brightness
for different refresh rate (lazy). To avoid flicker at darker environment,
set threshold for 120Hz, so 120Hz will be default in such conditions.

- values kanged from redfin, it works for our panel fine

Change-Id: Ie2042aa5d7b114c006841e1cd86c3257653242be
2023-06-01 01:30:43 +05:30
daniml3
96e11b160f
sweet: Reduce the list of pinned acdb files
* Only the global calibration file needs to be pinned

Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: I54aa794245093e904704931caea9f4a0d77c2b3c
2023-06-01 01:30:43 +05:30
basamaryan
0e30c90810
sweet: Import decommonized liboemcrypto
Change-Id: I1f2b2e2ba80804e8d7a388f0c55c88f2c155c249
2023-06-01 01:30:43 +05:30
Pranav Vashi
0f6d0830e2
sweet: audio: Fix mic volume
Change-Id: Ia338525149dfeabb8beb884b985842203a0d83e6
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-01 01:30:42 +05:30
basamaryan
ad448921e6
sweet: Update mixer_paths_idp.xml from MIUI V14.0.2.0.TKFMIXM
Change-Id: Ia0aedfd22ef8b94bc98d7a88a3f20454dd9775cc
2023-06-01 01:30:42 +05:30
basamaryan
ceb7742a60
sweet: init: Update fingerprints
Change-Id: I297fba56f6b7d5203574bb09b51452b54eb03e45
2023-06-01 01:30:42 +05:30
basamaryan
b9d56fba5c
sweet: Update the s5kgw3 camera libraries from MIUI V14.0.1.0.TKFINXM
Change-Id: Iae296626750ba662f7ea84c1af296d50818b2eda
2023-06-01 01:30:42 +05:30
basamaryan
6624825cb8
sweet: Update blobs from MIUI V14.0.2.0.TKFMIXM
Change-Id: I3e57639e5c05b3288e4b0ea68d427c73263adc67
2023-06-01 01:30:42 +05:30
basamaryan
77afd4ab2a
sweet: Add spec info about Redmi Note 10 Pro/Pro Max
Change-Id: Ifaff9ecc84ebb44039f8fab495e93d38b27d30c2
2023-06-01 01:30:42 +05:30
AdarshGrewal
1322779828
fixup! sweet: overlay: Set physical power button and fps location
Change-Id: I99e4a12727cbe82d37068b47aaecc156f42ebbbd
2023-06-01 01:30:42 +05:30
basamaryan
400d8f98e5
sweet: overlay: Adjust status bar padding
Change-Id: I3efeeb3a5c9009ef1112f0751c5da3025a2d8dfe
2023-06-01 01:30:42 +05:30
basamaryan
cc02dda4f2
sweet: Update kernel defconfig
Change-Id: I0a5e47b5b2f7844c6bee10b42e4618237a9e0cc1
2023-06-01 01:30:42 +05:30
basamaryan
7a7d5a69ed
sweet: Drop redundant fluence properties
Change-Id: I0f2d431df42cb66e8db5758185117cfba36b02d8
2023-06-01 01:30:42 +05:30
basamaryan
35d3864dd6
sweet: Sort proprietary-files.txt
Change-Id: I82b01c93906720568091f9b2234db30fc9c40d26
2023-05-19 01:23:30 +05:30
basamaryan
e7ad911010
sweet: Move to common framework compatibility matrix
Change-Id: I68c19da7ac477a70edb2737e8ac32f99b63b919f
2023-05-19 01:23:30 +05:30
basamaryan
14d4f11916
sweet: Update the s5kgw3 camera libraries from MIUI V13.0.9.0.SKFINXM
Change-Id: Iaad059eb088a4e2eeedc62e17d78a44260c0c176
2023-05-19 01:23:30 +05:30
basamaryan
d2f0e82955
sweet: Update blobs from MIUI V13.0.15.0.SKFMIXM
Change-Id: I09518fd257b515a4a5239924d764eecf918a9fec
2023-05-19 01:23:30 +05:30
Tyler Wear
d1bebde812
sweet: IFactory 2.3
Up IFactory version to 2.3.

Change-Id: I558f96edbf2ecb94d3e0c5126f2c55c3534e4a96
2023-05-19 01:23:30 +05:30
pramod kotreshappa
e12cbdfac9
sweet: Bluetooth: Bluetooth Audio HIDL up-rev to 2.1
Change-Id: I396d2a28b8146a7c2018c15fa77452f7011fbac8
2023-05-19 01:23:30 +05:30
pengfeix
c72ec66d37
sweet: Uprev ImsRadio version to 1.7
Change-Id: I03f24fd9eac8995ad565218b342503ef7bf3129e
CRs-Fixed: 2855616
2023-05-19 01:23:30 +05:30
Avinash Nalluri
82b11d289f
sweet: Update IQtiRadio with v2.6
Change-Id: I37d462028a7a82925b12b0e9f8a16a395a629fa2
CRs-Fixed: 2854788
2023-05-19 01:23:30 +05:30
qiongz
e6959fce22
sweet: Uprev QtiRadio version to 2.5
Uprev QtiRadio version to 2.5.

Change-Id: Icd74a9a895ad18ce2cb2c42caf4b746faf05a92c
CRs-Fixed: 2795130
2023-05-19 01:23:30 +05:30
Arian
a71f245d4e
sweet: sepolicy: Label ds28e16 and bq2597x
Change-Id: I732cf50843c5ff807d4e3f52f227fa2508c83146
2023-05-19 01:23:30 +05:30
basamaryan
3e20c05083
Revert "sweet: overlay: Enable min_refresh_rate setting"
This reverts commit 75169a0abc.
2023-05-19 01:23:30 +05:30
Sebastiano Barezzi
7f21e006c6
sweet: overlay-lineage: Configure additional camera framerates
Change-Id: I51efca86d2169c01fb96af97ef9fe250e2b221ed
2023-05-19 01:23:30 +05:30
LuK1337
a05f130ad4
sweet: overlay-lineage: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-05-19 01:23:30 +05:30
daniml3
7e5fc2e8b2
sweet: Use GetPreviewImageData shim for com.qti.node.watermark
Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: I92e51fdf1dc7d877c7affafbf9803ba5d504be07
2023-05-19 01:23:30 +05:30
Bowgo Tsai
ace9bd248d
sweet: Removing gsi_keys.mk
It's no longer required to install the compliance GSI
public keys into the ramdisk. Those public keys just need
to be included in the VTS test suite for GSI verification.

Bug: 176869478
Test: TreeHugger
Change-Id: I26c4a1c7dba28a3c8cf88af64d8539fdc23a4f28
2023-05-19 01:23:30 +05:30
Arian
ffa14b3f46
sweet: Commonize cnss-daemon
Change-Id: I13a5a97cea7da2a7b798c212c127c476740cf234
2023-05-19 01:23:30 +05:30
AdarshGrewal
3c26bea583
sweet: Add headphone button jack keylayout
Change-Id: I5a0af62b6cee9d36b282894117d0ba56d8ae063c
2023-05-19 01:23:29 +05:30
basamaryan
5834ea1df6
sweet: configs: Import 0b qdcm display calibration from MIUI V13.0.10.0.SKFEUXM
* Fix NumModes in qdcm profiles
* Remove video modes
* Default to smart_MC

Change-Id: Id6a3691418604f1ef0af714613ab5581f358c129
2023-05-19 01:23:29 +05:30
basamaryan
2ecdc7959a
sweet: Update the s5kgw3 camera libraries from MIUI V13.0.5.0.SKFINXM
Change-Id: I60b98d166484480498245a13e2541cbdb119b3c2
2023-05-19 01:23:29 +05:30
basamaryan
9e2378fa52
sweet: Import adsp_avs_config.acdb from MIUI V12.5.2.0.RKFINXM
Change-Id: Ie56a7d7d22d75520c833fa44b4a5541b70cc7970
2023-05-19 01:23:29 +05:30
Marc Bourgoin
dad8998ad0
sweet: Drop QCOM WFD
Change-Id: I3dd591444dc54ebe3a32e0385cbfc3db6bfc5e1f
2023-05-19 01:23:29 +05:30
Arian
79e594ed7b
sweet: Drop manifest-qva
Change-Id: Ide6538ce3ffcca4bab6f566b8a1442ef6395aba0
2023-05-19 01:23:29 +05:30
Pavan Kumar M
2199bd627a
sweet: hidl: Update uceservice HAL to 2.3
Change-Id: I780fef79b6b370d2058a45a08230de19cce4a0af
2023-05-19 01:23:29 +05:30
Manoj Basapathi
9c034b0283
sweet: hidl: Update factory version to v2.2
Change-Id: I67c80b81f46c692b0107d86615f2ca97c58d25fa
2023-05-19 01:23:29 +05:30