Commit Graph

212 Commits

Author SHA1 Message Date
Michael Bestas
fb54cb5594 sweet: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
SGCMarkus
524eba7d4a
sweet: unset BOARD_USERDATAIMAGE_PARTITION_SIZE
This not only saves a lot of build time when building with
TARGET_USERIMAGES_SPARSE_EXT_DISABLED and/or
TARGET_USERIMAGES_SPARSE_F2FS_DISABLED which is required
on A14, but also removes the need for the build system to
temporarily create a 40+GB userdata image.
Which means that less free space is required to start the
build.

Change-Id: Ibf48e7cdf566a4653e85352a79170b354d917234
2024-08-26 09:29:09 -04:00
Alexander Winkowski
b1fe4619c8
sweet: Align NFC permissions with stock ROM
Change-Id: Ie006c9a8f5135acdfda5181e6fa833c91e403576
2024-08-20 12:15:47 +00:00
SamarV-121
011577f815
sweet: overlay-lineage: Remove config_fingerprintSensorLocation
* No longer exists

Change-Id: Ic964ce75f136661b320561c398c19430c0d85aea
2024-08-12 13:23:58 +05:30
Michael Bestas
3cc315f98a
sweet: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-06-22 19:07:37 +05:30
Edwin Moquete
b852fd9530
sweet: Set double_tap mode via powerhint
Change-Id: Icd035962d289996feb76ddeaf02bf1843bd9d64a
2024-06-22 19:07:37 +05:30
Sebastiano Barezzi
c26b57ac9f
sweet: Drop selinux context from batterysecret init unit
We do that from sepolicy label

Change-Id: I0aa6778bca6c6175eb41364d4932a1ee868f7b21
2024-06-22 19:07:37 +05:30
Sebastiano Barezzi
e30e8e580f
sweet: Drop selinux context from mi_thermald init unit
We do that from sepolicy label

Change-Id: I56fb68b8121a68927cb98e494263f092732bd8ed
2024-06-22 19:07:37 +05:30
LuK1337
36ac0b73ea
sweet: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2024-06-22 19:07:37 +05:30
basamaryan
874f6c1753
sweet: Import fortsense hwmodule and sunwave dependency
Change-Id: I2fe798d618a37153c44fb4390f2641bcc5f50ce3
2024-06-22 19:07:37 +05:30
basamaryan
781db9b734
sweet: overlay: Reduce the padding at the start of the status bar
Change-Id: Ic84ec4f0e070e62d4d76680844ad60eb04c40593
2024-05-24 12:36:21 +05:30
basamaryan
609c47d584
sweet: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-29 00:46:59 -04:00
Devin Moore
1f5d18c853
sweet: Switch to new AIDL IR service
Test: atest VtsHalIrTargetTest hal_implementation_test
Bug: 205000342
Change-Id: I70c54aa8e8962939cc8f4b42fbbe828e9dad7f0d
Signed-off-by: basamaryan <basam.aryan@gmail.com>
2024-03-29 00:46:53 -04:00
Alexander Winkowski
0b58ad8f0a
sweet: Fix vendor.voice.path.for.pcm.voip value
Stock ROM overrides it in product partition

Change-Id: I796044761d4a0a9d102f6b6d89c8e81bbb997665
2024-03-28 13:03:23 -04:00
Alexander Winkowski
8dc0f6afdb
sweet: Copy NFC firmware to the correct location
Change-Id: Iec38a874eab350de03ac18df5bc1a00a686fb569
2024-03-28 13:03:23 -04:00
Alexander Winkowski
12ef45d42e
sweet: Move NFC configs to vendor
Change-Id: Id6dc9052673afd4ca6f32af154cb8c7a50ccf479
2024-03-28 13:03:23 -04:00
LuK1337
6ed4c96703
sweet: Build AIDL NXP NFC HAL
Change-Id: I6ace3ac149c84d2cb9e2773e7ef5ddbf24c35b92
2024-03-28 13:03:22 -04:00
danielml
601fddecdf
sweet: Get rid of libinit
* Use the `import` function of build.prop files to override the
  model-specific properties based on the ro.boot.hwc and product SKU
  values, both set by the bootloader

* Set a custom product property source order, so that the ODM
  and vendor properties have preference over the other sources

* Switch to vendor SKU for enabling NFC exclusively on variants that
  support it, as the product SKU is set by the bootloader

* Create a symlink from /vendor/etc/audio/sku_sweet to /vendor/etc, as
  the audio HAL takes the former as directory for audio configs
  if SKU is set to `sweet`

Change-Id: I312a059e0cbcbad6aa052bd32142b70dcf0a7adc
Signed-off-by: danielml <daniel@danielml.dev>
2024-03-28 13:03:10 -04:00
Aaron Kling
59803d53d8 sweet: Add default fingerprint
As of Android 14 QPR2, sweet's Lineage release key fingerprints are
longer than 92 characters. This cause crashes on prop read. So,
hardcode a default that is shorter than 92 characters, so it can be
overridden later.

Change-Id: I47abbac4344252262c47b865fbda871559fcbf30
2024-03-23 21:53:07 +01:00
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