728 Commits

Author SHA1 Message Date
Asriadi Rahim
3e19a2e487 wahoo: Build android.hardware.radio.config@1.0
* Define to manifest for radio config service

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-21 13:47:14 +08:00
Sundong Ahn
5ba9ec5638 wahoo: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
2024-07-21 13:47:14 +08:00
Georg Veichtlbauer
f17623c55b wahoo: Build vendor variant of libpower
Change-Id: Id7fe8a2598ffb93be4635424c86100a88aea8780
2024-07-21 13:47:14 +08:00
Chris Fries
f641db3afd wahoo: Set VENDOR_SECURITY_PATCH to platform
Set the VENDOR_SECURITY_PATCH level to match the platform
security patch level. These are functionally the same.

Bug: 125914443
Change-Id: Ib77ab115d6faabd21958c34e2dae49ec96421fdd
2024-07-10 19:00:40 +08:00
Danny Lin
79a0c89b11 wahoo: Build Active Edge service (ElmyraService)
This package provides comprehensive support for the Active Edge squeeze
gesture supported on this device.

Change-Id: I2158c22e727e293e3f02b9ddf614a943848ad587
2024-07-10 18:50:57 +08:00
Pranav Vashi
55d9660434 wahoo: Add dolby to cloned apps exemption list
Change-Id: I47ab06f7d5152c4c993359ac85d121e41c8df235
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-08 16:33:10 +08:00
Pranav Vashi
1e4483c2bb wahoo: Load libstagefrightdolby for dolby codecs
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-08 16:33:10 +08:00
Pranav Vashi
b520e3ed96 wahoo: Add Moto Dolby support
Change-Id: I11e837a91e12bc52b102717d0c2f4cf62081b5f7

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-08 16:33:08 +08:00
Michael Bestas
be3bc1e616 Partially revert "wahoo: Build android.frameworks.sensorservice@1.0"
This partially reverts commit 9f471ef34bea66c47e2680efe3128c4153b53682.

Change-Id: Iddd2e8142ca62bceef2a11b08a64241580aa5ac1
2024-07-08 16:29:13 +08:00
Alexander Koskovich
01b53d4bf8 wahoo: Disable the usage of ConfigStore.
* As per commit 11a113a67e ("Add disable_configstore").

[SebaUbuntu] Remove manifest entry as well

Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
2024-07-08 16:28:29 +08:00
Stephane Lee
280c89e30f wahoo: health HAL 2.1
Bug: b/137790244
Test: lshal debug (health service)

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: Id15d203bd791d0867972da98f6998610723b9332
2024-07-08 16:27:27 +08:00
Jooyung Han
9936488172 wahoo: Add hardware/qcom/wlan namespace
With libwifi-hal-qcom migrated to Android.bp with soong namespace
the namespace should be added to PRODUCT_SOONG_NAMESPACES as well.

Bug: 273376293
Test: m droid
Change-Id: I041a57bc6873903895a0b8783eb13106ea224886
2024-07-08 16:27:12 +08:00
Asriadi Rahim
d0f1b3861f wahoo: Build ViMusic
* ViMusic Apps by vfsfitvnm
* https://github.com/vfsfitvnm/ViMusic/releases/latest
2024-06-08 23:03:18 +08:00
Asriadi Rahim
c0eaa8d982 wahoo: Pin SystemUIGoogle instead SystemUI
* Evox use vendor_pixel_framework

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:54:16 +08:00
Tommaso Fonda
fd742e7f7f wahoo: Build android.hardware.radio.config@1.0-service
* Fixes lags when entering SIM settings.

Change-Id: I8aa19bfacaa242fe9be7d5e25e7df54c64af5516
2024-06-08 22:50:51 +08:00
Asriadi Rahim
536a5866d1 wahoo: Track GoogleCamera 8.3
* Latest Gcam doesn't work in wahoo family,
  so we can use version 8.3 from play store
2024-06-08 22:39:18 +08:00
Asriadi Rahim
5f0d7c4cd8 wahoo: Initial Evolution-X 9.x
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:38:03 +08:00
Derek
95edae2749 wahoo: Use lineage radio 1.4 wrapper
Change-Id: Id51367011e82d7d474eb9fa33d49079f1277fba0
2024-06-08 22:24:28 +08:00
Alessandro Astone
82b5fb02b1 wahoo: Build and enable fastbootd
* fastboot has issues while using USB 3 on wahoo

Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab
2024-06-08 22:22:16 +08:00
basamaryan
3feead23a9 wahoo: Build libprotobuf-cpp-full-3.9.1-vendorcompat
For now this is implicitly built by lineage specific
libprotobuf-cpp-lite-3.9.1-vendorcompat lib, but in the future this
might not be the case.

Change-Id: I724e933e046cbf631c078321d55550b96ca998da
2024-06-08 22:20:19 +08:00
Łukasz Patron
681908af7a wahoo: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2024-06-08 22:16:36 +08:00
Ram Chandrasekar
7a39fdde19 wahoo: update thermal HAL makefile path
update thermal HAL makefile path to the new common folder.

Bug: 289146743
Test: presubmit

Change-Id: I4c2b93d37d12de8e0ac01deb9ad21b34e0a2da5c
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
2024-06-08 22:15:44 +08:00
Sebastiano Barezzi
22d68aefab wahoo: Stop explicitely building netutils-wrapper-1.0
* Built by default

Change-Id: Id6666535bb8d0b84d2d0a8d19411fafa49df3d68
2024-06-08 22:15:44 +08:00
basamaryan
01c626ca58 wahoo: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-06-08 22:15:42 +08:00
Yumi Yukimura
b48426294c Revert "wahoo: Switch to legacy WiFi HIDL HAL"
* WiFi AIDL HAL works in U QPR2

This reverts commit ee1c36be2b04cdc4a8ccc178a65ba2a93a60c094.

Change-Id: I4d38fcc7e5999f934344bc364afb4f4d8a049711
2024-06-08 22:14:59 +08:00
Edwin Moquete
72afdbea53 wahoo: Disable frame rate override feature
This is enabled by default on U, and it causes apps like
Chrome and YouTube to render the frame rate at 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-06-08 22:13:48 +08:00
Asriadi Rahim
77ea6d9d05 wahoo: Move fstab.hardware to separate device tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:13:02 +08:00
luk1337
c583289b0d wahoo: Set ro.hardware.egl to adreno
For whatever reason, after the U QPR1 merge, surfaceflinger is no longer
able to find an OpenGL implementation without this hint.

Change-Id: I59610ce628acb41807bb75b01a8c6cac7d08f740
2024-06-08 22:10:49 +08:00
Asriadi Rahim
44b4f1a682 wahoo: Drop EUICC support
* Temporary drop until we have a good solution

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:10:49 +08:00
Sebastiano Barezz
cb781488ee wahoo: Switch to two-stage init mounting
* Stop handling vendor mounting from kernel, first stage init is gonna
  do that, together with system (which is now /system)
* Use correct mount flags coming from kernel dts
* Move system and vendor mount points to /dev/block/by-name/, we don't
  have bootdevice symlink to that point in init
* Copy fstab to recovery for first stage init

Change-Id: Iaa0ecc3f13c3cfd3fe357ca509549d0f68a29cf0
2024-06-08 22:10:04 +08:00
Asriadi Rahim
a63e4c4868 wahoo: Enforce privapp-permissions whitelist
* Since privapp-permission set to log on vendor evox, so lets enforce
* ref: 8de3c44fa8/config/common.mk (L137)

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:10:04 +08:00
0xCAFEBABE
726f2c310b wahoo: Switch to legacy WiFi HIDL HAL
* With the new WiFi AIDL HAL, the framework thinks the device
  supports interface combination for some unknown reason,
  even though the service doesn't advertise it. As a result,
  the WiFi service fails on configureChip method.

Change-Id: I0c3fa7b4c947c3525c30f7cef0b2674bee224da7
2024-06-08 22:10:04 +08:00
ReallySnow
098aec76fc wahoo: Initial minimal privapp permissions
* Used to deal with permission issues caused by Gapps updates

Change-Id: I39661b1250f2f2bfb3d7ce722affe429bcd2de2a
2024-06-08 22:08:34 +08:00
PixelBoot
ae55d1f59b Revert "Disable use_buffer_age to workaround driver issue"
This reverts commit 83759b7709.

* Our Adreno driver is support EGL_KHR_partial_update,
  beginning of the https://android-review.googlesource.com/c/platform/frameworks/base/+/320411,
  the EGL_EXT_buffer_age extension was forcibly enabled
* If disable EGL_EXT_buffer_age extension support, the following OpenGL memory leak will occur:
* W OpenGLRenderer: dequeueBuffer failed, error = -110; switching to fallback

Change-Id: Ie511aa32922cb53a1d70160fe6f0a2dd80cf413c | AOSP
2024-06-08 22:06:50 +08:00
Benedict Wong
0df934d055 wahoo: Add feature flag for FEATURE_IPSEC_TUNNELS
This commit adds the IPSEC_TUNNELS feature flag, with XFRM Interfaces
used as the implementation of choice.

Bug: 117183273
Bug: 137629222
Test: Compiles, passes tunnel-mode CTS tests
Test: adb shell pm list features
Change-Id: I19c598947525783850b29d149db85db89f8b347e
2024-06-08 22:06:50 +08:00
Bruno Martins
6b7852bcd8 wahoo: Set block_binder_thread_on_incoming_calls in product.prop
Fails to be set from vendor otherwise:

  init: Do not have permissions to set 'ro.telephony.block_binder_thread_on_incoming_calls' to 'false' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: I3c3ea61af240557f3b1053497c3ed1403f7ae318
2024-06-08 22:06:50 +08:00
Danny Trunk
2a142187d7 wahoo: Do not block binder thread on incoming calls
Change-Id: I6a2c41e35cc3514e60e104d8eb967f331176594e
2024-06-08 22:06:50 +08:00
Eamon Powell
437627f075 wahoo: Remove gps.conf from PRODUCT_PACKAGES
This target doesn't exist anymore

Change-Id: I5dc3bdb62763a4f98eba3e59c30d81f9ae6e1dc6
2024-06-08 22:05:50 +08:00
Woody Lin
f27a685620 wahoo: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2024-06-08 22:05:50 +08:00
Christian Hoffmann
e7652c5c1c wahoo: Cleanup DRM services and hals
* Clearkey and Widevine have their own vintf
* 1.3 drm interface includes the lower versions

Change-Id: I59bd0830b524c7b44fb924ef60e55a11c27b6158
2024-06-08 22:05:13 +08:00
Bruno Martins
8be72e2dd4 wahoo: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2024-06-08 22:05:13 +08:00
Bruno Martins
18bedf3c58 wahoo: Drop default DRM service
This is not needed, since Widevine DRM and Clearkey DRM
services are available.

Change-Id: I97023f1bab88ddb8fa4cb205df190c516a759951
2024-06-08 22:05:13 +08:00
Bruno Martins
5809eefd2f wahoo: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2024-06-08 22:05:13 +08:00
eorg Veichtlbauer
d909f03d00 wahoo: Move Bluetooth power config away from overlay
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack

Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2024-06-08 22:04:32 +08:00
Alice Kuo
21c2213cca wahoo: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2024-06-08 22:04:32 +08:00
Sal Savage
d213da4c1d wahoo: Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
2024-06-08 22:04:32 +08:00
Sal Savage
3bb9e29956 wahoo: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2024-06-08 22:04:32 +08:00
Sal Savage
40b3fc92c2 wahoo: Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2024-06-08 22:04:32 +08:00
Alexander Koskovich
ccbdb73f8f wahoo: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2024-06-08 22:03:56 +08:00
Sal Savage
fe6272e4df wahoo: Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2024-06-08 22:03:56 +08:00