Commit Graph

546 Commits

Author SHA1 Message Date
dianlujitao
f8a7c0b95b sm7250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
2021-09-26 09:22:16 +02:00
KakatkarAkshay
5d1a5c70b0 sm7250-common: Remove PowerShare Sepolicy
None of the lito family of OnePlus devices has this feature.

Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
2021-09-26 09:22:10 +02:00
LuK1337
47489d34cb sm7250-common: Switch MDM remote fs symlinks to MSM
7250 has MSM baseband rather than MDM

Change-Id: Ie70a0c5dce177f293ccc0ff1b46a642527f85549
2021-09-26 09:21:30 +02:00
KakatkarAkshay
fc45f13046 sm7250-common: Load QCACLD module during boot event trigger
Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
2021-09-26 09:21:30 +02:00
KakatkarAkshay
2bc4b7fb8c sm7250-common: Decommonise tri-state-key packages
* Only Nord has alert slider
2021-09-26 09:21:30 +02:00
KakatkarAkshay
f2f3e53131 sm7250-common: sepolicy: Fix build errors 2021-09-26 09:21:11 +02:00
KakatkarAkshay
01ff2a2cce sm7250-common: Decommonise vibrator package
* Some devices don't have oneplus haptics
2021-09-26 09:21:10 +02:00
KakatkarAkshay
bbd0232c2a sm7250-common: set TARGET_SCREEN_DENSITY to 450
* All devices in oneplus sm7250 lineup have 1080p display
2021-09-26 09:20:40 +02:00
KakatkarAkshay
e9a33ef666 sm7250-common: Disable Audio DTS and Dolby Feature flags 2021-09-26 09:20:40 +02:00
LuK1337
5b8806c5cd sm7250-common: Build android.hardware.thermal@2.0-service.qti
As seen on stock ROM.

Change-Id: I950ab50ded7b3c1164ff88ab18d7f1e3365a6086
2021-09-26 09:20:40 +02:00
KakatkarAkshay
040e4cca66 sm7250-common: Sync CarrierConfig overlay with OnePlusNordCE OOS 11.0.4.4 2021-09-26 09:20:40 +02:00
LuK1337
4c73bc4db6 sm7250-common: Enable DPM Connection Tracking (CT)
Change-Id: I25991ee34c87ce1de4fb234518238f3fc906b54b
2021-09-26 09:20:40 +02:00
KakatkarAkshay
6b283d6a53 sm7250-common: Sync sensor props with stock 2021-09-26 09:20:40 +02:00
LuK1337
95f057b641 sm7250-common: Enable NR by default for SIM2 slot
Change-Id: I9fbe74cfed75754b950931ce712d278421327d13
2021-09-26 09:20:40 +02:00
LuK1337
60541fe2a0 sm7250-common: wifi-mac-generator: Fix byte order
Change-Id: I42b39015b518ad4b707e2023d7a3fef01dc8d825
2021-09-26 09:20:40 +02:00
LuK1337
a56ed01f90 sm7250-common: Add wifi mac generator shell script
Change-Id: I95593db840dc4a668f899d248b2c8e03d4ebbc3e
2021-09-26 09:20:40 +02:00
LuK1337
e442fed8ca sm7250-common: wifi: Enable read_mac_addr_from_mac_file
This is needed to make WiFi driver load wlan_mac.bin file.

Change-Id: Ifdffd86cc412de1338996055cafa08d753fe0426
2021-09-26 09:20:40 +02:00
LuK1337
4de7bfdcde sm7250-common: Use local WCNSS_qcom_cfg.ini
Change-Id: Iecca4f981fdf838020d74cbabc57088b1ac1a18c
2021-09-26 09:20:40 +02:00
KakatkarAkshay
d179c3dd27 sm7250-common: Revise feature permission sets 2021-09-26 09:20:40 +02:00
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