Commit Graph

84 Commits

Author SHA1 Message Date
mikairyuu
a3955afeb1 sm7250-common: Use arch config from redbull 2022-06-16 13:42:17 +10:00
kondors1995
0d8b31cf3e sm7250-common: Add Livedisplay 2.1 2022-06-16 12:56:26 +10:00
EmanuelCN
2284ac6ad5 sm7250-common: Swich to EROFS
*Requires kernel support.
2022-06-16 12:55:22 +10:00
Sebastiano Barezzi
3bf10fed5d sm7250-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-06-05 14:29:58 +02:00
Sebastiano Barezzi
21100bd7af sm7250-common: Remove USE_DEVICE_SPECIFIC_CAMERA
* Doesn't exist

Change-Id: I10fc7de8721f3c871d00522e1d85c2a8d8c18160
2022-06-05 14:29:58 +02:00
Sebastiano Barezzi
6a82833129 sm7250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-06-05 14:29:58 +02:00
SebaUbuntu
a6624039b5 sm7250-common: Move to common Xiaomi fingerprint HIDL
Change-Id: I6c29a831e985ee440c92a98aad8d33f25b9e5b2d
2022-06-05 14:29:13 +02:00
Zhao Wei Liew
631499bb7a sm7250-common: Remove no-op TARGET_KERNEL_ARCH flag
TARGET_KERNEL_ARCH is a no-op unless it is different from TARGET_ARCH.

Change-Id: If36d5adc3296b76d5efb21da0e196f0b005ae784
2022-06-05 14:29:13 +02:00
xSylla
76225f1e92 sm7250-common: Update blobs from MIUI V13.0.2.0.SJIMIXM
Change-Id: Ie65bb522086e1ee099423ca6d4d9cd9f2ebbefe7
2022-06-05 14:28:33 +02:00
althafvly
bed9ce38fb sm7250-common: Set BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE
Change-Id: I108504e650895ed62dd54f30d6c53f9d16baa5a3
2022-06-05 14:27:56 +02:00
Roger Ellis
1abcc7c151 sm7250-common: Add exclusion for vendor ELF prebuilts
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
 - Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
 - See b/156534160 for long-term fix which should override this change.

Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
2022-06-05 14:27:56 +02:00
TheScarastic
e2acea18d7 sm7250-common: biometrics/fod: Uprev to 2.3
* [SebaUbuntu]: Move fingerprint HIDL to 2.3
 * Remove Lineage FOD HIDL
 * Rename fodextension to udfpsextension

Change-Id: I292bbb9509de89eb9031daebab3cb5b2e5411d21
2022-06-05 14:24:12 +02:00
xSylla
bb0029e64e sm7250-common:: sepolicy: Switch to SYSTEM_EXT_{PUBLIC,PRIVATE}_SEPOLICY_DIRS
Change-Id: I817c692a77b3c239f6890ef8ac93d6b1431e54c2
2022-06-05 14:22:53 +02:00
Nolen Johnson
67c80b7613 sm7250-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2022-06-05 14:21:48 +02:00
xSylla
17332c2465 sm7250-common: Move props to properties.mk 2021-12-01 16:43:29 +01:00
xSylla
164843e88f sm7250-common: Update blobs from monet V12.5.5.0.RJIEUXM
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
xSylla
e1e609f04e sm7250-common: Set proper TARGET_CPU_VARIANT_RUNTIME
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
Panchajanya1999
3883c3c56c sm7250-common: Set target arch variant "armv8-2a"
* The target arch variant 'armv8-2a' enables Armv8.2 features in Clang
  and ART compiler when building Android images on host machines

* https://community.arm.com/developer/tools-software/oss-platforms/b/android-blog/posts/bringing-armv8-2-instructions-to-android-runtime

Change-Id: I813f02490c2d0d159dcadf1605e03b734e37e19e
Signed-off-by: Carlos Ayrton Lopez Arroyo <15030201@itcelaya.edu.mx>
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
Erfan Abdi
35b50df64f sm7250-common: Commonize bluetooth header 2021-12-01 16:42:55 +01:00
LuK1337
34c3a32809 sm7250-common: Include device FCM from vendor/lineage
Sadly we aren't able to include it globally without breaking other
devices ;((((

Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-12-01 13:02:03 +01:00
LuK1337
5f85ad6b2e sm7250-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-12-01 13:02:03 +01:00
xSylla
f6043070f1 sm7250-common: Build FM2
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
Arne Coucheron
ccc7a74e1b sm7250-common: Silence clang warnings during kernel compile
clang-11: warning: argument unused during compilation:
'-fuse-ld=lld' [-Wunused-command-line-argument]

Change-Id: I66a629f3573e3fad8aa085ea115475f02d60a7ea
2021-12-01 13:02:03 +01:00
Nolen Johnson
124e049414 sm7250-common: Simplify AVB flag logic
* AVB's `--flags 3` argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2021-12-01 13:02:03 +01:00
Albert I
7d020bc1a8 sm7250-common: Extend vbmeta_system to include product
* matches Qualcomm configuration

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I94604c130794c6b3f87a971be7057854d4920ddb
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
9b33d47fff sm7250-common: Drop M4DEFS
Change-Id: I43c99687e099d029d99a807bb5384151601c9d36
2021-12-01 13:02:03 +01:00
Bruno Martins
51a9e88374 sm7250-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-12-01 13:02:03 +01:00
Bruno Martins
22b9e2fa86 sm7250-common: Unset BOARD_VNDK_VERSION
PRODUCT_USE_VNDK will be true in Android-P or later launching devices
and consequently BOARD_VNDK_VERSION will be set to 'current'.

Change-Id: Iaed3eb4875c00742903627d63b4f2968e356781b
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
84f14b1b39 sm7250-common: Enable TARGET_USES_FOD_ZPOS for FOD devices
Change-Id: Iaf830b7fe46ce42e413aeb9df3e85680735751e8
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
257c3ebaf4 sm7250-common: Add a minimal framework compatibility matrix
* Made with https://gist.github.com/SebaUbuntu/ec053a00a9988eaea091fb1cc1f19324

Change-Id: I180d19e7939ee0c3e9f1aeb04a854f8aaf444235
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
01ff578960 sm7250-common: Declare BOARD_VENDOR
* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
44ef4a8cdd sm7250-common: Kill custom liblights
Change-Id: If4118d490de290780c9f3a46c65f178c6206fa88
2021-12-01 13:02:03 +01:00
Alexander Koskovich
761c97ed15 sm7250-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
Co-Authored-By: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
9f6c9618c8 sm7250-common: Our lito devices are based on UFS|eMMC
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
35aa84537f sm8250 > sm7250 2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
e3463cc2d7 sm8250-common: Import liblight
* From c7c6e7e9f5

Change-Id: I49486fcb33414625753b71fed04c8b906e0bffc9
2021-06-09 11:57:03 +02:00
Abhishek Aggarwal
4a2f70507b
sm8250-common: fod: Add surfaceflinger extension lib
* And specialize it for xiaomi kona devices

Co-authored-by: dataoutputstream <mb150996@gmail.com>
Change-Id: I440e6d246884fd22044756c6260b3583a1e58a7b
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
7d367dd95a
sm8250-common: Don't override DEVICE_{MATRIX|MANIFEST}_FILE
* Allow device-specific manifests to be safely added

Change-Id: Iccafe8c8491219336389015af8caa2c7a700ff61
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
1ca97128ca
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 14:52:37 +02:00
Sebastiano Barezzi
3fe9a3b11a
sm8250-common: Remove BOARD_RAMDISK_OFFSET
* Not used

Change-Id: I5fd7c439aad46800b77514682a28b590e04179db
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
9db0864cb7 sm8250-common: Add power AIDL DT2W support via sysfs node
Change-Id: Idcff758444a5c89ba20f2ae804a407ee78c445cb
2021-06-03 00:30:15 +02:00
Sebastiano Barezzi
545fe5c78e sm8250-common: Drop power AIDL extension
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2021-06-03 00:27:20 +02:00
Sebastiano Barezzi
21bc0bdf77
sm8250-common: biometrics: Hardcode fingerprint HAL classes list
* We have just 3 variants for all 7 devices, why do we even bother

Change-Id: I7488aaccd35bc2de4d214b3c71cce14177ab76c7
2021-05-20 11:45:15 +02:00
Sebastiano Barezzi
8949260eaf
sm8250-common: Enable FOD Soong configs with opt-in
Change-Id: Ie7a731e45a93cd92003d0d0c026047ff6c2c63c3
2021-04-25 02:49:49 +02:00
LuK1337
cd09fddfab
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-25 00:55:02 +02:00
Sebastiano Barezzi
5ac57d355f
sm8250-common: biometrics: Implement custom HAL loading list
Change-Id: Id545287bed468f39738dbaa4c069660047055585
2021-04-24 08:54:27 +02:00
Sebastiano Barezzi
b342c72524
sm8250-common: Unset BUILD_BROKEN_DUP_RULES
* Nothing in common tree is duplicated, we can now remove it

Change-Id: I26a7e4b8a6b07b4cf78ee35cfa816ab5d24f0e20
2021-04-22 15:17:29 +02:00
Sebastiano Barezzi
bd6d215f11
sm8250-common: Update blobs from lmi V12.2.6.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.6.0.RJKMIXM release-keys

Change-Id: I5bf78d123397e39c80a56810a83374affe289cc4
2021-04-12 22:55:01 +02:00
Sebastiano Barezzi
263f491c12
fixup! sm8250-common: Update blobs from lmi V12.2.5.0.RJKMIXM
Change-Id: I0f37339ecad5873649509f8d720d107b924aaa4d
2021-04-12 19:36:50 +02:00
Sebastiano Barezzi
e034bbae4c
sm8250-common: Update audio props from lmi stock
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: I4500e4b44c5e36c5ac2aa5c37c96e9ff3b54d047
2021-04-11 20:10:45 +02:00