Commit Graph

88 Commits

Author SHA1 Message Date
Bruno Martins
b43d7d6422 sdm845-common: Move CNE and DPM properties around
CNE blobs are shipped in /vendor and DPM blobs have been recently
moved to /system_ext.

Change-Id: Ide4881bb4bad52f874b70f77d5fd79fd58326862
2021-01-03 21:50:13 +01:00
Anton Hansson
6bf2c85ef0 sdm845-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
2020-12-31 16:46:41 +00:00
Bruno Martins
3d316ad303 sdm845-common: Move to new display HAL and update graphics blobs
Change-Id: I0ff514eef5d4a8b1287a910ba781ef77e5c584aa
2020-12-30 10:38:10 +00:00
Bruno Martins
1e57d9fbac sdm845-common: Update blobs from MIUI 12
Change-Id: I72984743e890c4ac9444f3003d8e9a225da7866c
2020-12-14 18:25:42 +01:00
Bruno Martins
b6bf0a0fae sdm845-common: Remove deprecated telephony flag
The custom jar is dead for good in Android 11.

Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2020-11-24 15:49:42 +00:00
Bruno Martins
6beaaa60f3 sdm845-common: Unset BUILD_BROKEN_USES_BUILD_COPY_HEADERS flag
Qualcomm HALs have been updated to get rid of LOCAL_COPY_HEADERS usage.

This reverts commit 60ec4ce6ab.

Change-Id: I9f60f60fa0c1146bf5e75d3b18af4166061b68fb
2020-11-24 15:59:05 +01:00
Bruno Martins
117b9c28cd sdm845-common: Unset DEXPREOPT_GENERATE_APEX_IMAGE
This was missed in commit bc7d72e.

Change-Id: I8a130456021da1532279c3f0ac0ca0110e68b9b4
2020-10-31 22:44:27 +02:00
Bruno Martins
8af17a83d4 sdm845-common: power: Adapt extension to new aidl power HAL
Change-Id: I58ac49957d8d28ad904912986d89ac8db4820ff9
2020-10-17 21:18:53 +01:00
Felix
d5ccf1f48b sdm845-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2020-10-17 22:10:18 +02:00
Yifan Hong
4b2d3717be sdm845-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2020-10-17 22:08:19 +02:00
P.Adarsh Reddy
60ec4ce6ab sdm845-common: Add build broken flags in BoardConfig.mk
BUILD_BROKEN_USES_BUILD_COPY_HEADERS

Change-Id: I7b115f5bb7990c438c595b4b1ff536598786d529
2020-10-09 16:17:34 +01:00
Jimmy Chen
546ad1520b sdm845-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-10-09 16:17:34 +01:00
LuK1337
aeb021ed33 sdm845-common: Update qcom sepolicy include
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2020-10-09 15:32:18 +01:00
Bruno Martins
d628f0b4c6 sdm845-common: Switch to common QTI power HAL
There's nothing really that different here when compared to the
common HAL except for the specific DT2W handling, which can simply
be supported as a power feature lib.

Change-Id: I4c9c2530c8090e05dab38ed829d59ece5e00e1fb
2020-07-17 01:09:19 +02:00
Bruno Martins
8efaf44d84 sdm845-common: Switch to QTI BT stack
This includes the proper alignment to stock audio policy configuration.

Change-Id: I084d25c54e08d1421dbf43818b43357f78ad81ca
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
2020-06-26 20:15:36 +02:00
Bruno Martins
d7ecc15075 sdm845-common: Update to MIUI V11.0.5.0.QDGMIXM global stable blobs
Reflect the new source of blobs and matching vendor SPL.

Change-Id: Ic6149e0638e401bd10895abcf1028ced66a54797
2020-06-03 21:34:47 +02:00
sdv22
643f91b165 sdm845-common: Drop BUILD_WITHOUT_VENDOR board flag
This is no longer a thing in CAF HALs and is currently causing breakage
since the HALs are now guarded with this flag.

Change-Id: I740e2f122a6d3a1896dc11f06d87949553ab7bb1
2020-05-25 21:19:34 +01:00
Rajeev Kumar
419ac6bdb8 sdm845-common: Enable memory stats logging in user mode LMKD
Bug: 74443701
Test: Tested manually
Merged-In: I288098e17d5fc65923758152bba5e786a75edc4c
Change-Id: I288098e17d5fc65923758152bba5e786a75edc4c
(cherry picked from commit 56395c15a57eda7aa59a7615422677d5a8075350)
2020-05-06 14:53:37 +01:00
Suren Baghdasaryan
ea3bfd323f sdm845-common: Set lmkd configuration properties
Bug: 63631020

Change-Id: I16a183e8e4625e8b98cefdc9c8a7b650556a2b55
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-05-06 14:49:23 +01:00
Bruno Martins
cab5f8ee79 sdm845-common: Bump SPL to reflect latest blobs update
Common blobs from MIUI V11.0.4.0 global stable are now in use:

  ro.vendor.build.fingerprint=Xiaomi/polaris/polaris:10/QKQ1.190828.002/V11.0.4.0.QDGMIXM:user/release-keys
  ro.vendor.build.security_patch=2020-03-01

Change-Id: Ia01c1cbf018753cac53947bf31c7a582cb3706b8
2020-04-03 00:00:04 +02:00
Bruno Martins
9cc2093330 sdm845-common: Split system, odm and vendor props
Change-Id: Iee726d7d95d2bc4abb14fcfdffc55a04aca6e1cc
2020-02-24 22:43:09 +01:00
Bruno Martins
35f53f8d75 sdm845-common: Remove redundant Treble override flag
Treble is fully enabled for all devices launched with API level 26 or higher
(which applies to all the targets of this common tree), therefore there's
really no need to override it.

Change-Id: Ia79aebda7fb922762f83948d0c19a6356ce343a8
2020-02-19 23:01:12 +01:00
Bruno Martins
dfcd36ae66 sdm845-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'.
This applies to all targets except polaris, which will instead
override VNDK version in its own tree.

Change-Id: Iaed3eb4875c00742903627d63b4f2968e356781b
2020-02-19 23:01:05 +01:00
Bruno Martins
174ebc6721 Revert "sdm845-common: Mark as having overridden commands"
This reverts commit de8670a555.

Overriden commands? Not anymore.

Change-Id: Id435e0fda13babadd5fbc2fe1c790e5a1fdba6df
2020-02-04 21:39:26 +01:00
Bruno Martins
eba7658462 sdm845-common: Blob out A2DP offload library
These targets are using prebuilt audio HAL and for some reason,
using the source-built lib breaks A2DP. Just use prebuilt one
and be happy with it.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
2020-02-03 23:33:52 +00:00
Bruno Martins
c5925481a0 sdm845-common: Bump security patch level to match MIUI 11
Change-Id: I4a74b696806b99ff1dfd7477b0faeeaf7cc73df5
2020-02-04 00:33:17 +01:00
LuK1337
d14f5c5ed1 sdm845-common: Enable VNDK runtime isolation
Change-Id: If4e0a0dd1909211a784f059260ea80c5f40a24a8
2020-02-02 10:27:40 +00:00
Bruno Martins
37022184cf sdm845-common: Drop no longer needed compat rootfs folders
Change-Id: Ie5ce442be5166a94bc969e5c145927b1283e47ee
2020-02-02 10:09:14 +00:00
Han Wang
9903aae88d sdm845-common: Unset WIFI_HIDL_FEATURE_AWARE
* This is not supported according to CAF (see commit 74cd0e0969)

Change-Id: Ia5d33a4e972ecd408f4a53b073a3a043107ba38f
2019-11-27 00:16:32 +02:00
Bruno Martins
3c50cd02b7 sdm845-common: Set up WiFi and build the HAL from sources
Change-Id: I7b92eaea2cf2f059c8214916ea186dc6c1e03917
2019-11-25 23:29:03 +00:00
LuK1337
72d79efdb8 sdm845-common: Convert remaining configstore settings to props
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5
2019-10-01 22:38:38 +02:00
Sundong Ahn
7b19e41185 sdm845-common: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
2019-10-01 22:38:38 +02:00
Nicolas Geoffray
6ffbcdd714 sdm845-common: Generate the apex image.
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-09-25 23:51:07 +01:00
Bruno Martins
236d7e861f sdm845-common: Kill framework compatibility matrix with fire
This thing is not mandatory at all and only demands extra work by having
to keep it up-to-date whenever new interfaces are added to the device manifest
or simply uprev'ed.

Change-Id: I7c5485f201efde86ff1b277951e7faebf8b80437
2019-09-25 23:20:45 +01:00
Bruno Martins
4b93e8e5a7 sdm845-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2019-09-14 22:01:36 +01:00
dianlujitao
cc34e3056d sdm845-common: Remove custom kernel cross compile prefix
Change-Id: Icc58f38fa2f66b833c73902d6733f84b77dcb575
2019-09-11 12:25:34 +01:00
Anton Hansson
e9979c4b0c sdm845-common: Set cpu "runtime variant" to kryo385
This makes bionic and various art tools that compile/runs cpu-specific
code choose the kryo385 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2019-09-11 12:25:34 +01:00
Anton Hansson
ac8980d5df sdm845-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
2019-09-11 12:25:34 +01:00
Artem Serov
e41bd80c0f sdm845-common: Switch cpu variant to kryo 385.
Also switch to using armv8-2a for 32-bit build.

Related change:
https://android-review.googlesource.com/c/platform/build/soong/+/831260

Test: Pixel 3 builds.
Bug: 119564566
Change-Id: Iede5830093497abe753a34df3bc4913468be39d0
Merged-In: Iede5830093497abe753a34df3bc4913468be39d0
2019-09-11 12:25:33 +01:00
Dan Willemsen
de8670a555 sdm845-common: Mark as having overridden commands
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.

Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2019-09-11 12:25:33 +01:00
Bruno Martins
07a1d91749 sdm845-common: Define Soong namespaces in the common product makefile
This is where it belongs.

Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
2019-09-11 12:25:33 +01:00
1nfrag
7a4b89b64f sdm845-common: Switch to OSS display HAL
This allows to get rid of Xiaomi's display feature HAL

Change-Id: I3801a603e08547a919e2e7cd90edabfb116dfac8
2019-09-11 13:04:56 +02:00
Abhishek Aggarwal
24231093ac sdm845-common: Enable Aware and STA/AP concurrency Wi-Fi features
* Goes as per stock and is needed since the HIDL interface
   is now being built from source.

Change-Id: Ia18a38be16f56f48f0442aeae588bb987391c716
2019-08-05 01:32:39 +01:00
Luca Stefani
6f62de4532 sdm845-common: Remove deprecated cmdline option
* Firmware path is specified in ueventd.qcom

Change-Id: Ic5cd0eebaf4f4c18c70a8edd3ba2633290dfdceb
2019-08-02 16:05:43 +02:00
Ethan Chen
f42c83f3e0 sdm845-common: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2019-08-01 16:00:09 +02:00
Bruno Martins
e1cce560af sdm845-common: Compile OMX from source
Change-Id: I0e55d49e96423a9473059cf9000b0114b903d277
2019-08-01 00:35:48 +01:00
Bruno Martins
ba4b96e9a1 sdm845-common: Compile open source sound FX modules
Change-Id: Iec50a263c8015dba798c574b4969d3d37b0004bc
2019-08-01 00:35:48 +01:00
Bruno Martins
3f875de3a1 sdm845-common: Set vendor SPL
Change-Id: I99c617bed05b4583eb603171b60b672e64cb9073
2019-08-01 00:35:48 +01:00
Bruno Martins
b4bc87b028 sdm845-common: Define vendor image partition size and file system
Change-Id: I148549734c3379c20d41a27228f446efcb8cdab3
2019-08-01 01:35:14 +02:00
Bruno Martins
abd45018e6 sdm845-common: Opt-in for QC RIL service
Change-Id: I8f25446824efad6a14211cc77264524f908df7cd
2019-08-01 00:28:53 +01:00