1411 Commits

Author SHA1 Message Date
Asriadi Rahim
614d8b8703 taimen: Dont inherit BCR
* We have call recording feature with gms build type
2024-07-19 19:26:37 +08:00
Pranav Vashi
93bf0d79d7 taimen: Update dolby mod from v3.0 module
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-08 16:37:23 +08:00
Signed-off-by: Pranav Vashi
34c993db15 taimen: Link dolby blobs with v33 libstagefright_foundation
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-08 16:37:21 +08:00
Pranav Vashi
d82ebe6841 taimen: Update daxService from A14
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-08 16:35:45 +08:00
Pranav Vashi
307055a01c taimen: 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:35:45 +08:00
Bruno Martins
b44cdfc779 taimen: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-06-08 21:38:02 +08:00
Bruno Martins
1634a5144d taimen: Add firmware extraction support
Rename from factory image dump to the common partition naming.

Change-Id: I61b0f4cdddf65166cb12a39926e1fcb504241975
2024-06-08 21:38:02 +08:00
Asriadi Rahim
f8cc6e2155 taimen: Increase system_ext size partition
* Since 500MiB system_ext is not enough for A14, so need upgrade to 700MiB for build complete :)
* Ofc need flash new repart script

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:37:48 +08:00
Asriadi Rahim
026a790a81 taimen: Build specific kernel_defconfig
* Eucalyptus taiemn defconfig

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:35:57 +08:00
Asriadi Rahim
e2f7d97e5c taimen: 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.
* Switch to eucalyptus kernel

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:34:49 +08:00
Lunarixus
a8e383cc6a taimen: Remove annoying overriding overlays warning
Signed-off-by: Lunarixus <Nathan@lunarixus.dev>
2024-06-08 21:34:00 +08:00
ReallySnow
48106cb50d taimen: powerhint: Boost INTERACTION
Change-Id: I5c5d2559d6da0442bb31271e1cb224ccca8ba542
2024-06-08 21:34:00 +08:00
Danny Lin
7cc98b6299 taimen: 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.

Change-Id: I6e4671460911e26753c1f91383fff61b6e1cf500
2024-06-08 21:34:00 +08:00
Danny Lin
d995837495 taimen: 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.

Change-Id: Ie88f6bb9a6acf979c70ecfb442a8d9774d509a22
2024-06-08 21:34:00 +08:00
danielml3
077b7e6286 taimen: Drop QTI datastatusnotification
It crashes on Android 14

Change-Id: I7649956d630659f81094f66a6fef334511959aef
2024-06-08 21:34:00 +08:00
Asriadi Rahim
f1aafdb716 taimen: proprietary-file: Drop EUICC support
* Temporary drop

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:33:22 +08:00
Bruno Martins
0544d7a5a5 taimen: 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-06-08 21:33:21 +08:00
LuK1337
75d2d11d35 taimen: Use libutils-v33 for pm-service
Change-Id: Ia998fa72d8747de18010abe6491d2c374cb7aa0a
2024-06-08 21:33:21 +08:00
Erfan Abdi
35391e232c taimen: ibshims: Add shim for camera blobs
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I5e622e68422f5c4da13c0752a7eb3f4b20ddae49
2024-06-08 21:33:21 +08:00
Michael Bestas
d199cfc683 Remove no longer needed aptX blobs
As of Android 13 QPR2, AOSP Bluetooth APEX supports aptX/aptX HD

Change-Id: I03c210dd5a777f71becb691955c01f9caf0bd207
2024-06-08 21:33:21 +08:00
Michael Bestas
db341d7d11 overlay: Fix rounded corner rendering issues
Since config_roundedCornerMultipleRadius was phased out from T,
frameworks read the rounded corner dimensions from rounded.xml.
This resulted in bonito & sargo not rendering the rounded corners
properly.

Change-Id: I5cbdcd959fd7943c74ded9d209e06755b1120670
2024-06-08 21:32:27 +08:00
LuK1337
b348418fe4 taimen: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2024-06-08 21:32:27 +08:00
Eamon Powell
cb811e7ac0 taimen: Update powerhint for AIDL power HAL
Change-Id: If65f03d9a910cee67d6da9088c28b780d40ccf09
2024-06-08 21:32:27 +08:00
Nolen Johnson
ac054f18cd taimen: Properly include Android.mk's from sub-directories
* LOCAL_PATH wasn't set in this context, so set it.

Change-Id: I340a4f31bab516fc407bd26fbf5f32fcde480fd3
2024-06-08 21:32:27 +08:00
Danny Lin
43589fbd76 taimen: 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-06-08 21:31:52 +08:00
Purushottam Kushwaha
2c0c08abd0 taimen: Add secondary interface using gEnableConcurrentSTA=wlan1
gEnableConcurrentSTA=wlan1 will create wlan1 while insmod driver.

Change-Id: Ia7ce00bbc9cb030320bc3bd84f8795c3583ef8b1
CRs-Fixed: 2258995
2024-06-08 21:31:52 +08:00
Eamon Powell
670e91a2dd taimen: Add tas2557_cal.bin symlink
Change-Id: I4d253ba7e29c20ce1533dcfbf04470eae0d3a4d2
2024-06-08 21:31:33 +08:00
Michael Bestas
ac64929d3f taimen: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2024-06-08 21:31:33 +08:00
Bruno Martins
dc6b4ff716 taimen: 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-06-08 21:31:33 +08:00
Eamon Powell
c335881228 taimen: Initial Android 11 proprietary files
* From EOL build `RP1A.201005.004.A1`.

Change-Id: I7cf6964340a1e91377d951c5baf4ef81e9c91ce9
2024-06-08 21:31:33 +08:00
Rashed Abdel-Tawab
6f3d5db7b7 taimen: 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

    taimen: 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

    taimen: 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

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

    * Partial pick of Id399faa404207ce018f0f0187c9576b61f5d4dc9.

    Change-Id: I866e015e3ba717ae7fc585dc56f118f3e251154c

Change-Id: I231d822f364f57314009be4d08af993b97bf5705
2024-06-08 21:31:33 +08:00
Jesse Chan
0e2bb683ad taimen: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-06-08 21:31:00 +08:00
Christopher N. Hesse
8b5323ff25 taimen: Remove prebuilt kernel modules copy rules
Change-Id: Ifc1320c085ab8c7670921b638c5e33754d6cfb6b
2024-06-08 21:31:00 +08:00
Kevin F. Haggerty
6ec5d11ae6 taimen: Don't let builds complete without vendor tree
* There is zero reason to ever build without blobs. We've even seen
  this situation with official builds from our servers. It's always
  better for a build to fail than it is for it to produce something
  that has no chance at working.

Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
2024-06-08 21:30:44 +08:00
Asriadi Rahim
f0afc1c7dd taimen: Initial Evolution-X makefiles and dependencies
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:29:33 +08:00
PixelBoot
c5f0e4b449 taimen: refractor block device labeling for system_ext 2024-06-08 21:21:39 +08:00
PixelBoot
7c6098105b taimen: move bootctrl to device specific trees
Since we've adapted libgpt-utils to specific trees, bootctrl needs that too.
2024-06-08 21:21:39 +08:00
JarlPenguin
32dc7d5f70 taimen: defined product & system_ext as A/B partitions
This is done to distribute the system space more evenly thanks to product partitions.
2024-06-08 21:21:16 +08:00
PixelBoot
d0dd6e00e1 taimen: 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-06-08 21:21:16 +08:00
Tao Bao
5e83695f18 Add recovery.wipe file.
Bug: 36427762
Test: lunch muskie-userdebug && make bootimage. Check
      $OUT/recovery/root/etc/recovery.wipe exists.
Change-Id: Id86c53d62d2b5a293f22b37fef3c64caa82f15f1
2024-06-08 21:21:16 +08:00
Rashed Abdel-Tawab
ed936e193f taimen: gpt-utils: 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-06-08 21:21:16 +08:00
Akilesh Kailash
4112681d3e taimen: gpt-utils: fsync after block device writes
When markBoolSuccessful is invoked, we update
the partition table. These writes should be
synced before merge operation is resumed post OTA.
If not, any crash before these writes are landed to
backing storage will lead to incorrect switching of
slots.

BUG: 175711601
Test: Verify slot switching correctly after crash when merge in progress
(on redbull)
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I4d30342b44aaeb7a4fdc915cc1e53ffb20c17a2f
2024-06-08 21:20:49 +08:00
Tao Bao
e28d504d68 taimen: 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-06-08 21:20:49 +08:00
Tao Bao
c988a87f71 taimen: 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-06-08 21:20:49 +08:00
Chih-Hung Hsieh
f79c042214 taimen: gpt-utils: Use -Werror
* Suppress existing warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If2d100b57d6f29a91ed744263aae75714c8b1bff
2024-06-08 21:20:49 +08:00
Logan Chien
d5cbb1b09c taimen: 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-06-08 21:20:49 +08:00
Isaac Chen
a1223e05c9 taimen: 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-06-08 21:20:07 +08:00
Thierry Strudel
d507e418c7 taimen: 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-06-08 21:20:07 +08:00
Thierry Strudel
34c4af49c8 taimen: Adding gpt-utils
Change-Id: Ib39a2dd8319c1b9e5fbbb1fc782237d061046094
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2024-06-08 21:19:46 +08:00
PixelBoot
b472231570 Revert "Use on_vendor VNDK APEX for non-REL build"
This reverts commit 038066f517.
2024-06-08 21:19:46 +08:00