Commit Graph

6307 Commits

Author SHA1 Message Date
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
Danny Lin
d34eee33d2 wahoo: 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 ~3.5 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 precious RAM on this
device.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2024-06-08 21:48:22 +08:00
Rick Yiu
d7e4e3d3ee wahoo: Sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
2024-06-08 21:47:59 +08:00
razorloves
6312601bdf wahoo: Set OPA property to enable google assistant
Change-Id: I741171219d64a28d56531f063f95f3f6f6cf81e6
2024-06-08 21:47:59 +08:00
razorloves
d02a251e4c wahoo: Remove adb secure prop
This is preventing eng builds from being adb insecure.
It's also conditionally handled in vendor repo.

Change-Id: Idc77c39a5e2311ea1fcb273c6140afe655c574c9
2024-06-08 21:47:59 +08:00
Ethan Chen
d5babeaff8 wahoo: Disable userdebug diagnostics
- We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-06-08 21:47:59 +08:00
Anay Wadhera
811a4555e4 wahoo: Include hardware/google/interfaces in namespaces
This is so all the required libraries in hardware/google/pixel get
matching libs in vendor in build

Change-Id: Ib7e1f5c2204b5ad75fa0c88d35b6a77e10998142
2024-06-08 21:47:59 +08:00
Anton Hansson
74faacdb78 wahoo: Add the nfc_extras shared lib
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I5bdc32988ced9c0b93bb54bc8cb88ead7efe4fcb
2024-06-08 21:47:59 +08:00
Lokesh Gidra
0c6e42e7c6 wahoo: Use 4GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS test
Change-Id: Ie26b8e4fefea25fa818bd1eaf9df4a0bb153d42d
2024-06-08 21:47:59 +08:00
Bill Yi
461ef3d64c Merge rvc-release RP1A.201105.002 to aosp-master - DO NOT MERGE
Merged-In: If4e844b205ad43a0d6e753148e6eebf06e61d2dc
Change-Id: I1a7891a6cf23e8385f1fe3f0fceec8f8fb753203
2020-11-04 13:57:53 -08:00
Inseob Kim
bc2acacb15 Set BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true
Test: m selinux_policy
Change-Id: I9f912db84833009a38901561557f5abc8dfd1102
Merged-In: I9f912db84833009a38901561557f5abc8dfd1102
(cherry picked from commit 0de9e04a5ed9ba5bc68bcf4932f94d474ad5d612)
2020-10-21 11:15:35 +09:00
Treehugger Robot
298a677405 Merge "BoardConfig: Use SYSTEM_*_SEPOLICY_DIRS" am: f626cf8e81
Original change: https://android-review.googlesource.com/c/device/google/wahoo/+/1316478

Change-Id: Ia51e150cde2d16f71e84ed10985e4ff7fb7ee65b
2020-10-13 07:35:46 +00:00
Treehugger Robot
f626cf8e81 Merge "BoardConfig: Use SYSTEM_*_SEPOLICY_DIRS" 2020-10-13 06:53:46 +00:00
Xin Li
6c91592137 Skip ab/6749736 in stage.
Bug: 167233921
Merged-In: I83de3cd8a4c088ec4e1de572953c5bb338fef99f
Change-Id: I530e7e4ad8c6321865e11f2f88899cd3b3681bd7
2020-10-08 23:10:39 -07:00
The Android Open Source Project
b5140fffdc DO NOT MERGE - Merge RP1A.201005.006 am: afd3a75664
Original change: https://android-review.googlesource.com/c/device/google/wahoo/+/1449386

Change-Id: I1a509d022b58567054e8035ff752ee3938ee3fef
2020-10-06 20:23:54 +00:00
The Android Open Source Project
afd3a75664 DO NOT MERGE - Merge RP1A.201005.006
Bug: 168212094
Merged-In: I4c98b705f91eb47469d02f5c1a5fa1ad57581865
Change-Id: Ibb71a3d8538dd1b74a3e6c8eaaabbe02ca7b18cf
2020-10-06 16:47:12 +00:00
Mariia Sandrikova
635e9a7dae Add vendor_hwservice_type attribute to all hwservice am: 57754edd12
Original change: https://android-review.googlesource.com/c/device/google/wahoo/+/1439153

Change-Id: Iead0057235bc9019d82ef21723ecdd7aaf806c47
2020-09-28 20:33:59 +00:00
Mariia Sandrikova
57754edd12 Add vendor_hwservice_type attribute to all hwservice
Bug: 159707777
Test: make
Change-Id: I77657f1aca58694b3bb81bc66867f6ed101d01f4
2020-09-25 23:41:36 +01:00
android-build-team Robot
5361539c6f Merge cherrypicks of [12620612, 12620613, 12620936, 12620457, 12616684, 12621005, 12620883, 12620884, 12620846, 12620847, 12620869, 12620848, 12620849, 12620961, 12620962, 12620827, 12620614, 12620197, 12620885, 12620198, 12621039, 12621040, 12621041, 12620937, 12620615, 12620886] into rvc-release
Change-Id: I09780aff84cd807b7b15d405b5fbeebac9b6ec6a
2020-09-16 23:30:15 +00:00
Paul Scovanner
cacd627213 Update Wahoo SVN to 52
Bug: 168709737
Change-Id: Ia62af493feee492564a7a4f15b1d7a6d0c166619
(cherry picked from commit eca9e691e124b6bbbf5a02bb352ec5e91f657ab6)
2020-09-16 23:28:13 +00:00