Simon1511
5d9f802e48
sm7125-common: touch: Correct touchscreen permissions and move to early-init
...
* Our touch HAL needs read permissions on that
Change-Id: Icce27bac1cc2c2909f1a464ddb9fd42862db5a98
2 years ago
LibXZR
f8e78c2fff
sm7125-common: overlay: Enable tap to show ambient display by default
...
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Change-Id: Ia7ca2cd8a1eca38b64b80a38461e1f5a27590fa8
2 years ago
Simon1511
17125ac89d
sm7125-common: Import touch HAL from hardware/samsung and add singletap support
...
Change-Id: I667f7a260e2ef1db24cbaa804897cf28a0cec9da
2 years ago
Simon1511
96d068a98d
sm7125-common: Add UdfpsHandler for NightDisplay and ExtraDim
...
*Optical fingerprint sensors don't like NightDisplay and ExtraDim since those decrease overall sensor accuracy
*Turn ExtraDim off and set NightDisplay's color temperature to AOSP's default white balance value if the fingerprint sensor is touched
Change-Id: I6651cd5c8c066102feebfb764184b099c6ad741d
2 years ago
Simon1511
6906b52201
sm7125-common: add seperated fstab for recovery
...
* The keydirectory and metadata_encryption flags for /data make lineage recovery improperly format it
Change-Id: I853b9c94c9bc0d295d393a3e820595ef99593583
2 years ago
Tim Zimmermann
f314d075f9
sm7125-common: squashed import of releasetools
...
* Require T firmware
Change-Id: I5ab3744ec2a61249d6d7dd5380b40f0ad3e7e7ba
2 years ago
Simon1511
ef2932e0c8
sm7125-common: A525FXXU4CVJB
...
Change-Id: I91a4787c205194035a33d2ce51993a368debd96a
2 years ago
johnmart19
abdd49f532
sm7125-common: rootdir: Set ZRAM size to 50%
...
* This makes sense for a52q and a72q series as not all models ship with the same RAM size.
* Also remove deprecated max_comp_streams
Change-Id: I9a4e247fb57c30e2c9804a5cc843124f1425d173
2 years ago
Ruchit Marathe
603a606f4c
sm7125-common: overlay: Enable colour modes
...
*And drop it from livedisplay
Change-Id: I978378d183b10cc9a7b7957a9e6c1118491a6a6c
2 years ago
LuK1337
c5d4085e36
sm7125-common: overlay: Configure aux camera for Aperture
...
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2 years ago
LuK1337
07120f399f
sm7125-common: Add hardware/samsung to soong namespaces
...
See I78b1b9930a57bc01afda722b9f8a196c372f9d8b.
Change-Id: I634b562e12b70a0c060d449d3ba1d4e87204cf5d
2 years ago
Danny Lin
25ea01056f
sm7125-common: overlay: Settings: Enable multiple vibration strength levels
...
Change-Id: I72645b5bd5772e182592a630df86f9b6166b4923
2 years ago
Simon1511
da8a1faa28
sm7125-common: livedisplay: Use hardware/samsung implementation for Outdoor mode
...
Change-Id: I55cb42f74a6cf13416f61de5c05183c7d50826db
2 years ago
Simon1511
c240c60951
sm7125-common: Add light sensor lcd_onoff node to powerhint
...
* On stock ROM Samsung uses that node to tell the light sensor if the screen is on or not in order to correct lux values reported by the sensor
* This will prevent our light sensor from reporting way too high lux values when the screen brightness is high and therefore heavily improves auto brightness behaviour
Change-Id: I5b2f44ea11b33ebc41b3467a881fbb23f919b804
2 years ago
LuK1337
ab161d0cb3
sm7125-common: Include device FCM from vendor/lineage
...
Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2 years ago
Simon1511
7337040426
sm7125-common: Satisfy EPPE enforcement
...
build/make/core/main.mk:1308: warning: device/samsung/a52q/lineage_a52q.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
android.hardware.omx@1.0-service
com.qualcomm.qti.bluetooth_audio@1.0.vendor
libaudioalsa
build/make/core/main.mk:1308: error: Build failed.
Change-Id: I94d22518273f983d2bb3b211334d0a95d09a4a0e
2 years ago
micky387
bdd3d870b0
sm7125-common: fingerprint: Send onFingerUp() on postEnroll and cancel FP
...
Change-Id: I1b788b43d421853afd42dd1b2a4b75b644498a3f
2 years ago
Alexander Koskovich
6ddf30bfdd
sm7125-common: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2 years ago
Tim Zimmermann
67a982b379
sm7125-common: Pin Android R RIL and QMI blobs
...
* Signal strength does not get updated with S ones unless airplane mode
is toggled on and off on T
Simon1511: Pin R QMI blobs too since S ones make rild segfault. Also patch libsec-ril* and update our audio impl accordingly
Change-Id: I3be7972b161b074b570bf227c3bdc32a2d91b70e
2 years ago
Bruno Martins
f4ccbb4def
sm7125-common: bluetooth: Undefine BTM_DEF_LOCAL_NAME
...
It has been migrated to bluetooth.device.default_name sysprop.
Change-Id: Id929e631f3ce103fc3e6c18ccf9da6ce7756e9e2
2 years ago
Josh Wu
66311be673
sm7125-common: Switch BtAudio to AIDL
...
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2 years ago
Robert Shih
dbc656213a
sm7125-common: enable AIDL DRM HALs
...
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: I431554dcbef014f8235f048ee062a218a2131f9c
2 years ago
Bruno Martins
cdbdb6b4aa
sm7125-common: Remove BT related configs
...
These have been migrated to sysprops in Android 13.
Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2 years ago
Simon1511
3366e02476
sm7125-common: Build libipanat from source
...
Change-Id: I8a4918ed254795844d416974b56861b469f62ebb
2 years ago
Simon1511
6bad22afb5
sm7125-common: Switch to AIDL sensors HAL
...
Change-Id: I599cb41df8a39da6bbc5e97ea74709fc6face44e
2 years ago
Simon1511
68b360f087
sm7125-common: Drop audio.a2dp.default
...
Change-Id: I8d9a23fd9d81fda035c435b79aa5bfdd6203468f
2 years ago
Simon1511
c869ac6233
sm7125-common: Drop our custom libbtdevice
...
Change-Id: Iecf09c75f6124697bd081e7153495a77b0aa626d
2 years ago
Jiyong Park
242d50c271
sm7125-common: vibrator: Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2 years ago
Simon1511
cc9d4c162f
sm7125-common: Don't force a specific clang version any longer
...
Change-Id: Ic520e6708e23ddd0f5aaeb0c12ab6511ba1cb674
2 years ago
LuK1337
4f4da649aa
sm7125-common: Rebase custom audio impl
...
Change-Id: I22e67b1245d8c890b5f72340d456b5f89045b8b6
2 years ago
Alice Kuo
ab25ca7b83
sm7125-common: Disable LE audio related profiles
...
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2 years ago
Sal Savage
f248ec1e3c
sm7125-common: Use the ?= operator so BT properties can be overridden
...
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
2 years ago
Sal Savage
7d2ab62023
sm7125-common: Set default the Bluetooth class of device
...
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct
Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2 years ago
Sal Savage
caa418734d
sm7125-common: Update LE Audio profile properties to match spec and implementation
...
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2 years ago
Sal Savage
713572a362
sm7125-common: Enable bluetooth profiles with product.prop
...
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2 years ago
Edwin Moquete
e62a12f6c9
sm7125-common: Switch to legacy sepolicy_vndr
...
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2 years ago
Tim Zimmermann
8353af6942
sm7125-common: Set SEC specific BT SCO sample rate audio param
...
This lets us convert AOSP's bt_wbs to SEC's g_sco_samplerate.
Change-Id: I78d5d36044421daf99b8a13aa417060a3cf959a3
2 years ago
Simon1511
5890d78048
sm7125-common: Set ro.vendor.qti.va_odm.support
...
Change-Id: I3c7173d642d19773be077027802ef137b72564b6
2 years ago
Simon1511
bc1823a8e3
sm7125: cameraprovider: Make aux cameras accessible
...
Also move camera.qcom out of common tree since using A52 one on A72 breaks the macro camera
Partially inspired by 72b7edaa56 (diff-c67583520466817c4b76fad457b4a2b80845bd600e80424bf85b2ec0767cb5b5)
Change-Id: Ia9166a111c534f4989f613c401188494224dc0eb
2 years ago
Simon1511
37bc89d8a6
sm7125: Let's not label ro.vendor.wifi.sap.interface
...
Macloader wants to set this, and if it does it makes hotspot choose the wrong interface
Change-Id: Iba9208f9cb17b169697eab7cf52c87e05e5be6e1
2 years ago
Simon1511
958e91d72d
sm7125: Minor changes
...
*Remove treble flags, those are set by default
*Move fingerprint to device-specific trees
*Other minor fixups
Change-Id: I515e633cb571caabac19d87c5a7d93541fb30206
2 years ago
Cosmin Tanislav
c1c4ae8953
sm7125-common: sensors: Implement UDFPS sensor
...
Change-Id: I8b65e3196a7d6f158f4ff589b9755cf7c7e51c92
2 years ago
Cosmin Tanislav
7b0b484944
sm7125-common: sensors: Create sysfs polling one shot sensor
...
Change-Id: Ie78d7729201836bacd65a57f76e22adb61159192
2 years ago
Cosmin Tanislav
e74890f56a
sm7125-common: sensors: Fix locking around setOperationMode and activate
...
Change-Id: I9a09f45f012662c8f92fa40da3a4b9dd691a1b2c
2 years ago
Cosmin Tanislav
19a1c19c93
sm7125-common: sensors: Move one shot sensor out of main class
...
Change-Id: Ib7ac0c55409f2dc7f8fb114167e9f4b2e8859223
2 years ago
Cosmin Tanislav
4fc52ef9ac
sm7125-common: sensors: Make sensor set mode operation function virtual
...
Change-Id: I62c94a6ad250417162cfc9eaca8cb490ce650d9c
2 years ago
Cosmin Tanislav
533dd037bc
sm7125-common: sensors: Make sensor flush function virtual
...
Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c
2 years ago
Cosmin Tanislav
501a23f674
sm7125-common: sensors: Make sensor run function virtual
...
Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
2 years ago
Cosmin Tanislav
6c1660e670
sm7125-common: sensors: Make sensor batch function virtual
...
Change-Id: I2de1e919234c4893b0b70390c0189cae38dbbe6c
2 years ago
Cosmin Tanislav
555bde18e2
sm7125-common: Add dummy sensors sub HAL
...
Change-Id: Ie20ed775344990de3e16e2eefba1754d831027fb
2 years ago