Commit Graph

392 Commits

Author SHA1 Message Date
22b14c584a miatoll: overlay: Remove BT related configs
These have been migrated to sysprops in Android 13.

Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2022-11-17 19:15:27 +00:00
b50ef8e382 miatoll: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2022-11-17 19:15:27 +00:00
91a08d9f13 miatoll: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-11-17 19:15:26 +00:00
bbfe405cdc miatoll: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13 [1] and while
   frameworks reads the values directly from power_profile.xml
   Bluetooth app reads from the properties.

 [1] 976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2022-11-17 19:15:26 +00:00
49d5d96c9a miatoll: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I57eaa7abe70e4c7739c707b09dc95530e10b5586
2022-11-17 19:15:26 +00:00
a89bedb4c0 miatoll: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Merged-In: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-11-17 19:15:26 +00:00
e060370414 miatoll: Update LE Audio profile properties
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
Change-Id: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
2022-11-17 19:15:25 +00:00
e7f76528e9 miatoll: Enable Bluetooth profiles with properties
Bug: 217448211
Test: make -j
Merged-In: I0a76275baf2c80894b6be71d79b3265021ac921b
Change-Id: I0a76275baf2c80894b6be71d79b3265021ac921b
2022-11-17 19:15:25 +00:00
66372f27a5 miatoll: Define PID 1.0 thermal HAL feature
Change-Id: I88074a61369a066886a3d64de1843b342e357a40
2022-11-17 19:15:25 +00:00
968e78ea6e miatoll: Removing GSI keys
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.

Bug: 149806769
Test: tree hugger
Change-Id: If0835179ab5332e94170f3cbdd1b708c9388e435
2022-11-17 19:15:13 +00:00
f6df761250 Merge sm6250-common into miatoll
Change-Id: I870ee30f1c9b8e612ec4acf1e33654ec2f6eb9fd
2022-11-17 19:14:57 +00:00
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
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
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
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
57cb4d91aa sm6250-common: audio: Import Xiaomi soundtrigger changes
Change-Id: Ie780e1fc452541338af1e1f888cfeb0ea9532d4b
2022-11-13 09:30:16 +00:00
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
067911f386 sm6250-common: Enable multi-stage SVA
Change-Id: I5bced49059bb5d98c647e7688899a1314ef1571d
2022-11-13 09:06:03 +00:00
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
3f3511bd67 sm6250-common: Import libcapiv2svarnn.so
Change-Id: I9cb0191111fe97821f73bbddb6ca0e9e40c34a04
2022-11-13 09:04:38 +00:00
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
7658d416fb miatoll: Import some missing camera sensor modules blobs
Change-Id: Ic40a06c7d1585c9b936defd19892683d4537cc7e
2022-10-08 06:57:53 +02:00
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
2e4c553cd5 sm6250-common: Reorganize camera blobs list
Change-Id: I7cdf60816e24cd9aa037ca1c4101b658b1367fce
2022-10-08 04:26:30 +00:00
9c9cb917f5 sm6250-common: Remove MIUI camera blobs
Change-Id: Ie1d09f685a31691bc6ddfa0c30637f076d159810
2022-10-03 21:33:52 +02:00
e5934107e6 sm6250-common: Import 32 bit CamX libraries
* Fixes camera freezes

Change-Id: Iaac91b252cc02bf9af972288f9dbe44b5ad003cb
2022-10-03 21:25:05 +02:00
8ddef50cea sm6250-common: Sort blobs list
Change-Id: Ia7d704c85c2df5aaa54d099155f27bca8a7dfc8d
2022-10-03 21:05:34 +02:00
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
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
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
5e4269470d sm6250-common: rootdir: Add recovery entry to fstab
Change-Id: I90f864d4ab09c0ba7ed61ad86758b0c82effe344
2022-09-06 16:38:50 +00:00
ad16ea511a miatoll: Rearrange common and target device trees
Change-Id: I5ce121204a9ba81d11f30bd1ddf57aeafc6b8f54
2022-09-04 14:32:09 +00:00
7b20b67ff6 sm6250-common: Rearrange common and target device trees
Change-Id: I5ce121204a9ba81d11f30bd1ddf57aeafc6b8f54
2022-09-04 14:31:54 +00:00
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
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
e5f08782f3 sm6250-common: Update copyright headers in modified files
Change-Id: I256eb65e4e2df3bb4cca174145976bd46016aed1
2022-09-04 09:45:28 +00:00
c4c62db493 sm6250-common: Add copyright header to Android.bp
Change-Id: I7b3bcf8019a98f93f8b6e8039a2a3153b15a306f
2022-09-04 09:38:35 +00:00
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
78df45d6b9 sm6250-common: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2022-09-04 09:24:07 +00:00
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
26e3fcee51 sm6250-common: Control wfdservice64 with vendor.wfdservice prop
Change-Id: I984c413ce2455065b717c04df02cd2d121640798
2022-09-04 09:24:00 +00:00
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
3cdc1e2ff8 sm6250-common: Address QCOM WFD denials
* Fixes buggy QCOM WFD connections.

Change-Id: I9e0b92e7bc9d0ae5e3f50a4f18a0b19988da9a00
2022-09-04 09:19:27 +00:00
c15b9049a1 sm6250-common: Update WFD blobs
Change-Id: I54eb41f69d4a4adcb4ce52f513b0098f16f85ba5
2022-09-04 09:19:27 +00:00
5102c870da sm6250-common: Update blobs from V13.0.2.0.SJWMIXM
Change-Id: I6e0f13aad6116947d5d1d1056f906dfe69cc06ab
2022-09-04 09:18:56 +00:00
acb670ee82 sm6250-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2022-08-30 18:33:49 +00:00
193741aada sm6250-common: rootdir: Delete non-existing ssr_[setup/debug/ramdump]
Change-Id: I54574b4aa4d48a3c2881c5103f75a2eb2e132e4e
2022-08-30 18:18:41 +00:00
cadc3c7605 sm6250-common: rootdir: Set SSR restart level to 'RELATED'
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2022-08-30 18:18:39 +00:00
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
545df7f8e1 sm6250-common: media: Update from V13.0.2.0.SJWMIXM
Change-Id: I5cb2a9dc7c2f2c1c38538d7117137198fd6802ed
2022-08-30 18:17:39 +00:00