Commit Graph

243 Commits

Author SHA1 Message Date
Alexander Koskovich
06c4b5f077
sweet: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2024-03-03 14:40:17 -05:00
Bruno Martins
fe7f2c2900
Revert "sweet: overlay-lineage: Specify device has a notch"
This reverts commit f238afe71e.

The config has been removed since the centered display cutout
is now programatically detected.

Change-Id: Idcb96fe444c555a4110f7ed94e7774b413e35c33
2024-02-15 12:42:51 -05:00
basamaryan
f4f74723a9
sweet: Import decommonized ADSP modules
Change-Id: I802209c2aa93f0aa22ae28d4ab6b15903271167e
2024-02-15 12:42:40 -05:00
LuK1337
b4eec28a20
sweet: Redo libsdmcore shim
Instead of injecting custom dependency into libsdmcore.so, provide a
custom hwcomposer implementation that overrides the *unwanted* symbol
before loading the vendor implementation.

Change-Id: Icc6551f9260a0eb8a7f7a616588c65472a9366e9
2024-02-13 13:51:34 -05:00
danielml
d0c51f6735
sweet: Remove redundant libqti-perfd-client from PRODUCT_PACKAGES
* libqti-perfd-client is built by sm6150.mk

Change-Id: Icb913e03061b94f9ace1313a2e43e8a571784fd1
Signed-off-by: danielml <daniel@danielml.dev>
2024-02-13 13:51:33 -05:00
Bruno Martins
513a42af28
sweet: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-11 11:37:12 -05:00
basamaryan
8c5be48c42
sweet: Update blobs from MIUI V14.0.9.0.TKFMIXM
Change-Id: Ic5df86308d7393a826feee3cca66bbbd8fbdf6c1
2023-12-11 11:31:13 -05:00
basamaryan
a82c61fb55
sweet: init: Update fingerprints
Change-Id: Iab8de099a11363947d38a637e0a5814077fc5928
2023-11-07 11:29:58 -05:00
basamaryan
d968391733
sweet: Update blobs from MIUI V14.0.8.0.TKFMIXM
Change-Id: Ifde00f758756e84e034c74fdaaee18529d2df592
2023-11-07 11:29:54 -05:00
basamaryan
c874b45c0b
sweet: Unpin the global acdbdata calibration file
Change-Id: I937c7313463f74f8cd61f485c731e9904329ba59
2023-10-29 15:19:43 -04:00
basamaryan
59220ebd25 sweet: Import vendor/lib/vndk/libxlog.so
07-10 22:29:12.735  3491  3491 E android.hardware.audio.service: _xog_get_handle DLOPEN failed for vendor/lib/vndk/libxlog.so

Change-Id: I35832056d195c20099959d141a3cc74b246996c8
2023-10-26 18:23:41 +02:00
basamaryan
c702c9040c
sweet: init: Update fingerprints
Change-Id: Ie35cbd8603343ac332927926eed91705e8ea9658
2023-10-19 00:55:14 -04:00
basamaryan
7323834ba3
sweet: Update blobs from MIUI V14.0.7.0.TKFMIXM
Change-Id: I2118046d79a1f8a9a10f60e815383ab8504e39c3
2023-10-19 00:55:11 -04:00
basamaryan
d146e191db
sweet: overlay: Reduce rounded corner radius
* Fixes https://imgur.com/a/aMcFkif

Change-Id: I191225bc247e0444e09604b2f707e107dfcde77b
2023-09-04 19:15:34 -04:00
basamaryan
3940e7118c
sweet: Drop duplicates from proprietary-files.txt
Change-Id: I8021bff6bf0966ee4a9c3127b455e54fdcbafdc3
2023-08-21 13:45:05 -04:00
basamaryan
4a100b068d
sweet: Update blobs from MIUI V14.0.4.0.TKFMIXM
Change-Id: I412df59e2727200b35cd0e0b4cc5e0be2b52e63a
2023-07-16 13:40:19 +05:30
Georg Veichtlbauer
b142b5dd7f
sweet: Remove unneeded NFC packages
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2023-07-08 00:05:12 +05:30
basamaryan
10425ed914
Revert "sweet: overlay refresh rate strings"
This reverts commit 9b93de2d49.

Change-Id: I8c12cae0b0ef72b08ffee1f47876e35784dd3a79
2023-07-08 00:05:10 +05:30
Alexander Koskovich
d7dada299e
sweet: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2023-06-19 22:19:53 +05:30
basamaryan
054bb18429
sweet: Commonize PRODUCT_USE_DYNAMIC_PARTITIONS
Change-Id: I4f55c0e321617f222cf2df5d2ae5585703d99848
2023-06-19 22:19:53 +05:30
basamaryan
a592f58d71
sweet: overlay-lineage: Commonize config_restartActionsList
Change-Id: I9a83032134b051f455cc094bd87a8ac6ce9bc7e8
2023-06-19 22:19:31 +05:30
basamaryan
5c8e886d5d
sweet: Import missing sensor libraries
Change-Id: I5e16592694f4e972a65c9ad4ead7ade6e12a62b7
2023-06-19 22:19:22 +05:30
basamaryan
4aaf06b7f2
sweet: Import missing audio libraries
Change-Id: Id8d22c405b20bd90989db52c895d88130bf7b7c9
2023-06-19 22:19:22 +05:30
Arian
cd5df20cdd
sweet: Commonize fstab
Change-Id: I99d91293aca9af3592ef41436d2334357b418226
2023-06-04 22:14:34 +05:30
basamaryan
47c1ebd7f1
sweet: Commonize fastbootd
Change-Id: I43d9521431b36b84776139d71c2dbf26c430c0fd
2023-06-04 22:14:29 +05:30
basamaryan
1578028ba1
sweet: Commonize dynamic partition flags
Change-Id: I082ab4fa34c79467f12ecf9c6e7705842192571a
2023-06-04 22:14:22 +05:30
Arian
c8b75b1070
sweet: Commonize flash block size, cache and userdata filesystem types
Change-Id: I2cf4410b5c1183dd128c18d7381d80ef92d6483f
2023-06-04 22:14:22 +05:30
Arian
569790cb7e
sweet: Commonize BOARD_USES_METADATA_PARTITION
Change-Id: I1e1748f8efadf341f77698ff91531cd7d70f24ef
2023-06-04 22:14:22 +05:30
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