Commit Graph

252 Commits

Author SHA1 Message Date
althafvly
5f8fe2800b sm8350-common: Use randomly generated camera config [1/2]
Change-Id: Ib3f6f1526e2e0b7db23bb34c5b15aec1b0d338c2
2022-08-29 01:53:16 +02:00
Sebastiano Barezzi
07f2ac935e sm8350-common: Go away Megvii [1/2]
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2022-08-29 01:53:16 +02:00
Arian
c1801698e0 sm8350-common: Copy snapdragon color libs config from display HAL
Change-Id: Iac27382024431dd2faf163174064c80de79ed797
2022-08-29 01:53:02 +02:00
Arian
9cce7a6db1 sm8350-common: Copy powerhint.xml from power HAL
Change-Id: I6f8ca59f4ad0ed7324010f657475d020fa76cb2f
2022-08-29 01:24:29 +02:00
Giovanni Ricca
83662ab93f sm8350-common: rootdir: Add shima and yupik kernel post_boot scripts
While at it, update lahaina one from odin V12.5.12.0.RKMCNXM

Apply the following commits to all scripts:
commit a7efe9f3af
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Tue Sep 28 09:15:41 2021 +0300

    sm8350-common: rootdir: remove cpu 7 from foreground tasks

commit 52fde070d6
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Fri Sep 24 02:44:34 2021 +0300

    sm8350-common: rootdir: do not touch sleep disabled

commit 30ddf5a818
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Sat Sep 18 02:57:51 2021 +0300

    sm8350-common: rootdir: cleanup

Change-Id: Ibd4e8717b52c35faa4d43ade170dbde58c04ed37
2022-08-29 01:24:29 +02:00
Arian
834d121186 sm8350-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-08-28 15:49:53 +02:00
Arian
7e777df325 sm8350-common: Don't copy audio policy to qssi dirs
This depends on commit [1] which intends to pick a different audio
policy config on value-added system images and use to the regular
audio policy on gsi builds. However we do not provide the regular
config which leads to no usable audio policy config on GSI builds.
Our config does not rely on system value-added features, hence just
copy it to the regular path directly so that the same one will be
loaded on value-added and gsi builds.

[1]: ce8ec8bff5

Change-Id: I2ab532a4e8a120ed0c5495926dcce0a4b56d1f64
2022-04-12 18:11:16 +02:00
TheStrix
fd3b078743 sm8350-common: gps: Disable xtwifi location services
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Fri Jan 15 22:14:25 2021 +0200

    sm8350-common: Remove unused gps certificates

    * They are used by xtwifi-inet-agent which we disabled.

    Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8

Author: Arian <arian.kulmer@web.de>
Date:   Thu Apr 1 01:09:38 2021 +0200

    sm8350-common: Remove xtwfi-client and xtwifi-inet-agent

    Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2022-04-02 00:06:02 +02:00
Arian
8cf9c727e7 sm8350-common: Build GPS HAL from source and import proprietary configs
Configs from odin V12.5.12.0.RKMCNXM
slim_daemon is disabled in izat.conf, hence drop it.

Change-Id: Ia1ed33f6250b898d149970389befe8033cc8eaf3
2022-04-02 00:05:33 +02:00
Pig
57738613fb sm8350-common: fingerprint: Add xiaomi fingerprintextension support
Co-authored-by: C457 <android.c357@gmail.com>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: Ie9deb0dfcc689034cd3c4b9095e319130ba8d8cd
2022-04-02 00:02:26 +02:00
Arian
19d012f5e5 sm8350-common: Rename and build fingerprint service
Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
2022-04-02 00:02:15 +02:00
Arian
cfe2ce333c sm8350-common: Decommonize NFC configs
Change-Id: I49d0bb5fc61d40eec3d218f5cebabea0217fc621
2022-04-02 00:00:58 +02:00
Arian
29e5b0c186 sm8350-common: Import qti_whitelist
Change-Id: Ic7dc5fecf3d2fc041acdb3c3472f519f3ad573da
2022-04-01 23:43:34 +02:00
Arian
481d55d8a3 sm8350-common: Add telephony system-ext privapp permissions
Change-Id: Iaaab0ff52cd22b3095b56501189d55a68cfdc32b
2022-04-01 23:43:09 +02:00
ItsVixano
da2b8fb66e sm8350-common: media: Import yupik configs
* From odin V12.5.12.0.RKMCNXM

Change-Id: I4282da5b3555e648e1544c91bc4e1f6b6fb284dc
2022-04-01 17:52:48 +02:00
Arian
1f07b44542 sm8350-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
2022-04-01 17:51:57 +02:00
Arian
e315cf2178 sm8350-common: Import qti media init script from odin V12.5.12.0.RKMCNXM
Change-Id: Iab9a821bb7135b76205ce1a28ddc950ce852a42b
2022-04-01 17:51:57 +02:00
Arian
668fcdbe28 sm8350-common: Import shima_v1 media profiles from odin V12.5.12.0.RKMCNXM
Change-Id: I3a47a0cff5ab167e9295b76e3be839e092e9acd0
2022-04-01 17:51:57 +02:00
Arian
b7de517a22 sm8350-common: Add target specific lahaina media profiles
The lahaina media profile is the default profile too, so
copy it to media_profiles_vendor.xml too.

Change-Id: I8ffe04ca1b294f3e5404ef833ce770d970bf1c0e
2022-04-01 17:51:57 +02:00
Arian
9cd39bbe40 sm8350-common: Drop unused google video media codecs
Change-Id: Ia77ac73b89494a00a88038239f7023c1041894e4
2022-04-01 17:51:57 +02:00
Arian
b0ecaf4dca sm8350-common: media: Import shima_v1 media codecs configs from odin V12.5.12.0.RKMCNXM
Change-Id: I6631222c1522a5e6845b6efc12ed0b5bef2ef341
2022-04-01 17:51:53 +02:00
Arian
bbe0bcac9e sm8350-common: Always use lahaina vendor media configs
AOSP loads media_codecs_lahaina by default and CAF will
fallback to media_codecs_lahaina if the lahaina_vendor
variant does not exist.
The vendor variant works on AOSP too, so no need to
duplicate this.

Change-Id: I6583c900c22bf277075393ddf49d95a687a6771a
2022-04-01 17:51:33 +02:00
Arian
ee68b68e58 sm8350-common: Move lahaina media codecs configs to subdir
This is a preparation to add more media codecs variants.

Change-Id: I6a7a3e3ff8e23db7393fc6d99822a0238d81ff53
2022-04-01 17:51:33 +02:00
Giovanni Ricca
64b4d24a57 sm8350-common: Copy audio configs to sku_yupik
Change-Id: Ic60f6c60d83a5fed6b563624524218effd325ef7
2022-04-01 17:51:33 +02:00
Arian
61ee6d4f68 sm8350-common: Copy audio configs to sku_shima too
These scripts are common between lahaina and shima.

Change-Id: Ied6252408afd5186019cf5bec0705e89d0f6f034
2022-04-01 17:51:33 +02:00
Erfan Abdi
fdc931f14c sm8350-common: Build audioadsprpcd
Change-Id: Ib7a323c7d29ae768ced71f9f43395422e1204021
2022-04-01 17:50:45 +02:00
Arian
76ba94d989 sm8350-common: Build qti camera postproc interface to vendor
Change-Id: I7c90727e85455323c8f9fb2229fe414ba74379e1
2022-04-01 17:50:45 +02:00
Arian
420ef3f638 sm8350-common: Build ant interface to vendor
Change-Id: I8fd532b91be5a008383e35a87cc423cc6e33625e
2022-04-01 17:50:45 +02:00
Arian
d6dae53636 sm8350-common: Build 2.2 qti perf interface to vendor
Change-Id: If7f36b34c1422dd36b3aa8a43ea1189711042d1e
2022-04-01 17:50:45 +02:00
Santhosh Behara
d15e57ef72 sm8350-common: media: Add and publish Codec2 HAL service
* Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/

Change-Id: I56da6b774cf0f9b9e628886d7bfe22f5ccae4258
2022-04-01 17:50:45 +02:00
Michael Bestas
acdabcae2f sm8350-common: Remove android.hidl.base@1.0 shims
* Patch the 2 remaining blobs that depend on it.
* They already need libhidltransport.so so there's
  no real need for the shims anymore.

Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301
2022-04-01 17:50:45 +02:00
Michael Bestas
74a4a720ff sm8350-common: Remove dummy android.hidl.manager@1.0 libs
* Not used by anything

Change-Id: I08cf70c9b880fd098136f7107d340b610bb9ee49
2022-04-01 17:50:45 +02:00
Arian
cd4076bc43 sm8350-common: Drop servicetracker HAL
Change-Id: I8f33b58244fc9245b5325ce1183bd984be07dc45
2022-04-01 17:48:40 +02:00
Arian
c1d6035be7 sm8350-common: Update blobs from odin
Change-Id: I25f4bc77b6b9e2b965331e8778e85b60997f794f
2022-04-01 17:43:54 +02:00
Erfan Abdi
fd257261c8 sm8350-common: Move sensor hals config to vendor repository 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
Erfan Abdi
4211f1d2d7 sm8350-common: Drop TetheringConfig rro 2022-04-01 17:36:54 +02:00
Chirayu Desai
71eb336e1b sm8350-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-04-01 17:24:10 +02:00
Vaibhav Agrawal
8cd50b7bf2 sm8350-common: shima: Support ufs and emmc variant fstab files
Two fstabs are needed to support different data unit number (dun)
size for ufs and emmc hardwares. This needs different encryption
flag in fstab to address the difference in dun size.

[ArianK16a: don't add the emmc fstab since all our devices are ufs]

Test: Verified bootup, vts_kernel_encryption, fscryptctl.

Change-Id: Iff03422d39c789c544bdd86faef070ae46eb4e0e
2022-04-01 17:24:10 +02:00
Erfan Abdi
0098ec7279 sm8350-common: Disable debugging full super build 2022-04-01 17:12:22 +02:00
Erfan Abdi
6f918f5cd0 sm8350-common: Enable wifi display 2022-04-01 17:09:02 +02:00
Erfan Abdi
64e18b2b38 sm8350-common: Enable livedisplay
Change-Id: I7f9d84ed5889f79bbc11378fbb3262e8feab687e
2022-04-01 17:09:02 +02:00
Arian
c06ff1eba0 sm8350-common: Don't build disabled audio feature libs
They are disabled by the vendor audio properties

Change-Id: I7942503e61326dab4b8bd28b33b0d2b269d62858
2022-04-01 17:09:02 +02:00
Roman Kiryanov
790cbbe67f sm8350-common: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2022-04-01 17:09:02 +02:00
Arian
985f799a6d sm8350-common: Cleanup audio packages
Sort everything and drop prebuilt and unused packages

Change-Id: I7c119310e29ec8d9bfc207752ae6aea29809ac69
2022-04-01 17:09:02 +02:00
Arian
84979d4180 sm8350-common: Drop unused libgui_vendor
Change-Id: I416499ed7095c55da8cac5dce446c21b434105db
2022-04-01 17:09:02 +02:00
Arian
cb3e685ffa sm8350-common: Drop android.software.verified_boot.xml from product
Change-Id: I550cd95831a8050bb5e644b5734b344c5a029be6
2022-04-01 17:09:02 +02:00
Arian
0625d4f18a Revert "sm6250-common: copy libhidlcache from vndk 29"
This reverts commit 9abdfa8c4b.

Change-Id: Idaf145ab0dffe3db00cf7c91926843c664f5f2cc
2022-04-01 17:09:02 +02:00
Arian
4ab7d2a026 sm8350-common: Drop system variants of libhidltransport and libhwbinder
Change-Id: I442b25294eddf7af080f6b380101932daf60444c
2022-04-01 17:09:02 +02:00
Arian
87bb5432db Revert "sm8350-common: build libdrm for qvrservice"
This reverts commit 47377b4bb9.

Change-Id: I9e17d788ab9105eddbd3af35615bbc1e153f1022
2022-04-01 17:09:02 +02:00
Arian
3976e723b5 sm8350-common: Drop unnecessary keylayout
Change-Id: Ic6b994fb85897853fc980e33b8d229ce7b42f75d
2022-04-01 17:09:02 +02:00
Arian
449ada419b sm8350-common: Drop no longer existing omx video components
They have been removed with 31c505a97d

Change-Id: I41f17542819b1e541d8b99a2c7d65ff5093d586a
2022-04-01 17:09:02 +02:00
Arian
d40436782a sm8350-common: Drop no longer existing GSMA NFC service
Change-Id: I40d2520eb588f0108b664c7ef817d251ded617c5
2022-04-01 17:09:02 +02:00
Pig
d11e95e4f0 sm8350-common: Drop no longer existing BluetoothQti
Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2022-04-01 17:09:02 +02:00
Michael Bestas
5abe69250b sm8350-common: Don't build textclassifier
* Target no longer exists

Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2022-04-01 17:09:02 +02:00
Erfan Abdi
794251ea3f sm8350-common: Drop unused servicetracker products 2022-04-01 17:09:02 +02:00
Erfan Abdi
a817bae6f6 sm8350-common: Drop unused aosp RCS packages 2022-04-01 17:09:02 +02:00
Arian
ace5f39a56 Revert "sm6250-common: include AVB public keys"
These are already built by including gsi_keys.mk

This reverts commit 884bcf7c15.

Change-Id: I63cc4499f20a9cb68f7ae43575bdd2d9f7f437a4
2022-04-01 17:09:02 +02:00
Erfan Abdi
c77ac6517f sm8350-common: Add comments on inherited products 2022-04-01 17:09:02 +02:00
Erfan Abdi
d65695502b sm8350-common: Decommonize some audio configs 2022-04-01 17:09:02 +02:00
Arian
f20abccbaf sm8350-common: Decommonize powershare package
Change-Id: I4ad25058b73760f7ef6247acf9ef4725344e058c
2022-04-01 17:09:02 +02:00
Erfan Abdi
6d1aa31814 sm8350-common: Decommonize fod package 2022-04-01 17:09:02 +02:00
Cosmin Tanislav
788e6f1a27 sm8350-common: remove extra spaces 2022-03-02 18:03:43 +01:00
Cosmin Tanislav
a745051014 sm8350-common: use TARGET_COPY_OUT_SYSTEM 2022-03-02 18:03:43 +01:00
Cosmin Tanislav
40c501c008 sm8350-common: remove duplicate build of libqti_vndfwk_detect.vendor 2022-03-02 18:03:43 +01:00
Cosmin Tanislav
9fae36b451 sm8350-common: do not build gralloc.default already built by base_vendor.mk 2022-03-02 18:03:43 +01:00
Cosmin Tanislav
0efa46b515 sm8350-common: copy more google media configs to vendor 2022-02-28 11:41:27 +01:00
Cosmin Tanislav
5e0bd7f242 sm8350-common: build qti thermal@2.0 service
Change-Id: I6caadd8eb39e4501c9fd2df866e5d3acd3ac6233
2022-02-28 11:40:18 +01:00
shoudil
f1e6a25fd5 sm8350-common: Build framework detect modules
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify the vendor variant in PRODUCT_PACKAGES.

CRs-Fixed: 2372775

Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2022-02-28 11:39:58 +01:00
VortexHD
66bd8b7440 sm8350-common: Correctly remove FM Radio 2021-11-26 02:20:18 +02:00
Cosmin Tanislav
57a415f197 sm8350-common: build powershare hal 2021-09-30 23:37:26 +03:00
Cosmin Tanislav
0711ff7c31 sm8350-common: build custom sensors multihal 2021-09-21 02:21:57 +03:00
Cosmin Tanislav
30ddf5a818 sm8350-common: rootdir: cleanup 2021-09-20 20:41:20 +03:00
Cosmin Tanislav
c0091a3c9c sm8350-common: import hals.conf 2021-09-20 20:41:20 +03:00
Cosmin Tanislav
fdc878085d sm8350-common: rootdir: update 2021-09-18 03:11:01 +03:00
Cosmin Tanislav
9ae9bdc57e sm8350-common: build qti power hal 2021-09-17 19:59:22 +03:00
Cosmin Tanislav
620edf3647 sm8350-common: remove power hal 2021-09-17 17:12:35 +03:00
Cosmin Tanislav
b66f137c63 sm8350-common: build inscreen fingerprint hal 2021-09-10 03:10:40 +03:00
Cosmin Tanislav
9593827009 sm8350-common: build open source display hal libs 2021-09-09 20:34:43 +03:00
Cosmin Tanislav
ec8056096b sm8350-common: remove light hal
Display brightness is handled through composer,
and we don't have any other light emitting hardware.
2021-09-07 14:43:30 +03:00
Cosmin Tanislav
2ae0bc225b sm8350-common: remove unused keylayout and idc files 2021-09-07 14:21:18 +03:00
Cosmin Tanislav
ab5c0493a4 sm8350-common: inherit 6GB RAM makefile 2021-09-07 01:36:47 +03:00
Cosmin Tanislav
3c1a37828c sm8350-common: audio: use mi audio policy configuration
Xiaomi overrides the default audio policy configuration from
vendor/etc/audio/sku_lahaina inside of AudioPolicyManager,
and uses vendor/etc/audio_policy_configuration_mi.xml.

Use the proper configuration, but keep copying it into the old
location, since our AudioPolicyManager only knows how to load
it from there.
2021-09-07 00:23:16 +03:00
Cosmin Tanislav
9c053286f1 sm8350-common: build qti usb service 2021-09-06 08:50:22 +03:00
Cosmin Tanislav
40a255c9d0 Revert "DNM: sm8350-common: do not build usb service"
This reverts commit a3ce4ebc7d.
2021-09-06 08:49:49 +03:00
Cosmin Tanislav
e8980a3c40 sm8350-common: copy excluded input devices list 2021-09-05 15:32:24 +03:00
Cosmin Tanislav
f61d3c2446 sm8350-common: build custom qti vibrator hal 2021-09-05 15:32:24 +03:00
Cosmin Tanislav
c693affc4b sm8350-common: build packages needed for secure element service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
18526bf62d sm8350-common: build nfc from source 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
47377b4bb9 sm8350-common: build libdrm for qvrservice 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
a42ce87d3e sm8350-common: build 32bit libavservices_minijail for qvrservice 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
6b27fff825 sm8350-common: build android.hardware.thermal for qspmsvc 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
a3ce4ebc7d DNM: sm8350-common: do not build usb service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
0f26eca038 sm8350-common: remove fingerprint service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
d5c43a80a8 DNM: sm8350-common: do not build wfdcommon 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
06b1cc29cc DNM: sm8350-common: do not build display mapper 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
2349907c2c DNM: sm8350-common: do not build display allocator 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
842d1c93a8 DNM: sm8350-common: do not build livedisplay service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
895eb79e11 DNM: sm8350-common: do not build power service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
00de2ee48f DNM: sm8350-common: do not build light service 2021-09-05 01:15:14 +03:00