Commit graph

569 commits

Author SHA1 Message Date
Jimmy Chen
b7b61bb523 sm8250-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-01-08 14:31:38 +01:00
Anton Hansson
59c42cbe94 sm8250-common: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2021-01-08 14:31:38 +01:00
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
dfd05e2565 sm8250-common: Build vndservicemanager
* Needed for FCM >= R.

Change-Id: I6d5eb8084127e295e4abec2c0192c0ad5b07b867
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
f9c9767e3b sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00
LuK1337
507155e7a5 sm8250-common: Switch to QTI bootctrl HAL
Change-Id: Ie5079fd4c40cb1f7414f2cba9f98d350f03047d8
2021-01-08 14:31:38 +01:00
LuK1337
e7a726e756 sm8250-common: Enable OTG
Change-Id: I9a361ba93d94ee9a5cfeb8421367fae097837601
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
f1b69167ae sm8250-common: Remove OnePlus vendor overlays
Change-Id: Id22dfbeabb9487e4ee67f914dbb4507115bf250f
2021-01-06 18:47:30 +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
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