Commit Graph

903 Commits

Author SHA1 Message Date
Avinash Nalluri
58fd901e09 sm8350-common: manifest: Update IQtiRadio with v2.6
Change-Id: I37d462028a7a82925b12b0e9f8a16a395a629fa2
CRs-Fixed: 2854788
2022-04-01 17:39:07 +02:00
Ayishwarya Narasimhan
f7aa026b8a sm8350-common: manifest: Update uce hal 2.3 version
Update uce hal version to 2.3

Change-Id: I780fef79b6b370d2058a45a08230de19cce4a0af
2022-04-01 17:39:07 +02:00
Pavan Kumar M
f917259f79 sm8350-common: lahaina: add mwqemadapter manifest entry
Change-Id: I78a1b779d762f34856215397d879908df748fa3c
CRs-Fixed: 2823635
2022-04-01 17:39:07 +02:00
Manoj Basapathi
88da316cb7 sm8350-common: Update factory version to v2.2
Change-Id: I15ac0a384b4d483529dcd2d1afbfa3c8b6673b22
2022-04-01 17:39:07 +02:00
Rohit Soneta
0f23a188a1 sm8350-common: manifest_lahaina: TUI: Revert entry for system helper service
As system helper service goes into system image, entry is not
needed in target specific manifest file

Change-Id: I30b8ad9dc1a96fc5191dccdbb1f55fa0269f214e
2022-04-01 17:39:07 +02:00
Sonal Gupta
6c9f4d9cf0 sm8350-common: manifest: Update ITrustedUI interface to 1.1
Update ITrustedUI interface to 1.1

Change-Id: Ic7ec02235e939de41d967c094a76774b9e87d8aa
2022-04-01 17:39:07 +02:00
qiongz
b655d67de2 sm8350-common: Uprev QtiRadio version to 2.5
Uprev QtiRadio version to 2.5.

Change-Id: Icd74a9a895ad18ce2cb2c42caf4b746faf05a92c
CRs-Fixed: 2795130
2022-04-01 17:39:07 +02:00
Jaideep Sharma
f95387bd7f sm8350-common: lahaina: remove audio configstore service
This service is no longer needed in R, so removing it

Change-Id: I2b1f2859e0c122fdd84b6a8c112f51ad171f4aff
2022-04-01 17:39:07 +02:00
Amritendu Biswas
c8c573b9c6 sm8350-common: Embmssl hidl manifest 1.1 version change for lahaina variant
Change-Id: I7397fb4878594a795dd7abd91fdad0f9297545f1
2022-04-01 17:39:07 +02:00
Prakash Gupta
de0afe1aa8 sm8350-common: manifest: remove manifest entry for PASR HAL service
Remove manifest entry for PASR HAL device specific manifest so this can be
moved to memory component.

Change-Id: I1c2044c76fabacede3d41dc0a53ca99cb50a9342
2022-04-01 17:39:07 +02:00
Sonal Gupta
41defa1ebb sm8350-common: manifest_lahaina: TUI: Add entry for systemhelper service
Add entry for system helper service interface.

Change-Id: I56d602ad3e840be8fbf1c6f8cac20a72b6993368
2022-04-01 17:39:07 +02:00
Taiyab Haque
fa9645a989 sm8350-common: Update LPA interface version
Update LPA version to enable new upgraded interface solution

Change-Id: I117c788a25e75d8844a5f89d4d661e8cce8127d9
2022-04-01 17:39:07 +02:00
Erfan Abdi
3f6c75ec34 sm8350-common: Fix pureShot_parameter xml format
Change-Id: Ie9beed910101f2550ca573157242cd2f9c4ce140
2022-04-01 17:39:06 +02:00
Erfan Abdi
fd257261c8 sm8350-common: Move sensor hals config to vendor repository 2022-04-01 17:39:06 +02:00
Siddhesh Sahane
4c5f36795a sm8350-common: audio: config: Add support for LC3 a2dp capture
Add format support for LC3 a2dp capture.

Change-Id: Ib6627d7f4cba0370b4ae300e10b8448f227517a2
2022-04-01 17:39:06 +02:00
Preetam Singh Ranawat
ef5fbabb0b Revert "sm8350-common: audio: configs: Add support for LC3 format."
This reverts commit 1d4c56e65865e10b3a36de5713557e0a7c552151.

Change-Id: Ie23807aecb01e89cfa3dbc31b0ba97793932da22
2022-04-01 17:39:06 +02:00
Mingshu Pang
53f738d12f sm8350-common: audio: Remove supporting usb device from "fast input" and "quad mic"
It will select "fast input" or "quad mic" as a compatible profile if
the parameter from recording app can't match the profile of
usb_surround_sound completely although connecting usb device.

Remove the usb device from the supported devices list of "fast input"
and "quad mic" for exact match.

Change-Id: Ie99886552082e99ac19193907b271131a2502d33
2022-04-01 17:39:06 +02:00
Manisha Agarwal
a137606e4a sm8350-common: audio: configs: Add support for LC3 format.
Add support for new LC3 format AUDIO_FORMAT_LC3
added for BLE support.

Change-Id: Ifd80fee833e05901544e2952781a460815661fb6
2022-04-01 17:39:06 +02:00
Mingshu Pang
6c6d38eb9c sm8350-common: audio: Remove dynamic attributes from APS config
Remove dynamic attributes from APS config since it
is not supported.

Change-Id: I5ad81b67e7b6bb33e245a2620622f1e2e2a76506
2022-04-01 17:39:06 +02:00
Arian
de2c62ffe9 sm8350-common: ueventd: Cleanup unnecessary permissions
Change-Id: Ia37b752c369d8b0dc48aba33898ce7e245f4de2d
2022-04-01 17:39:06 +02:00
Arian
717d76ad6e sm8350-common: ueventd: Setup permissions on mius iio devices
Change-Id: I44004a3c1377d91e887f66905df5f8c61b0d5639
2022-04-01 17:39:06 +02:00
Wang Han
07d7fc7025 sm8350-common: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2022-04-01 17:39:06 +02:00
Arian
0072a17f4c sm8350-common: Move ueventd.rc to rootdir and checkout to LA.UM.9.14.r1-19100-LAHAINA.0
Change-Id: I7c0a9ad622a0c42966d84024c22cd03e033fd09b
2022-04-01 17:39:06 +02:00
Arian
33acba3a2a sm8350-common: Drop spu and strongbox from manifest
Change-Id: Ibec129b39c0c7987f71f72107171cb53647572ab
2022-04-01 17:39:06 +02:00
Arian
057daefb66 sm8350-common: Move vendor manifest fragments to vendor repository
Change-Id: I8770fb6c27637dfa934af45a3993c4447dcd2430
2022-04-01 17:39:06 +02:00
Arian
2eb8ab7ef0 sm8350-common: Checkout framework compatibility matrix to LA.QSSI.11.0.r1-12100-qssi.0
Additonally move xiaomi's additions to xiaomi_framework_compatibility_matrix.xml
and make them optional.

Change-Id: Ib3abddb4a9e9615fb973b9efd2e511d96998d6ce
2022-04-01 17:39:06 +02:00
Arian
7c8f94dea1 sm8350-common: Checkout compatibility matrix to LA.UM.9.14.r1-16700-LAHAINA.0
Change-Id: I89d960aa3055628f3feb9881a8b6b7138262f89e
2022-04-01 17:39:06 +02:00
Arian
da78308f49 sm8350-common: Checkout manifest_lahaina to caf
This is a pre-public tag which matches stock.
https://source.codeaurora.org/quic/la/platform/vendor/qcom/lahaina/plain/manifest_lahaina.xml?h=LA.UM.9.14.r1-12600-LAHAINA.0&id=2100bf201f102dcf517f7436dc5f6e802ab386ac

Change-Id: I4ebe1dc949c0e1188d18e04bae77ed62bdc51fc0
2022-04-01 17:39:06 +02:00
Arian
8799b8c223 sm8350-common: Move manifests to hidl folder
Change-Id: Ie1a43451abdcf02038e58959e1818a5275ae37c8
2022-04-01 17:39:06 +02:00
Arian
027ef2d641 sm8350-common: Drop unnecessary framework manifest
Change-Id: Ib1f92e29fd0830b6f13c2f899e6aa358e1997b4c
2022-04-01 17:39:06 +02:00
Arian
7d2fbba5cc sm8350-common: Update extract scripts from templates
Change-Id: I41480402e01d1a32ee1d8562e73c8e97a9380aae
2022-04-01 17:39:06 +02:00
Michael Bestas
a5d227a73a sm8350-common: charger: Enable offline charger suspend
Squashed in this commit:
Author: Yifan Hong <elsk@google.com>
Date:   Mon Jul 15 16:43:26 2019 -0700

    sm8350-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend

    Test: charger mode
    Bug: 124118169
    Change-Id: I3825d08e38d677bd7154879609857de302348b6f

Change-Id: I27a642dbadfba1575ff2d8e96dc385fc19c0eaff
2022-04-01 17:39:06 +02:00
Arian
b0b88840d4 Revert "sm6250-common: Hide sRGB toggle in developer options"
This reverts commit 4372eed462.

Change-Id: Icd049f2e874d7044e7a156eac7d3f1d4e16460f1
2022-04-01 17:39:06 +02:00
Danny Lin
ec5837aed6 sm8350-common: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 8 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2022-04-01 17:39:06 +02:00
Arian
4ce74b0632 Revert "sm6250-common: overlay: Add pinned files from stock"
These are not pinned on stock.

This reverts commit 98c9d2a95b.
2022-04-01 17:38:12 +02:00
Arian
002c333db5 sm8350-common: overlay: Drop brightness ramp rate configuration
Change-Id: I69b906fbc0ae18c4d5832fc642beaae38ff6d392
2022-04-01 17:37:30 +02:00
Arian
3b3e64454a sm8350-common: overlay: Update bluetooth power configs from odin MIUI V12.5.12.0.RKMCNXM
Change-Id: I0ab13fb86b352680439198058b615f29f76f0165
2022-04-01 17:36:54 +02:00
Murat Kozan
45f54b22ca sm8350-common: Enable vibration intensity control
* Activates some options on Settings>accessibility>vibration

Change-Id: I00e20f0d607736c04d5c2a0bd9c513c7f5fd8b41
2022-04-01 17:36:54 +02:00
Gil
bb4f7c3efa sm8350-common: Enable adaptive color mode
Enable Adaptive color mode setting.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2022-04-01 17:36:54 +02:00
Arian
e4e2055f2a sm8350-common: overlay: Add missing doze configurations
This fixes deep sleep on AOD. The values are from stock,
note that xiaomi did not use RRO for these values, hence
the values are changed in framework-res.apk directly.

Change-Id: I9c4ea935e7a7df4bd85e1884f91ab25805fe8959
2022-04-01 17:36:54 +02:00
Erfan Abdi
4211f1d2d7 sm8350-common: Drop TetheringConfig rro 2022-04-01 17:36:54 +02:00
David Su
4a1f2411ce sm8350-common: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
2022-04-01 17:36:39 +02:00
Arian
590bd924dd sm8350-common: WifiOverlay: Update config from MIUI V12.5.5.0.RKIMIXM
Change-Id: I37db0f8662f771885cf6e75027e23c62a51f7257
2022-04-01 17:35:02 +02:00
Chirayu Desai
71eb336e1b sm8350-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-04-01 17:24:10 +02:00
Arian
767e2c13e0 sm8350-common: overlay: Sync CarrierConfig with LA.UM.9.14.r1-19100-LAHAINA.0
Change-Id: I274cd7c5e5e47b2e86dbc733b37960e1a5993e7a
2022-04-01 17:24:10 +02:00
Nolen Johnson
8e8bccf2d4 sm8350-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2022-04-01 17:24:10 +02:00
Arian
53ae7a5521 sm8350-common: bluetooth: Drop default name setup
There is already a fallback to the model name and using that
is perfectly fine.

Change-Id: I7900cc449cd36d327d35f0597eea6427dd710458
2022-04-01 17:24:10 +02:00
Albert I
07da74745e sm8350-common: rootdir: fstab: Handle avb= fs_mgr flags correctly
Specifying avb=<vbmeta-partition> is only necessary for first entry of
partition groups that use same vbmeta partition. The following entry can have
<vbmeta-parititon> part omitted.

Test: None
Link: https://source.android.com/devices/architecture/kernel/mounting-partitions-early#fstab-entries
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I5a42fd3de72c400acfae56d6a1e1b85c22a79537
2022-04-01 17:24:10 +02:00
Shawn Shin
e5daffb384 sm8350-common: qcc-tr: define new AID for qcc-trd
Change-Id: I47c9b034600c9b31a17de2808030af38f69e10e0
2022-04-01 17:24:10 +02:00
Ayishwarya Narasimhan
58bb71dc34 sm8350-common: config.fs: Add mapping for imsdaemon
Change-Id: I62629d99e0ace3e5cfa0bdef925e919ddd2ebe12
2022-04-01 17:24:10 +02:00