Commit Graph

554 Commits

Author SHA1 Message Date
Daniel Jacob Chittoor
3b26cd28c4 sm7250-common: Remove duplicate audio property
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
2021-09-26 09:22:28 +02:00
Daniel Jacob Chittoor
08df6f4455 sm7250-common: Use 24bit pulse-code modulation for deep buffer playback
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
2021-09-26 09:22:28 +02:00
LuK1337
28b5bf48f7 sm7250-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
2021-09-26 09:22:28 +02:00
Daniel Jacob Chittoor
5bf3e75c4d sm7250-common: Set correct pulse-code modulation format for primary output
OnePlus had made the corresponding change in the IO policy config
but however it seems that policy side configuration was left as is
due to which format routing to device was broken as the IO policy
specificed a 24bit PCM format for primary audio meanwhile the policy
config marked 16bit PCM as the format.

Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
2021-09-26 09:22:28 +02:00
craftju
7427e26e20 sm7250-common: Disable Rescue Party mechanism on userdebug & eng build
Bug: 151191362
Test: adb shell getprop | grep persist.sys.disable_rescue => Pass
Change-Id: Idf12b1c817b45bb0b7ffe2189b86a745813b56fa

Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
2021-09-26 09:22:28 +02:00
KakatkarAkshay
d0559544ba sm7250-common: Build system variant of libhidltransport and libhwbinder
* Needed by libnxpnfc-nci.so
2021-09-26 09:22:28 +02:00
KakatkarAkshay
a758a52641 sm7250-common: Sync WifiResCommon with stock 2021-09-26 09:22:22 +02:00
KakatkarAkshay
e37c3e0fa3 sm7250-common: Sync Graphics props with stock 2021-09-26 09:22:16 +02:00
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