Commit Graph

138 Commits

Author SHA1 Message Date
LuK1337
df005f2fb0 sm8250-common: Register IHighTouchPollingRate interface
Change-Id: I3c48324cd201e810f04ccaa39898d7c8e43fa2e5
2022-08-19 21:59:31 +02:00
Alexander Koskovich
170928721e sm8250-common: Switch to SHA256_RSA4096 to match OOS
Change-Id: I9309c6ee4ea0f9085fe2bac1372f30476b404faa
2022-08-19 21:59:31 +02:00
Sebastiano Barezzi
5cb6b9f81b sm8250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-08-19 21:59:31 +02:00
Alexander Koskovich
8320352a5a sm8250-common: Switch to SPDX license identifiers
* Might as well be consistent.

Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8
2022-08-19 21:59:20 +02:00
Alexander Koskovich
fcbf34d741 sm8250-common: init: Set model based on RF version
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Change-Id: I06f9acda3fe77f57a1bc24ee5a802db0ab3b8d60
2022-08-19 21:59:20 +02:00
Peng Xu
8b77134184 sm8250-common: Enable support for IEEE80211AX
* This is to allow supporting WiFi 6 mobile hotspots,
   to be noted this is only supported on SDM855+ platforms.

Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
2022-08-19 21:59:20 +02:00
Lisa Liu
b98ac39ce4 sm8250-common: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2022-08-19 21:59:20 +02:00
Revathi Uddaraju
9e814e6959 sm8250-common: Enable multi-stage SVA
Change-Id: I5bced49059bb5d98c647e7688899a1314ef1571d
2022-08-19 21:59:20 +02:00
Alexander Koskovich
d0933fd902 sm8250-common: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-08-19 21:59:20 +02:00
Mohammad Asaad Akram
700e4b8025 sm8250-common: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2022-08-19 21:59:19 +02:00
Alexander Koskovich
f6f44d0a4a sm8250-common: Cleanup BoardConfig
Change-Id: I44634e5fe539d1bff7b66e5154dba4d4321b7f08
2022-08-19 21:59:19 +02:00
Christopher N. Hesse
92ccf71572 sm8250-common: Enforce vendor tree presence
A compiled build has no chance of booting without the prebuilt
binaries, so fail the build if those are not present.

Change-Id: I8124a5f92a75490ce48422b9d760764733efe37e
2022-08-19 21:59:19 +02:00
Alexander Koskovich
c526057efa sm8250-common: Sync properties with OOS
Change-Id: I7b53d83d9acd46fd91f842f552338952a95f86d3
2022-08-19 21:59:19 +02:00
LuK1337
6ed9f1e67f sm8250-common: Use hardware/oplus/sepolicy/qti
Change-Id: I8d1f4c402a4e9ce8d97cf315d32148f88089c4c5
2022-08-19 21:59:19 +02:00
Alexander Koskovich
4245f4088e sm8250-common: Switch to hardware/oplus
Change-Id: Ifb472cf1cd5f4c198394de41bc5d337d1f066b16
2022-08-19 21:59:19 +02:00
Bruno Martins
253d6a5f43 sm8250-common: Update blobs to Android 12 (IN2025_11.C.33)
* Move some configurations to proprietary files since
   we make no edits to them.

Change-Id: Ia412660d84825b47c2f272f89baf73cf5981879c
2022-08-19 21:59:19 +02:00
Alexander Koskovich
090da35226 sm8250-common: Sort kernel cmdline and additional flags as a list
* This allows better readability and eases tracking further changes.

Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
2022-06-24 14:17:16 +02:00
Bruno Martins
91e554c1a0 sm8250-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2022-06-24 14:16:54 +02:00
Alexander Koskovich
b63da1f7c6 sm8250-common: Move DTC_EXT definition to vendor/lineage
Change-Id: I452ec4dabfd6abf052f020fe48527403df873f5f
2022-06-18 00:45:35 +03:00
Georg Veichtlbauer
74e3a80c0f sm8250-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-03-17 11:46:16 +01:00
Kilian von Pflugk
b04fa8b9cf sm8250-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:18 +01:00
LuK1337
4386e25d5f sm8250-common: Update blobs from OOS 11.0.11.11
Change-Id: Ie778c23099989d4b91fa3a927882e5364f3c5358
2022-02-27 12:13:05 +01:00
LuK1337
aafc10c24b Revert "sm8250-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT"
Wasn't necessary.

This reverts commit e6efc6c08f.

Change-Id: I3ef84929299152b8f40ad4b8c45ee5099fca9fc5
2022-02-25 09:22:12 +01:00
Bruno Martins
e0c3fbb417 sm8250-common: Migrate to fingerprint HIDL v2.3
Change-Id: Ibf065cfb9b6b8210713ab6dba8302937f56cf4c1
2022-02-22 10:03:47 +01:00
Michael Bestas
e6efc6c08f sm8250-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:49:30 +01:00
Roger Ellis
24e1d71820 sm8250-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-25 20:08:10 +01:00
Tri Vo
19e5abe476 sm8250-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-25 20:08:10 +01:00
LuK1337
7cc3f931ba sm8250-common: Update blobs from OOS 11.0.10.10
Change-Id: Ice2e6c36aa900eac7a0097e96d04a77ebdf4a1c7
2021-12-27 17:08:44 +01:00
LuK1337
c604096e59 sm8250-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:02 +02:00
LuK1337
7616f79a6c sm8250-common: Update blobs from OOS 11.0.9.9
Change-Id: Ic581279a3fa3916ac8cf725705da8eb5a3a1755a
2021-10-28 16:21:26 +02:00
LuK1337
c10d1efc92 sm8250-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:15 +02:00
LuK1337
43591c3713 sm8250-common: Switch to hardware/oneplus components
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-20 15:05:35 +02:00
Bowgo Tsai
1bf94e3dc1 sm8250-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:33 +02:00
LuK1337
a980329556 sm8250-common: Update blobs from OOS 11.0.8.8
Change-Id: I60f5d95c8aa1a478466c359ec15b4116bce0a569
2021-08-18 14:19:45 +02:00
LuK1337
7ec6643321 sm8250-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:23 +02:00
LuK1337
cb0dd0b4d4 sm8250-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:56:57 +02:00
Bruno Martins
1b5b17e9ed sm8250-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-15 23:16:54 +02:00
LuK1337
bc32893867 sm8250-common: Update blobs from OOS 11.0.7.7
Change-Id: Iaf5c72c7c5b840afedbae498fd4d25c6aee74514
2021-06-12 19:04:02 +02:00
Arne Coucheron
04a49dee44 sm8250-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 12:07:22 +02:00
Sebastiano Barezzi
ce49dcdd35 sm8250-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 13:50:08 +02:00
LuK1337
f972f8c9fb sm8250-common: Update blobs from OOS 11.0.6.6
Change-Id: I5b0519136cbca2b94c90fbae114197f4f1d4416e
2021-05-27 14:26:19 +02:00
LuK1337
bb16435fa4 sm8250-common: Relocate volume steps customization to vendor.prop
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
Nolen Johnson
9a36678b92 sm8250-common: Kill deprecated/unneeded board flags
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-04-23 20:11:14 +02:00
Anton Hansson
0c11497347 sm8250-common: Remove obsolete dex settings
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
  BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true

Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2021-04-23 20:11:14 +02:00
LuK1337
cd50a1bbe9 sm8250-common: Unset NEED_KERNEL_MODULE_SYSTEM
We are building vendor image ^.^

Change-Id: Ia7f47528c116749f897d7bcfbff6acf290a220fd
2021-04-23 20:11:14 +02:00
Michael Bestas
6115bfd27c sm8250-common: Remove unused TARGET_SPECIFIC_HEADER_PATH
Change-Id: I5518d31fa6c6f56f05dc374bfd8f98b3cd2e62cc
2021-04-23 20:07:17 +02:00
Nolen Johnson
ab44ad8b4b sm8250-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2021-04-23 19:53:24 +02:00
LuK1337
1dd29a35a0 sm8250-common: Unset BOARD_VNDK_VERSION
Change-Id: Ie9e8615eb7fe186dbb595fc3fa0d2bfc013b5d47
2021-04-23 19:51:58 +02:00
LuK1337
6de1b949cd sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.

Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-10 11:00:57 +02:00
LuK1337
2a71acaa19 sm8250-common: Decommonize reserved partition sizes
Change-Id: I12d333c4688f265ddfcf55feaee155640c4e1efe
2021-04-02 03:09:08 +02:00