Michael Bestas
22440349fa
sm6225-common: Add devon & rhode to build guards
...
Change-Id: If5c3292acc54512d211c7f966c9c8d0d17c3c87f
2023-04-24 19:52:25 +03:00
Michael Bestas
afd5e10120
sm6225-common: Remove persist.demo.hdmirotationlock
...
It defaults to false
Change-Id: I3514e01860c0fef7b1fb1da2d6302740a89244d2
2023-04-24 18:43:29 +03:00
Pullakavi Srinivas
57a6a46bbc
sm6225-common: hwc: Disable SF composition prediction model.
...
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2023-04-24 18:36:50 +03:00
Michael Bestas
1289f21a56
sm6225-common: Overlay config_virtualKeyVibePattern
...
Extracted from stock config_keyboardTapVibePattern which is now
deprecated, fixes weak vibrator when navigating and typing.
Change-Id: I5b830af0b6c67c52805013092eba19f1c7b6c92b
2023-04-23 22:15:26 +03:00
Michael Bestas
1772cc8cf5
sm6225-common: Build libssrec & remove unused audio blobs
...
Change-Id: I8ad69f09dcb96b6d191e69bdb5404afc31c9a1f4
2023-04-23 22:15:26 +03:00
Michael Bestas
87a87dcf62
sm6225-common: Switch to qcom audio effects
...
Change-Id: I5ebb51f416257602734bc45b7c1e6e7ba3014ec0
2023-04-23 22:15:25 +03:00
Michael Bestas
cb93b71e3a
sm6225-common: Switch to 2GB dalvik heap
...
Change-Id: I633e3753bd440c0ed044b8ffabe470302ba492ae
2023-04-23 22:15:17 +03:00
Michael Bestas
caebeb5c10
sm6225-common: Import audio_io_policy.conf from CLO
...
Change-Id: Ia14eba4ceda9294a1f38800443c8ca333a380b71
2023-04-23 21:00:40 +03:00
Michael Bestas
f0fa6fd7aa
sm6225-common: Remove unused audio_ext_spkr.conf
...
Change-Id: I0184d5a15cf3c343fd032d518ace2b5ac4117d10
2023-04-23 21:00:08 +03:00
LuK1337
988ef7c445
sm6225-common: overlay: Add reboot to fastbootd
...
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2023-04-21 18:22:46 +03:00
Michael Bestas
2ac59ca966
sm6225-common: Build com.motorola.hardware.biometric.fingerprint@1.0 from source
...
Change-Id: I9bfb3cdb86097e2df8bd0d4e5446c7dd84622a77
2023-04-21 17:28:44 +03:00
Rohit R Sekhar
2879ad04a6
sm6225-common: Build init.qti.display_boot scripts
...
Change-Id: I8e77710f2490587b811fd6238491a92900c35d34
2023-04-20 22:42:06 +03:00
Alexander Koskovich
556840b219
sm6225-common: Remove virtual framebuffer
...
* It's largely for testing purposes and it consumes
a large amount of memory. If your hardware doesn't
have graphics then it can be useful, which isn't the
case for shipped devices.
Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2023-04-20 21:44:22 +03:00
Michael Bestas
33e01f258b
sm6225-common: Set missing audio properties
...
Change-Id: Idef3be90e146180bec51318f53b2b83c6d7dc36a
2023-04-20 21:39:55 +03:00
Michael Bestas
0e153691e4
sm6225-common: Build missing audio libraries
...
Change-Id: I109751c9255ef8b8848983efb9556c4c2701e703
2023-04-20 20:13:06 +03:00
Michael Bestas
d24cb26618
sm6225-common: Remove unsupported A2DP offload codecs
...
These codecs don't work with the AOSP BT stack
Change-Id: If7dd128362480bfd841deab6800f4f36be4990d4
2023-04-20 19:15:58 +03:00
Edwin Moquete
11b9d8ec42
sm6225-common: Re-enable bluetooth AAC frame control
...
This prop was removed while switching to the AOSP BT stack,
which seems to cause issues with some AAC headphones.
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5381
Change-Id: I384df444be353475458ab156e4ec09542e23388a
2023-04-20 19:14:51 +03:00
Michael Bestas
dd73d8c021
sm6225-common: Set persist.vendor.qcom.bluetooth.scram.enabled=true
...
Fixes SBC/AAC A2DP offload
Change-Id: I8b025e3f61e0f8ad951bd98b88d5307f65191730
2023-04-20 19:13:12 +03:00
Bruno Martins
ced455eb30
sm6225-common: Fix A2DP when offload is disabled
...
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.
Change-Id: I89fd37962b2d063d6e30f84234568d552131fd97
2023-04-20 19:12:32 +03:00
Cheney Ni
4703ee1711
sm6225-common: Support A2DP offload for Bluetooth Audio HAL V2
...
Remove primary flags from hearing aid also.
Bug: 124277691
Bug: 124014853
Test: manual with BluetoothAudioHAL enabled / disabled
Change-Id: Ibc86687a6a6c2f0767a213ccd408e7bb5de98985
2023-04-20 19:12:32 +03:00
dianlujitao
3700001fbc
sm6225-common: Enable AOSP bluetooth audio HAL v2
...
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2023-04-20 19:12:32 +03:00
Michael Bestas
cfec62436f
sm6225-common: Remove unused a2dp_audio_policy_configuration.xml
...
Change-Id: I36a06d3829b0ec2fd89ae49899f3ed268f6d9993
2023-04-20 19:12:32 +03:00
llololo
99fe141990
sm6225-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-04-20 19:12:32 +03:00
Michael Bestas
78fd61d1c4
sm6225-common: Import vendor a2dp_audio_policy_configuration from CLO
...
Change-Id: I8563c2ea7c1ffe1e491d543b5c6dd32831ca1884
2023-04-20 19:12:32 +03:00
Michael Bestas
5cb5a1a942
sm6225-common: Move properties around
...
* Move whatever makes sense to vendor
* Eliminate system.prop
Change-Id: I2fd914463fec036b09ca673dfa2f72ff1992ca87
2023-04-20 19:12:32 +03:00
Michael Bestas
a3f3ca2931
sm6225-common: Update properties
...
* Remove properties that are same as defaults
* Add missing properties from stock
* Correct some properties from stock
Change-Id: I9ee3b8c1760e33b14a1b8a81a99c80ade35cdfd2
2023-04-20 19:12:28 +03:00
Michael Bestas
c8c5c3db01
sm6225-common: Sort properties
...
Change-Id: Ifd699f4be39f62e357621b4d3e892fc9589dd02a
2023-04-20 18:28:20 +03:00
Michael Bestas
a49c8ff4c0
sm6225-common: Remove unused system properties
...
* Move navigation bar/WiFi Display to overlays
* Remove unused blur prop
* Remove atfwd prop that is set in init scripts
Change-Id: Ia946b6391bcb6e12f6700f449d928ea86024c3a3
2023-04-20 04:38:04 +03:00
Michael Bestas
9344cd855c
sm6225-common: Remove deprecated IORAPD properties
...
IORap has been removed
Change-Id: Idcfefc42666195d6af7aeb66897b1d7b54ef9cda
2023-04-20 04:29:26 +03:00
Michael Bestas
718a266c49
sm6225-common: Remove unused media properties
...
Change-Id: I86a074de04b28143c78b7f8339427adb87c63e25
2023-04-20 04:26:11 +03:00
Edwin Moquete
a929343a30
sm6225-common: Remove unused hwui props
...
Change-Id: Ia6f7cdb9aa2a135c078c3d95c5914774be351975
2023-04-20 04:16:52 +03:00
Michael Bestas
91036a08a8
sm6225-common: Get rid of hardware_revisions.sh
...
This is useless for us and requires a bunch of SEPolicy changes.
Change-Id: I760cb419612f0a196a863f6bf1869e11341ab8d3
2023-04-19 20:35:11 +03:00
Michael Bestas
00cf17f1db
sm6225-common: sepolicy: Label init.mmi.boot.sh and resolve denials
...
Change-Id: I78dcfb47e28a20304e64880aeae1876d566d7924
2023-04-19 20:35:11 +03:00
Michael Bestas
458f933282
sm6225-common: init.mmi: Drop setprop ro.vendor.build.fingerprint
...
This doesn't work and it would be wrong if it worked.
Change-Id: I0d4123eb33c3a18eea36e01308df21764e2df3ac
2023-04-19 20:35:11 +03:00
Michael Bestas
28e3cb2afe
sm6225-common: init.oem.hw: Drop set_ro_vendor_incremental
...
Change-Id: Ic4d3d1775c437847f2aaecd87e504ba39bf93ac5
2023-04-19 20:35:11 +03:00
Michael Bestas
a44f1a0a7a
sm6225-common: init.mmi.touch: Drop SELinux permissive check
...
This part of the script causes unnecessary denials to show up when
we are in permissive mode.
Change-Id: I4b1fd469d0f37e8f31c998ee480b51078edd8a99
2023-04-19 20:35:10 +03:00
Michael Bestas
af60676a5a
sm6225-common: Add com.dsi.ant to vintf manifest
...
Fixes:
E HidlServiceManagement: Service com.dsi.ant@1.0::IAnt/default must be in VINTF manifest in order to register/get.
E LegacySupport: Could not register service com.dsi.ant@1.0::IAnt/default (-2147483648).
I android.hardware.bluetooth@1.0-service: Error while registering ANT service: -2147483648
Change-Id: Ifec99544b90dcf11f83e22c0436b89bb1a279e6a
2023-04-19 20:35:10 +03:00
Kevin Jeon
f87caaf5b6
sm6225-common: Update SurfaceFlinger pin on all targets
...
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Bug: 176197656
Test: adb shell dumpsys pinner (coral)
- shows that /system/bin/surfaceflinger is successfully pinned
adb logcat | grep PinnerService (coral)
- no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2023-04-19 20:35:10 +03:00
Nicolas Geoffray
089d6be078
sm6225-common: Remove odex/oat files from pinner list
...
The pinner now asks the runtime for these files.
Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2023-04-19 20:35:10 +03:00
dianlujitao
0242b9ef44
sm6225-common: Add missing telephony java libs
...
Change-Id: Ib027cd630b16995e13f4d063fbdd98fbbb04f5c1
2023-04-19 20:35:10 +03:00
Dhina17
80c520fd2e
sm6225-common: Enable wifi display
...
Change-Id: Ie5110f71c61b1ac55410ae28bed911fca6b60d98
2023-04-19 20:35:10 +03:00
Dhina17
82591a2f5b
sm6225-common: Use source built libqsap_sdk lib
...
- It's already being compiled. (bengal.mk#426)
Change-Id: I453eabf49fcef6d90982a34e33a0e3cde46c18ba
2023-04-19 20:35:10 +03:00
Georg Veichtlbauer
0da5a48473
sm6225-common: Remove aptX(HD) encoder shared libs
...
Encoder shared libraries are no longer required as of Android 13 QPR2.
Change-Id: I893a9000070cb2582ada0af91547f5176e6fea84
2023-04-16 13:37:59 +03:00
Michael Bestas
062f7e52c4
sm6225-common: Drop libspeakerbundle lib
...
Change-Id: I6d238b2c36c68232078a3be481213f27166024a3
2023-04-16 13:37:58 +03:00
Rohit
a08f482b21
sm6225-common: Build amplifier HAL
...
Change-Id: I1dbec8a83b8763497b11f2a602c7929b65b26ab7
2023-04-16 13:37:58 +03:00
LuK1337
b5c77053ad
sm6225-common: amplifier: Add (and run) clang-format file
...
Change-Id: Iaa76db2b802de191e5b494fc0ec91988efc13ff5
2023-04-16 13:37:58 +03:00
Alexander Koskovich
d444f1758b
sm6225-common: amplifier: Clean up makefile
...
Change-Id: I416005aec3e4b6a686079d7e4796e5b548ee0e9f
2023-04-16 13:37:58 +03:00
Rohit
41ac68de1e
sm6225-common: amplifier: Rebrand to AW882xx
...
* AW882xx logic was the same as the TFA one anyways
Change-Id: I87cd6aecd88e2a906d6cc7a293510d0a463cb3f8
2023-04-16 13:37:58 +03:00
Pig
6e093e6109
sm6225-common: amplifier: Fix device list initializations
...
Update missing device list initializations.
Reported-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Co-authored-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: Iaa44429e7a2514f882828089355fca1634b79200
2023-04-16 13:37:58 +03:00
PIPIPIG233666
635e13c2cb
sm6225-common: Add custom audio amplifier for TFA amp feedback
...
* Based on observing reverse engineering from davinci stock audio HAL.
* Fixes speaker distortion on high volume.
* Same logic with Smosia, rewritten by me.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2023-04-16 13:37:58 +03:00