Commit graph

347 commits

Author SHA1 Message Date
Kai Hsieh
4aac0629ae Merge "Fixes issue where ripcurrentpro devices ROM build will fail with GIA" into main 2024-11-13 10:12:42 +00:00
Kai Hsieh
3b4a0bed51 Fixes issue where ripcurrentpro devices ROM build will fail with GIA
Root casue: there is no GTI built on ripcurrentpro devices. Solution: Add GTI for ripcurrentpro devices.

Test: go/forrest can successfully build for ripcurrentpro and on CM devices: https://android-build.corp.google.com/builds/abtd/run/L56200030007746343.
Bug: 378811601
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Change-Id: If8a248b1f8f9a9cd82ea1a26aeb5244ec1de12bc
Signed-off-by: Kai Hsieh <kaihsieh@google.com>
2024-11-13 08:37:39 +00:00
Shikha Panwar
1676ce11cf Enable Secretkeeper HAL service on zumapro am: 7b57770786 am: 9792f38ba4
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3340804

Change-Id: I3f7d62c1c82bb5764fee942881cbde59f6371982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-13 08:11:41 +00:00
Kai Hsieh
9ca5dc93b7 Merge "Add GIA (Google Input interface Abstraction layer) for zumapro devices." into main 2024-11-13 07:05:58 +00:00
Shikha Panwar
7b57770786 Enable Secretkeeper HAL service on zumapro
The HAL service is needed for Updatable pVMs

Bug: 376015522
Test: get_build_var SECRETKEEPER_ENABLED
Test: VtsSecretkeeperTargetTest
Test: #UpgradedPackageIsAcceptedWithSecretkeeper
Change-Id: Ic1993de0f82feba0979e0403472ed4da79676137
2024-11-12 12:30:28 +00:00
Kai Hsieh
a419a7b54b Add GIA (Google Input interface Abstraction layer) for zumapro devices.
Bug: 367881686
Test: Manually, build and flash the ROM and use `service list` to make sure the service is up.
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Change-Id: Icfeb3d1707ead79f38e355d4502c24f1b5493a26
Signed-off-by: Kai Hsieh <kaihsieh@google.com>
2024-10-31 01:02:08 +00:00
Juan Yescas
ab4b51ee5e 16kb: zumapro: Verify that zumapro prebuilts are 16kb elf aligned
Set the product flag PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE to
verify that zumapro prebuilts are 16kb compatible.

See: https://source.android.com/docs/core/architecture/16kb-page-size/16kb#verify-16kb-alignment

Bug: 342466032
Bug: 363170018
Change-Id: Ib60842dc090c16822bc727a6d7442951b7b45aa2
Test: Build target
Flag: EXEMPT bugfix
2024-10-30 18:44:08 +00:00
Cyan Hsieh
36ea89ca92 Merge "Add manifest for VINTF target FCM level 202404" into main 2024-10-23 11:26:54 +00:00
Megha Patil
b710f75a6f VSS to be removed from Zumapro
VSS support removed from zumapro and made device specific

BUG: 369721391
Flag: EXEMPT refactor(SUPPORT_VENDOR_SATELLITE_SERVICE)
Test: Manual Test(Satellite Basic Test)
Change-Id: I52cb3e36dedecf7fb8dd14135dfe8da400210144
2024-10-18 10:35:00 +00:00
Cyan Hsieh
cee21e461f Add manifest for VINTF target FCM level 202404
device_framework_matrix_product_202404.xml,
manifest_202404.xml:
  target-level = 202404

compatibility_matrix_202404.xml:
  remove "android.hidl.allocator@1.0" per b/205764958

manifest_media_aosp_202404.xml:
  remove codec2 hidl fragments

Flag: EXEMPT NDK
Bug: 312876454
Change-Id: Ic6b867cb55a184803ae41f1b58a4ecc0269c4b87
2024-10-16 07:27:30 +00:00
Andrew Cheng
3f62c6b40d Fix LE Audio sysprops typos in makefiles
Makefile contain the following sysprops

bluetooth.profile.bap.unicast.server.enabled
bluetooth.profile.tbs.server.enabled
bluetooth.profile.vc.server.enabled

However, CS indicates the above sysprops aren't defined anywhere
nor read anywhere? Given how the following LE Audio sysprops are
missing from the makefile, and the similarities in naming, we
suspect there was a typo?

bluetooth.profile.bap.unicast.client.enabled
bluetooth.profile.ccp.server.enabled
bluetooth.profile.vcp.controller.enabled

Bug: 372711861
Test: builds
Flag: EXEMPT bugfix
Change-Id: I2e9812060733ba6d380a104d79e58867a3e01aa2
2024-10-10 14:05:37 -07:00
Juan Yescas
60dc676409 Copy files on efs/efs_backup/modem_userdata/persist partitions to /data in 16kb mode
There are 4 partitions that are flashed at the factory and use F2FS fs with
4kb block size:

- /dev/block/by-name/efs
- /dev/block/by-name/efs_backup
- /dev/block/by-name/modem_userdata
- /dev/block/by-name/persist

These partitions can NOT be mounted by 16kb kernels because F2FS
expects BLOCK_SIZE == PAGE_SIZE.

In order to access the files in these partitions by 16kb kernels,
the dump.f2fs tool is used.

This change will perform these steps at boot time ONLY for 16kb mode. For
every partition (efs/efs_backup/modem_userdata/persist):

1. Use dump.f2fs to copy the content of the partition
to /data/vendor/copied/<partition name>.img.
2. If the copy was succesfull, rename /data/vendor/copied/<partition name>.img
to /data/vendor/copied/<partition name>
3. fsync the content of the directory /data/vendor/copied/<partition name>.

After the content of the partitions is in /data/vendor/copied,
bind-mount the partitions to the directory /mnt/vendor. See conf/fstab.efs.from_data.

Note: This change ONLY applies to 16kb kernels. This change does not modify
the original partitions.

Bug: 347015136
Bug: 362368691
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Idf46a2a3a4f0b2e91ee4a0322a0c469e055684c8
2024-10-07 22:46:49 +00:00
Juan Yescas
49a4d989ad Move setup of the persist partition to init.persist.rc
The setup of the persist partition is moved to init.persist.rc.
This will make easier to configure 16kb targets in follow up
changes.

Bug: 347015136
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ifd17fc1f25ea8cf73470630e14a38116e0b7b96a
2024-10-04 08:19:22 -07:00
Zhengyuan Cui
cb436afabd Change any use case of folder name api to tachyon_api to avoid api review
Bug: 364390678

Change-Id: Ibf53edb7a1bb9c16967b45b8a2a38575dac8cbda
Flag: EXEMPT refactor
2024-09-24 21:56:08 +00:00
Treehugger Robot
a5d399485b Merge "Control the "init_dpm.sh" to be built in zumapro devices" into main 2024-09-19 07:26:52 +00:00
Herbert Xue
92b2e67e82 Control the "init_dpm.sh" to be built in zumapro devices
Flag: EXEMPT bugfix
Bug: 364510147
Test: lunch comet-trunk_staging-eng && m init_dpm.sh
Change-Id: I43e7614e1ec0d8b62b35af6ae6774340e9248577
2024-09-18 09:21:51 +08:00
Herbert Xue
959bd67210 Control the modules built from vendor/google_devices/zumapro/prebuilts/gpu
For PDK build, the "vendor/arm" path doesn't exist. The modules will be
built from vendor/google_devices/zumapro/prebuilts/gpu.

Flag: EXEMPT bugfix
Bug: 364491703
Test: 1. lunch comet-trunk_staging-eng
      2. m libGLES_mali vulkan.mali libOpenCL libgpudataproducer
Change-Id: Ie58b2707fb9774f4a3552561b809c3c15d3803ef
2024-09-13 15:31:08 +08:00
Treehugger Robot
2ec8fd56a5 Merge "Revert "Revert "Move PRODUCT_SHIPPING_API_LEVEL to defined by de..."" into main 2024-09-13 05:54:07 +00:00
Cyan Hsieh
d52c3bc6b2 Revert "Revert "Move PRODUCT_SHIPPING_API_LEVEL to defined by de..."
7efa373263a34047b58202cdd90c4bd673936ea7

Bug: 312876454
Change-Id: Ifedf3d3a98845830ff4d2b42e333a384926bc266
2024-09-13 03:43:34 +00:00
Treehugger Robot
2b08e414d0 Merge "Control GoogleDialer built from zumapro/proprietary/GoogleDialer" into main 2024-09-12 01:50:20 +00:00
Juan Yescas
7e4d66612d 16kb: Select proper fstab for targets that only boot 16kb kernels
The 16kb kernels need to select the fstab that has this configurations:

- data partition:     fstab
- metadata partition: ext4

Bug: 350101696
Test: Built zumapro target and checked mounted partitions
Flag: EXEMPT bugfix
Change-Id: I2fc82946cdbadee7af0b3f6fc026b846fa79a146
2024-09-11 23:56:46 +00:00
Chia-Chi Teng
ac5e8f3b81 Merge "Deprecate preloaded_nanoapps.json" into main 2024-09-11 18:41:22 +00:00
Chia-Chi Teng
147b6373f4 Deprecate preloaded_nanoapps.json
Flag: EXEMPT resource only update
Bug: 350102369
Test: on device and presubmit
Change-Id: I8056d46ef653b3cb6b498b02c5aee18ca22a53d0
2024-09-10 01:49:19 +00:00
Herbert Xue
c0aab4a5f1 Control GoogleDialer built from zumapro/proprietary/GoogleDialer
For PDK build, the "vendor/unbundled_google" path doesn't exist.
"GoogleDialer" will be built from vendor/google_devices/zumapro/proprietary/GoogleDialer.

Flag: EXEMPT bugfix
Bug: 364510147
Test: export USES_GOOGLE_DIALER_CARRIER_SETTINGS=true; m GoogleDialer
Change-Id: I5c6796036627a5ae208dfda3ea19ead550a55c9a
2024-09-09 13:51:29 +08:00
Yixuan Jiang
c0257a0f66 Add pixellogger with non radio
Flag: EXEMPT bugfix
Bug: 353117906
Change-Id: I9223021c1fd0af8b868b5a8c40cc7c9b620ff0aa
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-09-09 12:32:09 +08:00
Charlie Yang
9d2f2f20cc Merge "Revert "Add soong config use_google_qns in device/google/zumapro..."" into main 2024-09-04 13:05:40 +00:00
Charlie Yang
86dc4ddddd Revert "Add soong config use_google_qns in device/google/zumapro..."
Revert submission 28947244-grilservice

Reason for revert: b/363911795

Reverted changes: /q/submissionid:28947244-grilservice

Change-Id: Ib13bc42b054a627271c55d06f1190912c824d03d
2024-09-04 11:03:29 +00:00
Jason Chiu
27a8298d1a Merge "Revert "16kb: Verify that zumapro prebuilts are 16kb compatible"" into main 2024-09-02 00:55:30 +00:00
Pindar Yang
56e949cdce Revert "16kb: Verify that zumapro prebuilts are 16kb compatible"
This reverts commit a5372bac75.

Reason for revert: Build break. Bug: 363170018

Bug: 363170018
Bug: 363816648
Change-Id: I1a0d7ad852b375e77aa6c8fff0112e9c1014a56e
2024-09-02 00:27:04 +00:00
Treehugger Robot
a164bd2210 Merge "Add soong config use_google_qns in device/google/zumapro/device.mk" into main 2024-08-30 07:22:56 +00:00
kellyhung
cd60c30bef Add soong config use_google_qns in device/google/zumapro/device.mk
Bug: 360757079
Test: lunch r11-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix
Change-Id: I3254d83d0aadc403cb6ce6470e601cf336957319
2024-08-30 06:39:41 +00:00
Treehugger Robot
a695b0f4a1 Merge "audio: set util_clamp_min for s/w spatializer to avoid glitches" into main 2024-08-29 09:02:42 +00:00
Treehugger Robot
6089bd06de Merge "16kb: Verify that zumapro prebuilts are 16kb compatible" into main 2024-08-29 02:01:48 +00:00
David Li
ffb6a0852e audio: set util_clamp_min for s/w spatializer to avoid glitches
- power measurement result is on b/262803152#comment5

Bug: 355912013
Test: spatial audio
Flag: EXEMPT bugfix
Change-Id: I1b0712254875bbecc89cd2355a3eac18d3789666
2024-08-28 07:56:52 +00:00
Juan Yescas
14e4154b5e Rename fstab.persist to fstab.rw.persist for zumaproe devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I457f169f14a937d96d8c1a7022455c58b9240b07
2024-08-27 01:28:17 +00:00
Juan Yescas
a5372bac75 16kb: Verify that zumapro prebuilts are 16kb compatible
Set the product flag PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE to
verify that zumapro prebuilts are 16kb compatible.

See: https://source.android.com/docs/core/architecture/16kb-page-size/16kb#verify-16kb-alignment

Bug: 342466032
Test: Build target
Flag: EXEMPT bugfix
Change-Id: I026a3094fc84234777f7885e0fec0c12efcd3079
2024-08-23 16:19:55 +00:00
Vadym Omelnytskyi
fbbc2544ea Merge "display: remove zumapro color data protobuf" into main 2024-08-20 15:32:13 +00:00
Treehugger Robot
6932c8276c Merge "persist.sys.hdcp_checking: make default drm-only" into main 2024-08-16 15:39:06 +00:00
Ji Soo Shin
cfd26f0431 persist.sys.hdcp_checking: make default drm-only
In case of always, we always enable hdcp regardless of drm status.

Bug: 359951297
Flag: EXEMPT bugfix
Change-Id: I477f5c0cfa1350c295c3722a35ab42fb7a9a73e6
Signed-off-by: Ji Soo Shin <jisshin@google.com>
2024-08-16 11:18:21 +00:00
Vadym Omelnytskyi
c9f09aaf7e display: remove zumapro color data protobuf
Remove color data protobuf and command that put protobuf to the Android
filesystem

Bug: 309149099
Flag: EXEMPT refactor

Test: adb shell ls /vendor/etc/display_colordata_cal0.pb
Test: change color mode in Display Settings and confirm the same colors
Change-Id: I2727e9aa1baa35d814e5909c31b1c22f55885e61
2024-08-14 20:20:27 +00:00
Terry Huang
7a2d14c2e9 Optional building Vendor Telephony proprietary by flag
Bug: 359410792
Change-Id: I0edcdc1a9103741c603e01c58fe55e8e8c3c060a
Test: Build pass
Flag: EXEMPT bugfix
2024-08-14 05:56:41 +00:00
Gary Jian
09a87fd404 Merge "Use new format of sit_net_radio_access_specifier" into main 2024-08-07 06:11:08 +00:00
Juan Yescas
a1d5c9b4f3 Rename fstab.postinstall to fstab.ro.postinstall for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I762f8d757739e8c9685df73b7e39f10b4ce25d34
2024-08-06 23:41:48 +00:00
Treehugger Robot
0e6653cecc Merge "Rename fstab.modem to fstab.ro.modem for zumapro devices" into main 2024-08-06 20:43:48 +00:00
Juan Yescas
e7b5c5ba0b 16kb: Set PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO in zumapro devices
The PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO flag makes sure that the bionic's
PAGE_SIZE macro is not used.

Bug: 346873199
Test: Built targets
      $ get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
      true
Flag: EXEMPT bugfix
Change-Id: I267363a23c28edc564b61074f53f223fafdcc2b2
2024-08-06 03:55:20 +00:00
Juan Yescas
970dfcb4ee Rename fstab.modem to fstab.ro.modem for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I72d7d4138b23457ba23422e59d7745ab2e2017e0
2024-08-05 23:57:59 +00:00
Juan Yescas
82e7a82825 16kb: Config rw filesystem based on TARGET_RW_FILE_SYSTEM_TYPE
The TARGET_RW_FILE_SYSTEM_TYPE will contain the rw filesystem
to use. The rw filesystem for the devices can be f2fs or ext4.

If TARGET_RW_FILE_SYSTEM_TYPE is not defined, the default
fs will be f2fs.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ib087a06a98525ca449253dffce9df470a05432d3
2024-08-01 10:44:17 -07:00
Juan Yescas
a17b16ccbd 16kb: Move efs rw partitions to its own fstab file
The efs read/write partitions will be part of the fstab.rw.efs
file and will have their own RC file to mount them.

This change allows us to identify the different partitions and
their types. It will also make easier to select different
RC files depending on the page size.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I3eb877ecc3ccf435110ee0da4a949b44729b3bdb
2024-08-01 08:55:04 -07:00
Gary Jian
80a5a81d07 Use new format of sit_net_radio_access_specifier
Bug: 353545247
Test: manual
Flag: NONE, Vendor change does not support flags
Change-Id: I50c5aad2f414d2cef9cb0ead9fd7374bd7639705
2024-08-01 13:10:47 +00:00
Treehugger Robot
d606a584ec Merge "audio: set flag of speaker post-processing prebuilt" into main 2024-08-01 05:51:12 +00:00