Commit graph

74 commits

Author SHA1 Message Date
LuK1337
c28ecd7875 sm8250-common: Decommonize fstab
* 8T uses different metadata/userdata encryption algo.

Change-Id: Ie19487d4b4efe17540dd8c018537d7e222f64abd
2021-01-08 14:31:38 +01:00
LuK1337
46098650a7 sm8250-common: Add DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
* Needed for FCM >= R.

Change-Id: I5200b7a8d159cfd5ff91ad80fa714c215c7e01fb
2021-01-08 14:31:38 +01:00
LuK1337
343e954111 sm8250-common: Start building vendor and odm
* Build whatever we can from source
* Import vintf compatibility_matrix and manifest
* Import stock vendor props

Change-Id: I905b2b6c388f6b76844e7cea2def70d10e164dab
2021-01-08 14:31:38 +01:00
LuK1337
da018dd3c6 sm8250-common: Re:Start sepolicy
* Drop all old rules, but keep tri-state-key.
* Also introduce dashd/wlchgd domain as they are needed for seclabels.

Change-Id: I0a7121f51d106d927866aead746a49b3dea6a149
2021-01-06 18:47:30 +01:00
LuK1337
039cae69d5 sm8250-common: Switch to common power HAL implementation
Change-Id: I56f1fa264909c6402f1bb418d6bb6196605c3b9c
2021-01-06 11:18:27 +01:00
Yifan Hong
0cd2d4a875 sm8250-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with ro.charger.disable_init_blank
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2020-11-23 15:10:40 +01:00
LuK1337
5d377ba4d6 sm8250-common: Update blobs from OOS11 2020-11-23 15:10:40 +01:00
LuK1337
355cc5d209 Revert "sm8250-common: Switch to QTI bt stack"
This reverts commit 5e718ca747.
2020-11-23 15:10:40 +01:00
Nicolas Geoffray
7402069314 sm8250-common: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-11-23 15:10:40 +01:00
LuK1337
4ad6c6b12b sm8250-common: Add system_ext to dynamic partitions list 2020-11-23 15:10:40 +01:00
LuK1337
8b6a59f17d sm8250-common: Include QSSI sepolicy
* Now that device/qcom/sepolicy is non-vendor only
  we are able to do that.

Change-Id: I4c83a8e30cfa11e45be2f06eb7f444de7f68d219
2020-11-20 14:27:15 +01:00
LuK1337
7c3e80309d sm8250-common: Unset TARGET_COPY_OUT_ODM
* We aren't building odm anyway.
2020-11-20 14:27:15 +01:00
Christian Oder
f9501c93a7 sm8250-common: Decrease reserved space to 1.2GB
* It appears we're running out of storage when reserving 1.8GB on both partitions
2020-09-07 21:23:20 +02:00
LuK1337
1242b46b98 sm8250-common: Don't limit system and product inode count when !WITH_GMS
Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef
2020-09-06 15:07:22 +02:00
Nolen Johnson
4bd0d201a9 sm8250-common: Don't reserve space for gapps WITH_GMS
Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd
2020-09-04 17:16:28 +02:00
Dan Pasanen
d422f483da sm8250-common: Reserve an additional 1.8G of space on system and product
Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb
2020-09-04 17:16:28 +02:00
Luca Stefani
e9265b2a32 sm8250-common: Use uncompressed dtbless kernel image
* Apparently this is what stock does too.
2020-08-07 12:40:33 +02:00
LuK1337
d7c440262d sm8250-common: Set proper BOARD_KERNEL_BASE 2020-08-01 01:20:34 +02:00
LuK1337
67c9e2ad71 sm8250-common: Include dtbo in recovery image
* This allows us to drop dependency on dtbo partition
  being in sync with recovery.
* Test: fastboot erase dtbo && fastboot boot recovery.img
2020-07-01 17:49:56 +02:00
dianlujitao
5e718ca747 sm8250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-06-27 00:17:27 +02:00
LuK1337
cbfd77df61 sm8250-common: Don't build odm.img 2020-06-27 00:17:27 +02:00
LuK1337
6d9f90eb8a sm8250-common: Drop /op_odm 2020-06-27 00:17:13 +02:00
LuK1337
362f88963b sm8250-common: Set ro.vendor.qti.va_odm.support=1 2020-06-27 00:17:13 +02:00
LuK1337
564f71535b sm8250-common: Setup fastbootd 2020-06-27 00:17:13 +02:00
LuK1337
e7779bb46f sm8250-common: Import FOD HAL from device/oneplus/sm8150-common 2020-06-27 00:17:13 +02:00
LuK1337
bd1382eaed sm8250-common: Use prebuilt dtc 2020-06-27 00:17:13 +02:00
LuK1337
98a0defd38 sdm845-common -> sm8250-common 2020-06-27 00:17:12 +02:00
LuK1337
ebe358dcbf sdm845-common: Unset BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED
* It's set to true by default if PRODUCT_FULL_TREBLE := true,
  which is set to true by default if PRODUCT_SHIPPING_API_LEVEL >= 26.

Change-Id: I3b5d7949382633f55bd8eec4ef551d05373d3cdc
2020-06-14 12:30:40 +02:00
Anirudh Gupta
864976edc8 sdm845-common: Split system_prop to {product,system}.prop
Change-Id: I6467e54268aa2e07275263d3aedee50730d7467d
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-06-14 12:30:10 +02:00
Luca Stefani
e9cb0a5f38 sdm845-common: Move soong namespaces to common.mk
* This is a product property

Change-Id: I411428687839fca7c794d488bb48e5f1773e570b
2020-04-03 10:56:27 +02:00
LuK1337
d37ea76298 sdm845-common: Drop prebuilt boot-WfdCommon.oat
* No longer needed.

Change-Id: I3fa2a8fde9b73efbd1a9f0dedc66f182c23d8f5f
2020-02-01 17:03:23 +01:00
LuK1337
ef511b13c1 sdm845-common: Update rootfs folders
Change-Id: Ib40fed6e74126090985ed7a755646851a97b7144
2019-12-20 17:47:47 +01:00
LuK1337
2624ff91d0 Revert "sdm845-common: Copy Android P VNDK blobs"
This reverts commit f80a7a0968.

Change-Id: If938e2e90cf1e5c38da5b786563adcdfa48393b0
2019-12-20 17:47:47 +01:00
Rashed Abdel-Tawab
e3b8932571 sdm845-common: Build kernel with clang
Change-Id: Ic799f96969548459ec2df3b6d6a1dbc41c6683e2
2019-12-20 16:05:35 +01:00
LuK1337
cad7bf013a sdm845-common: Update blobs from OxygenOS 10.3.0
* Also pin P aptX blobs (they'll be updated in next patch)

Change-Id: I7d90dad4df10770d20818e683f2def428737af02
2019-12-20 16:05:33 +01:00
LuK1337
ba7e64f254 sdm845-common: Update device/qcom/sepolicy include paths
Change-Id: I5c242b8db7e92d753d19bf9c42f2394b9e6a0c6a
2019-11-19 12:34:40 +01:00
LuK1337
60d417a52f sdm845-common: Start using vendor_overlay
* This lets us override files in /vendor without
  relying on bind mounts ^.^

Change-Id: Ib0b173682a48836aeac97e2c3691176a44f13aab
2019-09-29 14:29:37 +02:00
Luca Stefani
88c063df79 sdm845-common: Dexpreopt everything
Change-Id: I65e8ce61e33256b2f2beecf390f6926b70920d02
2019-09-13 12:18:02 +02:00
Luca Stefani
52523b4d21 sdm845-common: Enabled updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2019-09-13 12:18:02 +02:00
LuK1337
b7127606f9 sdm845-common: Make SELinux great again!
Change-Id: Id479e031b584b24f79377aa244add20903a42b02
2019-09-12 19:11:57 +02:00
LuK1337
f80a7a0968 sdm845-common: Copy Android P VNDK blobs
Change-Id: I4f2f48ca4810247b2b951de27b82da0769f7d1b1
2019-09-12 19:11:57 +02:00
dianlujitao
5f9c062db0 sdm845-common: Remove custom kernel cross compile prefix
Change-Id: Icc58f38fa2f66b833c73902d6733f84b77dcb575
2019-09-12 19:11:57 +02:00
LuK1337
1832a7aa33 sdm845-common: Move PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE to common.mk
Change-Id: I2751014af71f222bd43e4bc17fc75d20499ea2f1
2019-09-12 19:11:57 +02:00
Anton Hansson
04056c3770 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-10 04:20:19 +02:00
Anton Hansson
e80a5ff054 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-10 04:20:19 +02:00
Artem Serov
4b52b64823 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-10 04:20:18 +02:00
LuK1337
9061ea5381 sdm845-common: Set TARGET_BOARD_PLATFORM and enable QCOM additions
Change-Id: Ife1f6bc16a3cc002789e6d96bfeb87bbf42c901c
2019-08-06 17:29:41 +02:00
LuK1337
e903d18b6f sdm845-common: Enable custom audio policy
* AOSP one doesn't let us change volume when
  listening to surround audio stream.
* Fixes : https://gitlab.com/LineageOS/issues/android/issues/904

Change-Id: Ic3cb04c6a61f3fb58180ef379a73f709087b64cc
2019-07-06 20:35:57 +02:00
Ethan Chen
c1aefb6361 sdm845-common: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2019-06-28 14:40:38 +02:00
Artem Borisov
659430c672 sdm845-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so
  we need this to keep Wi-Fi display feature working.
* Additionally libwfdnative has been modified to load
  libhidlbase.so instead of android.hidl.base@1.0.so using
  following command:
    sed -i 's/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/' proprietary/lib64/libwfdnative.so proprietary/lib/libwfdnative.so

Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
2019-05-08 15:11:00 +02:00