Commit Graph

746 Commits

Author SHA1 Message Date
KakatkarAkshay
c69a60d5e4 avicii: Sync CarrierConfig with AC2003_11_F.18
Change-Id: If09c1190b4c75a8ab7723893b413920308ef5499
2023-03-02 00:45:07 +05:30
Jake Weinstein
39398ef84f avicii: overlay: Only allow 5G SA on Jio
Change-Id: I42a9d602abdd8fc0835e5c6444a54946fc5561d3
2023-03-02 00:45:07 +05:30
KakatkarAkshay
8def651d0e avicii: Update blobs from AC2003_11_F.18
* Use prebuilt audio stack for now

Change-Id: I1c82dc15a46cc39e9641c7dc41fe49098c4bc4c7
2023-03-02 00:45:07 +05:30
KakatkarAkshay
dc38411a1e avicii: Switch to PN553 NFC
Change-Id: Ia90aa2163fc69e75b4378936386629ec47456a93
2023-03-02 00:45:07 +05:30
Daniel Jacob Chittoor
850e9e0cd5 avicii: Use 24bit pulse-code modulation for deep buffer playback
* Align with OnePlus' 24 bit-width audio enforcement.

Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
Change-Id: Ia0e067a6f7f6ff4ca3bf97b896e38a851954d1a9
2023-03-02 00:45:07 +05:30
Daniel Jacob Chittoor
767cd605d5 avicii: audio: 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 causing backend failures.

 * This will also align to OnePlus's 24 bit width audio enforcement.

Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
Change-Id: Ic5e715311c6d3c46579b93346a9ffd814e022e91
2023-03-02 00:45:07 +05:30
iovxw
ee0a6fdc38 avicii: Remove FM Tuner from audio input devices
Change-Id: Id90fc9ac1ad24b5d439592aecfdf4f8912893935
2023-03-02 00:45:07 +05:30
LuK1337
b4e8d61cb8 avicii: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.

 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
2023-03-02 00:45:07 +05:30
KakatkarAkshay
41d0f8b345 avicii: Update Audio configs from AC2003_11_F.17
Change-Id: I753a992d7b4ab2451965e5cc7c00ef9452499239
2023-03-02 00:45:07 +05:30
KakatkarAkshay
b49a01f7ae avicii: Sync properties from AC2003_11_F.17
Change-Id: Ia7031f5e9847509f299a969a4efc897903959917
2023-03-02 00:45:03 +05:30
LuK1337
0beafc06ae avicii: Set more crypto props
Change-Id: I9b18c44e0508cf16b5b815ce5aaab08ed5e7c9c4
2023-02-19 14:19:36 +01:00
MajorP93
230d0f70f6 avicii: init: Update product model properties
Change-Id: I7372c6bb328e3cd4ff99f765fe73fe341275b2e7
2023-02-19 14:19:36 +01:00
MajorP93
0dade69964 avicii: init: Set hardware revision property for IN variant only
Sadly RF version can not act as a unique identifier for EU and GLO variant of avicii since OnePlus decided to use RF version 14 for both.
Due to this reason we're only setting the property for IN variant.

Change-Id: I9057f11f5728898530cd0504c4a0125091da6910
2023-02-19 14:19:36 +01:00
Grace Chen
238c4e5706 avicii: Enable DSDS by default
* Nord does not have a single sim variant

Bug: 197273281
Test: Confirm DSDS property.
Change-Id: I007ef6b81ddfdb3d9692f286bbcb85c2bae5dae5
2023-02-19 14:19:36 +01:00
KakatkarAkshay
b864dcb494 avicii: init: Update for lito
* Nord does not have CN, TMO versions so remove them

Change-Id: I1f02cee983a5ecb99bbf1619ac2c87b78e9d667d
2023-02-19 14:19:36 +01:00
Alexander Koskovich
f15a998417 avicii: Set USB product string to 'OnePlus Nord'
* This is better for user facing stuff than 'AC2003'.

Change-Id: I1f380699692c07b2fcc03fa83adc292b6d899cf7
2023-02-19 14:19:36 +01:00
Sal Savage
08f8cc3f26 avicii: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-02-19 14:19:36 +01:00
LuK1337
4c45de466f avicii: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-02-19 14:19:36 +01:00
KakatkarAkshay
b9f447fb20 avicii: Set physical power button location
Change-Id: I73d96a78fdc0cef03024803fb4e6ef43723b1888
2023-02-19 14:19:36 +01:00
KakatkarAkshay
3c8e0c9930 avicii: Setup UDFPS Overlays
Change-Id: Ib6ea56ce892ce7932c80f56d553c2c862edb1eec
2023-02-19 14:19:36 +01:00
KakatkarAkshay
09c59973d1 avicii: Import Status Bar related overlays from AC2003_11_F.17
Change-Id: Ib5c11ad1e900f9b566c3067ef03ed08af90f453a
2023-02-19 14:19:36 +01:00
KakatkarAkshay
25d15d5d59 avicii: Import power_profile from AC2003_11_F.17
Change-Id: I61191addbfb2c14115cd4c4681d4b1d4a5261436
2023-02-19 14:19:34 +01:00
KakatkarAkshay
8221a995e1 avicii: Set rounded corner overlays
Change-Id: I11baf8b76d45152a32a4da86db2a82baac4111ce
2023-02-19 00:58:12 +01:00
KakatkarAkshay
3fab13d29c avicii: Set Status bar height as per stock
* Taken from AC2003_11_F.17

Change-Id: Ia0b44367d4e3153928ba030f8d5fad8fb29627dd
2023-02-19 00:58:12 +01:00
KakatkarAkshay
f47e82bfc3 avicii: Set Refresh Rate to 90 Hz
Change-Id: I64ff6849862b52b08ed89972c44cf93b2a6c0700
2023-02-19 00:58:12 +01:00
KakatkarAkshay
a56918ab1c avicii: Import camera cutout overlay from AC2003_11_F.17
Change-Id: Ib2e5b59940838d911c751002c23e91892818acff
2023-02-19 00:58:12 +01:00
KakatkarAkshay
f813cf2e61 avicii: Import automatic brightness overlays from AC2003_11_F.17
Change-Id: I5d5d476530bfcd09533ac38de45866f31207d628
2023-02-19 00:58:12 +01:00
Anton Hansson
915db50750 avicii: Use TARGET_SCREEN_DENSITY
This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.

Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2
2023-02-19 00:58:12 +01:00
KakatkarAkshay
f58444291f avicii: Introduce fstab from LA.UM.9.12.r1-14300.01-SMxx50.QSSI13.0
Change-Id: I8b4708d1f1b3f2968d0bfa03deac0191ee9c3d15
2023-02-19 00:58:12 +01:00
Alexander Koskovich
f60c26464c avicii: Disable the usage of ConfigStore.
* As per commit 11a113a67e ("Add disable_configstore").

Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
2023-02-19 00:58:12 +01:00
Bruno Martins
71aef50ac3 avicii: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2023-02-19 00:58:12 +01:00
KakatkarAkshay
1ceb351f18 avicii: Remove custom apn configuration
* Nord isn't available in US

Change-Id: Ic307575a033ac6b1a7e0ba7a0274a22fd202b84d
2023-02-19 00:58:12 +01:00
KakatkarAkshay
738b8d20be avicii: Set Boot animation resolution
Change-Id: I69eddc4ea95f356f88529154ff3de939cb352bb8
2023-02-19 00:58:12 +01:00
LuK1337
37c0d4705e avicii: Set BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE to (super / 2 - 4M)
Change-Id: I37c1757d481b62895cb9f577b4ed649b912da6dc
2023-02-19 00:58:12 +01:00
LuK1337
8d7855c2d6 avicii: Declare super partition size 2023-02-19 00:58:12 +01:00
LuK1337
707437dd13 avicii: Set reserved partition sizes on !WITH_GMS 2023-02-19 00:58:12 +01:00
Tao Bao
5cec0f3021 avicii: Set recovery margin height to avoid clipping
Change-Id: Iaaaabd13de384a0ebfff9f527fcdd0338c3f99bc
2023-02-19 00:58:12 +01:00
Bruno Martins
cb399efb27 avicii: consider lineage_avicii product via the AOSP way
Change-Id: Iab7b6c4d2817af88a133945df8fcc7fb964e35e9
2023-02-19 00:58:11 +01:00
LuK1337
679858f2aa avicii: Switch MDM remote fs symlinks to MSM
7250 has MSM baseband rather than MDM

Change-Id: Ie70a0c5dce177f293ccc0ff1b46a642527f85549
2023-02-19 00:07:52 +01:00
KakatkarAkshay
5b5560dc65 avicii: Correct WLAN Symlink
* sm7250 doesn't use qca6390
2023-02-08 18:37:55 +05:30
Alexander Koskovich
285584e76c avicii: Set the shipping API to 29 (Android 10)
Change-Id: I0739afc923402038f9cff5b9b87accc8e98ebea2
2023-02-06 01:11:21 +05:30
KakatkarAkshay
9b2d4d1ecf avicii: Initial rename from sm8250-common
Change-Id: Ied88e7cdac0624470c40d734957db1b4695d9021
2023-02-06 01:11:12 +05:30
LuK1337
b3996b9e9b sm8250-common: Register wise light as android.sensor.light
Sadly a lot of apps aren't aware of config_displayLightSensorType.

Change-Id: Ib1c2f0ba8305dbfe262722f2a1862dafaac973df
2023-01-21 01:50:46 +01:00
LuK1337
b572742ed2 sm8250-common: Unpin WFD system stack
Change-Id: I2d844412768c0468fe03ae11ea9a181267777acb
2023-01-15 13:22:19 +01:00
jabashque
852815b998 sm8250-common: init: Move VOOC-related writes back to init
This allows these same writes to happen in both Android and offline
charging mode, thus enabling VOOC during offline charging.

Change-Id: Iacf85966b5fa37eedb42887d666369fb63e13c33
2023-01-13 12:25:20 +01:00
Edwin Moquete
d62a96ef8d sm8250-common: Add missing vendor.qti.hardware.btconfigstore@2.0 impl
Change-Id: I93d20f9ab01f330da3060a25a9869d45e0269615
2023-01-13 13:23:26 +02:00
Michael Bestas
87cb64eee0 sm8250-common: Remove unused a2dp_audio_policy_configuration.xml
Change-Id: I36a06d3829b0ec2fd89ae49899f3ed268f6d9993
2023-01-09 17:59:40 +01:00
llololo
8244196031 sm8250-common: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-01-09 17:59:40 +01:00
Alice Kuo
9d8d2c79a1 sm8250-common: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I57eaa7abe70e4c7739c707b09dc95530e10b5586
2023-01-09 17:59:40 +01:00
LuK1337
7ef0e52de4 sm8250-common: Update from OOS 11.F.15
Change-Id: If46b0ab89648c902be840b32e7420da68c35ada3
2023-01-09 01:16:03 +01:00