Commit Graph

6326 Commits

Author SHA1 Message Date
Nolen Johnson
b9309ec2d4 wahoo: sepolicy: Drop types declared in hardware/google/pixel-sepolicy
Change-Id: I3334a186bacde70881cf503fb5b6554a2d8a3f13
2024-06-08 21:57:08 +08:00
Edwin Wong
6c59de2fcf wahoo: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I406b7d3c2921d4698535421894c6eb3785eb1c0d
2024-06-08 21:57:08 +08:00
Nicolas Geoffray
5e4a204833 wahoo: Remove odex/oat files from pinner list
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: Ifead4354d29b3ce658b2f5771b778a050b0579b5
Merged-In: I6627afc390f8dcacc197680dcc4917e2ac5bc090
2024-06-08 21:57:08 +08:00
Kevin Jeon
d6f0e57483 wahoo: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2024-06-08 21:56:09 +08:00
Wilson Sung
08c012daf9 wahoo: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I26d4b3767d336321bd562a8d5a289ce864536f5e
2024-06-08 21:56:09 +08:00
Lunarixus
ee7b9a745a wahoo: Generate full framework matrix
* 12 requires every HAL to be explicitly listed.

Change-Id: Ic4408870bb964ecf97a9c8c109764f806aee039d
2024-06-08 21:55:23 +08:00
Lunarixus
d87c8c20c6 wahoo: Explicitly build all needed HALs
Change-Id: Ic6b8f8cf56a37fb8504e1cb57fedae2fe3fb4bc9
2024-06-08 21:55:23 +08:00
Nolen Johnson
f40d12dcb7 wahoo: Build android.frameworks.sensorservice@1.0
* System and vendor variant.
* Add ISensorManager interface to sensors HAL declaration

Change-Id: If9c2b4ecb3d57c5e68a4187a601339b3d2538d8f
2024-06-08 21:55:23 +08:00
Nolen Johnson
dfb875e053 wahoo: Uprev framework compatibility matrix to 2.0
Change-Id: I70879d119c42831579ff099cc532fc62c4f205b6
2024-06-08 21:55:23 +08:00
Erfan Abdi
58d211735b wahoo: Update to FCM level 3
Change-Id: I06a7e7939083f541280fc0136611ea2f8724eb1d
Signed-off-by: Joshua Blanchard <joshua.lee.bbg@gmail.com>
2024-06-08 21:54:49 +08:00
Nolen Johnson
7f141e56ef wahoo: Enable BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES
* The alternative to this sucks even more than this.

Change-Id: Ia0a056315f1d23c5026f428ec6063e57425d830e
2024-06-08 21:54:49 +08:00
Kyle Lin
38a2f3ff35 wahoo: Switch to use stable power HAL
Bug: 154570109
Test: build and capture the trace to check
Change-Id: I4794f44266762672ef3b6ad9bf1353f6784e34d6
2024-06-08 21:54:49 +08:00
Michael Bestas
879dd793fc wahoo: Remove android.hardware.graphics.composer@2.1-impl
It no longer exists, the service is fully binderized

Change-Id: I06ee402b50216948e0e72a2797c2edfda1c4886a
2024-06-08 21:54:49 +08:00
Danny Lin
2833b95dc1 wahoo: Remove Wi-Fi RSSI threshold overlays
These overlay values are just the default AOSP ones at the moment. We'll
change them on the system side instead.

Change-Id: I2898dec7c3c39eac604cb7f90224760869f65bbc
2024-06-08 21:54:49 +08:00
Tim Lin
89d0f09384 wahoo: qcril: Fix MT SMS sent during power off
qcril will block any further MT SMS if previous one is not ACKed.
For this bug, IMS service is not ready and resulted in qcril stuck in blocking state.
This solution will add 30s timer to reset blocking state if there is no ACK from Telephony.

Bug: 169549852
Test: MT SMS during power off
Change-Id: I6f52170654925143aeb55f8bc0cf4c379717e718
2024-06-08 21:54:49 +08:00
Anton Hansson
cb6ffa76e5 wahoo: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2024-06-08 21:54:12 +08:00
PixelBoot
cd83091edb wahoo: Build NowPlaying service (NowPlayingOverlay)
Now Playing is supported as from the wahoo device series.
2024-06-08 21:54:12 +08:00
razorloves
5129999687 wahoo: Use CarrierSettings app instead of CarrierConfig
The CarrierSettings app enables/disables carrier apps based on sim
inserted, so use it instead of CarrierConfig.

Change-Id: I163dd615e9d8268c5f94a28ae234a30f74c7e83b
2024-06-08 21:54:12 +08:00
Max Bires
dd3f6a61a1 wahoo: Add VENDOR_SECURITY_PATCH level definition
Change-Id: I0d923d4eb67ddef3be81409676472fe520bbacf5
2024-06-08 21:52:56 +08:00
Eamon Powell
2eb4aefb2e wahoo: Generate symlinks
This is a squash of the following:

Author: Eamon Powell <eamonpowell@outlook.com>
Date:   Tue Mar 31 10:20:49 2020 +1100

    wahoo: Add EGL symlinks

    Change-Id: I292a6180ba08d5a1a3ed9efb8aab6329e7f89fc8

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Sat Sep 30 21:14:38 2017 +0300

    wahoo: Create RFS symlinks

    Change-Id: Ie9bc8ec251ee0cd0dcc8caab230662b6e93b72a5

Author: Christopher N. Hesse <raymanfx@gmail.com>
Date:   Sun Nov 26 00:24:41 2017 +0100

    wahoo: Add IMS + DMService symbolic links

    Change-Id: I105ce0e92533e478df66186f3b0fb59b420365c5

Change-Id: Ic81e0fd5e1435120b3b8ada94c51ab2f91ec1aa2
2024-06-08 21:52:56 +08:00
Eamon Powell
1b8550bf71 wahoo: Add missing properties and packages
Now that we are building our own vendor image, some necessary
packages aren't being built and some props aren't being set.

Change-Id: I3e91822b336761cdecf3f6ebe416276dc0585785
2024-06-08 21:52:56 +08:00
razorloves
1e0f0b574b wahoo: Build the vendor image
* Updated for R. Google moved AB_OTA_PARTITIONS to boardconfig.

Change-Id: I6e77335985526162433b1b879775a6fd89163c5e
2024-06-08 21:52:56 +08:00
beanstown106
8a6b51d85f wahoo: Enable battery led and multicolor notif/battery leds
* Updated comments with latest lights capabilities.

Change-Id: I445277aeebccd8bf6b0897d51d6a0c29d173828c
2024-06-08 21:52:56 +08:00
Abhisek Devkota
1bb665ec7b wahoo: Enable sound trigger
Change-Id: Id5c8572a7297df73b119ff8f0ac4888e235c76b6
(cherry picked from commit e55bed9a5eaa937dd94bb10649eccb8f0102bb49)
2024-06-08 21:52:56 +08:00
razorloves
892f8b1284 wahoo: Hide user facing crash dialog for EUICC app
The GoogleParts app disables the EUICC app when there's no GMS, but it
doesn't happen quick enough. The crash dialog pops up a few times right
after initial boot up. There's no need to alarm the user, so hide it.

Change-Id: Ia06b336b30a8886bae522c6e8a76a1ca15da5edd
2024-06-08 21:52:06 +08:00
Danny Lin
8018eea76e wahoo: Define embedded eUICC slot
Extracted from the RP1A.200720.009 stock ROM.

Change-Id: I88a9b5605914369f2c262dec53571dd638504cfb
2024-06-08 21:52:06 +08:00
Ethan Chen
b0e9cc06d7 wahoo: Declare eUICC permission
This is a squash of the following:

Author: Ethan Chen <intervigil@gmail.com>
Date:   Sat Dec 1 13:53:00 2018 -0800

    wahoo: Declare eUICC permission

    Change-Id: I1b151021ca9fc6cf35141b2ccb337bc83197089e

Author: razorloves <razorloves@gmail.com>
Date:   Fri Oct 18 00:06:22 2019 -0500

    wahoo: Move eUICC permissions xml to /product

    All eUICC items were moved to /product in Q.

    Change-Id: I614f86b16f61959c47465863ab1d5d55030209ab

Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2024-06-08 21:52:06 +08:00
Abhisek Devkota
2a8daa8a18 wahoo: IMS Support
Build what we can

Change-Id: I9e482b9c35131e3634aaf7a6c8ba05ade11b28fb
2024-06-08 21:51:33 +08:00
Rashed Abdel-Tawab
23129495c3 wahoo: Switch to generated_kernel_headers
Author: razorloves <razorloves@gmail.com>
Date:   Tue Feb 18 13:38:24 2020 +1100

    wahoo: liblight: use generated kernel headers

    Change-Id: Ib12bf0b7019f9fc1cd6b119e7377fe89d9eaf8f1
2024-06-08 21:51:33 +08:00
Eamon Powell
3bc717a973 wahoo: Remove hardware/qcom/msm8998 from soong namespaces
We have gpt-utils in tree instead and don't sync this.

Change-Id: Id7afad6c0c789f6e5ba0bd28b58e173c2ca99d13
2024-06-08 21:51:33 +08:00
Rashed Abdel-Tawab
b0c87eab4e wahoo: Squash building of disabled vbmeta image
Author: Rashed Abdel-Tawab <rashed@linux.com>
Date:   Sat Sep 7 11:13:09 2019 -0700
    wahoo: Build a disabled vbmeta image

    Change-Id: Ie8f1e0929b037b35b5e45c2e31be9253fa0bb097

From: Nolen Johnson <johnsonnolen@gmail.com>
Date: Sun May 9 16:04:34 2021 -0400
    wahoo: Simplify AVB flag logic

    * AVB's `--flags 3` argument builds a disabled VBMeta with
      disabled hashtree, so no need to set both flags individually.

    Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838

Change-Id: Ie7f19e42835f8f1d2fa5be22e1beeb7228ad55a3
2024-06-08 21:51:33 +08:00
Christopher N. Hesse
d399e218b2 wahoo: Compile kernel inline
Change-Id: I59ca916dcc1ec3c5b3ff56ae76ad56db5cafbbce
2024-06-08 21:51:33 +08:00
PixelBoot
a78fe1622c wahoo: move bootctrl to device specific trees
Since we've adapted libgpt-utils to specific trees, bootctrl needs that too.
2024-06-08 21:50:46 +08:00
PixelBoot
1f4a965916 wahoo: refactor block device labeling for product 2024-06-08 21:50:46 +08:00
PixelBoot
5c1ea73214 wahoo: define the product image
Introduce the productpartition to wahoo series devices, however only define the common product partition in this tree.
Later details, such as the inclusion of system_ext partitions for taimen, is included in per-device trees.
Product partition is defined at 3.0GiB with later requirements of Android 13, causing an increase from the previous values.
2024-06-08 21:50:46 +08:00
PixelBoot
7503b48418 wahoo: define A/B ota partitions in separate trees
Partitions are different between walleye and taimen now.
Define A/B partitions in each respective tree.
2024-06-08 21:50:25 +08:00
PixelBoot
6f9d3a6d08 Revert "Add recovery.wipe file."
This reverts commit 1ff004a529.
2024-06-08 21:50:25 +08:00
Eamon Powell
d757507b60 wahoo: Increase BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT to 5120
Lineage build servers export OVERRIDE_TARGET_FLATTEN_APEX=true,
causing the system image inode count to be insufficient.

Change-Id: I171afeb3fcf85199215c54fe068cf04547999285
2024-06-08 21:50:25 +08:00
Sultan Alsawaf
ecb81cff8b wahoo: Force triple frame buffers
This yields significantly reduced jitter and doesn't have any measurable
impact on latency.

Change-Id: I4d1de21487757be3df3bd908e1a6152fd951d732
2024-06-08 21:50:25 +08:00
Wang Han
52060852ad wahoo: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2024-06-08 21:50:25 +08:00
Alessandro Astone
78ad4c7533 wahoo: Fix public key for google camera sepolicy domain
Downloaded the apk from play store and used the following command
to extract the proper public key from the apk:
openssl pkcs7 -inform DER -in CERT.RSA -out CERT.pem -print_certs

Change-Id: I32da280607e931b50822fd1ae08b45af455a9885
2024-06-08 21:49:48 +08:00
Dan Pasanen
6ba31eb282 wahoo: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-06-08 21:49:48 +08:00
Michael Bestas
57015de896 wahoo: Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2024-06-08 21:49:48 +08:00
Danny Lin
6c7ebd7021 wahoo: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-06-08 21:49:48 +08:00
Michael Bestas
99d84a8e19 wahoo: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-06-08 21:49:48 +08:00
razorloves
734d9a2d03 wahoo: Allow 3rd party apps to use fingerprint gestures
* Also, this is set to true in pixel stock roms.

Change-Id: I7f08c640452f169c3e403c7af20ca61e7e90ca5c
2024-06-08 21:48:54 +08:00
razorloves
1e610e3946 wahoo: Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2024-06-08 21:48:54 +08:00
Danny Lin
0ce8f0953a wahoo: Enable support for Bluetooth hearing aids
This device is fully capable of streaming audio to Bluetooth hearing
aids using the ASHA GATT protocol built on top of L2CAP, similar to
A2DP.

Enable the config option for the system to handle pairs of hearing aids
properly and expose the option in Settings.

More info at https://source.android.com/devices/bluetooth/asha

Test: user reported successful audio streaming
Change-Id: Ice82c48ce80626eb8beb5c51681072e213b73c39
2024-06-08 21:48:54 +08:00
Kevin Chyn
ce4530e2c8 wahoo: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2024-06-08 21:48:22 +08:00
Danny Lin
7a2677a744 wahoo: Allow disabling camera laser sensor in developer options
Sometimes, being able to disable the camera laser sensor quickly is
useful for taking pictures of reflective objects without a purple dot
showing up in the picture, especially when precise upfront focus isn't
required. Enable the existing toggle in developer options to expose this
functionality.

Older versions of the stock ROM included this option, but it's been
removed since then.

Change-Id: I24fcde77536fffcdafda749bd02157c510ac9aa1
2024-06-08 21:48:22 +08:00