Commit Graph

1152 Commits

Author SHA1 Message Date
Giovanni Ricca
ca24a1db5c sm8350-common: sepolicy: Nuke duplicate wakeup nodes
Change-Id: I3fc529731fc592ffbb5051c8b1769342a5b2b132
2022-09-26 17:12:40 +02:00
Arian
98afa0b8da sm8350-common: vibrator: Update effect names
Change-Id: Icff77bcb42fafc688eb1c1e2397b5353f77de511
2022-09-26 17:12:40 +02:00
Alexander Koskovich
8bd2080cc3 sm8350-common: Switch to /vendor_dlkm for kernel modules
* This lets us flash /vendor regardless of the kernel situation.

Change-Id: Ie1c18354b26006e416d06474f5844ceef3cfbaf3
2022-09-26 17:12:40 +02:00
Alexander Koskovich
7689e18385 sm8350-common: Update to Boot Control HAL v1.2
Change-Id: I26da6b732fdce8c69c4390effe3d7b727d71adac
2022-09-26 17:12:40 +02:00
Siddeswar Aluganti
8e17df623a sm8350-common: gpt-utils: Update PTN_SWAP_LIST and handle multiimg(oem/qti),
* Update PTN_SWAP_LIST to reflect partition entry changes
   to BOOT LUN and handle "multiimgoem", "multiimgqti"
   partitions, similar to other BOOT LUN partitions.

Change-Id: I3fb2934c44f3c2555ef36437ae97c9a47bb874ed
2022-09-26 17:12:40 +02:00
Benergy Meenan Ravuri
fa34ced5a5 sm8350-common: gpt-utils: Do fsync after writing partition entries
Do fsync after writing partition entries to ensure data
is actually written before rebooting device.

Change-Id: I09659cab247fe280dc608e30a88d912034cbc01a
2022-09-26 17:12:40 +02:00
Arian
91901deedc sm8350-common: gpt-utils: Add product to ab partition list
Change-Id: I1424f65ff02a325130115d0b7f40be8a964ec2aa
2022-09-26 17:12:40 +02:00
Arian
4a39060209 sm8350-common: gpt-utils: Drop unused sparse_crc32
Change-Id: I020ddf0b518e9219681be8764f2e0818e3fe74eb
2022-09-26 17:12:40 +02:00
Michael Bestas
bd03a069f6 sm8350-common: bootctrl: Remove bootctrl.xiaomi_sm8350 target
* This is no longer used after switching to QTI 1.1 impl.

Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
2022-09-26 17:12:40 +02:00
LuK1337
c04036a792 sm8350-common: Set max_retry_alloc_output_timeout to 0
Seems like original value makes some videos stop playing after a while?

Change-Id: Ic427e50475121e1a1d785b39a5fe807e6a09459e
2022-09-26 17:12:40 +02:00
Michael Bestas
4246a7adf3 sm8350-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-09-26 17:12:40 +02:00
Giovanni Ricca
3c565193f5 sm8350-common: gps: Revert oem changes
Change-Id: Ia13ce8d80233a493aa90723a1e974871ddce641b
2022-09-26 17:12:40 +02:00
Giovanni Ricca
467b1af609 sm8350-common: gps: Update to LA.UM.9.14.r1-19200.02-LAHAINA.QSSI13.0
Change-Id: I467ece57b82127382f11e48d0dd80e362df0d1c9
2022-09-26 17:12:40 +02:00
Giovanni Ricca
3648477f6e sm8350-common: Update WCNSS_qcom_cfg.ini from haydn V13.0.3.0.SKKMIXM
Change-Id: Ib8f20a16b14559b62835e07efa86076c54c5d369
2022-09-26 17:12:40 +02:00
Arian
88651f7e82 sm8350-common: wifi: Drop MIUI EDCA parameters
This is only present in the configs of china MIUI

Change-Id: Iaab8572d4ed56d02439ca6ae2d51ade6bbdfb7ee
2022-09-26 17:12:40 +02:00
Giovanni Ricca
3bffdc7265 sm8350-common: rootdir: Update init.qti.kernel.rc from haydn V13.0.3.0.SKKMIXM
* Keep previous commits applied

Change-Id: I8b7efe10b25dcd673c770bcf7ae92435065c05ac
2022-09-26 17:12:40 +02:00
Arian
e5b53b9af8 sm8350-common: rootdir: Update kernel post boot scripts from haydn V13.0.3.0.SKKMIXM
Change-Id: Id283d33472e4af8c3397728174908660e3762cd0
2022-09-26 17:12:37 +02:00
ItsVixano
9da36d6713 sm8350-common: media: Update from haydn V13.0.3.0.SKKMIXM
Change-Id: Ie4b62e86f835d96a33492d68aef55cf38f855832
2022-09-26 17:12:16 +02:00
Giovanni Ricca
9ff3970ef0 sm8350-common: Update blobs to haydn V13.0.3.0.SKKMIXM
Change-Id: Id056ba050d88849d5bdd56b0e40d0f1f4b67b6c2
2022-09-26 17:11:57 +02:00
Bruno Martins
fdc534bb54 sm8350-common: udfps: Update handler with newly introduced methods
Just stubs, at least for now.

Change-Id: Iff5604b35368ad5f417265df4e2eaf5a09ff7d74
2022-09-25 20:04:30 +02:00
Arian
1799fe9571 sm8350-common: Add udfps handler lib
Change-Id: Ib837e4a70015dc24d431458a1cce5b86e87816a9
2022-09-25 20:04:30 +02:00
Bruno Martins
16a45dcda2 sm6150-common: Move to common fingerprint HIDL
Change-Id: I7cb0a45c865d9dbfd800b1d633f8d5ae613bb1b9
2022-09-25 20:04:30 +02:00
Arian
d56b211120 sm8350-common: Drop lineage fod HAL
Change-Id: I490df0a5781a310db8d079a40a7bda5fbe7ca3e5
2022-09-25 20:04:30 +02:00
Giovanni Ricca
695e14a46a sm8350-common: Move to common Xiaomi powershare HIDL
Change-Id: I497e2dc4bbbb877fcd8a4817d2b126c35d162a1c
2022-09-25 20:04:30 +02:00
Giovanni Ricca
386e653a19 sm8350-common: Build common iFAA service
Change-Id: Ib777523cbb3cbc29086c8f6ef3cc0c31d49b9405
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
0a02546854 sm8350-common: Build mtdservice interface lib from source
Change-Id: Ie739f283c4be1b77d57aaee1941ed46957da1d1a
2022-09-25 20:04:30 +02:00
Bruno Martins
bcde8e921d sm8350-common: Switch to source-built mlipay interface
Change-Id: I7daaaffd9fe7a870e42c1d882b52dc93b3231120
2022-09-25 20:04:30 +02:00
Alexander Koskovich
b98097ff80 sm8350-common: Move DTC_EXT definition to vendor/lineage
Change-Id: I452ec4dabfd6abf052f020fe48527403df873f5f
2022-09-25 20:04:30 +02:00
Alexander Koskovich
5b6287a401 sm8350-common: Move LLVM=1 and LLVM_IAS=1 to BoardConfigKernel
Change-Id: I994ed59207aaad159d8f5363be21a0a1357374e6
2022-09-25 20:04:30 +02:00
Bruno Martins
3755bd9d07 Revert "sm6250-common: overlay-lineage: set config_haveNotch overlay to true"
This reverts commit 244efb5d7d.

The config has been removed since the centered display cutout
is now programatically detected.

Change-Id: Idcb96fe444c555a4110f7ed94e7774b413e35c33
2022-09-25 20:04:30 +02:00
Alexander Koskovich
3be792864d sm8350-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
2c89c465c5 sm8350-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-09-25 20:04:30 +02:00
Alexander Koskovich
5dc6b6d6b4 sm8350-common: Drop support for Snapdragon Camera
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-09-25 20:04:30 +02:00
Georg Veichtlbauer
0ec2d73850 sm8350-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-09-25 20:04:30 +02:00
Alexander Koskovich
805339b928 sm8350-common: Move ueventd.qcom.rc to /vendor/etc.
* This is the preferred location as of Android 12.

Change-Id: I8c7d2230281b6d8da802bf10f88461289849acaf
2022-09-25 20:04:30 +02:00
althafvly
5d7ee38e2b sm8350-common: Inherit launch_with_vendor_ramdisk for vAB
- sm8350 devices have a vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2022-09-25 20:04:30 +02:00
Alexander Koskovich
ec81b275ae sm8350-common: vAB: Move GSI AVB keys to /vendor_boot
Change-Id: I59cac1103239dbd885986a98b2edd70ce1391e8a
2022-09-25 20:04:30 +02:00
Alexander Koskovich
da9b02c08a sm8350-common: vAB: Move recovery resources to /vendor_boot
* https://source.android.com/devices/bootloader/partitions/vendor-boot-partitions

Change-Id: I6ffae14aef4597c7f8c787bfaeece69db0e38394
2022-09-25 20:04:30 +02:00
LuK1337
6df2c52511 sm8350-common: Build needed HIDL libs into vendor
Change-Id: I1db79176ac103cb7fc8db0fa4b4cfc699e38ad49
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
8bf715623d sm8350-common: Move to AOSP NXP NFC HAL
* NXP added snxxx support in AOSP

Change-Id: Id1b9cdbe1f29d1ff61af8182ae2f8370e5210426
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-09-25 20:04:30 +02:00
Albert Wang
d4649ad077 sm8350-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-09-25 20:04:30 +02:00
Edwin Wong
4bf01b2c30 sm8350-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
2022-09-25 20:04:30 +02:00
Michael Wright
39c4d971b6 sm8350-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-09-25 20:04:30 +02:00
Santiago Seifert
57fc3989ac sm8350-common: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-09-25 20:04:30 +02:00
Nicolas Geoffray
efaa21f60b sm8350-common: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2022-09-25 20:04:30 +02:00
Kevin Jeon
f58718e51d sm8350-common: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2022-09-25 20:04:30 +02:00
linjoey
f4fba783ff sm8350-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-09-25 20:04:30 +02:00
Alastair Donaldson
e675ce1d5e sm8350-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-09-25 20:04:30 +02:00
Arvind Kumar
c7bd24887a sm8350-common: Set manufacturer soc property
Set soc manufacturer property, model is set from QCV init scripts.

Change-Id: Ieee34b7bfab87b241abc5ed3318b46a5c6f93456
2022-09-25 20:04:30 +02:00
Inseob Kim
60afa5a8fb sm8350-common: sepolicy: Attach vendor_property_type to properties
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.

Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: Ibed833cd9e5d786e82985ded6bc62abdf8cd9ded
2022-09-25 20:04:30 +02:00