818 Commits

Author SHA1 Message Date
Bruno Martins
e9bf8e5728 a71-common: touch: Properly check if gestures are supported
Considering that only "Single Tap" gesture support is currently
implemented here, it is more proper to check if the corresponding
command is listed as available.

Change-Id: I94697d572c8d5cf04fabfd76c6db9c25257aad29
2025-09-02 18:51:48 +01:00
DY3413
7ecff049ae a71-common: touch: Use samsung_header_path_defaults
Reference: Ibdfd255efafd471e59dfec0860ace40c21a6e27f
Change-Id: If6d25ec56dc46a4527480f13d6a084e4cca4fe44
Signed-off-by: DY3413 <milosix3413@gmail.com>
2025-09-02 18:51:48 +01:00
Bruno Martins
428b2cb228 a71-common: touch: Include VINTF fragment
Change-Id: I477318ba43537e43d1a19a6183abc8b893f8c1cf
2025-09-02 18:51:43 +01:00
Atakan
9d772afd6e a71-common: livedisplay: Stop controlling ALPM
ALPM controls display LPM for AoD and should be controlled by Doze services, not by the user.

Import AdaptiveBacklight from hardware_samsung to give proper control to the user.

Change-Id: I51860027c4c4ae062945dd982f9ae69e1ba1cf2d
2025-09-02 12:18:31 +01:00
Bruno Martins
6acd05685f a71-common: livedisplay: Use pragma once directive
Change-Id: Icb26f68f769ccd202d415d6e4df3568694514fc1
2025-09-02 12:16:52 +01:00
Cosmin Tanislav
31384d508e a71-common: livedisplay: Use VINTF fragment
Change-Id: I5f48fda01125933db7dccc76902675efef1fb2e5
2025-09-02 12:16:40 +01:00
Bruno Martins
9dbdf6fe92 a71-common: Set vendor init lib via soong config
Change-Id: I8f7e6b987bee58dbf09ca9ad7cfd5a7e99e19c3b
2025-07-29 13:24:04 +02:00
Bruno Martins
2fecf301d4 a71-common: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-07-29 13:22:07 +02:00
Haky86
48e5e36e0f a71-common: Restore original sensors.samsung HAL
* scrub_pos is not compatible with our kernel driver.
* Fixes screen off udfps again.

Change-Id: Ifef6d57c7f51f291630400b9028401147f3c63c9
2025-04-29 01:54:18 +02:00
Bruno Martins
2a0653bfa7 a71-common: Unset BUILD_BROKEN_DUP_RULES
Overriden commands? Not anymore.

Change-Id: Id435e0fda13babadd5fbc2fe1c790e5a1fdba6df
2025-04-29 00:32:09 +02:00
Aayush Gupta
8a4cb1e2d8 a71-common: Drop non-required configstore@1.1.policy
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I8aa21949a17e6527b19984371bc438324e758ae3
2025-04-29 00:30:48 +02:00
Nolen Johnson
b894e98e18 a71-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-04-29 00:21:33 +02:00
Atakan
26c523cbcc a71-common: Switch to Samsung sensors
Change-Id: Ic6980dd74289fc9ab14bfe1d0fa531b669b5d6e4
2025-03-31 02:59:58 +02:00
Haky86
0af7262b11 a71-common: Restore RIL stack from stock
* Pin only needed libs, otherwise it will cause "unknown baseband" with the previous fix.

Change-Id: I725ddc57c42986c5ad9e3f577915f44d4a5e7f76
2025-03-29 01:06:33 +01:00
Haky86
33f4822480 a71-common: Kang RIL stack from a23xq
* Pull RIL blobs from 14 UP1A.231005.007 A236BXXS9EYA1.
* Fixes RIL again on 15 QPR2.

Change-Id: I53f3263f02cfde586377b7d35fde8c43d3a393e9
2025-03-28 17:13:45 +01:00
Haky86
49588e1527 a71-common: Drop android.hardware.power.stats
* Fixes:
ERROR: files are incompatible: android.hardware.power.stats@1.0::IPowerStats/default is deprecated in compatibility matrix at FCM Version 6; it should not be served.
    because it matches android.hardware.power.stats@1.0::IPowerStats/default from /system/etc/vintf/compatibility_matrix.5.xml

Change-Id: Ib4f60b885a3ff6dd3e61538fdd418611a606a8f3
2025-03-27 21:09:25 +01:00
Tyler Wear
50b4c28b9f a71-common: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.

Change-Id: I004e44e416a88a1b39a4c80366df9008722f096b
2025-03-27 17:45:56 +01:00
Yumi Yukimura
75c125ab1a a71-common: manifest: Bump target-level to 6
Change-Id: I8d419d248f29b7d316a87d55e19ae7ff141e19a5
2025-03-16 16:57:28 +01:00
Bruno Martins
7475418f51 a71-common: Drop TARGET_KEYMASTER_VARIANT flag and set soong params
Samsung keymaster HAL moved to blueprint.

Change-Id: I992a12f1ddc5769ddb9fb232ea2a287c1d654da6
2025-03-16 16:55:40 +01:00
Thomas Turner
6df9cad27d a71-common: Drop libsecril-client
Removed here: https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/421832

Change-Id: I6c4ec2fa8c2614dbc90c792fd32269df92071e7c
2025-03-09 21:09:28 +00:00
eun0115
9581d1eaf0 a71-common: audio: Kang audio policy from a70q
Change-Id: Id0ff3f8523ecbe81181db6776e1d92dc2c50dcc2
2025-03-02 23:17:37 +01:00
basamaryan
56c58bbaa1 a71-common: audio: Drop 24 and 32 bit recording support
* This unfortunately causes some applications from Meta
  to record low volume audio in calls and voice messages.

Change-Id: I7e9ea6faa2ddbb5cf5f44bbf5060b41edd7bf1e9
2025-03-02 23:13:51 +01:00
eun0115
751e909a0a a71-common: audio: Drop unneeded configs
Change-Id: Ia5161aa072b262934a6f2440707b1cc34c8345c8
2025-03-02 23:12:25 +01:00
Andrzej Szafran
73fc89b91f a71-common: Build SamsungDAP from source
Change-Id: I71c06c1df82d5b901b8dcbcdcb8d3dd2556fe3f4
2025-03-02 22:14:37 +01:00
Michael Bestas
26f2fef520 a71-common: Drop unused libmm-omxcore
Change-Id: I3bbaa99f9f4541a6e21a8cc9a753a582a1921d01
2025-02-11 14:38:37 +01:00
Michael Bestas
3f86553abf a71-common: Remove OMX audio codecs
* OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I940be6716b603e848c44839bb87ad690eb55e86f
2025-01-23 22:07:08 +02:00
Michael Bestas
a9e79dd026 a71-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-01-19 21:04:47 +00:00
Haky86
95413d08af a71-common: Drop unused WCNSS symlink
Change-Id: Ia503dfd1b3658d369b42d9181052726efceace35
2025-01-19 21:04:27 +00:00
Bruno Martins
48ccbd52d6 a71-common: Remove bt_firmware mount point creation
Seemingly never used on Samsung devices based on Qualcomm SoC's.

Change-Id: I5b024f5482fc21d3f5aaa72787e41db9f0d3cf22
2025-01-19 19:49:47 +01:00
LuK1337
304a72ae16 a71-common: Build gralloc.qcom
Camera HAL wants it and crashes if it loads default gralloc
implementation instead.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8059
Change-Id: I47965713c822cfdfc369975f8975f21f70133608
2025-01-19 19:26:03 +01:00
Kyle Lin
bb4239fbe8 a71-common: init: Modify the cpuset setting
Because the arch is similiar with SDM670, we aling the setting with
bonito.

Bug: 142552311
Test: build , munaual check the settings
Change-Id: Ica44125c8ed71a85cfd6bde77c9107bceed7b094
2025-01-13 22:35:22 +01:00
Arian
6e6707517b a71-common: init: Kang scheduler settings from sunfish
Change-Id: I2fd16a6d94f4d306960429e88569b1abf1a4a58e
2025-01-13 22:35:17 +01:00
Arian
220a5e31db a71-common: init: Kang governor settings from sunfish
Change-Id: I91b54aee5020f7e43ce0d9a6637aea07a06c1259
2025-01-13 22:35:14 +01:00
Arian
0093b50287 a71-common: init: Remove CAF input boost
Change-Id: I4fd567962dac1e043139eb01ae756ad00a67c528
2025-01-13 22:35:10 +01:00
celtare21
ac22e2deb1 a71-common: init: Disable core control
Change-Id: If8a0eda3353a164f83409cb4785de93cb2cce971
2025-01-13 22:35:07 +01:00
Andres Oportus
f9cd5af09a a71-common: init: Add SchedTune configuration
Bug: 36367381
Test: Boot and check stune configuration effect on sysfs

Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Arian <arian.kulmer@web.de>
2025-01-13 22:25:10 +01:00
Arian
3f2b80d639 a71-common: init: Kang init.qcom.post_boot.sh from xiaomi_sm6150
* Squash from 506cf92d7a.

Change-Id: I80e2ccf5a3e5b15d9a527f9a7c4e3ee06b997ab6
2025-01-13 22:25:06 +01:00
Arian
3586546696 a71-common: init: Don't setup runtime cpusets for silver only first
Change-Id: I7f9fa116971bd437bfe2722882282a08fe59c006
2025-01-13 22:25:01 +01:00
Luk1337
74143cf50b a71-common: init: Drop ssr_setup service
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2025-01-13 20:43:21 +00:00
Tim Murray
f33e827f66 a71-common: init: Increase ZRAM to 2GB
Test: boots, works
bug 119988524

Change-Id: I09272e7c753569d16f2be0771835bfdbdc0bf270
2025-01-13 21:15:43 +01:00
Wei Wang
1b46c6c5ba a71-common: init: Tune zram performance
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
2025-01-13 21:01:56 +01:00
Jenhao Chen
2f030a413d a71-common: Enable zram writeback
Bug: 128889899
Test: Boot to home

Change-Id: I48ae06e54a66a7d6965afbe8db3d2f157cf8a1f4
2025-01-13 21:01:48 +01:00
Arvind Kumar
1f462c78b5 a71-common: init: Set soc properties
Set soc model and manufacturer properties

Change-Id: Ieee34b7bfab87b241abc5ed3318b46a5c6f93456
2025-01-13 21:01:41 +01:00
Rajeshwar Kurapaty
5d3e1d8f6f a71-common: init: Set Netflix property based on target
Add support to set "ro.netflix.bsp_rev" property at run time
depending on the target. This is needed when 2 or targets are
binary compatible, but have different Netflix proprty for
device whitelisting.

Change-Id: Ieccd17128f1b73c819a3f33816eb8c402cfa17e2
2025-01-13 21:01:38 +01:00
Hoss Zhou
a5c3f59ec0 a71-common: init: Add edgnss socket directory
Change-Id: Ia8d89cb1e03c31fdb8fb7564441386f56c9563e1
2025-01-13 21:01:34 +01:00
Prabhanjan Kandula
deab5c194e a71-common: init: Avoid delay for vblank disable from DRM
Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt  the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.

Change-Id: Idc1dfe6a6994f2ac2d3c60ae8fd5a4e883b675d9
2025-01-13 20:56:38 +01:00
basamaryan
d3d79c4a9a a71-common: init: Add missing 'vendor.' prefix to cnss-daemon
Change-Id: I0a47df69637674379ef5e3bd4a95b228e200e269
2025-01-13 20:56:36 +01:00
Bruno Martins
edc0302c27 a71-common: init: Remove legacy persist path entries from init script
Change-Id: Ifcb1ef1fc3967c7bf635537a5e05109235905c1e
2025-01-13 20:56:34 +01:00
Ethan Chen
dd0baf6530 a71-common: init: Remove bogus tombstone directory directives
* /data/tombstones and /data/vendor/tombstones are both created by
  the system's init.rc.
* Creating /tombstones at the root isn't allowed since the root is
  a ramdisk and mounted read-only.

Change-Id: I6c3a287056a2264d9e9ffe4557ecca8c6e03c0bb
2025-01-13 20:56:31 +01:00
Sean Tranchetti
0cb1ab03c3 a71-common: init: remove unused property
Removes the unused large_tcp_window_size property.

Change-Id: If7dcede6089b71a3fc18572cf7e5f7571448787d
2025-01-13 20:56:28 +01:00