Commit Graph

527 Commits

Author SHA1 Message Date
KakatkarAkshay
61ca4dcdee sm7250-common: Sync audio props with stock 2021-09-26 09:20:40 +02:00
Jaideep Sharma
10676df95f sm7250-common: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec, once the system
is ready.

Change-Id: I651fea37fc7093e196fc2f5e540e6d9447f88b71
2021-09-26 09:20:40 +02:00
Lokesh Gidra
2c85ec0e33 sm7250-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-09-26 09:20:40 +02:00
LuK1337
89753766b7 sm7250-common: Don't pass OEM_TARGET_PRODUCT to kernel build cmdline
Not needed on this platform.

Change-Id: I6cbb2772b8a79a7d50be113e493ae9743238cc8e
2021-09-26 09:20:40 +02:00
Bruno Martins
5070d63e70 sm7250-common: Bring up DSDS radio
Change-Id: I290532f7a9f3477b0a13f73d6818a16134df1caa
2021-09-26 09:20:40 +02:00
KakatkarAkshay
0386782fa7 sm7250-common: Fix haptics and health node path 2021-09-26 09:20:40 +02:00
LuK1337
f7de707b05 sm7250-common: Update wlan symlinks
Change-Id: I4f0ae4ee4a9b5e39325405c9388466438b5b8535
2021-09-26 09:20:40 +02:00
LuK1337
e0e0ff94b1 sm7250-common: Build libhidltransport.vendor
Needed for NFC.
2021-09-26 09:20:40 +02:00
LuK1337
da0be68686 sm7250-common: Fix host_init_verifier errors
Change-Id: I6d6ca2bd57ef36916e17cc91fea13839d03d02a8
2021-09-26 09:20:40 +02:00
KakatkarAkshay
ee5e276e9b sm7250-common: Update wifi configs from OnePlusNordCE OxygenOS 11.0.4.4 2021-09-26 09:20:40 +02:00
KakatkarAkshay
b2e970992b sm7250-common: Update gps configs from from OnePlusNordCE OxygenOS 11.0.4.4 2021-09-26 09:20:40 +02:00
KakatkarAkshay
bddc776409 sm7250-common: Update audio and media configs from OnePlusNordCE OxygenOS 11.0.4.4 2021-09-26 09:20:40 +02:00
KakatkarAkshay
981ad16ac0 sm7250-common: Update init scripts from OnePlusNordCE OxygenOS 11.0.4.4 2021-09-26 09:20:40 +02:00
Bruno Martins
70e9d3f059 sm7250-common: Remove useless or unused init scripts
Change-Id: I579319d620b14aab0decd49587d58a20262576ae
2021-09-26 09:20:40 +02:00
KakatkarAkshay
5185b709bf sm7250-common: Populate initial common blobs list 2021-09-26 09:20:39 +02:00
KakatkarAkshay
419a5b32d9 sm7250-common: Initial common device tree conversion 2021-09-26 09:18:39 +02:00
LuK1337
43591c3713 sm8250-common: Switch to hardware/oneplus components
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-20 15:05:35 +02:00
Bowgo Tsai
1bf94e3dc1 sm8250-common: Including product partition into vbmeta_system.img
vbmeta_system.img should include HASHTREE descriptors for system.img,
system_ext.img and product.img, which will be updated in a system-only
OTA manner.

Bug: 170180068
Test: Tree Hugger
Change-Id: Iaf81dc11313826d146adb31d4edfbbd5310c48f6
2021-09-03 14:49:33 +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
Bruno Martins
e628853f9c sm8250-common: Update ODM features list from OSS 11.2.8.8
Change-Id: I77e406f109815aec52ff6c9fd931dd1e17746452
2021-08-18 15:38:48 +02:00
Bruno Martins
8dbce66838 sm8250-common: Update ODM features list from OSS 11.2.7.7
Change-Id: Ic9138245adc8819c7662e933f3bbe6df062801e5
2021-08-18 14:25:10 +02:00
Bruno Martins
a625cadbd5 sm8250-common: Sync ODM features list with OnePlus framework
Change-Id: I5ee53189cb0783d7d2acec584aef6cecc7d612de
2021-08-18 14:25:00 +02:00
LuK1337
a980329556 sm8250-common: Update blobs from OOS 11.0.8.8
Change-Id: I60f5d95c8aa1a478466c359ec15b4116bce0a569
2021-08-18 14:19:45 +02:00
LuK1337
7ec6643321 sm8250-common: Include device FCM from vendor/lineage
Sadly we aren't able to include it globally without breaking other
devices ;((((

Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-08-02 22:54:23 +02:00
LuK1337
cb0dd0b4d4 sm8250-common: Remove all lineage HALs from FCM
No longer needed since we added device framework matrix in
vendor/lineage, see 78870c2.

Change-Id: I00233e7588dcfcd4bb66c42c52edb34cdff4376e
2021-08-02 15:56:57 +02:00
AnierinB
6a844cface sm8250-common: FCM: Remove leftover IDisplayModes entry
- Follow up to commit Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697

Signed-off-by: AnierinB <anierin@evolution-x.org>
Change-Id: If5a6e11d983161beee93e0770fdcce2311e9d417
2021-07-29 02:24:15 +00:00
Omkar Chandorkar
51943f7a17 sm8250-common: Use prebuilt vendor libdisplayconfig.qti.so
There are several VMTs inside that library that are prone to change
on CAF merges.

So far, last LA.QSSI.11.0.r1-12300-qssi.0 merge already modified
ConfigInterface VMT in a way that's not backwards compatible thus
it'd be better if we provided a prebuilt library instead.

Change-Id: I25fe58e6721b8d0e67882f576cfaf288c9992fc9
2021-06-28 13:35:47 +02:00
chandra
dc976b0c66 sm8250-common: Enable config_powerDecoupleInteractiveModeFromDisplay
* It's set to true on stock.

Change-Id: I23220f18e8376d05c769c01a289d27f658372cbc
2021-06-27 10:27:45 +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
LuK1337
ae3fe29be1 sm8250-common: doze: Enable proximity sensor check for raise to wake
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3646
Change-Id: Ic546b25126e0dc44af444179f7041f6b5fe51763
2021-06-19 11:01:36 +02:00
Bruno Martins
eae431410f sm8250-common: overlay: Set IWLAN data service package name
Change-Id: I0f6a7531f57eaf293299b72e9ced9de70cc32477
2021-06-17 11:09:50 +02:00
Fenglin Wu
e39871a9de sm8250-common: vibrator: Add logic to detect QTI haptics device
Check input device name to make sure a real QTI vibrator device is
detected instead of other input FF device with the same capability
being recognized wrongly as a QTI vibrator.

Change-Id: I54f00e777212b3bd19088faa183b0ff41019dfcc
2021-06-17 10:50:00 +02:00
Bruno Martins
1b5b17e9ed sm8250-common: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
It is no longer necessary as per the latest QTI USB HAL update
(LA.UM.9.12.r1-11500-SMxx50.0).

Change-Id: I3caf226de247ac45bdcb9b35ab3a4c5b959dc1dd
2021-06-15 23:16:54 +02:00
LuK1337
bc32893867 sm8250-common: Update blobs from OOS 11.0.7.7
Change-Id: Iaf5c72c7c5b840afedbae498fd4d25c6aee74514
2021-06-12 19:04:02 +02:00
Arne Coucheron
04a49dee44 sm8250-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 12:07:22 +02:00
Sebastiano Barezzi
ce49dcdd35 sm8250-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 13:50:08 +02:00
Sebastiano Barezzi
0e9898d708 sm8250-common: fod: Move to AOSP Soong conditionals
Change-Id: Iaf7c291d2f08262d9f578901d688eb98ade4beba
2021-06-08 13:37:11 +02:00
P.Adarsh Reddy
20a3d8694e sm8250-common: Enable incremental FS feature.
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-07 10:41:49 +08:00
Anish Pratheepan
f5b4164b68 sm8250-common: Pull init.oem.rc changes from OOS 11.0.6.6
Change-Id: Ib091133baaebc703fc4905255a12b6694304edb2
2021-06-04 21:38:32 +02:00
Bruno Martins
d7b2e5ff2c sm8250-common: Unset config_vendorPlatformSignatures
There's no need to respect OnePlus's platform key anymore as we are
building our own vendor image and thus we are resigning all apps.

Change-Id: I49d97df08c448cad95b2ce1356a30aac49774148
2021-06-03 10:18:49 +02:00
Bruno Martins
03e16e41d5 sm8250-common: sepolicy: Move tri-state-key labels to genfs_contexts
Change-Id: I072c2aaf5c9aae231c68bc9e55806eb59fa7f665
2021-06-02 11:42:54 +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
191c30fbd9 sm8250-common: Prepend "system/" before paths where necessary
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2021-06-01 10:40:49 +02:00
Bruno Martins
70bd2661d2 sm8250-common: Ditch rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2021-06-01 10:23:44 +02:00
LuK1337
647b59d0c5 sm8250-common: overlay-lineage: Unset def_clock_position as 2 is default
Change-Id: Ic59ef7269eb211c6b784d6c7a003ac3083d4693c
2021-05-31 22:57:10 +02:00
Bruno Martins
6d2fb2f68b sm8250-common: overlay-lineage: Place volume panel on the left by default
Change-Id: Iffcfad9af472ada48c0dc12cf238fd959355bc6a
2021-05-31 22:56:02 +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
f972f8c9fb sm8250-common: Update blobs from OOS 11.0.6.6
Change-Id: I5b0519136cbca2b94c90fbae114197f4f1d4416e
2021-05-27 14:26:19 +02:00