Commit graph

777 commits

Author SHA1 Message Date
Alexander Koskovich
79c5e467b7
sm6375-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2025-09-10 16:16:13 +03:00
Yumi Yukimura
34de82e5ce
sm6375-common: Cleanup more flags
These are gone after bp conversion for display and media

Change-Id: I1169adf12d717417f5f328ebbcc01ecc9b911889
2025-09-10 16:16:08 +03:00
Sebastiano Barezzi
e2babf167f
sm6375-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2025-09-10 16:16:03 +03:00
Michael Bestas
6512fd9a75
sm6375-common: Remove no longer used display flags
Change-Id: Ifc4e10703d3424607b9dc8bcc8e417d1c88cc2f3
2025-09-10 16:15:58 +03:00
Michael Bestas
a0ae42f465
sm6375-common: Build LiveDisplay sysfs HAL
Change-Id: I7c5bd2cb2eaa94ce789d8c4444eff93e2ad7d8a1
2025-09-05 15:11:17 +03:00
Michael Bestas
754a8260a6
sm6375-common: Build LiveDisplay SDM HAL
Change-Id: I0e403c9d7455cba1d356e4901a4dd4184d483f5b
2025-09-05 10:30:02 +03:00
Michael Bestas
0c7d84c92b sm6375-common: Update to fogos_g V1UGS35H.75-14-13-1
Change-Id: I0a297a6cec7c0d3feb6cd758daf73938c6165bd4
2025-08-28 00:06:22 +00:00
Michael Bestas
2b28552357
sm6375-common: Update to fogos_g V1UGS35H.75-14-3-3
Change-Id: I07181c1f9f57b8214ae3fe4100ac7a7595f531cb
2025-07-28 05:53:22 +03:00
Michael Bestas
09e54cd7b1
sm6375-common: Remove more 802.11ax leftovers
See I5832187b58d0b2eb277cf2ba7678b3bfa85c0904

Change-Id: I05912a158167aa8f156d7ee097ce86ab4606f976
2025-07-21 01:43:11 +03:00
Grace Chen
902dc682b7
sm6375-common: overlay: Config overlay to support 2 physical slots
Bug: 197989438
Test: Confirm sim configuration.
Change-Id: I3972e0456d8034517cc4224ef786a9292439a8b9
2025-06-30 23:42:14 +03:00
Michael Bestas
741dc4e5df
sm6375-common: Enable UFFD GC
Kernel has support for it now.

Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
2025-06-30 14:06:49 +03:00
Michael Bestas
4556f07a6b
sm6375-common: overlay: Update some telephony overlays from stock
Change-Id: Id6bbc84672adfc440db5e87672010487cb828580
2025-06-06 04:44:16 +03:00
Michael Bestas
90efa422c0
sm6375-common: overlay: Enable auto brightness by default
Change-Id: I7026dfbf5ba14ad8f339468b22cfe67deed9933f
2025-06-06 04:42:48 +03:00
Anand S
be3d300b71
sm6375-common: ueventd: Set permissions for focaltech fps
Change-Id: I2d93047e9d566f73cf4cb42254adba256cde7bbc
2025-06-03 13:44:15 +03:00
Sevenrock
308fef9451
sm6375-common: rootdir: create directories for focaltech fps
Change-Id: I0f935b0be92a44cbd9a90702a0531504aa621ecc
2025-06-03 13:44:11 +03:00
Marc Bourgoin
a11081a62e
sm6375-common: Remove time_daemon from init.qcom.rc
It is covered by a self-contained module

Change-Id: I24f5ccab38328a785c4eb4af8005ad37799b8df8
2025-06-03 13:35:19 +03:00
Michael Bestas
c13071c58a
sm6375-common: init: Remove unused touchrec folder
Change-Id: If797ab9f65bdb7ee907c15fbeb543632e3948d15
2025-06-03 13:35:01 +03:00
Michael Bestas
62eba3d108
sm6375-common: Update to fogos_g V1UG35H.75-14-9
Change-Id: Id35c89c5437c13e04b1f259c8d819855887530c1
2025-05-23 00:51:58 +03:00
Andrew Hexen
2515fdd533
sm6375-common: don't reserve space on vendor
* this breaks overlayfs

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3efe0cd015ce46b682fd34261ba971f69517be9a
2025-05-14 02:48:24 +03:00
Andrey Sprynga
da904030be
Revert "sm6375-common: audio: Remove direct flag for VOIP RX"
This reverts commit 107051220b.

Reason for revert: Broke calls in some apps, WhatsApp for example.

Change-Id: I901e19e6042b6388b43ff2622bfa9e29f02a30cc
2025-05-13 11:18:19 +03:00
yingjiew
b454b018fd
sm6375-common: gps: Avoid access of deprecated LocUnorderedSetMap entry
When there is no client listens to some DataItemId, we will remove
the map entry. Can't access the deleted entry's iterator anymore.

Change-Id: Id64aadebf7362667fbcf0fd5191f888ed9241727
CRs-Fixed: 3886536
(cherry picked from commit 0049d459cc1772f328e29a4c6b6d129af132e7b8)
2025-05-05 22:59:30 +03:00
basamaryan
1e53e4f534
sm6375-common: Use hardware/motorola/sepolicy
Change-Id: I3db249a436d258867d431b6a0e837d9053b85ddd
2025-05-05 10:32:40 +03:00
Michael Bestas
273435d6f6
sm6375-common: sepolicy: Move discard_max_bytes label to qcom sepolicy
Change-Id: I35e41624c920e22d8feda075d935f5b8b7367de4
2025-05-05 10:32:30 +03:00
LuK1337
0c22753c84
sm6375-common: Set SSR restart_level in init.qcom.rc
Change-Id: I31e174f8c3647c17152a2b225b1bb524e22e07aa
2025-05-05 10:32:30 +03:00
Michael Bestas
ee4af69308
sm6375-common: Set board API level
Change-Id: I9aeaf139b343d35e0b05d56b62d446f5123a68b6
2025-05-05 03:59:28 +03:00
dianlujitao
96a7212b84
sm6375-common: Remove moto charger
* The close-sourced binary uses symbols removed on R. It doesn't make
   much sense to fix the 45MB binary :), simply use AOSP one instead.
 * Move charge-only services to init.mmi.charge_only.rc while at it.

Change-Id: I62cdd36603afb46d5287dfcaac3d16acc9fca178
2025-05-03 13:33:17 +03:00
Arian
b49d6ff9b7
sm6375-common: Set qcril persist.vendor.radio.poweron_opt to 0
Change-Id: Ie392219d8121edf05270a9b66f2032f3202e9efe
2025-05-03 04:18:24 +03:00
Arian
d9eacfc471
sm6375-common: Generate qcrilNr.db during build
Change-Id: I1f3425713b9b5b1cc7185bc94124b9f01efe3abb
2025-05-03 04:18:24 +03:00
Michael Bestas
5cf467e8e7
sm6375-common: Update to fogos_g V1UG35H.75-14-3
Change-Id: I37343245917f648876871d2c7ed2aead3fef7fa2
2025-05-03 04:18:24 +03:00
Michael Bestas
0a6e3f9e10
Revert "sm8250-common: sepolicy: label stflashtool and st secure_element"
This reverts commit b43e3fd93e.

Reason for revert: Not needed

Change-Id: I03879976a7c734598850a9b87865aac1cb2e8208
2025-05-02 03:03:58 +03:00
Hridya Valsaraju
b931f7917c
sm6375-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2025-05-02 02:00:06 +03:00
Alexander Koskovich
88d06888ab
sm6375-common: init: Don't mount TraceFS twice
* AOSP already mounts TraceFS in system init, so mounting it twice
   causes SEPolicy denials. See the comments in this change.

   https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195

Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701
2025-05-02 02:00:06 +03:00
Michael Bestas
053bf999af
sm6375-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
2025-05-02 02:00:06 +03:00
marcost2
f4e0b298c2
sm6375-common: sepolicy: label miami charging nodes
* So many nodes...

Change-Id: I7a2a89361bed9f31d6d4d7b77b0cecb354a7b9f1
2025-05-02 01:04:18 +03:00
Julian Veit
266c6d873f
sm6375-common: sepolicy: label miami fp service
Change-Id: I12ecff3614f1a9acf0d3422a00b96b5b800eb8c2
2025-05-02 01:04:18 +03:00
Julian Veit
6749d4aacd
sm6375-common: sepolicy: label miami vibrator sysfs
Change-Id: If47e407618ce58d2f16178705b95d77e15ab3cc2
2025-05-02 01:04:18 +03:00
Michael Bestas
cc49c72b58
sm6375-common: sepolicy: Remove unused/incorrect vibrator policies
Change-Id: Icea4523870a36fcf15cf7c8ff8b0643af00af8d4
2025-05-02 01:04:18 +03:00
Michael Bestas
72fbe0ec19
sm6375-common: Set ro.carrier from ro.boot.carrier
Change-Id: I19c912343bd19d86f56c111dc1a38d0309c52490
2025-05-02 01:04:18 +03:00
Erfan Abdi
3ed4b34104
sm6375-common: set ro.vendor.fm.use_audio_session
Change-Id: Ie1df15211d0c670767e87deefdfe7b134b87f12a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2025-05-01 05:38:47 +03:00
Michael Bestas
9297ff91f5
sm6375-common: Add FM blobs
Change-Id: I471a00dff44e8fb90e65b3f506a899e65c94d62f
2025-05-01 05:38:47 +03:00
Michael Bestas
d4e4e2e750
sm6375-common: Add awinic audio amplifier
Change-Id: I0ea7e8ff23a6719a3b61a66b6886bfa7119c211a
2025-05-01 05:38:47 +03:00
Michael Bestas
240fc3581d
sm6375-common: Fix disabling A2DP offload
Change-Id: I49c717a19afb2491b6280670fdbfe8765813a4dc
2025-05-01 05:38:47 +03:00
Kumar Anurag Singh
107051220b
sm6375-common: audio: Remove direct flag for VOIP RX
Remove direct flag for VOIP RX.

Change-Id: I9ee6f300b7a891afd1ad06c063424509d16d271e
2025-05-01 05:38:47 +03:00
Michael Bestas
2124244e48
Revert "sm6375-common: Partially switch to moto audio_policy_configuration"
This reverts commit 0aa76bceb0.

Reason for revert: No longer appears to be needed.

Change-Id: Id1b6e7fe370b3b2502b7383c9cfb21c5227b87fc
2025-05-01 05:38:37 +03:00
Michael Bestas
8d7203a471
sm6375-common: Set persist.vendor.qcom.bluetooth.scram.enabled=true
Fixes SBC/AAC A2DP offload

Change-Id: I8b025e3f61e0f8ad951bd98b88d5307f65191730
2025-04-30 19:32:17 +03:00
Cosmin Tanislav
c242870ae9
sm6375-common: remove QCOM bluetooth board flags
TARGET_FWK_SUPPORTS_FULL_VALUEADDS is only used in
audio HAL qssi makefile, and is not relevant to AOSP.

BOARD_HAVE_BLUETOOTH_QCOM is used in libbt-vendor,
which does not exist on stock.

Change-Id: I2fe74386628630998c1428d4a238383c12cb9575
2025-04-28 22:35:37 +03:00
LuK1337
690985a8c8
sm6375-common: Switch to NCM USB tethering
Change-Id: I20b6b2b2e26a45d8b28c7483afc83ad4da4b8643
2025-04-28 22:35:37 +03:00
Yumi Yukimura
b3cdbfcb78
sm6375-common: Migrate to QTI USB Gadget AIDL HAL
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
2025-04-28 22:35:37 +03:00
Michael Bestas
2d6d809d16
sm6375-common: Update to fogos_g U1UGS34.23-110-23-6
Change-Id: I93bb3a26e23e75f090d1d929390a95752756afe1
2025-04-09 21:54:13 +03:00
Sevenrock
d549b5e6b5
fixup! sm6375-common: overlay: Enable doze_display_state_supported
The overlay defaults to false, so we actually need to set it true here

Change-Id: I48c45f014144001144f52c9d190d3c6e717e1fa6
2025-04-07 18:02:29 +03:00