Commit graph

414 commits

Author SHA1 Message Date
MD Raza
8fccbc318d
sm6225-common: extract-utils: extract CarrierSettings when only list exists
Signed-off-by: MD Raza <delightreza@gmail.com>
Change-Id: Iab770bfcec3fec3b2c0211c6c47e1bc6f675a38e
2024-06-23 22:10:50 +03:00
basamaryan
dce0970651
sm6225-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-06-23 18:34:34 +03:00
Arian
0b5f292802
sm6225-common: Don't explicitly build fs_config_files
The fs_config_files for each partition is already added to
PRODUCT_PACKAGES by base_{product,system,system_ext,vendor}.mk.

Change-Id: Ifbadacd5cb20beca70ed8b3accb3baf86a989c92
2024-06-23 18:34:33 +03:00
Michael Bestas
4dc7c8e3b9
sm6225-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-15 23:37:28 +03:00
Michael Bestas
7bb9e7f4df
sm6225-common: gps: data-items: Fix snprintf usage
Fixes:
gps/core/data-items/DataItemConcreteTypes.cpp:465:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  465 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
gps/core/data-items/DataItemConcreteTypes.cpp:514:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  514 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
2 errors generated.

Change-Id: I37188e7497f7ade97648fb41e2becd73f6b559a9
2024-06-15 23:37:22 +03:00
Michael Bestas
81aaabbfbf
sm6225-common: Update to devon_g T2SNS33.73-22-3-6
Change-Id: I6ab71057e2912a2e3f5d8c77a90fdd8ed8a96e7d
2024-06-04 18:00:32 +03:00
Sebastiano Barezzi
5b2c950add
sm6225-common: Drop proto sensors configs
Change-Id: Ie8377977931f18f0f7f3082c1c4e87a53111c593
2024-05-18 09:27:57 +03:00
Michael Bestas
84de105bbe
sm6225-common: Drop QTI WFD
It seems like bengal does not support this feature, stock does not have
the complete stack and after making it connect by using the entire blob
stack from another device, it results in a green screen.

Change-Id: Id158d3d17460c3122168310a8ca45809984e6dc0
2024-04-30 18:46:19 +03:00
Michael Bestas
bb651acb8d
sm6225-common: Stop building some unused vendor libs
Change-Id: If49e53c15c807e72fc2cb259a1f159009aa2eec8
2024-04-10 15:29:53 +03:00
Bruno Martins
cf148b82e2
sm6225-common: Prepend "system/" before paths where necessary
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2024-04-09 22:04:52 +03:00
MD Raza
3bcd8763cc sm6225-common: Add gf_ident service
Signed-off-by: MD Raza <delightreza@gmail.com>
Change-Id: Iabeed926079cb2edb1d287e2654e7fa288c329fb
2024-04-05 07:21:13 +05:30
LuK1337
57cb867953
sm6225-common: Add hardware/samsung to soong namespaces
See I78b1b9930a57bc01afda722b9f8a196c372f9d8b.

Change-Id: I634b562e12b70a0c060d449d3ba1d4e87204cf5d
2024-04-02 16:41:18 +03:00
Bruno Martins
a4fbf5792c
sm6225-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-28 10:12:04 +02:00
Michael Bestas
75ca2f011e
sm6225-common: Update to devon_g T2SNS33.73-22-3-5
Change-Id: I2fd5fab318f88995032fff579a818b6698e20a99
2024-03-25 10:48:46 +02:00
Steven Moreland
a422ee8e04
sm6225-common: Move /vendor/ueventd.rc to /vendor/etc/ueventd.rc
The root location of this file is deprecated for Android T.

Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b
2024-03-24 11:24:23 +02:00
Tommy Webb
06d75d3f49 sm6225-common: Don't try to play many-channel audio as is
These devices don'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
2024-03-22 16:53:45 +00:00
Wolfram Liebchen
11c5aa8c60 sm6225-common: More notification icons on AOD screen
The AOD screen can hold more than 3 notification icons in a row.

Change-Id: I45a61c1b47bedd10cedda84bee3323d0d2aa161c
2024-03-22 16:53:25 +00:00
Tommaso Fonda
49f98753c4 sm6225-common: Switch to the OSS sec NFC HAL
Change-Id: I0c2a3b4db42d0e8af92c510bdd014eacc610b7f7
2024-03-22 16:50:57 +00:00
Michael Bestas
b59023c589 sm6225-common: sepolicy: Label persist.vendor.nfc properties
and let vendor_init set them

Change-Id: I93f1c7269caabce255be7770d78d8133fcbc8c46
2024-03-22 16:50:57 +00:00
Michael Bestas
98150f6bef sm6225-common: Override ST NFC service
Change-Id: I8416a7da8b72d6996b263bf5e3dc5fc337038cd5
2024-03-22 16:50:57 +00:00
Tommy Webb
24fbcb1c9f sm6225-common: Specify vendor.usb.controller
Specify this so that USB can be properly brought back online via HAL.

It was already specified in these locations:
- device/motorola/sm6225-common/rootdir/etc/init.target.rc
  But this apparently isn't early enough in the boot process.
- vendor/qcom/opensource/usb/vendor_product.mk
  But this apparently isn't included and doesn't take effect.

As a result, vendor/qcom/opensource/usb/hal/Usb.cpp would use its
fallback value of a600000.dwc3, which is not correct.

Issue: calyxos#2154
Change-Id: I3f10cb8d902281b3cd06e8c2b51bdf60bb57742e
2024-03-22 12:10:00 +00:00
basamaryan
c2af420384
sm6225-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-22 13:45:39 +02:00
Cole Faust
0b02dd3d27
sm6225-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-10 22:47:00 +02:00
Tomasz Wasilczyk
651569648c
sm6225-common: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-03-10 22:46:52 +02:00
Michael Bestas
c4ebd5b81c
sm6225-common: Sort blobs list
Change-Id: Id69b3e0e08776a0cf140c7043643fac64053c9b8
2024-03-02 18:54:01 +02:00
Michael Bestas
ac3e17b967
sm6225-common: Remove deprecated nfcee_access.xml
Removed in I10cf119a1105c123b69f628f5420587bc84b1078

Change-Id: I796e71a82d8b4dcfbbb0267740b5e507753c9539
2024-02-26 19:25:32 +02:00
Michael Bestas
d0d3ab7c8b
sm6225-common: Override NXP NFC service
Change-Id: If7936a79aa6cded9bbd1a675946b57c56c726d27
2024-02-26 19:25:29 +02:00
Michael Bestas
b8aec39cfe
sm6225-common: Don't override default camera provider rc
Change-Id: I63f7cfe5bb70f71fc42c8c82584950506def77f5
2024-02-26 19:25:24 +02:00
Michael Bestas
7920c49cc6
sm6225-common: sepolicy: Label FPC hwservice
Change-Id: I92d3e014b3ccef24ea890ae42ca76563657790eb
2024-02-26 19:25:19 +02:00
Michael Bestas
819666780a
sm6225-common: sepolicy: Label fingerprint ident services
Change-Id: If4228df4dedff9d5fe20c8379c41ba9ce650c000
2024-02-26 05:13:52 +02:00
Michael Bestas
337a98c231
sm6225-common: sepolicy: Label ro.vendor.product.display
Change-Id: Ic02a712a6bba23daad26700a01239c7c19410169
2024-02-26 05:13:52 +02:00
Michael Bestas
68eae2d364
sm6225-common: Disable batt_health service
Change-Id: I2533fd387c4d6605cb96a186bac1ca5a5ffb987b
2024-02-26 05:12:45 +02:00
Michael Bestas
bbebc27f92
sm6225-common: Add missing IMS lib
Fixes:
E ims_media_jni: Error loading library lib-imsvt.so: dlopen failed:
library "vendor.qti.imsrtpservice@3.1.so" not found: needed by
/system_ext/lib64/lib-imsvt.so in namespace clns-shared-8

Change-Id: I23c1bf528304081526b3ed67a84794ca7e456309
2024-02-26 03:33:53 +02:00
Michael Bestas
a8bef8d042
sm6225-common: Update to devon_g T2SNS33.73-22-3-3
Change-Id: I23d28a92b0926192db39160eb2c147f115076570
2024-02-08 01:41:05 +02:00
Tommy Webb
4015802443 sm6225-common: Specify vendor.usb.device
Needed to restrict USB properly.

Change-Id: I4fc97c4a0be7a96c89d674bcde613ccf83d1c336
2024-01-10 19:32:49 +00:00
MD Raza
776fa1eb1f sm6225-common: set boot header ver to 3 if not defined
Older bengal have boot header version 2

Change-Id: I4a29daebb7f85a430e2e26b27c8a39a1e259db8c
2024-01-08 12:21:04 +00:00
Alessio Balsini
8676a9d3a9
sm6225-common: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2024-01-05 11:47:18 +02:00
Tommaso Fonda
292173dc55
sm6225-common: sepolicy: Update for T blobs
Change-Id: I97c9682f35ade823fa073bc993390ad38376a9da
2024-01-05 11:41:07 +02:00
Michael Bestas
77d964ea69
sm6225-common: Update to devon_g T2SNS33.73-22-3-2
Change-Id: I065a2bf4232992416cd28cdad1dd0a09889d7b2a
2024-01-05 11:41:07 +02:00
Michael Bestas
0271d78b77
sm6225-common: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2024-01-05 11:41:07 +02:00
Tommaso Fonda
0ea4719b77
sm6225-common: gps: Resolve more unused parameter warnings
Change-Id: I8c0b039c610ae4abc82b1bb8d975cb76b9ba2027
2024-01-05 11:41:07 +02:00
Michael Bestas
58e72f4794
sm6225-common: Update GPS HAL to LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0
Change-Id: I8f0f477db0fdeed28fc4ba1c997bfe38b1c7268f
2024-01-05 11:41:07 +02:00
Michael Bestas
e0ed33f86c
sm6225-common: Update manifest to devon_g T2SN33.73-22-3
Change-Id: Ic2fc6c8b78691a4ba7abe6e1d361db34e460353e
2024-01-05 11:41:06 +02:00
Michael Bestas
104e653a82
sm6225-common: Update media configs to devon_g T2SN33.73-22-3
Change-Id: I32a9e0fef589bc80e25cfc6b83c026504b4214e7
2024-01-05 11:41:06 +02:00
Michael Bestas
757b8c471e
sm6225-common: Update rootdir to devon_g T2SN33.73-22-3
Change-Id: I00acebe92cf52b76991d5d53acbbcbfbc9b069bb
2024-01-05 11:41:06 +02:00
Michael Bestas
e94986d22b
sm6225-common: Update properties to devon_g T2SN33.73-22-3
Change-Id: I05235b8b3dc739882620b164db12b21a178228d1
2024-01-05 11:41:06 +02:00
Michael Bestas
45194ac3cf
sm6225-common: Update blobs to devon_g T2SN33.73-22-3
Change-Id: I3180dadeadc2ec5bbfcf27647ee468deeeb6e3d1
2024-01-05 11:41:06 +02:00
MD Raza
312d167398 sm6225-common: sepolicy: Add rules for goodix_fp
Signed-off-by: MD Raza <raza231198@gmail.com>
Change-Id: I3e713e83e967cc8d3edfe01895fdb929da22bab9
2024-01-01 20:45:43 +00:00
MD Raza
352ecd337f sm6225-common: Add guamp HALs to compatibility matrix
Signed-off-by: MD Raza <raza231198@gmail.com>
Change-Id: I4e413d791e9d6bc442230b149133349fc785e6ea
2024-01-01 20:45:43 +00:00
Michael Bestas
0e2004dc7e sm6225-common: gpt-utils: Fix partition lists
Add/remove partitions and shuffle them to the proper list.
This should make all moto bengal devices work.

Removed: mdm1m9kefs3, spss
Added: recovery

Change-Id: I107d1c75cd44db02100042903f5794ed7efc8928
2024-01-01 20:45:43 +00:00