Commit Graph

782 Commits

Author SHA1 Message Date
Sebastiano Barezzi
5cb6b9f81b sm8250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-08-19 21:59:31 +02:00
LuK1337
98a9f6af5d sm8250-common: init: Set SSR restart level to 'RELATED'
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2022-08-19 21:59:31 +02:00
Michael Bestas
15a14297a8 sm8250-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-08-19 21:59:30 +02:00
Alexander Koskovich
4b2c223ed5 sm8250-common: Change GPS proxy app to default one
* This was the default in CAF before OnePlus changed
   it to com.oplus.locationproxy. This is apart of the
   framework 'oplus-lbs-services', which we don't use
   in Lineage.

Change-Id: I5144d32a6f63de5109ca2cc408bc895f621c1260
2022-08-19 21:59:20 +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
Cassie
91ca9fb3c3 sm8250-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2022-08-19 21:59:20 +02:00
Alexander Koskovich
1eac128b2e sm8250-common: Move UDFPS color & HBM type to common
Change-Id: Ia5450a32cdc0bbedb2a7d370040315d664f5a4a6
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
LuK1337
24936fa75f sm8250-common: overlay: Restore default config_proximityCheckTimeout
Apparently we can no longer expect proximity sensor to reply within
100ms...

Change-Id: Ifdeda8b9a310da9bd19b7d000b6ac7aa060ae742
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
Alexander Koskovich
fcbf34d741 sm8250-common: init: Set model based on RF version
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Change-Id: I06f9acda3fe77f57a1bc24ee5a802db0ab3b8d60
2022-08-19 21:59:20 +02:00
Peng Xu
8b77134184 sm8250-common: Enable support for IEEE80211AX
* This is to allow supporting WiFi 6 mobile hotspots,
   to be noted this is only supported on SDM855+ platforms.

Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
2022-08-19 21:59:20 +02:00
Vishalcj17
dce4de3df7 sm8250-common: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Change-Id: I878eb5cd7acb1fa322b28fce61ea59d8bfa47932
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
Lisa Liu
b98ac39ce4 sm8250-common: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2022-08-19 21:59:20 +02:00
Alexander Koskovich
b2d4d167ad sm8250-common: Drop updatable GPU drivers
* Doesn't work, can't switch between default and oplus
   GPU driver. Looking at oplus' APK, there is nothing
   really inside just a shell. There were no updates for
   the app in the Play Store either.

Change-Id: I0ec61c3b9abfa86368e6c23481d7edf5d8f6a036
2022-08-19 21:59:20 +02:00
Alexander Koskovich
7d7cee08b1 sm8250-common: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
2022-08-19 21:59:20 +02:00
Deevana Murthy Bandaru
506603029d sm8250-common: Enable suspend while charging
Change-Id: I1b0258b1ae80d35a104ef976738ad843c053f60f
2022-08-19 21:59:20 +02:00
Alexander Koskovich
eae05afd47 sm8250-common: Drop ro.charger.disable_init_blank
* Don't need this on a modern platform like lahaina.

Change-Id: I567429a34059247a488bf513217dccefd60bb1d3
2022-08-19 21:59:20 +02:00
Alexander Koskovich
9bc232a64b sm8250-common: Drop camera.disable_zsl_mode
* Set as apart of calibrationOutput_uw.rc.

Change-Id: I7ac6c4ad993509c40b42518a574f8945a2934127
2022-08-19 21:59:20 +02:00
Alexander Koskovich
9da731496d sm8250-common: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-08-19 21:59:20 +02:00
Alexander Koskovich
31e1297d77 sm8250-common: Drop QSPM vendor property
* Only used in system_ext libraries that we don't include.

Change-Id: I5ddcb48558df9b396cf4753aca9044978d3ddcb5
2022-08-19 21:59:20 +02:00
Alexander Koskovich
fb99e77372 sm8250-common: Drop PASR properties
* vendor.power.pasr.enabled is unused and vendor.pasr.activemode.enabled
   is only used on property:vendor.pasr.enabled=true, which isn't the
   case since we disable memory hotplugging kernel.

verify_pasr_support()
{
         if [ -d /sys/kernel/mem-offline ]; then
                setprop vendor.pasr.enabled true
         fi
}

Change-Id: I73145cb15bd970eaec3bd96f87a48c44e3115a3b
2022-08-19 21:59:20 +02:00
Alexander Koskovich
db3cac8c18 sm8250-common: Drop shutdown wait time property
* Can't find anything that uses it.

Change-Id: I146158a8f37fb888a3ae88e5241ab68f62d69194
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
Revathi Uddaraju
9e814e6959 sm8250-common: Enable multi-stage SVA
Change-Id: I5bced49059bb5d98c647e7688899a1314ef1571d
2022-08-19 21:59:20 +02:00
Alexander Koskovich
d0933fd902 sm8250-common: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-08-19 21:59:20 +02:00
Etan Cohen
26ebab5c4e sm8250-common: overlay: Depend on carrier provisioning for WFC
Change-Id: I2cdeb1e39a68922dc8489998f65dcc6c891da31c
2022-08-19 21:59:20 +02:00
LuK1337
3fffab443b sm8250-common: overlay: Disable AOD by default
Change-Id: I474ec8ab718140c30c1032adca6946461bba593e
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
Alexander Koskovich
fd931e235f sm8250-common: Update IMS from SKQ1.220303.001
* Closest QSSI tag is LA.QSSI.12.0.r1-06800-qssi.0.

Change-Id: Ief930b8b8eae1da02cc22185e3709c53ee69ca70
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
1dec88e407 sm8250-common: overlay: Import CarrierConfig changes from IN2025_11.C.33
Change-Id: If5dbeed7534c80db6712044e6898f59b11f17941
2022-08-19 21:59:20 +02:00
Alexander Koskovich
7a16b98fec sm8250-common: overlay: Use CarrierConfig DTMF & CSP booleans
* Overlays were deprecated awhile ago for these.

Change-Id: I51b70aa15f128186063ce52446cb67715a957185
2022-08-19 21:59:20 +02:00
Jake Weinstein
3a30eb7623 sm8250-common: overlay: Disable global mode and CDMA choices
* Cleans up mobile network settings.

 * CAF already disables world mode in CarrierConfig
   which is the proper way to do it, so remove the
   overlay entierly since it's deprecated anyways.

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
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
Mohammad Asaad Akram
700e4b8025 sm8250-common: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2022-08-19 21:59:19 +02:00
Alexander Koskovich
f6f44d0a4a sm8250-common: Cleanup BoardConfig
Change-Id: I44634e5fe539d1bff7b66e5154dba4d4321b7f08
2022-08-19 21:59:19 +02:00
Christopher N. Hesse
92ccf71572 sm8250-common: Enforce vendor tree presence
A compiled build has no chance of booting without the prebuilt
binaries, so fail the build if those are not present.

Change-Id: I8124a5f92a75490ce48422b9d760764733efe37e
2022-08-19 21:59:19 +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
Naman Padhiar
5ad91ff2f1 sm8250-common: init: Bring WPSS out of reset on init
Change-Id: Ia7e6d0644102147a56869d22de5d26faae3cbb63
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
2a7e625904 sm8250-common: Move properties to their respective partitions
* They don't have permission to be set otherwise.

Change-Id: I63aa83d0ff316c5fe0c90df85f0951c4d3a19e06
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
1dc7cad6f0 sm8250-common: Copy PFM licenses to persist
* This is read by the feature enabler client. OOS already
   does this but we want to make sure we're doing this for
   users upgrading from Lineage 18.1.

Change-Id: I1d112d9cea6f3d0e87cdf12898587c7bacf8de9c
2022-08-19 21:59:19 +02:00