784 Commits

Author SHA1 Message Date
althafvly
3c4cbc41c0 sm6375-common: Inherit launch_with_vendor_ramdisk for vAB
- sm6375 devices have a vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2025-03-15 02:17:25 +02:00
Michael Bestas
f1465a042a sm6375-common: init: Drop some unused services
Change-Id: Ic86157ca879a5fb62245c0001c88b3a1ccb26d73
2025-03-15 02:17:25 +02:00
Michael Bestas
90bb760a17 sm6375-common: init.oem.hw: Drop set_ro_vendor_incremental
Change-Id: Ic4d3d1775c437847f2aaecd87e504ba39bf93ac5
2025-03-15 02:17:25 +02:00
Michael Bestas
f4d076d7a3 sm6375-common: Cleanup class_main/early_boot/post_boot/qcom scripts
Change-Id: Icfdb75a7e43ca8ebb8d5599e6154a72aedd86507
2025-03-15 02:17:25 +02:00
Michael Bestas
09b9f7afa1 sm3675-common: Selectively update rootdir from fogos
Change-Id: Ia069475f135817d77e41d6588015aee17979b338
2025-03-15 02:17:25 +02:00
Michael Bestas
eb142b5b60 sm6375-common: Remove unused init scripts
Change-Id: Ief217277c299cfad31ec72a98a628217c74c551c
2025-03-15 02:17:25 +02:00
Michael Bestas
6faaacdc7a sm6375-common: Move some init scripts to vendor
Change-Id: Ie3b878e67fac51ae899b741869326b425eeb770b
2025-03-15 02:17:25 +02:00
Arian
2cc4bb6e74 sm6375-common: rootdir: Remove unnecessary class_core script
Change-Id: I065407a7b9aaf186a22964786af97b36a140c793
2025-03-15 02:17:25 +02:00
Arian
54ecc821c6 sm6375-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
2025-03-15 02:17:25 +02:00
Michael Bestas
db82e7c8be sm6375-common: Move qti media init scripts to vendor
Change-Id: I55f5f48f41ea362aa5a19483ec40c411039c4459
2025-03-15 02:17:25 +02:00
Michael Bestas
9ed6297fc3 sm6375-common: Move NFC permissions to devices
Change-Id: I8284195f4f96973bce1c4f0bb1af5f81a3cf8d26
2025-03-15 02:17:25 +02:00
Michael Bestas
f753592dad sm6375-common: Build missing audio libraries
Change-Id: I87a7f669418ce0ea89e686ed6ff27c28180bad2f
2025-03-15 02:17:25 +02:00
Steve Kondik
9a994cb783 sm6375-common: Remove hw_acc effect
* Not used.

Change-Id: I68882a0435b8459031ae31ecc46af6bb62eacf17
2025-03-15 02:17:25 +02:00
Michael Bestas
a39eda2f64 sm6375-common: Import audio_effects.xml from audio HAL
Change-Id: I518bf6ee1fdaa591cf6823d8bec31143f5a76fa6
2025-03-15 02:17:25 +02:00
Tommy Webb
df53bebfa5 sm6375-common: Don't try to play many-channel audio as is
This device doesn't have surround sound, as nice as that would be, so
stop pretending. Otherwise, we get weird behavior, like playing surround
sound audio at full volume regardless of the media volume or mute state.
Now, it plays properly.

Issue: calyxos#2075
Change-Id: Ic530906a9dacb2699e32f2ed91f38fab0dad1492
2025-03-15 02:17:25 +02:00
llololo
3edafb170a sm6375-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
2025-03-15 02:17:25 +02:00
Michael Bestas
1c8a417d98 sm6375-common: Don't report unsupported A2DP offload codecs
Change-Id: I4a3094106507aac0afb847eb1d7bf5189349629e
2025-03-15 02:17:25 +02:00
LuK1337
a52e5ae029 sm6375-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2025-03-15 02:17:25 +02:00
Samyak Jain
4bb19ac728 sm6375-common: configs: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2025-03-15 02:17:25 +02:00
Michael Bestas
d497ed9b09 sm6375-common: Import Hearing AID configuration xml
Stripped down stock bluetooth_qti_audio_policy_configuration.xml

Change-Id: I2f28ca1c098624f0b510b9c4ebd60dc1190b8c42
2025-03-15 02:17:25 +02:00
Michael Bestas
977bde360b sm6375-common: Update audio configs from fogos
Change-Id: I43f2e6210a3d2335bc46506d3f1e639978df1066
2025-03-15 02:17:24 +02:00
Sevenrock
f95a6c6985 sm6375-common: Adjust wifi symlink
Change-Id: I03f0bd0109f0b1a9cd0777668315a216f404c71c
2025-03-13 07:54:18 +02:00
LuK1337
78087568d0 sm6375-common: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2025-03-13 07:54:18 +02:00
Michael Bestas
2cae554313 sm6375-common: location: Update to LA.UM.9.16.r1-14900-MANNAR.QSSI14.0
Change-Id: Iebecd634ae0a10c394db59814db15167b0d20388
2025-03-13 07:54:18 +02:00
Michael Bestas
a824bdfd05 sm6375-common: gps: Update to LA.UM.9.16.r1-14900-MANNAR.QSSI14.0
Change-Id: I64321165988382a9809beb3f5d81af35cc57b549
2025-03-13 07:54:18 +02:00
Michael Bestas
a67d135c3f sm6375-common: lahaina -> holi
Change-Id: Ic6dd7c6ae1e2477b288fc0c8b0aa3537a94f779d
2025-03-13 07:54:18 +02:00
Michael Bestas
6447da04f6 sm7325-common: Rebrand to sm6375-common
Change-Id: I80833f122554920452025b821c7799a09a91c1c7
2025-03-13 07:54:17 +02:00
Michael Bestas
7552a52b6c sm7325-common: Move some overlays back to product
Change-Id: I8cf38ab282bc327c363a97e2759376f9db32d2f8
2025-03-13 07:53:54 +02:00
Michael Bestas
fb91d9ddc9 sm7325-common: Regenerate overlays and move them to vendor
Generated with https://github.com/ArianK16a/rro-utils
Additional changes:
* Added translatable=false to all strings and string-arrays
* Reordered according to the original source files
* Updated comments according to the original source files
* Set priorities: 200 for common, 250 for target SoC

Change-Id: Ic6e7f30f8b78c49e739c4b58ff4e73edd9382965
2025-03-13 07:53:54 +02:00
Michael Bestas
21648db5dc sm7325-common: Remove default power_profile
It's device specific and already present in devices.

Change-Id: I647ecc4b7f660a357e93a88f8b689adc319b812a
2025-03-13 07:53:54 +02:00
Michael Bestas
f2c65fff81 sm7325-common: Set config_network_type_tcp_buffers
Change-Id: I6df7b88ab74aa89d10947f01b4eb19a71ab5b4d9
2025-03-13 07:53:54 +02:00
Michael Bestas
d0cd868666 sm7325-common: Align pinner files with Pixel
Change-Id: Ifca8a28ea579af3508100760171b5009331d35e4
2025-03-13 07:53:54 +02:00
Edgar Arriaga
94b4a8bc36 sm7325-common: Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: I87e15ec968f59acd65e3d4bc80d1bad08704bc53
2025-03-13 07:53:54 +02:00
Danny Lin
fd6a2021c7 sm7325-common: overlay: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 8 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2025-03-13 07:53:54 +02:00
Michael Bestas
3f27c31901 sm7325-common: Remove deprecated config_mobile_tcp_buffers/networkAttributes
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
2025-03-13 07:53:54 +02:00
Michael Bestas
ac261745dc sm7325-common: Add hardware/motorola to soong namespaces
Change-Id: I1606d2dc9cef82a4ce9d8764c1f52b59d183e9b2
2025-03-11 04:05:08 +00:00
Michael Bestas
a1b0a487a0 sm7325-common: Enable ELF checks for libmdmcutback
Change-Id: I734990bc95adacc1229f649d7e39bf2066abbbe6
2025-03-11 04:05:04 +00:00
Michael Bestas
0ed8e692c9 sm7325-common: Shim sensors.moto with libbase_shim
See: 46fc805282

Change-Id: I5127020e18114a13515d9dc382c95d689634243d
2025-03-10 23:58:27 -04:00
Michael Bestas
f86ac29f0e sm7325-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-03-10 23:58:27 -04:00
Cosmin Tanislav
28733117b5 sm7325-common: switch to common QCOM AIDL bootctrl HAL
Change-Id: I04ab771d3b1c38b58913607fbff1bb3b55e1fe25
2025-03-10 19:59:01 -04:00
Michael Bestas
eb8007735a sm7325-common: Drop LineageOS copyright years
Change-Id: Ia2dfdb083cb17b573a60f818c72d1500d9d63df2
2025-03-04 14:16:39 +00:00
Suren Baghdasaryan
6137d9de9f sm7325-common: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2025-03-03 12:35:49 +02:00
Lorenzo Colitti
0e18d8f01f sm7325-common: Delete dhcpcd init entries, since dhcpcd is no more.
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2025-03-03 12:35:43 +02:00
Ethan Chen
b28ad057a4 sm7325-common: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2025-03-03 12:35:37 +02:00
Nolen Johnson
e695e24457 sm7325-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-03-03 12:35:37 +02:00
Michael Bestas
dc0d5ac6d2 sm7325-common: Remove duplicate bugreport service
Change-Id: I277d1ca4563abc06f10920ff20e95100e3320690
2025-03-03 12:35:24 +02:00
Michael Bestas
7baecdabb9 sm7325-common: Remove HIDL sensor multihal overrides
No longer needed, we use AIDL HAL which already has input & uhid groups

Change-Id: I817010777e80764eaf41282323caf705cd0043c6
2025-03-03 12:35:24 +02:00
Alexander Koskovich
6cd98d0ad3 sm7325-common: Update to Boot Control HAL v1.2
Change-Id: Ib5d06c9b0c7e2ed000eb03a9bf18e4d78cc8740d
2025-03-01 02:30:21 +02:00
Roopesh Nataraja
1bfe0fe0b1 sm7325-common: bootctrl: Add support for boot control hal V1.2
V1_2::IBootControl adds getActiveBootSlot() API.
Enhance libboot_control_qti library to implement this API.

Change-Id: I32aea39b319f6844d82bcc17bb636add36a1f659
2025-03-01 02:30:20 +02:00
Michael Bestas
e41cbdbb7d sm7325-common: Remove duplicate config_showNavigationBar overlay
Change-Id: Ic37e7169c94b0f5d76b26781a2c360d06fe7a805
2025-03-01 00:38:17 +02:00