Commit Graph

1411 Commits

Author SHA1 Message Date
Pranav Vashi
f4a34b5ae0 taimen: Update daxService from A14
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-03-03 14:26:19 +08:00
Pranav Vashi
70e3e3ec34 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-03-03 14:26:19 +08:00
Bruno Martins
5c5a317bd8 taimen: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-02-08 12:49:34 +00:00
Bruno Martins
535c257501 taimen: Add firmware extraction support
Rename from factory image dump to the common partition naming.

Change-Id: I61b0f4cdddf65166cb12a39926e1fcb504241975
2024-02-08 12:49:34 +00:00
Asriadi Rahim
f654b2929e 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-02-08 12:48:40 +00:00
Asriadi Rahim
be5112c6f4 taimen: Switch to eucalyptus_taimen_defconfig
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-01-03 19:29:21 +08:00
Asriadi Rahim
3a0f8f3f98 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-01-02 20:05:22 +00:00
Asriadi Rahim
bc8ffb456e taimen: Clean up device tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-01-02 20:02:18 +00:00
Lunarixus
05af885051 taimen: Remove annoying overriding overlays warning
Signed-off-by: Lunarixus <Nathan@lunarixus.dev>
2024-01-01 17:06:11 +00:00
Asriadi Rahim
c71bd03cb4 taimen: Ship vendor firmware
* Change how to call the repo since this commit
33d71de75f removed

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2023-12-27 20:39:27 +08:00
Asriadi Rahim
eff36cac86 taimen: Dont build gramophone
* Build vimusic

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2023-12-23 17:17:13 +08:00
ReallySnow
c709971078 taimen: powerhint: Boost INTERACTION
Change-Id: I5c5d2559d6da0442bb31271e1cb224ccca8ba542
2023-12-18 18:10:15 +08:00
Danny Lin
576bc45dff 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
2023-12-18 18:10:15 +08:00
Danny Lin
fbf478c489 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
2023-12-18 18:10:15 +08:00
danielml3
1deebefcaa taimen: Drop QTI datastatusnotification
It crashes on Android 14

Change-Id: I7649956d630659f81094f66a6fef334511959aef
2023-12-13 15:16:09 +08:00
Asriadi Rahim
00ae39bdb3 taimen: proprietary-file: Drop EUICC support
* Temporary drop

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2023-11-27 22:33:26 +08:00
Bruno Martins
e0bc7e7332 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
2023-11-27 22:33:02 +08:00
LuK1337
852a50825d taimen: Use libutils-v33 for pm-service
Change-Id: Ia998fa72d8747de18010abe6491d2c374cb7aa0a
2023-11-21 20:41:23 +08:00
Erfan Abdi
8fe601cb0c taimen: ibshims: Add shim for camera blobs
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I5e622e68422f5c4da13c0752a7eb3f4b20ddae49
2023-11-21 20:37:52 +08:00
Michael Bestas
e596b62c70 Remove no longer needed aptX blobs
As of Android 13 QPR2, AOSP Bluetooth APEX supports aptX/aptX HD

Change-Id: I03c210dd5a777f71becb691955c01f9caf0bd207
2023-11-21 20:37:33 +08:00
Michael Bestas
e818eb66bc 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
2023-11-21 20:37:32 +08:00
LuK1337
5c0d0b53c5 taimen: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-11-21 20:37:32 +08:00
Eamon Powell
d1045d5d8d taimen: Update powerhint for AIDL power HAL
Change-Id: If65f03d9a910cee67d6da9088c28b780d40ccf09
2023-11-21 20:37:31 +08:00
Nolen Johnson
43ab5290e2 taimen: Properly include Android.mk's from sub-directories
* LOCAL_PATH wasn't set in this context, so set it.

Change-Id: I340a4f31bab516fc407bd26fbf5f32fcde480fd3
2023-11-21 20:37:31 +08:00
Danny Lin
5ebebd7eb2 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
2023-11-21 20:37:31 +08:00
Purushottam Kushwaha
cf9e9d147c taimen: Add secondary interface using gEnableConcurrentSTA=wlan1
gEnableConcurrentSTA=wlan1 will create wlan1 while insmod driver.

Change-Id: Ia7ce00bbc9cb030320bc3bd84f8795c3583ef8b1
CRs-Fixed: 2258995
2023-11-21 20:37:30 +08:00
Eamon Powell
82c1aeec27 taimen: Add tas2557_cal.bin symlink
Change-Id: I4d253ba7e29c20ce1533dcfbf04470eae0d3a4d2
2023-11-21 20:37:30 +08:00
Michael Bestas
07ec027e3d taimen: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2023-11-21 20:36:33 +08:00
Bruno Martins
46f836af8b 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
2023-11-21 20:36:32 +08:00
Eamon Powell
127cf2c589 taimen: Initial Android 11 proprietary files
* From EOL build `RP1A.201005.004.A1`.

Change-Id: I7cf6964340a1e91377d951c5baf4ef81e9c91ce9
2023-11-21 20:36:32 +08:00
Rashed Abdel-Tawab
7cf9160e03 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
2023-11-21 20:36:32 +08:00
Jesse Chan
b931d852b0 taimen: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2023-11-21 20:36:31 +08:00
Christopher N. Hesse
5118c3fffe taimen: Remove prebuilt kernel modules copy rules
Change-Id: Ifc1320c085ab8c7670921b638c5e33754d6cfb6b
2023-11-21 20:36:31 +08:00
Kevin F. Haggerty
9f9368a1aa 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
2023-11-21 20:35:35 +08:00
Asriadi Rahim
adb8185ac9 taimen: Initial Evolution makefiles and dependencies 2023-11-21 20:35:01 +08:00
PixelBoot
96dda5e747 taimen: refractor block device labeling for system_ext 2023-04-13 14:01:55 +08:00
PixelBoot
6a8c3f2adf taimen: move bootctrl to device specific trees
Since we've adapted libgpt-utils to specific trees, bootctrl needs that too.
2023-04-13 14:01:55 +08:00
JarlPenguin
1508c80e7a taimen: defined product & system_ext as A/B partitions
This is done to distribute the system space more evenly thanks to product partitions.
2023-04-13 14:01:55 +08:00
PixelBoot
91ad8f37da 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.
2023-04-13 14:01:55 +08:00
Tao Bao
1deb415282 Add recovery.wipe file.
Bug: 36427762
Test: lunch muskie-userdebug && make bootimage. Check
      $OUT/recovery/root/etc/recovery.wipe exists.
Change-Id: Id86c53d62d2b5a293f22b37fef3c64caa82f15f1
2023-04-13 14:01:17 +08:00
Rashed Abdel-Tawab
a7fc7b1b61 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
2023-04-13 14:01:17 +08:00
Akilesh Kailash
35d40e125f 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
2023-04-13 14:01:17 +08:00
Tao Bao
0d602e7a23 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)
2023-04-13 14:01:17 +08:00
Tao Bao
c613e817e6 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
2023-04-13 14:00:32 +08:00
Chih-Hung Hsieh
d403404a41 taimen: gpt-utils: Use -Werror
* Suppress existing warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If2d100b57d6f29a91ed744263aae75714c8b1bff
2023-04-13 14:00:32 +08:00
Logan Chien
b907dca500 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
2023-04-13 14:00:32 +08:00
Isaac Chen
86b5980ba7 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
2023-04-13 14:00:32 +08:00
Thierry Strudel
9dfb99c02a 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
2023-04-13 14:00:32 +08:00
Thierry Strudel
72d3b192f3 taimen: Adding gpt-utils
Change-Id: Ib39a2dd8319c1b9e5fbbb1fc782237d061046094
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2023-04-13 14:00:32 +08:00
PixelBoot
2bba335fa6 Revert "Use on_vendor VNDK APEX for non-REL build"
This reverts commit 038066f517.
2023-04-13 14:00:32 +08:00