Commit Graph

1718 Commits

Author SHA1 Message Date
Pranav Vashi
e7e5892ae8 walleye: Update dolby mod from v3.0 module
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-20 23:49:18 +08:00
Pranav Vashi
5d865a7eb6 walleye: Link dolby blobs with v33 libstagefright_foundation
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-20 23:49:18 +08:00
Pranav Vashi
952434aad7 walleye: Update daxService from A14
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-20 23:49:18 +08:00
Pranav Vashi
dea0d67ee2 walleye: 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-20 23:49:18 +08:00
Bruno Martins
85adc821bd walleye: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-07-20 23:48:45 +08:00
Bruno Martins
4679e671b0 walleye: Add firmware extraction support
Rename from factory image dump to the common partition naming.

Change-Id: I61b0f4cdddf65166cb12a39926e1fcb504241975
2024-07-20 23:48:24 +08:00
Asriadi Rahim
0b81037214 walleye: Define fstab.hardware
* Since walleye and taimen require repartitioning
so the definition of the system_ext is also different, we need different fstab adjustments,
on the other hand this is necessary because we are no longer mounting from the kernel side.
* Fixed walleye cant boot normaly or bring back to recovery mode after flash the rom

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:47:05 +08:00
Lunarixus
0698e90c53 walleye: Remove annoying overriding overlays warning
Signed-off-by: Lunarixus <Nathan@lunarixus.dev>
2024-07-20 23:47:05 +08:00
Asriadi Rahim
6b64e22c79 walleye: Clean up device tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:47:05 +08:00
danielml3
3b7f212116 walleye: Drop QTI datastatusnotification
It crashes on Android 14

Change-Id: I7649956d630659f81094f66a6fef334511959aef
2024-07-20 23:46:34 +08:00
Asriadi Rahim
853e16e6af walleye: proprietary-file: Drop EUICC support
* Temporary drop

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:46:34 +08:00
Bruno Martins
2e7246460c walleye: Use libhidlbase-v32 for select Android P blobs
To workaround the removal of gBn/sConstructorMap from libhidl just for
the blobs that call _ZN7android8hardware7details17gBnConstructorMapE
and/or _ZN7android8hardware7details17gBsConstructorMapE.

Change-Id: I2376734cefb9d63775bd4e82feca9c588cd191ac
2024-07-20 23:46:34 +08:00
luk1337
35955cb01f walleye: Use libutils-v33 for pm-service
Change-Id: Ia998fa72d8747de18010abe6491d2c374cb7aa0a
2024-07-20 23:46:34 +08:00
Asriadi Rahim
7f91afa6fc walleye: Initial Evolution-X 9.x makefiles and dependencies
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:45:08 +08:00
Michael Bestas
b7be50cc4f Remove no longer needed aptX blobs
As of Android 13 QPR2, AOSP Bluetooth APEX supports aptX/aptX HD

Change-Id: I03c210dd5a777f71becb691955c01f9caf0bd207
2024-07-20 23:34:07 +08:00
Asriadi
52b643ea2a walleye: Convert to full walleye tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:34:07 +08:00
Asriadi
6680250e42 walleye: Reorganise device tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:34:07 +08:00
PixelBoot
61849f5068 walleye: move bootctrl to device specific trees
Since we've adapted libgpt-utils to specific trees, bootctrl needs that too.
2024-07-20 23:33:37 +08:00
JarlPenguin
d83e3aaa9a walleye: define product as A/B partitions
This is done to distribute the system space more evenly thanks to product partitions.
2024-07-20 23:32:59 +08:00
PixelBoot
b8931cc9fb walleye: define local A/B ota partitions
Partitions vary between walleye and taimen now.
No longer define A/B OTA partitions in common wahoo tree.
2024-07-20 23:32:59 +08:00
Tao Bao
8bd4f7ab64 Add recovery.wipe file.
Bug: 36427762
Test: lunch muskie-userdebug && make bootimage. Check
      $OUT/recovery/root/etc/recovery.wipe exists.
Change-Id: Id86c53d62d2b5a293f22b37fef3c64caa82f15f1
2024-07-20 23:32:59 +08:00
Rashed Abdel-Tawab
bcef77874c walleye: Switch to generated_kernel_headers
This is a squash of the following:

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sun Sep 27 16:12:10 2020 +0200

    wahoo: gpt-utils: Drop unnecessary include

    * When using generated_kernel_headers including
      stdio.h will cause errors due to redefined macros.

    Change-Id: I2f753a64f760b636be1325873e17697466fbf33d

Author: LuK1337 <priv.luk@gmail.com>
Date:   Mon Sep 9 22:38:02 2019 +0200

    wahoo: gpt-utils: Drop unnecessary include

    * When using generated_kernel_headers including
      asm/byteorder.h will cause a warning due to
      unused static functions.

    Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0

Author: Rashed Abdel-Tawab <rashed@linux.com>
Date:   Sun Sep 29 15:37:38 2019 -0400

    wahoo: Switch gpt-utils to generated_kernel_headers

    Change-Id: Ia6e2f7e140e6ffbd3a93dd823f836aaf399d03fb

Change-Id: Ia1f608778b5b37fec770abbf185c5e313cd5ba16
2024-07-20 23:32:59 +08:00
Tao Bao
83569278f6 walleye: gpt-utils: Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL
In favor of using boot control HAL under recovery.

Bug: 34254109
Test: TreeHugger

This is a combination of 2 commits.
This is the 1st commit message:

Revert^2 "Build libgptutils with Android.bp.""

This reverts commit 215189f0b9ff44d28c2b4ace0abb26854b201271.

The previous landing broke checkbuild targets due to namespace issue. As
libgptutils.msm8998 was exposed to global namespace (previously guarded
via conditionals in Android.mk), but had a missing dependency on
nonexposed msm8998 kernel headers.

The relanding adds a Soong namespace of hardware/qcom/msm8998, to ensure
modules only getting built as needed.

Bug: 34254109
Test: Sideload on taimen.
Test: `m -j checkbuild` with aosp_x86-eng
Change-Id: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
Merged-In: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
(cherry picked from commit e74c7611d2cbea03ec8ec1559787a7a57b2bf767)

This is the commit message #2:

Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""

This reverts commit d83c2cc22b3f037e94cd4ad7e19f5985da13a8b8.

The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.

Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e490208bef42faccf204381dc35ad1cfed46)
2024-07-20 23:32:23 +08:00
Tao Bao
00dc33d15c walleye: gpt-utils: Drop -Wno-unused-variable and address one warning
hardware/qcom/msm8998/gpt-utils/gpt-utils.cpp:750:17: error: unused variable 'ufs_dir_stat' [-Werror,-Wunused-variable]
    struct stat ufs_dir_stat;
                ^
hardware/qcom/msm8998/gpt-utils/gpt-utils.cpp:973:13: error: unused variable 'r' [-Werror,-Wunused-variable]
        int r, fd;
            ^
hardware/qcom/msm8998/gpt-utils/gpt-utils.cpp:973:16: error: unused variable 'fd' [-Werror,-Wunused-variable]
        int r, fd;
               ^
3 errors generated.

[ 22% 4/18] target  C++: libgptutils <= hardware/qcom/msm8998/gpt-utils/gpt-utils.cpp
In file included from hardware/qcom/msm8998/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
 ^
1 warning generated.

Test: lunch aosp_walleye-userdebug && m -j libgptutils
Change-Id: Ie3c33cc61fc62ac93ab0954a9e292b62cfcf9e03
2024-07-20 23:32:23 +08:00
Chih-Hung Hsieh
c7f56cfbc7 walleye: gpt-utils: Use -Werror
* Suppress existing warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If2d100b57d6f29a91ed744263aae75714c8b1bff
2024-07-20 23:31:53 +08:00
Logan Chien
fd63aff9f1 walleye: gpt-utils: Replace libsparse.so with libz.so
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.

Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
2024-07-20 23:31:53 +08:00
Isaac Chen
cee63aa99a walleye: gpt-utils: Move lib to vendor for build split
libgptutils is only used by vendor. Move it to
vendor partition so they can work with generic AOSP
system image.

Bug: 37927875
Test: These libs are under /vendor/lib(64) instead of
/system/lib(64) and the resulted image works on the device.
Change-Id: Id04f7a09fdc8e60de79f83b8fd0c2504fd2e2ebe

Change-Id: I7f3f8fe845d35a05492ffc4785787622c7851b79
2024-07-20 23:31:53 +08:00
Thierry Strudel
af37b80209 walleye: gpt-utils: Squashed PTN_SWAP_LIST additions
Author: Thierry Strudel <tstrudel@google.com>
Date:   Thu May 4 18:15:01 2017 -0700
    gpt-utils: PTN_SWAP_LIST add the missing new partitions

    abl, dtbo, vbmeta were not part of the list updated by bootctl HAL.
    This will fix the issue but bootctl HAL should be rewritten to not
    detect A/B partition candidate at runtime.

    Bug: 37501587
    Change-Id: I64140d9fce8d142e16a12c9778f1b10394f9dc76
    Signed-off-by: Thierry Strudel <tstrudel@google.com>

Author: Patrick Tjin <pattjin@google.com>
Date:   Tue Jul 25 19:26:1 2017 -0700
    Add aes as A/B OTA partition

    Bug: 37554629
    Change-Id: I162150922683000dbfc0beceab807d46bd51325e

Author: Patrick Tjin <pattjin@google.com>
Date:   Wed May 10 15:36:34 2017 -0700
    Add laf partition to swap list.

    Bug: 37743272
    Change-Id: If9521bbd29af9439aa01ac72c8bb8cbc0bf674b6

Change-Id: I8aa1386206e6b675a4b7d1e696841f23f5955c2d
2024-07-20 23:31:53 +08:00
Thierry Strudel
2d63e44353 walleye: Adding gpt-utils
Change-Id: Ib39a2dd8319c1b9e5fbbb1fc782237d061046094
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2024-07-20 23:31:16 +08:00
ReallySnow
8fb612281a walleye: powerhint: Boost INTERACTION
Change-Id: I5c5d2559d6da0442bb31271e1cb224ccca8ba542
2024-07-20 23:31:16 +08:00
Asriadi
7cbd2a91c1 Revert "Disable wake-up animation on walleye"
This reverts commit 8bbff6ea65.
2024-07-20 23:31:16 +08:00
Miguel de Dios
6f5a6c8fbc walleye: powerhint: Change TASchedTuneBoost to 30 on touch hints
TASchedtune boost hasn't been tuned for a while and after some tuning it
looks like 30 is a good tradeoff for boost.

Bug: 133178998
Test: manual - boot device and check schedtune on touch hint
2024-07-20 23:31:16 +08:00
Danny Lin
52fa467158 walleye: Bump expensive rendering GPU boost frequency to 515 MHz
414 MHz is not enough to handle more intensive blur scenarios, e.g. a
single layer of notification shade blur with more content on top or
2 layers of blur when pulling down the notification shade on the recents
overview. Bumping the frequency slightly to 515 MHz alleviates most of
the jank in these scenarios.
2024-07-20 23:31:16 +08:00
Danny Lin
0805986cd9 walleye: Boost GPU on EXPENSIVE_RENDERING power hint
We're using this hint for GPU-intensive blur, so it should boost the GPU
to a frequency high enough for that.
2024-07-20 23:31:16 +08:00
yagyaxt1034
b5f2ade27c Decrease status bar padding to 4dp
Change-Id: I6a510ab12dd6adfd3fc01a3987e925834cf5fd00
2024-07-20 23:31:16 +08:00
Nolen Johnson
f51fefba7c walleye: Sort blobs list
Change-Id: Ie40c851a59162a689da2937b12d7587e392dbcb6
2024-07-20 23:30:18 +08:00
LuK1337
2729e6b254 walleye: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2024-07-20 23:30:18 +08:00
Nolen Johnson
3902c04288 walleye: Move to libgui shim in hardware/lineage/compat
Change-Id: I04c4e15c6128de33ab7124de28b2fbd82eb2d62a
2024-07-20 23:29:53 +08:00
Michael Bestas
ae17e824a2 walleye: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2024-07-20 23:29:53 +08:00
Erfan Abdi
1fd14662bd walleye: libshims: Add shim for camera blobs
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I5e622e68422f5c4da13c0752a7eb3f4b20ddae49
2024-07-20 23:29:53 +08:00
Eamon Powell
fd5d4cedbf Revert "Enable prebuilt ELF file checks"
This reverts commit 1afc16e62a.

Change-Id: I39fcc252ba4fadbc4b190842f093726aa0799928
2024-07-20 23:29:53 +08:00
Eamon Powell
b207bee417 Revert "Use on_vendor VNDK APEX for non-REL build"
While this makes sense on dynamic partition devices where this
generated a smaller binary, on devices without dynamic partitions
this uses valuable system space which should be used for gapps
and instead should be kept on the vendor partition.

This reverts commit 1e2df63.

Change-Id: Ide5a0a714eb4f4cf65ef72542f287d32242531ad
2024-07-20 23:29:08 +08:00
Eamon Powell
5a6d384d38 walleye: Update powerhint for AIDL power HAL
Change-Id: If65f03d9a910cee67d6da9088c28b780d40ccf09
2024-07-20 23:29:08 +08:00
Bruno Martins
39780f2db8 walleye: Unbreak peripheral manager
Stock PM is causing null pointer dereferences, so just update it
to a sane one and bring up cnss/gnss/ril.

Change-Id: I62bde6bdd31e637e7ae268dfe2b9ad8b65f7317d
2024-07-20 23:29:08 +08:00
Eamon Powell
b97b4b3100 walleye: Initial Android 11 proprietary files
* From EOL build `RP1A.201005.004.A1`.

Change-Id: I7cf6964340a1e91377d951c5baf4ef81e9c91ce9
2024-07-20 23:29:08 +08:00
Danny Lin
10005c0086 walleye: Remove redundant packages
Dialer, Launcher3QuickStep, and netutils-wrapper-1.0 are already built
in the system.

WallpaperPicker should not be built as we have WallpaperPicker2 as part
of ThemePicker.

None of these packages belong in the device tree.

Change-Id: Ia7c005caa09125490dbe8f071055e2059dcc4cb2
2024-07-20 23:29:08 +08:00
Purushottam Kushwaha
4eaa1811cb walleye: Add secondary interface using gEnableConcurrentSTA=wlan1
gEnableConcurrentSTA=wlan1 will create wlan1 while insmod driver.

Change-Id: Ia7ce00bbc9cb030320bc3bd84f8795c3583ef8b1
CRs-Fixed: 2258995
2024-07-20 23:29:08 +08:00
Rashed Abdel-Tawab
d981257ffb walleye: Import and tailor {extract-files,setup-makefiles}.sh
This is a squash of the following:

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Tue Jun 19 23:55:25 2018 +0100

    walleye: Fix typo from CodeAurora in blob_fixup

    * Let com.qualcomm.qcrilmsgtunnel break free

    Change-Id: Ide5759eef7e3100ac5b50f5dc95a3f90119e592f

Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Sat Dec 19 02:53:35 2020 +0200

    walleye: Switch to standalone extract utils

    Align with templates while we are at it

    Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4

Author: Rashed Abdel-Tawab <rashed@linux.com>
Date:   Tue May 14 00:36:02 2019 -0700

    walleye: Import and tailor {extract-files,setup-makefiles}.sh

    * Partial pick of Id399faa404207ce018f0f0187c9576b61f5d4dc9.

    Change-Id: I866e015e3ba717ae7fc585dc56f118f3e251154c

Change-Id: I231d822f364f57314009be4d08af993b97bf5705
2024-07-20 23:28:01 +08:00
Abhisek Devkota
119c54267b walleye: Build battery and touchscreen modules
Change-Id: I6588c1346f0559e93c96f56d519c62645f32b125
2024-07-20 23:25:35 +08:00
Luca Stefani
e56aa9a6c9 walleye: Adjust powerhint for QOS interface
Currently all writes to the dev interface are done
by WriteStringToFd that uses char internally.

The current values seem to expect to be written as s32,
this sadly won't happen and triggers a special case in
the write handling of pm_qos_power_write:
it expects char buffers to be encoded as base16 and
decodes them.
This means the current 44 is actually 0x44 -> 68 seen by
the kernel.

Luckily it seems like both accepted values for this node
don't hit the threshold to enter C2, so it was never
noticed in real usage and didn't effect the device
C-States handling during hints.

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: Ic544d4dcaa1edc3de913aed737baf1af88a45360
2024-07-20 23:25:35 +08:00