Commit graph

924 commits

Author SHA1 Message Date
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
Bowgo Tsai
75b2b721cc sm8350-common: Including product partition into vbmeta_system.img
vbmeta_system.img should include HASHTREE descriptors for system.img,
system_ext.img and product.img, which will be updated in a system-only
OTA manner.

Bug: 170180068
Test: Tree Hugger
Change-Id: Iaf81dc11313826d146adb31d4edfbbd5310c48f6
2021-09-03 14:49:53 +02:00
LuK1337
5737b9b037 sm8350-common: RIP remove_packages
No longer necessary since now we can just pass `OVERRIDES` to extract
utils and it'll handle it automatically for us :^)

Change-Id: I19c97f5daa72d809dae2442fcb2b8b81a702aaf2
2021-08-23 18:51:48 +02:00
Alessandro Astone
3da2d4fbc4 sm8350-common: Pass LLVM=1 for kernel instead of specifying only LD.
Change-Id: If2a4dcafb6602610a23fca9d067a484ab2e3b05b
2021-08-23 16:39:15 +02:00
LuK1337
93ac0da33e sm8350-common: Include device FCM from vendor/lineage
Sadly we aren't able to include it globally without breaking other
devices ;((((

Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-08-02 22:54:35 +02:00
LuK1337
33ea7f26e0 sm8350-common: Remove all lineage HALs from FCM
No longer needed since we added device framework matrix in
vendor/lineage, see 78870c2.

Change-Id: I00233e7588dcfcd4bb66c42c52edb34cdff4376e
2021-08-02 15:57:03 +02:00
AnierinB
f9e55f119a sm8350-common: FCM: Remove leftover IDisplayModes entry
- Follow up to commit Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697

Signed-off-by: AnierinB <anierin@evolution-x.org>
Change-Id: Ibcdb72b219c809b38d168fdcfeb1709bad2dbb14
2021-07-29 02:48:26 +00:00
Bruno Martins
1b593c37c8 sm8350-common: Update ODM features list from OSS 11.2.8.8.LE15BA
Change-Id: I77e406f109815aec52ff6c9fd931dd1e17746452
2021-07-21 13:59:26 +01:00
Bruno Martins
43c1a8c24f sm8350-common: Update blobs from OOS 11.2.8.8.LE15BA
Change-Id: I7a773dbab1bfe8cd993380fb88a0b5160066de6d
2021-07-21 13:40:44 +01:00
Omkar Chandorkar
037a835c40 sm8350-common: Use prebuilt vendor libdisplayconfig.qti.so
There are several VMTs inside that library that are prone to change
on CAF merges.

So far, last LA.QSSI.11.0.r1-12300-qssi.0 merge already modified
ConfigInterface VMT in a way that's not backwards compatible thus
it'd be better if we provided a prebuilt library instead.

Change-Id: I25fe58e6721b8d0e67882f576cfaf288c9992fc9
2021-06-29 17:11:09 +02:00
Bruno Martins
5de6aea994 sm8350-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2021-06-29 16:52:04 +02:00
chandra
44fd57d526 sm8350-common: Enable config_powerDecoupleInteractiveModeFromDisplay
* It's set to true on stock.

Change-Id: I23220f18e8376d05c769c01a289d27f658372cbc
2021-06-27 13:45:42 +02:00
Bruno Martins
f45f543527 sm8350-common: Update ODM features list from OSS 11.2.7.7
Change-Id: Ic9138245adc8819c7662e933f3bbe6df062801e5
2021-06-23 22:33:40 +01:00
Bruno Martins
288cc09811 sm8350-common: Update blobs from OOS 11.2.7.7
Change-Id: Ib219b535964596f699e6fafbffed7f908005afb1
2021-06-23 22:26:43 +01:00
Bruno Martins
d6bb4df668 sm8350-common: Copy haptics exclusion config directly from QTI repo
Change-Id: I9758f359c4be549b334e487bbc49ca34b749efc3
2021-06-19 14:02:50 +02:00
LuK1337
367c5d3e7b sm8350-common: doze: Enable proximity sensor check for raise to wake
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3646
Change-Id: Ic546b25126e0dc44af444179f7041f6b5fe51763
2021-06-19 11:01:27 +02:00
Bruno Martins
97f2aa546d sm8350-common: Remove unused keylayout and input device config files
Change-Id: Iddd5298bb0d9a7e2944166faf2811b780cf2c141
2021-06-18 20:55:19 +01:00
Bruno Martins
6eb74ee196 sm8350-common: overlay: Import bluetooth controller default configs
These are the defaults for lahaina SoC.

Change-Id: I05aded796d9e9b9f9ef9376b51e4897c260e0785
2021-06-18 21:48:46 +02:00
LuK1337
05a6ef85b8 sm8350-common: Use $(addprefix) for preparing vendor ramdisk DLKM list
Change-Id: I834bbec9e7c51de9d02c19a6d0713c182b41db05
2021-06-17 22:01:57 +02:00
LuK1337
4ba1a228b2 sm8350-common: Sync WifiResCommon with stock
Change-Id: If13be7f5e9355818641b7975843dbc472b365ef8
2021-06-17 12:33:30 +02:00
Bruno Martins
ccdd46cfea sm8350-common: overlay: Set IWLAN data service package name
Change-Id: I0f6a7531f57eaf293299b72e9ced9de70cc32477
2021-06-17 11:07:56 +02:00
Fenglin Wu
226203e348 sm8350-common: vibrator: Add logic to detect QTI haptics device
Check input device name to make sure a real QTI vibrator device is
detected instead of other input FF device with the same capability
being recognized wrongly as a QTI vibrator.

Change-Id: I54f00e777212b3bd19088faa183b0ff41019dfcc
2021-06-17 10:50:16 +02:00
Bruno Martins
298c65026f sm8350-common: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
It is no longer necessary as per the latest QTI USB HAL update
(LA.UM.9.12.r1-11500-SMxx50.0).

Change-Id: I3caf226de247ac45bdcb9b35ab3a4c5b959dc1dd
2021-06-14 15:56:01 +02:00
LuK1337
15da14ed60 sm8350-common: Build android.hardware.thermal@2.0-service.qti
As seen on stock ROM.

Change-Id: I950ab50ded7b3c1164ff88ab18d7f1e3365a6086
2021-06-12 10:43:07 +02:00
Arne Coucheron
b0c92cc083 sm8350-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 11:35:00 +02:00
PIPIPIG233666
f726563012 sm8350-common: Split component-overrides to support pure AOSP/QTI BT stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2021-06-10 19:16:10 +02:00
LuK1337
17656ebff5 sm8350-common: Force DSDS rather than SSSS
This allows users to setprop dsds on a single SIM device without it
getting reset back to ssss on boot.

While this restricts disabling dsds on native dual SIM devices,
doubtfully anyone would actually want to do that.

Change-Id: I72f019c466d23a89f4c3438150b592d21b65b742
2021-06-08 20:01:32 +02:00
LuK1337
082bd37f3e sm8350-common: overlay: Sync CarrierConfig overlays with OOS 11.2.6.6
Change-Id: I801e16b863abc04cbc3b31d06e4283e7a3ea2f06
2021-06-08 19:55:30 +02:00
Sebastiano Barezzi
14307f1ef4 sm8350-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 12:45:36 +01:00
Sebastiano Barezzi
7a0b534427 sm8350-common: fod: Move to AOSP Soong conditionals
Change-Id: Iaf7c291d2f08262d9f578901d688eb98ade4beba
2021-06-08 12:46:11 +02:00
LuK1337
58cb8ab963 sm8350-common: Install charger_fw_fstab.qti to /vendor/etc
We are loading it for offline charging mode, see init.target.rc.

Change-Id: Ie6f1a1f7cdf8fed740766cbfe3d59ce815e90b2f
2021-06-06 23:01:55 +02:00
P.Adarsh Reddy
3ce0b4aae7 sm8350-common: Enable incremental FS feature.
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-06 22:25:22 +02:00
Han Wang
7f18ac549a sm8350-common: Unset PRODUCT_USE_PRODUCT_VNDK_OVERRIDE
* This is not needed if PRODUCT_SHIPPING_API_LEVEL is greater
   than 29, which is true for sm8350 series.

Change-Id: I5b3fa65dfaae20c788a96a6a22d4016ddfb19983
2021-06-05 10:55:56 +02:00
LuK1337
64e3eb01f1 sm8350-common: Hardcode common path in Android.mk
Declaring it that way interferes with other
device tree using same var name.

Change-Id: Ib8b3e3c1e772e357dcbce53a123889e66f2cb129
2021-06-04 23:01:13 +02:00
LuK1337
b249320d97 sm8350-common: Enable DPM Connection Tracking (CT)
Change-Id: I25991ee34c87ce1de4fb234518238f3fc906b54b
2021-06-04 13:30:56 +02:00
Rheygine Medel
f4510723e1 sm8350-common: Removed TARGET_USES_GRALLOC1 flag.
Change-Id: I73e74d9a19d38c07f9ddc820484142dd3cd0a576
2021-06-03 22:24:58 +02:00