Commit Graph

798 Commits

Author SHA1 Message Date
LuK1337
ac02304847 avicii: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-03-09 16:33:03 +05:30
LuK1337
fbd77f72e6 avicii: Override available touchscreen gestures list
Change-Id: I14b0e034094c0cf4b60a86f5f26fc8d77ab50e43
2023-03-09 16:33:03 +05:30
KakatkarAkshay
00a95d01bb avicii: Sync CarrierConfig with AC2003_11_F.18
Change-Id: If09c1190b4c75a8ab7723893b413920308ef5499
2023-03-09 16:33:03 +05:30
Jake Weinstein
2cf0bf967a avicii: overlay: Only allow 5G SA on Jio
Change-Id: I42a9d602abdd8fc0835e5c6444a54946fc5561d3
2023-03-09 16:33:03 +05:30
KakatkarAkshay
4eec36fe01 avicii: Update blobs from AC2003_11_F.18
* Use prebuilt audio stack for now

Change-Id: I1c82dc15a46cc39e9641c7dc41fe49098c4bc4c7
2023-03-09 16:33:03 +05:30
KakatkarAkshay
73d30c6b7a avicii: Switch to PN553 NFC
Change-Id: Ia90aa2163fc69e75b4378936386629ec47456a93
2023-03-09 16:33:03 +05:30
Daniel Jacob Chittoor
e575c0efb3 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-09 16:33:03 +05:30
Daniel Jacob Chittoor
86526d0bb7 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-09 16:33:03 +05:30
iovxw
2005df938c avicii: Remove FM Tuner from audio input devices
Change-Id: Id90fc9ac1ad24b5d439592aecfdf4f8912893935
2023-03-09 16:33:03 +05:30
LuK1337
af7ab736e3 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-09 16:33:03 +05:30
KakatkarAkshay
18fb7d3844 avicii: Update Audio configs from AC2003_11_F.17
Change-Id: I753a992d7b4ab2451965e5cc7c00ef9452499239
2023-03-09 16:33:03 +05:30
KakatkarAkshay
5644ed6989 avicii: Sync properties from AC2003_11_F.17
Change-Id: Ia7031f5e9847509f299a969a4efc897903959917
2023-03-09 16:33:03 +05:30
LuK1337
9a6e6e1225 avicii: Set more crypto props
Change-Id: I9b18c44e0508cf16b5b815ce5aaab08ed5e7c9c4
2023-03-09 16:33:03 +05:30
MajorP93
69c05e4667 avicii: init: Update product model properties
Change-Id: I7372c6bb328e3cd4ff99f765fe73fe341275b2e7
2023-03-09 16:33:03 +05:30
MajorP93
85f935def6 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-03-09 16:33:03 +05:30
Grace Chen
76b7c50661 avicii: Enable DSDS by default
* Nord does not have a single sim variant

Bug: 197273281
Test: Confirm DSDS property.
Change-Id: I007ef6b81ddfdb3d9692f286bbcb85c2bae5dae5
2023-03-09 16:33:03 +05:30
KakatkarAkshay
2cc2bd3cce avicii: init: Update for lito
* Nord does not have CN, TMO versions so remove them

Change-Id: I1f02cee983a5ecb99bbf1619ac2c87b78e9d667d
2023-03-09 16:33:03 +05:30
Alexander Koskovich
d036531899 avicii: Set USB product string to 'OnePlus Nord'
* This is better for user facing stuff than 'AC2003'.

Change-Id: I1f380699692c07b2fcc03fa83adc292b6d899cf7
2023-03-09 16:33:03 +05:30
Sal Savage
34f8a770e4 avicii: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-03-09 16:33:03 +05:30
LuK1337
0fa8d288e7 avicii: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-03-09 16:33:03 +05:30
KakatkarAkshay
b293e81f90 avicii: Set physical power button location
Change-Id: I73d96a78fdc0cef03024803fb4e6ef43723b1888
2023-03-09 16:33:03 +05:30
KakatkarAkshay
20bc310264 avicii: Setup UDFPS Overlays
Change-Id: Ib6ea56ce892ce7932c80f56d553c2c862edb1eec
2023-03-09 16:33:03 +05:30
KakatkarAkshay
161e54b18f avicii: Import Status Bar related overlays from AC2003_11_F.17
Change-Id: Ib5c11ad1e900f9b566c3067ef03ed08af90f453a
2023-03-09 16:33:03 +05:30
KakatkarAkshay
74b2bf1204 avicii: Import power_profile from AC2003_11_F.17
Change-Id: I61191addbfb2c14115cd4c4681d4b1d4a5261436
2023-03-09 16:33:03 +05:30
KakatkarAkshay
33192f7ef7 avicii: Set rounded corner overlays
Change-Id: I11baf8b76d45152a32a4da86db2a82baac4111ce
2023-03-09 16:33:03 +05:30
KakatkarAkshay
30305c0db9 avicii: Set Status bar height as per stock
* Taken from AC2003_11_F.17

Change-Id: Ia0b44367d4e3153928ba030f8d5fad8fb29627dd
2023-03-09 16:33:03 +05:30
KakatkarAkshay
42b4f49f1a avicii: Set Refresh Rate to 90 Hz
Change-Id: I64ff6849862b52b08ed89972c44cf93b2a6c0700
2023-03-09 16:33:03 +05:30
KakatkarAkshay
0ab82f4f79 avicii: Import camera cutout overlay from AC2003_11_F.17
Change-Id: Ib2e5b59940838d911c751002c23e91892818acff
2023-03-09 16:33:03 +05:30
KakatkarAkshay
014e9efda0 avicii: Import automatic brightness overlays from AC2003_11_F.17
Change-Id: I5d5d476530bfcd09533ac38de45866f31207d628
2023-03-09 16:33:03 +05:30
Anton Hansson
10e9beeaea 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-03-09 16:33:03 +05:30
KakatkarAkshay
1ae21d7dda avicii: Introduce fstab from LA.UM.9.12.r1-14300.01-SMxx50.QSSI13.0
Change-Id: I8b4708d1f1b3f2968d0bfa03deac0191ee9c3d15
2023-03-09 16:33:03 +05:30
Alexander Koskovich
843217dbad avicii: Disable the usage of ConfigStore.
* As per commit 11a113a67e ("Add disable_configstore").

Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
2023-03-09 16:33:03 +05:30
Bruno Martins
52d3e5f9bf avicii: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2023-03-09 16:33:03 +05:30
KakatkarAkshay
aa3962fef0 avicii: Remove custom apn configuration
* Nord isn't available in US

Change-Id: Ic307575a033ac6b1a7e0ba7a0274a22fd202b84d
2023-03-09 16:33:03 +05:30
KakatkarAkshay
6f44295d83 avicii: Set Boot animation resolution
Change-Id: I69eddc4ea95f356f88529154ff3de939cb352bb8
2023-03-09 16:33:03 +05:30
LuK1337
0462bbdf24 avicii: Set BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE to (super / 2 - 4M)
Change-Id: I37c1757d481b62895cb9f577b4ed649b912da6dc
2023-03-09 16:33:03 +05:30
LuK1337
39f391d776 avicii: Declare super partition size 2023-03-09 16:33:03 +05:30
LuK1337
37997f8190 avicii: Set reserved partition sizes on !WITH_GMS 2023-03-09 16:33:03 +05:30
Tao Bao
55721883cf avicii: Set recovery margin height to avoid clipping
Change-Id: Iaaaabd13de384a0ebfff9f527fcdd0338c3f99bc
2023-03-09 16:33:03 +05:30
Bruno Martins
3a986430e3 avicii: Consider lineage_avicii product via the AOSP way
Change-Id: Iab7b6c4d2817af88a133945df8fcc7fb964e35e9
2023-03-09 16:32:37 +05:30
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