Commit graph

159 commits

Author SHA1 Message Date
LuK1337
232c213a90 sm8250-common: Enable barometer sensor for SKU 9 and 11
Change-Id: I2a0568822557d1ce4217f092a695037c8329dc1a
2021-01-17 13:48:55 +01:00
chandra
b1f4027111 sm8250-common: Sort and remove duplicated packages under display group
Change-Id: I637d43c89aca0d9817e77996c0d2db394e2bdf34
2021-01-15 21:47:28 +01:00
LuK1337
30a4a42bb2 sm8250-common: Decommonize PowerShare HAL
Change-Id: Id6b79d04e3cac4ea602c2af27c3562227e3c0485
2021-01-13 12:09:00 +01:00
Indranil Chakraborty
79b4324a2a sm8250-common: Pack libwfdaac_vendor for WFD
Change-Id: I828918c42e1eb2963829d62a9dbeee83e2f0e600
2021-01-12 21:07:59 +01:00
Lubin Yin
14c6cdd034 sm8250-common: Deploy libwfdaac_proprietary for miracast
Change-Id: I7f00c9f0a0375d7007123614e7605e3915903b90
2021-01-12 21:07:45 +01:00
LuK1337
cddd4bebc4 sm8250-common: Build stagefright vendor plugin
Change-Id: I040a8fb7639e78a538f3d75bdaba2a6deb9b6825
2021-01-12 04:36:38 +01:00
Badhri Jagan Sridharan
e5d06f846a sm8250-common: Add usb hal service
BUG: 31015010
Test: Manually tested for type-c role switches.
Change-Id: Ibc81cf763a14c0975a7721588d6e8b81bd0b124c
2021-01-11 12:21:57 +01:00
LuK1337
22ab810b58 sm8250-common: Import surface flinger props from OOS
Change-Id: Iac8f215d02b0873f51a9ab0e35f5a659393b75e6
2021-01-11 03:59:45 +01:00
Ryan Mitchell
1d9989ef3d sm8250-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
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
507155e7a5 sm8250-common: Switch to QTI bootctrl HAL
Change-Id: Ie5079fd4c40cb1f7414f2cba9f98d350f03047d8
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
5e1e5980eb sm8250-common: Import seccomp policy
Change-Id: I37ce3ffb096b18e08f994d0dc327456f850e35eb
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
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
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
7c647df73f sm8250-common: Enable product vndk
* Needed for 8 series to match 8T ^.^

Change-Id: Ib1c48a9b61f544a9e8147a47df848dbb7404e969
2020-12-11 14:39:37 +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
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
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
61f786918b sm8250-common: Satisfy wfdservice dependencies 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
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
4ad6c6b12b sm8250-common: Add system_ext to dynamic partitions list 2020-11-23 15:10:40 +01:00
LuK1337
0a8f493d51 sm8250-common: Bump PRODUCT_TARGET_VNDK_VERSION to 30 (R) 2020-11-20 14:27:15 +01:00
Daniel Rosenberg
62e48bb6b9 sm8250-common: Setup checkpoint_gc for /vendor
Test: start checkpointing, observe that checkpointing happens
Bug: 111020314
Change-Id: Ic090ac2d0ca9a7dd5485f5ab2a967977cd3ab6b8
2020-08-02 18:56:23 +02:00
LuK1337
28e667380b sm8250-common: Implement vendor.lineage.powershare@1.0 HAL 2020-07-07 13:16:33 +02:00
LuK1337
b279cc8d58 sm8250-common: Disable OPFrameworkConfigOverlay 2020-06-27 00:17:27 +02:00
dianlujitao
5e718ca747 sm8250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-06-27 00:17:27 +02:00
Bowgo Tsai
f07e32ed1d sm8250-common: Adding GSI keys
Bug:112293933
Test: build and checks the keys are installed into ramdisk
Change-Id: I216f3900e9511e0929418af050ff964898d0aea1
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
17aa9e3b15 sm8250-common: Bring back prebuilt NxpNfcNci 2020-06-27 00:17:13 +02:00
LuK1337
07ff3e7daa sm8250-common: Bring up blobs 2020-06-27 00:17:13 +02:00
LuK1337
4cdee85ae5 sm8250-common: Unset PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE 2020-06-27 00:17:13 +02:00
LuK1337
e032e7cc78 sm8250-common: power: Rebase on LA.UM.8.12.r1-11900-sm8250.0 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
7e343c47fe sm8250-common: Copy fstab to ramdisk 2020-06-27 00:17:13 +02:00
LuK1337
98a0defd38 sdm845-common -> sm8250-common 2020-06-27 00:17:12 +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
263ce16c5f sdm845-common: Disable OnePlus shape icon overlays
Change-Id: I1d6cbeeb728a40952673f18198e05295bd7cc1de
2020-02-07 13:57:31 +01:00
chrmhoffmann
00955fcebe sdm845-common: Use TARGET_COPY_OUT_SYSTEM
Change-Id: Idff78541e3b35ac297aaabb0f4bb6bf30c25b2b3
2020-01-17 13:03:26 +01:00
LuK1337
d71d70dca1 sdm845-common: Set PRODUCT_TARGET_VNDK_VERSION to 29
Change-Id: I427f70d0cb12153284872fb76d791593b871fcfc
2019-12-20 17:47:47 +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
Brad Ebinger
18e8115c7c sdm845-common: Enable FEATURE_TELEPHONY_IMS for these devices
Bug: 118823723
Test: checkbuild
Merged-In: I69fd98160e852b371331a7bc169c7c97dd37f011
Change-Id: I69fd98160e852b371331a7bc169c7c97dd37f011
2019-11-19 12:34:40 +01:00
Sumit Das
535b6c472d sdm845-common: FR53248: Android Q: Remove hidden API references in ims.apk
Add telephony-qti-utils libarary to product packages

Change-Id: Ie8651ebadc246c21bd5eb69ef060fe32d8f5f7c8
2019-11-19 12:34:40 +01:00
Wileen Chiu
41c4447e75 sdm845-common: Add support for telephony hidl wrapper
Change-Id: I4e248bb6de482d503e672d284189b24cafac8d20
2019-11-19 12:34:40 +01:00
Suresh Koleti
15cafdadd9 sdm845-common: IMS: decouple ims-ext-common from boot jars
-- Include ims_ext_common permission xml.

Change-Id: Ide3ecae57cc1909180c8d8f323aa31620e900888
CRs-Fixed: 2373721
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
52523b4d21 sdm845-common: Enabled updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2019-09-13 12:18:02 +02:00
Michael Gernoth
1a7873d15d sdm845-common: Exclude AOSP NfcNci
* We use our own NFC app.

Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee
2019-09-12 19:11:57 +02:00
LuK1337
02856bbb76 sdm845-common: Copy up to date handheld_core_hardware to system
* Vendor one is outdated and therefore we lose stuff
  like secure lockscreen...

Change-Id: I458867b3b322ad754b78877209b7f4d8fb78eb38
2019-09-12 19:11:57 +02:00
LuK1337
56b2b205a4 sdm845-common: Let system read and write to FRP block device
* No clue why this is needed but ok.

Change-Id: Ib40ab18e42ced8995f57c9d0a8e1a6decdc7f146
2019-09-12 19:11:57 +02:00
LuK1337
7fdcbe8e69 sdm845-common: Don't build brillo_update_payload
* brillo_update_payload is a host package therefore
  we don't really need it.

Change-Id: I06bd7ea916d2652100cafe454bb2854d3e835cc9
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
Hridya Valsaraju
29e2cde762 sdm845-common: Build bootctrl.sdm845 using Soong
This is required to build the recovery variant of the
same to be used by fastbootd.

Bug: 78793464
Test: make
Change-Id: I16eddcb853bda1a9969810f258884ebdbbfc1f5c
2019-09-12 19:11:57 +02:00
Hridya Valsaraju
d83ed40ebd sdm845-common: Build libgptutils with Android.bp
This is required to build bootctrl.sdm845 with Android.bp.

Bug: 78793464
Test: make

Change-Id: Iff4f50ad363cc003d60a5380addd79749b547514
2019-09-10 04:20:20 +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
5e3dd25224 sdm845-common: Allow wfd to use some privileged permissions
* OnePlus has these in privapp-permissions-oem.xml
  instead of privapp-permissions-qti.xml for some
  reason but I don't want to copy their entire OOS
  specific file.

Change-Id: I0b1785e9f83d440936397dd9efe4e503bd4cac7a
2019-07-25 19:05:22 +02:00
LuK1337
031d6ba43a sdm845-common: Switch to common Trust HAL implementation
* OnePlus's OTG switch sysfs doesn't act the same as
  'deny_new_usb' node breaking OTG entirely in some
  situations.

Change-Id: I4f67d5cec5ded72ee835bfed9d34407eba1612d1
2019-06-18 03:25:14 +02:00
Luca Stefani
07c44c6547 sdm845-common: Switch to NXP NFC stack
Change-Id: I56908d6aa0a938ea89b35a41e3f90768bd8ce0ac
2019-05-17 13:08:21 +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
Luca Stefani
53fecbf169 sdm845-common: Add and build trust HAL
Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
2019-02-04 20:47:31 +01:00
Danny Baumann
e3ee15e8af sdm845-common: Replace lineagehw implementation by HIDL services
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.

Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
2019-02-04 15:15:19 +01:00
LuK1337
ff74c36010 sdm845-common: Add qti-telephony-common from xiaomi sdm845
Change-Id: I5d073075c7b6dac7998be78f65815260721a911f
2019-01-12 11:01:46 +01:00
Luca Stefani
8c75e16b53 sdm845-common: Switch to stock qti_whitelist.xml
Change-Id: Ic8f03ab186e5c9673538b2c6103ec7af2592ddfe
2019-01-12 11:01:39 +01:00
LuK1337
3bce0747b3 sdm845-common: Move OnePlusPocketMode to enchilada
* Fajita won't need it.

Change-Id: I7627de95fc445d123869f76ceb92ddf67dc49449
2019-01-11 13:49:06 +01:00
Luca Stefani
7c492e1318 sdm845-common: Remove fpc1020 keylayout and idc
Change-Id: I7bedb12e272ef0f0f3b882f044c396787f1b1cc2
2018-12-24 22:40:54 +01:00
Luca Stefani
922b46d9f1 sdm845-common: Build only 64bit power hal
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
2018-12-23 20:20:00 +01:00
Luca Stefani
b13cd82641 sdm845-common: Remove android.hidl.base
* P vendor doesn't require it anymore

Change-Id: Ie5ffb4b71ae62b772e0f94cc4ec777f2fcf9b6a7
2018-10-17 16:03:47 +02:00
LuK1337
9fce32e23e sdm845-common: Move product_launched_with_o_mr1.mk inclusion to enchilada
* Obviously OP6T isn't going to launch with 8.1 therefore
  we got to move it to enchilada.

Change-Id: Ifec5e0ed00e751d9a9fdb945ddbd3054792bb3c6
2018-10-14 14:48:34 +02:00
LuK1337
1272127b9a sdm845-common: Bind mount our own audio policy configuration
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
2018-10-14 14:34:09 +02:00
Luca Stefani
ec1f45e813 sdm845-common: Don't build vndk_package
* It's built by default if vndk is set to current

Change-Id: I2a00446046bafe265e5ac894656abc72514319d8
2018-10-14 14:26:52 +02:00
Luca Stefani
c6f1c498c4 sdm845-common: Build dtbo
* Also add it to A/B list

Change-Id: Id7eca5ab0f62874fd69c58e6e0985d9826c735d8
2018-08-19 19:44:56 +02:00
LuK1337
edc089ab26 sdm845-common: Remove unnecessary languages_full.mk include
* It's already included in full_base_telephony.

Change-Id: I7547ff447e81641e74fd911a12f5a9f0df9e5ccf
2018-08-07 00:30:59 +02:00
LuK1337
4ed29836d8 sdm845-common: Import pocketmode app and SELinux rules for it
* Based off android_device_oneplus_msm8998-common pocketmode
  app but without fpc10xx support and using actual OnePlus
  pocketmode sensor.

Change-Id: I73eaf7e00afd08cdad71d323b6821eb8a0160cd2
2018-07-27 20:23:44 +02:00
LuK1337
ee329ad0bb sdm845-common: Add OnePlusDoze app for pickup sensor handling
* Based off android_device_oneplus_oneplus3 doze app but
  with proximity related features stripped out and updated
  pickup sensor name.

Change-Id: I9f81b153948069cd4370c75817f12e91f6869e1d
2018-07-27 11:38:34 +02:00
Luca Stefani
213d9f2977 sdm845-common: Add IMS support
Change-Id: Iffab2d9311a00d9c995c430bc684c14cec6e4454
2018-07-26 09:14:04 +02:00
Luca Stefani
924e50ddc2 sdm845-common: Add power hal
Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
2018-07-19 22:13:43 +02:00
Luca Stefani
3c7edbc4a3 sdm845-common: Add a KeyHandler for tri-state-key events
Change-Id: I22a7ee5b7eec5667b14f1a587a6d0138e77dc0f3
2018-07-19 22:13:32 +02:00
Luca Stefani
89203b453e sdm845-common: Add tri-state-key daemon
Change-Id: I796f3853ac87df78a0d1a890c663e312a0ee2d1b
2018-07-19 22:13:32 +02:00
LuK1337
8f5f8a46b9 sdm845-common: Add ANT+ support
Change-Id: I722da6672e91ee52e004eadf0e123f813db81d8e
2018-07-19 21:45:48 +02:00
Christian Oder
95206e66be
sdm845-common: Add basic permission file for HotwordEnrollment
Change-Id: I2986ba3599fe65a8da27649d98d70cd548257aa8
2018-07-15 21:42:59 +02:00