Commit graph

559 commits

Author SHA1 Message Date
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
5e1e5980eb sm8250-common: Import seccomp policy
Change-Id: I37ce3ffb096b18e08f994d0dc327456f850e35eb
2021-01-06 18:47:30 +01:00
LuK1337
5a92c56a82 Revert "sm8250-common: Add dummy libthermalclient module"
This reverts commit 47c6c28171.
2021-01-06 18:47:30 +01:00
LuK1337
2de76e9c5c sm8250-common: Import excluded-input-devices.xml
* Relocate keylayout/idc to vendor while at it

Change-Id: I6564d65de759fb11b1c91703583ae349ae2469c2
2021-01-06 18:47:30 +01:00
LuK1337
d80f3cef0e sm8250-common: Import public.libraries.txt
Change-Id: I4ba4570fd2d4f62344b3ebcc2fe4395b1c1406d7
2021-01-06 18:47:30 +01:00
LuK1337
5eb5e3ffd8 sm8250-common: Import WiFi configs
Change-Id: I9fdc4472ba2b4be1025e65f6574dca96282de40a
2021-01-06 18:47:30 +01:00
LuK1337
19ff917fb1 sm8250-common: Import GPS configs
Change-Id: I190c31889f2905144e03fe1880789ef480448abc
2021-01-06 11:18:27 +01:00
LuK1337
57766acdd1 sm8250-common: Switch to vendor Trust HAL
Change-Id: I34d524dea8a073247691a10f224870b8dc1e9257
2021-01-06 11:18:27 +01:00
LuK1337
bc11d47a23 sm8250-common: Import audio configs
Change-Id: Ia3d9ed83f96d781f06d8f8eb3069c7a6276e7e70
2021-01-06 11:18:27 +01:00
LuK1337
46fa73ab87 sm8250-common: Import media_codecs / media_profiles
Change-Id: Ia2531ec21746dbdd8f2ba059b1bfae5305deda76
2021-01-06 11:18:27 +01:00
LuK1337
8b1be26d37 sm8250-common: Switch to common QTI vibrator HAL implementation
Change-Id: I2c884e951d2dc9285f86926eb88107be65bcce1f
2021-01-06 11:18:27 +01:00
LuK1337
039cae69d5 sm8250-common: Switch to common power HAL implementation
Change-Id: I56f1fa264909c6402f1bb418d6bb6196605c3b9c
2021-01-06 11:18:27 +01:00
LuK1337
53a230127f sm8250-common: Add vendor symlinks
Change-Id: I3e3dcfa58fe56eb37ca9354556aedd6293ec22dd
2021-01-06 11:18:27 +01:00
LuK1337
1653e33e11 sm8250-common: Relocate our custom HALs to vendor
* Adjust them for usage in /vendor while at it.

Change-Id: I84463a912d98e8af14ca31ffd8ac95db1aac916e
2021-01-06 11:18:27 +01:00
LuK1337
717bc37c5d sm8250-common: Regenerate config.fs
Change-Id: I8e023c348093994ccaffac0b28a6b44933073a92
2021-01-06 11:18:27 +01:00
LuK1337
1cb8d81976 sm8250-common: Import vendor scripts from stock
* And discard our old ones while at it.

Change-Id: Ibe6d792d0c881b984d5ab0cfeb84473726d3303a
2021-01-06 11:18:27 +01:00
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