Commit Graph

612 Commits

Author SHA1 Message Date
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
LuK1337
6ed9f1e67f sm8250-common: Use hardware/oplus/sepolicy/qti
Change-Id: I8d1f4c402a4e9ce8d97cf315d32148f88089c4c5
2022-08-19 21:59:19 +02:00
Alexander Koskovich
d29a4ea5c7 sm8250-common: init: Set 'ro.separate.soft' to project name
Change-Id: I4ae6281c323a68e0f21af5b0c4e2a578fe80794a
2022-08-19 21:59:19 +02:00
LuK1337
50ddba9a7c sm8250-common: Regenerate config.fs
Change-Id: I73e85d9d33f87dafef930bad0c2d7c08ef31d7c2
2022-08-19 21:59:19 +02:00
LuK1337
739cd46580 sm8250-common: Reenable KeyHandler
Change-Id: I0ac48d3b16086401b6226582901c4a04f53df6eb
2022-08-19 21:59:19 +02:00
LuK1337
9f8a912529 sm8250-common: Switch doze to android.sensor.tilt_detector
Change-Id: Ieb91a64f7e03f6d4a6e755c35c68054817e858f2
2022-08-19 21:59:19 +02:00
LuK1337
7e3d4ba421 sm8250-common: Sync color modes with stock
Change-Id: I0f5ea1dc6f352c34bd3a321ef19f2e9c7866a1de
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
84c4bd95ef sm8250-common: init: Use the same PID/VIDs from OOS
Change-Id: Ieaa52f748c75272b80fa6f3e7018cdb71e3a2f7f
2022-08-19 21:59:19 +02:00
Alexander Koskovich
801916b502 sm8250-common: init: Add oplusreserve1 ueventd entry
Change-Id: I3aa6e23e38d9e525e0e1d823e0933ab81c8f81af
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
6ba455d610 sm8250-common: Add oplus_sensor_fb
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
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
Jimmy Chen
aa145e77e6 sm8250-common: Move WiFi supplicant service definition to dedicated RC
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
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
f7889666bb sm8250-common: Add rest of QTI scripts to proprietary-files
* We won't be touching these.

Change-Id: Iec07925125b8fc27e807dea635ef2b17f5c7898b
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