Commit Graph

145 Commits

Author SHA1 Message Date
Alexander Koskovich
fc045e3a4e sm8250-common: Nuke rootdir from orbit
Change-Id: I163b5a68e2791ba379add991bf68cd171e722ba0
2022-08-19 21:59:19 +02:00
Bruno Martins
253d6a5f43 sm8250-common: Update blobs to Android 12 (IN2025_11.C.33)
* Move some configurations to proprietary files since
   we make no edits to them.

Change-Id: Ia412660d84825b47c2f272f89baf73cf5981879c
2022-08-19 21:59:19 +02:00
Alexander Koskovich
a910da70e7 sm8250-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-06-24 14:17:18 +02:00
Michael Bestas
b1b9e5ca08 sm8250-common: Build fastboot custom HAL
* This adds getprop functionality in fastbootd.

Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2022-06-06 17:51:31 +03:00
Michael Bestas
5a841ec2e3 sm8250-common: bootctrl: Remove bootctrl.kona target
* This is no longer used after switching to QTI 1.1 impl

Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
2022-06-06 17:51:27 +03:00
Michael Bestas
310f11ef0a sm8250-common: Set ro.boot.hardware.revision based on RF version
ro.boot.hardware.revision is used in fastbootd UI, getvar hw-revision
output and Settings app.

Set based on the RF version so external tools can use it to flash
the correct firmware variant and show the HW variant in Settings.

Change-Id: Ib92b080ace4d14fc2f13b5b3705249a15f1671c8
2022-06-03 01:06:49 +03:00
LuK1337
b6a6e1ca2e sm8250-common: Build libhidltransport.vendor
Display HAL is no longer building this for us.

Change-Id: I59cb610b487ac2d655dfca5245e6fb35485ae424
2022-04-26 10:56:42 +02:00
Lokesh Gidra
56fb9175ca sm8250-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2022-04-01 15:19:21 +02:00
LuK1337
6bc9b4ac6e sm8250-common: Remove trust HAL from product packages
USB 1.3 HAL now provides the same functionality and even more.

Change-Id: Idda908a90d3b935e1065eb41abec4babeefc4fd0
2022-03-23 20:30:55 +02:00
Albert Wang
55895e141e sm8250-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-03-23 20:30:53 +02:00
Alexander Koskovich
65a414d1cf sm8250-common: Drop support for Snapdragon Camera.
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-03-23 20:30:47 +02:00
Bruno Martins
e0c3fbb417 sm8250-common: Migrate to fingerprint HIDL v2.3
Change-Id: Ibf065cfb9b6b8210713ab6dba8302937f56cf4c1
2022-02-22 10:03:47 +01:00
LuK1337
b07cd6f83d sm8250-common: Update WFD system stack from lemonadep
Change-Id: I728810877f3aa40a4fe068f23fd2cfc9194f8066
2022-02-21 22:06:10 +01:00
LuK1337
410a9a8456 sm8250-common: Switch to AOSP NfcNci
Change-Id: I3403084373445475ee1d997c47cfaa887bcfeb4a
2022-02-21 22:06:10 +01:00
Bruno Martins
bf8b4d697b sm8250-common: Build Goodix fingerprint HIDL interface from source
Change-Id: I1a3ae9a726c29d813d8ea5a8ef8f68adf988d4ef
2022-02-21 22:06:10 +01:00
LuK1337
b8dbb9f8b9 sm8250-common: Build needed HIDL libs into vendor
Change-Id: I1db79176ac103cb7fc8db0fa4b4cfc699e38ad49
2022-02-21 22:06:10 +01:00
linjoey
58385e3fe3 sm8250-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-01-25 20:08:10 +01:00
Alastair Donaldson
97e005bfd4 sm8250-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-01-25 20:08:10 +01:00
Edwin Wong
b75478eac2 sm8250-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
2022-01-25 20:08:10 +01:00
LuK1337
c604096e59 sm8250-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:02 +02:00
LuK1337
c10d1efc92 sm8250-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.

Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2021-10-20 21:34:15 +02:00
LuK1337
43591c3713 sm8250-common: Switch to hardware/oneplus components
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-20 15:05:35 +02:00
LuK1337
7ad5bbf53f sm8250-common: RIP remove_packages
No longer necessary since now we can just pass `OVERRIDES` to extract
utils and it'll handle it automatically for us :^)

Change-Id: I19c97f5daa72d809dae2442fcb2b8b81a702aaf2
2021-08-23 18:52:01 +02:00
LuK1337
a866a168f7 sm8250-common: rootdir: Strip out unnecessary SKU customization
I'd rather never wake up to wake_up_samurai.ogg.

Change-Id: Id52e643546b2e3e0a3eab8690188004c7a2386df
2021-06-21 09:25:54 +02:00
Bruno Martins
8ffaa9403b sm8250-common: Copy haptics exclusion config directly from QTI repo
Change-Id: I9758f359c4be549b334e487bbc49ca34b749efc3
2021-06-19 14:06:34 +02:00
Bruno Martins
f0a77ac18c sm8250-common: Remove unused keylayout and input device config files
Change-Id: Iddd5298bb0d9a7e2944166faf2811b780cf2c141
2021-06-19 13:27:07 +02:00
Bruno Martins
2bee5a8ca6 sm8250-common: Move "proprietary" seccomp policies to vendor
Also discard unused qspm.policy as we don't ship qspm.

Change-Id: Icc1b978d373de8b0b7bc3e483c088c2cdeb5d325
2021-06-01 10:56:16 +02:00
Bruno Martins
919636446c sm8250-common: Move unnecessary WFD priv-app permissions whitelist
Our apk does not have these permissions in AndroidManifest.xml.

Change-Id: I5c8adf64e83a570f8c6a90ad7f082c78b707cb07
2021-05-28 00:14:43 +02:00
LuK1337
dc3d086fbd sm8250-common: Import QTI vibrator HAL
Change-Id: I6ed3252c6da746c8fb24f44b3b3ec2b1f32a6cb2
2021-04-14 18:57:16 +02:00
LuK1337
335e820c4c sm8250-common: livedisplay: Uprev to 2.1
Change-Id: I98b2ea16ed342339ee652d5cb79dcfd22f8c0a0d
2021-04-09 12:09:28 +02:00
PIPIPIG233666
278ffc532d sm8250-common: Add custom audio amplifier for TFA amp feedback
* Based on observing reverse engineering from davinci stock audio HAL.
 * Fixes speaker distortion on high volume.

 * Same logic with Smosia, rewritten by me.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2021-03-02 18:56:18 +01:00
chandra
c5ba644983 sm8250-common: Correct media codecs copy destination
Change-Id: I4ac12b4945aea67df067e1778f6e0c7aa1b790ad
2021-03-02 11:08:40 +01:00
dianlujitao
0a0b0f26f8 sm8250-common: Switch to source built vendor.qti.hardware.perf@2.0.so
Change-Id: Ia5de8c300d71b6def223e97ef9d58898c9c11a57
2021-02-16 13:28:27 +01:00
Nicholas Ambur
6edfb6eea4 sm8250-common: Add SoundTrigger HAL v2.3 support
Bug: 139071862
Test: gts-tradefed run gts-dev -m GtsAssistIntentTestCases
Change-Id: I2d17aade762ceb7800d5305119c37ec0f5991f35
2021-02-08 20:07:51 +01:00
Bruno Martins
0615d4b4d0 sm8250-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2021-02-02 14:57:40 +01:00
Tao Bao
38e5c38009 sm8250-common: AB_OTA_UPDATER is BoardConfig variable.
Bug: 130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
2021-02-02 14:57:40 +01:00
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