Commit graph

432 commits

Author SHA1 Message Date
dianlujitao
f49fb47274
sm6225-common: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
2024-07-05 13:58:08 +03:00
Lorenzo Colitti
12bb447f90
sm6225-common: Delete dhcpcd init entries, since dhcpcd is no more.
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2024-07-05 13:54:55 +03:00
Ethan Chen
8adb4cfa31
sm6225-common: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2024-07-05 13:54:14 +03:00
Nagireddy Annem
7d981302e6
sm6225-common: init: Set permissions to rawdump node
Move permission setting logic from init rc file to ueventd rc file.

Change-Id: I4b94e0e188f8b420a608cc2e0d97e4b960381c31
2024-07-05 13:53:35 +03:00
dianlujitao
3a99687186
sm6225-common: declare expat as symlink during extraction
Change-Id: I0e42b6baabf3f44fb390e9a32af8a546cdf162c6
2024-07-04 09:37:10 +03:00
Michael Bestas
0c303a370c
sm6225-common: Switch to SPDX copyright & update dates
Change-Id: I1adc8afc557a0d8a7379ec24589ea68b2391d147
2024-06-28 15:51:10 +03:00
Alexander Koskovich
5c302b1a26
sm6225-common: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2024-06-28 12:57:39 +03:00
Michael Bestas
2d138058a1 Revert "sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES"
This reverts commit a95fef1c7b.

Reason for revert: Breaks various things.

Change-Id: I1416e65a2100ea213c09ce53e7aca6af0f019c40
2024-06-27 22:20:41 +00:00
Paul Crowley
54f23291e2
sm6225-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-06-24 16:13:15 +03:00
Bruno Martins
a95fef1c7b
sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 02:23:29 +03:00
Bruno Martins
2330aea7f1
sm6225-common: Convert WiFi firmware symlink to install_symlink target
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-06-24 02:23:29 +03:00
Michael Bestas
2efe1428fa
sm6225-common: Convert expat symlink to install_symlink target
Change-Id: I4cf144e660d44bd0f28e5b94d9995ddd4c08b38c
2024-06-24 02:23:29 +03:00
Michael Bestas
46e1aae879
sm6225-common: Convert aw882xx firmware symlink to install_symlink target
Change-Id: I1ed840d33d09e717bdc00675212fe508021dcc1c
2024-06-24 02:23:28 +03:00
Bruno Martins
a5093a707d
sm6225-common: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-06-24 02:23:25 +03:00
Bruno Martins
84257e0f99
sm6225-common: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-06-24 01:06:12 +03:00
Bruno Martins
c3033d56c9
sm6225-common: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-06-24 00:48:18 +03:00
Michael Bestas
1cb7fbac98
sm6225-common: Create rfs fsg symlink
Change-Id: Id337670d40aeb598e4b2507bd94d4885344c675c
2024-06-24 00:46:59 +03:00
Bruno Martins
1f6bff2d81
sm6225-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-06-24 00:44:11 +03:00
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