431 Commits

Author SHA1 Message Date
Sebastiano Barezzi
80f5acee8f
sm6250-common: Use RSA4096 keys for recovery and vbmeta_system
* Per https://android.googlesource.com/platform/external/avb/+/master/README.md#build-system-integration, SHA256_RSA4096 is used if BOARD_AVB_ALGORITHM isn't defined
* We can assume bootloader is able to understand RSA4096 keys for recovery and vbmeta_system as well

Change-Id: I7325387ed4bf04407629c48bbc2e7126c151c192
2022-11-13 10:49:31 +00:00
razorloves
51c784b7c3
sm6250-common: Don't limit inodes on /system_ext
This fixes the issue where the MindTheGapps zip install is
incomplete due to /system_ext only having 5 free inodes.

Before:
~$ df -h
Filesystem     Size   Used  Avail   Use%  Mounted on
/dev/loop0     352M   323M    22M    94%  /system_ext

~$ df -i
Filesystem   Inodes  IUsed  IFree  IUse%  Mounted on
/dev/loop0      528    523      5   100%  /system_ext

After:
~$ df -h
Filesystem     Size   Used  Avail   Use%  Mounted on
/dev/loop0     352M   323M    22M    94%  /system_ext

~$ df -i
Filesystem   Inodes  IUsed  IFree  IUse%  Mounted on
/dev/loop0    96000    523  95477     1%  /system_ext

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5013
Change-Id: I4a1e9c10d5b8b23d19a4f71091ec743d472794dc
2022-11-13 09:40:43 +00:00
Arian
ccc1b7f640
sm6250-common: Don't explicitly build fs_config_files
The fs_config_files for each partition is already added to
PRODUCT_PACKAGES by base_{product,system,system_ext,vendor}.mk.

Change-Id: Ifbadacd5cb20beca70ed8b3accb3baf86a989c92
2022-11-13 09:40:43 +00:00
Bruno Martins
205ae2b9e3
sm6250-common: Remove deprecated notch overlay
The config has been removed since the centered display cutout
is now programatically detected.

Change-Id: Idcb96fe444c555a4110f7ed94e7774b413e35c33
2022-11-13 09:40:43 +00:00
Alexander Winkowski
57cb4d91aa
sm6250-common: audio: Import Xiaomi soundtrigger changes
Change-Id: Ie780e1fc452541338af1e1f888cfeb0ea9532d4b
2022-11-13 09:30:16 +00:00
Alexander Winkowski
f2107c5c1b
sm6250-common: audio: Use the correct sound_trigger_mixer_paths
It turns out that soundtrigger has a hardcoded list of platform-specific
mixer paths files defined in sound_trigger_platform.h and wcd937x is not
there. Import the generic path from LA.UM.9.1.r1-12600.01-SMxxx0.QSSI13.0
to make soundtrigger work.

Change-Id: Ief47ff9b1459e680d4b54c62da93b6ac2e21f190
2022-11-13 09:27:34 +00:00
Revathi Uddaraju
067911f386
sm6250-common: Enable multi-stage SVA
Change-Id: I5bced49059bb5d98c647e7688899a1314ef1571d
2022-11-13 09:06:03 +00:00
Alexander Winkowski
41aedba2ad
sm6250-common: Remove deprecated listen libs
libadpcmdec and libsmwrapper are not used in OSS soundtrigger HAL.

Change-Id: Ibcd86e165355154b12af851db6885b76b33e74d4
2022-11-13 09:04:39 +00:00
Sebastiano Barezzi
3f3511bd67
sm6250-common: Import libcapiv2svarnn.so
Change-Id: I9cb0191111fe97821f73bbddb6ca0e9e40c34a04
2022-11-13 09:04:38 +00:00
Sebastiano Barezzi
79019c4f6a miatoll: Downgrade camera blobs to Android 11
* New blobs requires new kernel changes, which are unreleased at the moment

Change-Id: Icb69504ffb841390c7fd601c2be06c28118167c8
2022-10-08 06:57:53 +02:00
Sebastiano Barezzi
7658d416fb miatoll: Import some missing camera sensor modules blobs
Change-Id: Ic40a06c7d1585c9b936defd19892683d4537cc7e
2022-10-08 06:57:53 +02:00
Sebastiano Barezzi
0b5a283319
sm6250-common: Pin camera blobs from Android 11
* New blobs requires new kernel changes, which are unreleased at the moment

Change-Id: Ieb6e0106e19c94723a804c85833052c5e91476ee
2022-10-08 04:26:35 +00:00
Sebastiano Barezzi
2e4c553cd5
sm6250-common: Reorganize camera blobs list
Change-Id: I7cdf60816e24cd9aa037ca1c4101b658b1367fce
2022-10-08 04:26:30 +00:00
Sebastiano Barezzi
9c9cb917f5
sm6250-common: Remove MIUI camera blobs
Change-Id: Ie1d09f685a31691bc6ddfa0c30637f076d159810
2022-10-03 21:33:52 +02:00
Sebastiano Barezzi
e5934107e6
sm6250-common: Import 32 bit CamX libraries
* Fixes camera freezes

Change-Id: Iaac91b252cc02bf9af972288f9dbe44b5ad003cb
2022-10-03 21:25:05 +02:00
Sebastiano Barezzi
8ddef50cea
sm6250-common: Sort blobs list
Change-Id: Ia7d704c85c2df5aaa54d099155f27bca8a7dfc8d
2022-10-03 21:05:34 +02:00
Alexander Winkowski
4df9c64cf3
miatoll: Upgrade Indian curtana to Redmi Note 10 Lite
Because Indian version of Redmi Note 9 Pro is identical to Redmi Note 10 Lite,
choose the latter name to not intersect with Global version of Redmi Note 9 Pro.

Change-Id: I12901a6427fcdde77055eebc6e0c4c7979ab9f75
2022-09-26 10:19:20 +00:00
Alexander Winkowski
3f88f5b3e9
sm6250-common: powerhint: Refine for reduced power consumption
Tune powerhint.json using freqbench results [1]. Instead of increasing
SchedTune boost, just boost big cluster to 825 MHz on interaction as
it's the most efficient frequency. Replace 1248 MHz with a more efficient
1324 Mhz frequency step.

[1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main

Change-Id: I6655484527feecc3e0c815ddab3be319643cd92c
2022-09-06 17:16:04 +00:00
Alexander Winkowski
b14576f34f
sm6250-common: powerhint: Remove TASchedtuneHighCap
It hasn't been added to the new kernel for simplicity.

Change-Id: I82b0851345c57372a497ff64d2f81c5579e92662
2022-09-06 16:41:19 +00:00
Alexander Winkowski
5e4269470d
sm6250-common: rootdir: Add recovery entry to fstab
Change-Id: I90f864d4ab09c0ba7ed61ad86758b0c82effe344
2022-09-06 16:38:50 +00:00
Alexander Winkowski
ad16ea511a
miatoll: Rearrange common and target device trees
Change-Id: I5ce121204a9ba81d11f30bd1ddf57aeafc6b8f54
2022-09-04 14:32:09 +00:00
Alexander Winkowski
7b20b67ff6
sm6250-common: Rearrange common and target device trees
Change-Id: I5ce121204a9ba81d11f30bd1ddf57aeafc6b8f54
2022-09-04 14:31:54 +00:00
Georg Veichtlbauer
eb18f2f516
miatoll: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2022-09-04 09:56:48 +00:00
Alexander Winkowski
9d431ff21c
miatoll: Update blobs
* curtana: V13.0.2.0.SJWMIXM
* joyeuse: V13.0.1.0.SJZMIXM

Change-Id: I0c7d79387629dde54cf875d4dd66c37d61b8ba3c
2022-09-04 09:56:37 +00:00
Alexander Winkowski
e5f08782f3
sm6250-common: Update copyright headers in modified files
Change-Id: I256eb65e4e2df3bb4cca174145976bd46016aed1
2022-09-04 09:45:28 +00:00
Sebastiano Barezzi
c4c62db493
sm6250-common: Add copyright header to Android.bp
Change-Id: I7b3bcf8019a98f93f8b6e8039a2a3153b15a306f
2022-09-04 09:38:35 +00:00
Alessio Balsini
0adc6f4264
sm6250-common: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the P21 device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2022-09-04 09:34:41 +00:00
P.Adarsh Reddy
78df45d6b9
sm6250-common: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2022-09-04 09:24:07 +00:00
Alexander Winkowski
3f31a5561d
sm6250-common: Remove android.hidl.base@1.0
* Not referenced by any blobs.

Change-Id: I8f0d4b65972ffc49d5c47fd23a6f3eb939f3a0db
2022-09-04 09:24:06 +00:00
Alexander Winkowski
26e3fcee51
sm6250-common: Control wfdservice64 with vendor.wfdservice prop
Change-Id: I984c413ce2455065b717c04df02cd2d121640798
2022-09-04 09:24:00 +00:00
Alexander Winkowski
9fa7f92b82
sm6250-common: Disable UBWC for WFD
As it turns out, atoll does not support UBWC:
[drm:sde_encoder_virt_atomic_check:1028] [sde error]enc43 mode unsupported, phys idx 0
[drm:sde_encoder_phys_wb_atomic_check:769] [sde error]invalid output format 3231564e

Change-Id: If445caf152428abb3dce74091dac9b4c9d2e26d5
2022-09-04 09:19:28 +00:00
adi8900
3cdc1e2ff8
sm6250-common: Address QCOM WFD denials
* Fixes buggy QCOM WFD connections.

Change-Id: I9e0b92e7bc9d0ae5e3f50a4f18a0b19988da9a00
2022-09-04 09:19:27 +00:00
Alexander Koskovich
c15b9049a1
sm6250-common: Update WFD blobs
Change-Id: I54eb41f69d4a4adcb4ce52f513b0098f16f85ba5
2022-09-04 09:19:27 +00:00
Alexander Winkowski
5102c870da
sm6250-common: Update blobs from V13.0.2.0.SJWMIXM
Change-Id: I6e0f13aad6116947d5d1d1056f906dfe69cc06ab
2022-09-04 09:18:56 +00:00
Bruno Martins
acb670ee82
sm6250-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2022-08-30 18:33:49 +00:00
althafvly
193741aada
sm6250-common: rootdir: Delete non-existing ssr_[setup/debug/ramdump]
Change-Id: I54574b4aa4d48a3c2881c5103f75a2eb2e132e4e
2022-08-30 18:18:41 +00:00
LuK1337
cadc3c7605
sm6250-common: rootdir: Set SSR restart level to 'RELATED'
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2022-08-30 18:18:39 +00:00
Alexander Winkowski
2ad0b987fa
sm6250-common: rootdir: Update from V13.0.2.0.SJWMIXM
All the changes made before have been preserved.

Change-Id: I55cd465ac6bae0324ebd6f96a07f37727bb1916c
2022-08-30 18:18:01 +00:00
Alexander Winkowski
545df7f8e1
sm6250-common: media: Update from V13.0.2.0.SJWMIXM
Change-Id: I5cb2a9dc7c2f2c1c38538d7117137198fd6802ed
2022-08-30 18:17:39 +00:00
Zhou Song
c4c0223f97
sm6250-common: audio: Add support for BT LC3 codec
Add format support for LC3 codec of BT device.

Change-Id: I3e14fcf226ef3c24b657ece41ed5ed8e004e34e8
2022-08-30 18:16:56 +00:00
LuK1337
8cd79a3757
sm6250-common: audio: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2022-08-30 18:16:55 +00:00
LuK1337
0810854407
sm6250-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.

 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
2022-08-30 18:16:55 +00:00
Alexander Winkowski
b4c57060ce
sm6250-common: audio: Import cleaned up Xiaomi changes
Change-Id: Idcbb82813581b5df1cbe4181e282287449910f9c
2022-08-30 18:16:55 +00:00
Alexander Winkowski
da1c649bbd
sm6250-common: audio: Reset to LA.UM.9.1.r1-12200-SMxxx0.QSSI13.0
This doesn't preserve any change made to audio configs.

Change-Id: I2b39a68fe30e68973e8b480eec80d98030347789
2022-08-30 18:16:29 +00:00
Alexander Winkowski
33f626fa49
miatoll: Update copyright headers in modified files
Change-Id: I256eb65e4e2df3bb4cca174145976bd46016aed1
2022-08-29 19:39:08 +00:00
Alexander Winkowski
401cb9c515
miatoll: Create Soong namespace
Change-Id: I53611e72aa324701fb40202257637fcba6af8b57
2022-08-29 19:37:53 +00:00
Alexander Winkowski
a7cb162630
miatoll: Fix AAPT config
According to AOSP docs [1] apps should use xxhdpi resources
for 440 dpi density.

[1] https://developer.android.com/reference/android/util/DisplayMetrics#DENSITY_440

Change-Id: Ib591e11a93b9814fabf772136096bde69e202e77
2022-08-29 19:37:52 +00:00
Alexander Winkowski
9ff8b577e4
miatoll: Convert overlays to RROs
Change-Id: I3cf5c896c713a32b3206acdb83b9d17fd21a1dee
2022-08-29 19:37:52 +00:00
Sebastiano Barezzi
6d749e99cd
miatoll: Reorder device.mk
Change-Id: I687dad393226d2a8143e29dda1c9e54efc4a5b0a
2022-08-29 19:35:10 +00:00
Alexander Winkowski
3a9e432aaa
miatoll: Move boot animation flags to lineage_miatoll.mk
Change-Id: I362605ea94e70e54f96ddb1d5f3d1e6a30686786
2022-08-29 19:35:10 +00:00