Commit Graph

169 Commits

Author SHA1 Message Date
Alexander Koskovich
de4e0b7e7a sm8250-common: Use audio IO policy from IN2025_11.C.33
* Has important stuff for 24 bit playback.

Change-Id: I6b51ad80967293856145a0650c4df9971eadeabe
2022-08-19 21:59:31 +02:00
Alexander Koskovich
99a38b8469 sm8250-common: Import GPS configuration from IN2025_11.C.33
Change-Id: I64c78ddc6af425117af8dd85f2fc9a49ac3bb942
2022-08-19 21:59:20 +02:00
Alexander Koskovich
8320352a5a sm8250-common: Switch to SPDX license identifiers
* Might as well be consistent.

Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8
2022-08-19 21:59:20 +02:00
Alexander Koskovich
3e8eab7fa5 sm8250-common: Sort common.mk
Change-Id: I556ecc99eed7ca71d01115a80f15bec4478073da
2022-08-19 21:59:20 +02:00
Michael Bestas
53e71f35a1 sm8250-common: Reapply "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: I1adfb6514fdbaa2e5b9782c37d9eaf8112a110fc
2022-08-19 21:59:20 +02:00
Alexander Koskovich
684fb794c9 sm8250-common: Drop some audio packages
* All of these are implied, except libcirrusspkrprot
   which was removed as we are not using any Cirrus
   hardware, and even hardware supported by it is hard
   to find in production.

Change-Id: Iad7824105bd2c22899365f8a5fc0a9e73d36beda
2022-08-19 21:59:20 +02:00
Cosmin Tanislav
4ea2bee34e sm8250-common: Support UDFPS on AoD
Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
2022-08-19 21:59:20 +02:00
LuK1337
b77a4354ff sm8250-common: Set DSDS based on simcardnum.doublesim=1
Change-Id: Ib0ae4728b33aefeaf50f0c3c074481ef35ccb0b0
2022-08-19 21:59:20 +02:00
Alexander Koskovich
9fd2a3a103 sm8250-common: overlay: Import relevant custom changes made prior to RROs
Change-Id: Id3e5c5548088209a2459217dcdfe78fb59ff7221
2022-08-19 21:59:20 +02:00
Alexander Koskovich
412c217707 sm8250-common: Import cleaned KONA RROs from IN2025_11.C.33
Change-Id: I6c668a7fb81fbe69fbdb9c75725bb586010c75d9
2022-08-19 21:59:20 +02:00
Alexander Koskovich
63b78191a7 sm8250-common: Pick up QSSI overlays from hardware/oplus
Change-Id: I796c4ca9939a70f7917303d509a51dba150f5174
2022-08-19 21:59:20 +02:00
Alexander Koskovich
8e01da7f3c sm8250-common: Import CarrierConfig RRO from IN2025_11.C.33
* Remove anything that the value is already the default,
   or deprecated.

Change-Id: I597a93b580754a7fde51d051accfffca54c22482
2022-08-19 21:59:20 +02:00
Alexander Koskovich
acc5cae874 sm8250-common: overlay: Atomize
Change-Id: I972d46e1dafb03b42249193fd033e91c4e3b3bc5
2022-08-19 21:59:20 +02:00
Alexander Koskovich
e543d5ec78 sm8250-common: Cleanup packages
Change-Id: I6188858b49a9591108032ea6f4d1a4da49a73138
2022-08-19 21:59:20 +02:00
Alexander Koskovich
00a96ce03f sm8250-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2022-08-19 21:59:19 +02:00
Alexander Koskovich
ff12a7464b sm8250-common: Move default.prop properties to vendor.prop
Change-Id: I91759cc0a37b504dd5f9a2bf978c9b207da02435
2022-08-19 21:59:19 +02:00
Alexander Koskovich
c526057efa sm8250-common: Sync properties with OOS
Change-Id: I7b53d83d9acd46fd91f842f552338952a95f86d3
2022-08-19 21:59:19 +02:00
Alexander Koskovich
f44013625e sm8250-common: Update audio configurations from IN2025_11.C.33
* Copy configurations from the audio HAL where it
   makes sense.

Change-Id: I62737d24f309203010d42988bde453593ab7f204
2022-08-19 21:59:19 +02:00
Alexander Koskovich
4245f4088e sm8250-common: Switch to hardware/oplus
Change-Id: Ifb472cf1cd5f4c198394de41bc5d337d1f066b16
2022-08-19 21:59:19 +02:00
Alexander Koskovich
470df1663d sm8250-common: Update WCNSS configuration from IN2025_11.C.33
* OnePlus reads MAC address from QMI DMS now.

 * Since that was the only custom change, move back
   to proprietary files.

This commit is a partial revert of 83d053860901aaa5b6fdb54c6160aac817c6806b.

Change-Id: I9e89def5258f9085e7169a1a6753cbdabd1d548c
2022-08-19 21:59:19 +02:00
Alexander Koskovich
bb994f61e8 sm8250-common: init: Load WiFi firmware from ODM
Change-Id: Id18a7aea8d38a62bb871f588d3620583a0e4e562
2022-08-19 21:59:19 +02:00
Alexander Koskovich
0ad0214091 sm8250-common: init: Chown used display nodes
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
2022-08-19 21:59:19 +02:00
Alexander Koskovich
1d37758773 sm8250-common: Pick up USB configurations from QCOM
* If we want to override anything in particular, e.g.
   PID/VIDs we will create a seperate script named
   'init.oplus.usb.rc'.

Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
2022-08-19 21:59:19 +02:00
Alexander Koskovich
9e7143d5a4 sm8250-common: Import QCOM scripts from LA.UM.9.12.r1-14300.01-SMxx50.QSSI13.0
Change-Id: Ia624b92cbbaeaf240958df2f640140d79f9f9335
2022-08-19 21:59:19 +02:00
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