Commit Graph

4 Commits

Author SHA1 Message Date
68d6679eab sweet: Rise Up 'Redmi Note 10 Pro / Pro Max'
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-19 15:31:01 +08: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
AdarshGrewal
799abfe47a sweet: Initial device tree 2021-07-10 16:41:06 +05:30