Commit graph

809 commits

Author SHA1 Message Date
Albert Tang
8529aecc4f dre: Regenerate proprietary blobs list
Change-Id: Ice6b889a0034f68b69780346a7bb9a3de9602c13
2022-06-01 22:15:56 -05:00
Albert Tang
620d3be334 dre: Initial device tree conversion and decommonization
Added properties taken from lemonade and modified for dre.

Change-Id: Ibac1a345547184d7dc6e231ce9b867c457d6b576
2022-06-01 22:09:03 -05:00
Alexander Koskovich
369c86860e 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-04-14 08:45:09 -07:00
Alexander Koskovich
1c3cd134a6 sm8350-common: Drop some unused properties
Change-Id: Ice71640f911be4146720d2df6fd2d29a9eb48021
2022-04-13 18:13:43 +01:00
Alexander Koskovich
708e31edf4 sm8350-common: Remove unused WCNSS configurations
Change-Id: Ifa24c7d37813b132a3ea065209bb87dcada39b29
2022-04-13 15:13:04 +01:00
Bruno Martins
99d14dac99 sm8350-common: Drop QTI WiFi interfaces
Change-Id: I91f4042868bbcd18cc16862821f7dc831cb1ca65
2022-04-12 05:07:23 -07:00
Alexander Koskovich
1341072665 sm8350-common: Sort kernel cmdline and additional flags as a list
* This allows better readability and eases tracking further changes.

Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
2022-04-12 05:07:23 -07:00
LuK1337
d2345031e0 Revert "sdm845-common: Make Android.mk search recursive"
No longer needed.

This reverts commit b56fd4bc01.

Change-Id: Iae9c4257a98dd4ba47ef9992b1dec133ccc56764
2022-04-08 09:02:06 -07:00
Bruno Martins
66272c0013 sm8350-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2022-04-06 09:37:18 +01:00
dianlujitao
c023ddb6ed sm8350-common: Disable BT A2DP AAC whitelist
Change-Id: Ie971c6f33f5cf125a43394e1abd406ac93701712
2022-04-05 16:04:38 +02:00
LuK1337
c5ef1cac3b sm8350-common: Autopatch vendor.qti.hardware.camera.postproc impl
Change-Id: If9b730f83853a169066291c6787dd81d5609ac5e
2022-03-29 17:11:26 -05:00
LuK1337
ef4792c2db sm8350-common: Replace Android.mk modules copy with BOOT_KERNEL_MODULES
Hacky copy rules were prone to fail because of some kind of race
condition.

Change-Id: I30d50a9dd87de9d57a583968f9936b84ac16cfca
2022-03-25 21:11:45 +01:00
LuK1337
4e0ca25a66
sm8350-common: Remove trust HAL from product packages
USB 1.3 HAL now provides the same functionality and even more.

Change-Id: Idda908a90d3b935e1065eb41abec4babeefc4fd0
2022-03-23 20:30:50 +02:00
Albert Wang
16852c05b5
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-03-23 20:30:47 +02:00
Michael Bestas
c898e611b8 sm8350-common: sepolicy: Migrate to vendor_ prefixed contexts
Change-Id: Id2785839653b275e1b51e5ff10e4e96b3fd18a46
2022-03-16 23:53:13 +01:00
Michael Bestas
9dab1c8c6d sm8350-common: Adjust partition reserved sizes to fit S gapps
* Increase system_ext space so full MTG zip can be flashed.
* Decrease system size since we ran out of available space in super.
  Set system size 90MB lower than maximum available space to avoid
  near future breakage when our builds potentially grow in size.

Change-Id: I3a8b89b446d2d0183797cbcea6bd0b106119c4a9
2022-03-16 00:14:01 +01:00
Alexander Koskovich
3461fd1735 sm8350-common: Drop support for Snapdragon Camera.
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-03-15 21:37:00 +01:00
Georg Veichtlbauer
897a109784 sm8350-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-03-12 14:47:49 +01:00
Kilian von Pflugk
87f30bfe9c sm8350-common: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: Ieab43c6baf17eff134a11312d8f8ee7d1b310d55
2022-03-12 09:51:32 +01:00
Bruno Martins
9ed348bd0b sm8350-common: overlay: Enable smooth display with 120Hz
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-02-27 19:38:18 +01:00
LuK1337
07185ba6c0 Revert "sm8350-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT"
Wasn't necessary.

This reverts commit 357da80ad6.

Change-Id: I3ef84929299152b8f40ad4b8c45ee5099fca9fc5
2022-02-25 09:22:45 +01:00
Bruno Martins
9b930e1eea sm8350-common: Migrate to fingerprint HIDL v2.3
Change-Id: Ibf065cfb9b6b8210713ab6dba8302937f56cf4c1
2022-02-23 20:34:27 +01:00
Michael Bestas
357da80ad6 sm8350-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT
* Uses too much of the reserved space so gapps no longer fit.

Change-Id: I0419cc1cef820ecac6b148cded9ecf296bfcb348
2022-02-22 09:50:01 +01:00
Alexander Koskovich
06c1f8a770 sm8350-common: overlay-lineage: Remove obsolete fps location config
Change-Id: I2569c77b4daa84263903f710d421d05d0a491d08
2022-02-21 20:59:03 +00:00
Alexander Koskovich
785885bbf5 sm8350-common: Switch to /vendor_dlkm for kernel modules.
* This lets us flash /vendor regardless of the kernel situation.

Change-Id: Ie1c18354b26006e416d06474f5844ceef3cfbaf3
2022-02-21 20:59:03 +00:00
LuK1337
a8d1f60b94 sm8350-common: Update INTERNAL_VENDOR_RAMDISK_TARGET target path
Change-Id: I128b4c662610018309dbea9320ae0a85ad057e67
2022-02-21 20:59:03 +00:00
Sebastiano Barezzi
7140bbf985 sm8350-common: Pin modified vendor.qti.hardware.camera.postproc@1.0-service-impl.so
The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.

Command used:
$ SigScan -p "8C 0A 00 94" -P "1F 20 03 D5" -f vendor.qti.hardware.camera.postproc@1.0-service-impl.so

Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
2022-02-21 20:59:03 +00:00
LuK1337
14438cff60 sm8350-common: Switch to AOSP NfcNci
Change-Id: I3403084373445475ee1d997c47cfaa887bcfeb4a
2022-02-21 20:59:03 +00:00
LuK1337
7bb44400a8 sm8350-common: Map our display modes out using AOSP overlays
Change-Id: I1124033f4c7dd5362514656bcab1da80f89f4080
2022-02-21 20:59:03 +00:00
Bruno Martins
942a1ab614 sm8350-common: Build Goodix fingerprint HIDL interface from source
Change-Id: I1a3ae9a726c29d813d8ea5a8ef8f68adf988d4ef
2022-02-21 20:59:03 +00:00
LuK1337
f6b6525622 sm8350-common: Build needed HIDL libs into vendor
Change-Id: I1db79176ac103cb7fc8db0fa4b4cfc699e38ad49
2022-02-21 20:59:00 +00:00
linjoey
b090eb9f3d sm8350-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-02-21 20:54:40 +00:00
Alastair Donaldson
eab7b66e3b 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-02-21 20:54:40 +00:00
Wilson Sung
04d89ff9cd sm8350-common: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I9be67a1a78ab1d3b4a0e717fb3381458eb4996da
2022-02-21 20:54:40 +00:00
Edwin Wong
c7babf502d 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-02-21 20:54:40 +00:00
Nicolas Geoffray
44dba5987e 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-02-21 20:54:40 +00:00
Kevin Jeon
d2f0a41b76 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-02-21 20:54:40 +00:00
LuK1337
326f8c5677 sm8350-common: sepolicy: Address neverallows
Change-Id: I276ce4e598b6adb2bfb3a97288981c50c9ea7bc3
2022-02-21 20:54:40 +00:00
Bruno Martins
ae738a1539 sm8350-common: sepolicy: exported2_default_prop is no more
Change-Id: Ide8ae4c6caa5d5faf001b702a84c44328c858efc
2022-02-21 20:54:40 +00:00
Inseob Kim
508707f966 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.

Change-Id: Iedbbcc5086c09f549e91e73ece7311563c378347
2022-02-21 20:54:40 +00:00
SamarV-121
47685fc822 Revert "sm8250-common: sepolicy: Label ro.gfx.driver.1"
* https://android-review.googlesource.com/c/platform/system/sepolicy/+/1344643

This reverts commit 75c37b543c.

Change-Id: I8cf513c21b91260ef914ea1621a7363c133d37d3
2022-02-21 20:54:40 +00:00
Bruno Martins
c1158dc30d sm8350-common: sepolicy: Remove duplicate prefix
Change-Id: I2787ecd91e74f42885c7a10729e68e3f741dfb52
2022-02-21 20:54:40 +00:00
Roger Ellis
96bc440071 sm8350-common: Allow ELF prebuilts in PRODUCT_COPY_FILES.
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
   May 11th. See b/156534160 for long-term fix which should
   override this change.

Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
2022-01-24 14:18:28 +00:00
Tri Vo
198d02a889 sm8350-common: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy.
We are restoring the old behavior of BOARD_PLAT_*_SEPOLICY_DIR that
extends system sepolicy. To that end, we use another make variable to
specify product sepolicy.

Bug: 119305624
Test: m selinux_policy
Change-Id: I67636b7aaff2bd5ae5309981f9fa2f8ce51edf6f
2022-01-14 16:00:21 +00:00
Bruno Martins
dc568fa506 sm8350-common: overlay-lineage: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2021-12-31 15:19:40 +01:00
Bruno Martins
93df8b59fa sm8350-common: Update blobs from OOS 11.2.10.10.LE15BA
Change-Id: I4c445941b991e5f8ebea7d1ea2ff95a3292ce6c3
2021-11-25 15:44:36 +00:00
LuK1337
86105c0544 sm8350-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:36 +02:00
LuK1337
0885f34c01 sm8350-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.

Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2021-10-20 21:34:42 +02:00
LuK1337
34972ef817 sm8350-common: Switch to hardware/oneplus components
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-22 11:43:30 +02:00
Bruno Martins
df5fdce826 sm8350-common: Update blobs from OOS 11.2.9.9.LE15BA
Change-Id: I57292b93add213a85f3c02dc80708b3a52edf8ee
2021-09-20 18:32:39 +01:00