Commit Graph

760 Commits

Author SHA1 Message Date
MajorP93
3246114bb0 Revert "avicii: Set TARGET_KERNEL_CLANG_VERSION to r416183b"
This reverts commit 4b00eff5aa.
2023-03-22 20:24:54 +00:00
KakatkarAkshay
8957e9dd1f avicii: Update blobs from CAF
* VENDOR from LA.UM.9.12.r1-14400-SMxx50.QSSI13.0
* QSSI from LA.QSSI.13.0.r1-09000-qssi.0
* Split CAF proprietary files
* Update Keymaster to 4.1
* Use FBE v2
* Use Non 20801/20804 (Nord) libs/firmwares
* Do not use odm/vendor dir for WCNSS_qcom_cfg.ini
2023-03-02 00:45:07 +05:30
chandra
f96475f3a1 avicii: Enable fast charge 2023-03-02 00:45:07 +05:30
Anirudh Gupta
7013d9d304 avicii: Show audio panel on left side
Change-Id: I3664e03ea6973263e78b617e4c4ac475ee7b5fad
2023-03-02 00:45:07 +05:30
Chenyang Zhong
865dccc4e4 avicii: overlay: enable screen-off udfps by default
It has been changed to false on the PE side recently.

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I9be2efa11f7824701322c288d0510a18fc296aa1
2023-03-02 00:45:07 +05:30
zlewchan
8549c6d1f6 avicii: Remove config_restartActionsList
- Unsupported by PE

Signed-off-by: zlewchan <x@zlew.tf>
Change-Id: I9fb1be754dcb9e19ae0a92099629f93190da12fe
2023-03-02 00:45:07 +05:30
d34d
4c903a5c88 avicii: Configure fingerprint sensor location
Change-Id: I9618710e446fea31041883e8be9186c66809e163
2023-03-02 00:45:07 +05:30
Ruchit Marathe
173e243067 avicii: correct SystemUI package name and pinner service
apk name and path was changed as seen here
8be4fc80c0

This causes errors in logs since pinner was trying to pin old app.

PinnerService: Could not pin file /system_ext/priv-app/SystemUI/SystemUI.apk

PinnerService: Failed to pin file = /system_ext/priv-app/SystemUI/SystemUI.apk
2023-03-02 00:45:07 +05:30
Jesse Chan
61fb9f4c18 avicii: overlay: configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
2023-03-02 00:45:07 +05:30
KakatkarAkshay
226b9ea61f avicii: PixelExperience Bringup 2023-03-02 00:45:07 +05:30
Vishalcj17
744525f2b6 avicii: Generate thermal config from OOS.
* Generated using the command
   "adb shell thermal-engine -o > thermal-engine.conf"

 * We don't use thermal daemon from OOS which has these
   changes inline, instead, make CAF thermal-engine happy
   with the config.

Change-Id: I02e45dfbf9880c8e8418c4d8d9b4d827b4d7066d
 thirteen
2023-03-02 00:45:07 +05:30
Michael Bestas
4b00eff5aa avicii: Set TARGET_KERNEL_CLANG_VERSION to r416183b
Change-Id: Ic1eb6f7e3cb54bdb67da2fb963426a240f2edda3
2023-03-02 00:45:07 +05:30
LuK1337
34746647c1 avicii: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-03-02 00:45:07 +05:30
LuK1337
4c4efe0257 avicii: Override available touchscreen gestures list
Change-Id: I14b0e034094c0cf4b60a86f5f26fc8d77ab50e43
2023-03-02 00:45:07 +05:30
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