Commit Graph

773 Commits

Author SHA1 Message Date
Pranav Vashi
a8b0c61f85 avicii: Add temp divider value for cpu info overlay
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:57 +05:30
Pranav Vashi
7eaffedb6f avicii: Add overlay with FPS path
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:57 +05:30
Pranav Vashi
f4393ca61c avicii: Decouple auto-suspend and interactive state from display
* Maximizes power saving.

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:57 +05:30
Pranav Vashi
db0a6da2d5 avicii: Enable ambient display notifications by default
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:46 +05:30
Pranav Vashi
8d566576d6 avicii: Enable UDFPS icons and animations
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:08 +05:30
chandu078
039c1043f0 avicii: Enable Alert Slider UI
* Values for avicii

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:41:41 +05:30
AmolAmrit
328e3eed92 avicii: Add asserts for OTA override
* To fix issues with recoveries we have.

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-30 14:47:30 +05:30
Philipp Albrecht
dbac155689 avicii: Update thermal config from AC2003_11_F.18
adb shell thermal-engine -o > thermal-engine.conf
2023-03-30 14:47:30 +05:30
MajorP93
5c29f56c4c avicii: Update blobs from LA.QSSI.13.0.r1-09200-qssi.0
Co-authored-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
2023-03-30 14:47:30 +05:30
Georg Veichtlbauer
de9894916a avicii: Remove aptX(HD) encoder shared libs
Encoder shared libraries are no longer required as of Android 13 QPR2.

Change-Id: I893a9000070cb2582ada0af91547f5176e6fea84
2023-03-30 14:47:30 +05:30
MajorP93
ce7e007b68 Revert "avicii: Set TARGET_KERNEL_CLANG_VERSION to r416183b"
This reverts commit 4b00eff5aa63c3e4364221d759c1bccb955578a7.
2023-03-30 14:47:30 +05:30
KakatkarAkshay
5a92d6f4ba 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-30 14:47:30 +05:30
chandra
9616cc009a avicii: Enable fast charge 2023-03-30 14:47:30 +05:30
Anirudh Gupta
8d9ef1ff67 avicii: Show audio panel on left side
Change-Id: I3664e03ea6973263e78b617e4c4ac475ee7b5fad
2023-03-30 14:47:30 +05:30
Chenyang Zhong
dc396a2b01 avicii: overlay: Enable screen-off UDFPS by default
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I9be2efa11f7824701322c288d0510a18fc296aa1
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-30 14:47:23 +05:30
zlewchan
70a46be83d avicii: Remove config_restartActionsList
- Unsupported by PE

Signed-off-by: zlewchan <x@zlew.tf>
Change-Id: I9fb1be754dcb9e19ae0a92099629f93190da12fe
2023-03-30 14:46:18 +05:30
d34d
4c5ab40d4b avicii: Configure fingerprint sensor location
Change-Id: I9618710e446fea31041883e8be9186c66809e163
2023-03-09 17:02:56 +05:30
Jesse Chan
384ee62a2a 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-09 16:59:50 +05:30
Vishalcj17
3a95265dd3 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-09 16:59:37 +05:30
AmolAmrit
3662ba217c avicii: Update build fingerprint information
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-09 16:55:21 +05:30
AmolAmrit
159a902f73 avicii: Set custom device name
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-09 16:53:16 +05:30
AmolAmrit
a391b6f66b avicii: device: Enable Quick Tap
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-09 16:51:06 +05:30
AmolAmrit
5983a46383 avicii: Include README.md
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-09 16:50:20 +05:30
AmolAmrit
79eff58ffe avicii: Switch to crDroid dependencies
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-03-09 16:49:39 +05:30
Michael Bestas
f3f62117b5 avicii: Set TARGET_KERNEL_CLANG_VERSION to r416183b
Change-Id: Ic1eb6f7e3cb54bdb67da2fb963426a240f2edda3
2023-03-09 16:33:03 +05:30
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