Commit graph

393 commits

Author SHA1 Message Date
LuK1337
a334c62857 sm8250-common: Add custom fingerprint HIDL HAL
* OnePlus loads different modules based on sensor version.

Change-Id: I72f3230b87ae06128082e3b624fb23b5b0d1b4be
2021-01-06 11:18:27 +01:00
Michael Bestas
ceb8b8535c sm8250-common: manifest: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
2021-01-06 11:18:02 +01:00
Michael Bestas
866748273b sm8250-common: Switch to standalone extract utils
Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
2021-01-03 12:48:22 +01:00
LuK1337
bd522502d1 sm8250-common: Disable qti-telephony-common injection for time being …
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2021-01-03 12:48:22 +01:00
LuK1337
7c647df73f sm8250-common: Enable product vndk
* Needed for 8 series to match 8T ^.^

Change-Id: Ib1c48a9b61f544a9e8147a47df848dbb7404e969
2020-12-11 14:39:37 +01:00
LuK1337
3cf4ec1db4 sm8250-common: Relocate aptX blobs to system_ext
Change-Id: Id8de7887096d9532cfdbdddfdac9487604108481
2020-12-11 14:23:08 +01:00
LuK1337
7e11aa53ca sm8250-common: sepolicy: Label /dev/smcinvoke
* Fixes crashing vendor_feature_enabler...

Change-Id: Ib22fdcc399ec0d9b064c9817ebd2c7a76487538e
2020-11-28 01:40:10 +01:00
LuK1337
1e2926ee70 sm8250-common: sepolicy: Address vendor_qmipriod denials
* Since OnePlus is not releasing userdebug builds these rules
  are not present in the vendor image.

Change-Id: Ib74bf928796cb75e3b17f0eaf872fa2126107c1d
2020-11-27 12:35:42 +01:00
LuK1337
5f2520dda6 sm8250-common: Pull fstab from OOS 11
Change-Id: I883ed1451329e5e2254aab19d2499fac04d4a82e
2020-11-27 12:35:42 +01:00
David Anderson
aa7f666433 sm8250-common: Use the IBootControl 1.1 HAL.
Bug: 141131816
Test: vts
Change-Id: Ie8590112a9abde8bc5daea80cf1c2ba1bf13100e
2020-11-23 15:10:40 +01:00
LuK1337
edf5620f78 sm8250-common: overlay: Set proper fingerprint sensor location
Change-Id: I3cfc4d198c3a88724e3a268a4e9e9b7ab9909f9b
2020-11-23 15:10:40 +01:00
Michael W
94ee632998 sm8250-common: overlay: Update fingerprint dot location
Change-Id: I710c62f33038c449386864453fd16a2f41153b46
2020-11-23 15:10:40 +01:00
LuK1337
e61e58c34f sm8250-common: overlay: Enable min_refresh_rate setting
Change-Id: I2e16b99318003de819d84cab03f7baa33b9b6f2b
2020-11-23 15:10:40 +01:00
LuK1337
82a8a601c4 sm8250-common: Add local OpFeatures implementation and unpin affected blobs
Change-Id: Ibb1d890a96683e005520da977f2433f8094b0644
2020-11-23 15:10:40 +01:00
LuK1337
be40ae3083 sm8250-common: Import and build QTI vibrator HAL
* The one in vendor requires some special OnePlus FWK bits.

Change-Id: I5d3be54b2aa3ab35d5a6f88b831ea6abbe8279c7
2020-11-23 15:10:40 +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
97c17043ca sm8250-common: Import WifiResCommon from stock
Change-Id: I009437c1b6d0d989a2441f6051706f5f885c0061
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
LuK1337
4d2358398c Revert "sm8250-common: Disable BT A2DP AAC whitelist"
This reverts commit 02d0be7bda.
2020-11-23 15:10:40 +01:00
LuK1337
61f786918b sm8250-common: Satisfy wfdservice dependencies 2020-11-23 15:10:40 +01:00
LuK1337
9b9ff32a54 sm8250-common: Drop dummy libplatformconfig
* No longer needed.

Change-Id: Iff9d7db7c7c220d9e21bcbfec8afc11ff6985037
2020-11-23 15:10:40 +01:00
Kevin Chyn
d4cb76b54e sm8250-common: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2020-11-23 15:10:40 +01:00
Roshan Pius
1feb73cc6a sm8250-common: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2020-11-23 15:10:40 +01:00
Brad Ebinger
1e0607b562 sm8250-common: overlay: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-11-23 15:10:40 +01:00
Brad Ebinger
5952f01dbd sm8250-common: overlay: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2020-11-23 15:10:40 +01:00
Subhajeet Muhuri
ae433b889f sm8250-common: overlay: Update pinner list for new SystemUI location
Change-Id: I93c1a4b73ca1f03ca0fcf9cbe4ce1b057a739ca6
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
0eacfc8f9e sm8250-common: power: Rebase on LA.UM.9.12.r1-09000-SMxx50.0 2020-11-23 15:10:40 +01:00
LuK1337
a0d9c9cb9d sm8250-common: Disable /odm overlays
* We don't want OnePlus overlays, instead we'll just
  modify required modules manually.
2020-11-23 15:10:40 +01:00
LuK1337
b512e01c6d sm8250-common: RIP custom lights HAL
* No longer needed, yay.
2020-11-23 15:10:40 +01:00
Mahesh Sharma
889023e580 sm8250-common: ANT: Support new ANT stack
Add appropriate package name on the basis of
transport used on target.

Change-Id: I02163a7a50afba8c6ee6a766327b78c5df081d4e
2020-11-23 15:10:40 +01:00
LuK1337
6c2e9b2402 sm8250-common: Update priv app permission whitelist 2020-11-23 15:10:40 +01:00
LuK1337
fe8c668a14 sm8250-common: sepolicy: hal_display_color -> vendor_hal_display_color 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
e38c6050a0 sm8250-common: sepolicy: Switch away from hal_attribute() macro
Change-Id: I0cf3c3e9ce42254915b142c10b846db6c7a52e63
2020-11-20 14:27:15 +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
44b14163e8 sm8250-common: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
  stdio.h will cause errors due to redefined macros.

Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
2020-11-20 14:27:15 +01:00
Steven Moreland
dd86632c8e sm8250-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
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
LuK1337
0a8f493d51 sm8250-common: Bump PRODUCT_TARGET_VNDK_VERSION to 30 (R) 2020-11-20 14:27:15 +01:00
LuK1337
7239ef8d6e sm8250-common: Update carrierconfig overlay from OOS11 2020-11-20 14:27:15 +01:00
LuK1337
48f5720c6c sm8250-common: Add kebab to build guards 2020-11-20 14:27:15 +01:00
LuK1337
029a335e3e sm8250-common: Fix config.fs product path 2020-11-20 14:27:02 +01:00
LuK1337
d996e39f61 sm8250-common: Switch to blob_fixup()
Change-Id: Ic828da86cfe44a660c1e48a603ba48d584dfc755
2020-11-20 14:26:52 +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
Jesse Chan
e6554e26d6 sm8250-common: enable unspecialized app process pool
Change-Id: I6dfcb59dace5eaa7551caeae86db3b485c0cfbf1
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-09-01 10:46:14 +02:00