Commit Graph

27 Commits

Author SHA1 Message Date
Michael Bestas
afd4996d1d topaz: Create libwfdnative symlink for WfdService
Change-Id: I668d899eabcc9c8f1018a51761b0f566839daca6
2023-12-02 17:01:05 +07:00
chandu078
3c70f832dd topaz: Create WiFi firmware symlinks
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Change-Id: I5670f61b7f4a808cb140c5fc4367bd382ad30327
2023-12-02 17:01:05 +07:00
SGCMarkus
930c1b4299 topaz: Add stock EGL symlinks
Change-Id: I590b4d284fcbbe78bf860573c02287e536f090bf
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-12-02 17:01:05 +07:00
Andrzej Perczak
1f0d115fa2 topaz: Symlink libvndfwk_detect_jni.qti for CneApp
Needed by CneApp.

dlopen failed: library "/system_ext/lib64/libvndfwk_detect_jni.qti.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "vendor-classloader-namespace"

Change-Id: I400f03c3cb60acdc4263c24b1096c5961142f03f
2023-12-02 17:01:05 +07:00
Bruno Martins
525fad832f topaz: Create IMS symlinks
Change-Id: I25d011323268b2f25c98e38441df633fb91e0715
2023-12-02 17:01:05 +07:00
boedhack99
ed5dc1c281 topaz: Import init scripts from stock
* from topaz MIUI V14.0.7.0.TMGMIXM

Change-Id: I5924a3c53615b23f4d7920db6814eb482848a456
2023-12-02 17:00:59 +07:00
chandu078
a8ad81fc8f topaz: Import AID/fs config from LA.VENDOR.1.0.r1-21900-WAIPIO.0
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Change-Id: Icb3b0309b5016b057499146accda2db886db0921
2023-11-13 02:19:42 +07:00
micky387
e5db7f4d22 topaz: Move GSI AVB keys to vendor ramdisk
Change-Id: I9d4b95dfa040db98e3805ce9689c6ba73d97cb44
2023-11-13 02:19:42 +07:00
Luca Stefani
5f52e2d65c topaz: Enable updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:42 +07:00
boedhack99
9b1dd7f580 topaz: Add target screen resolutions
Change-Id: I1d17b7c03c96d4c1d48effec97593b2a9374e018
2023-11-13 02:19:42 +07:00
SGCMarkus
f3a1d17d3a topaz: gpt-utils: Check for full partiton name instead of partial prefix
Check for full partition name instead of partial prefix to
avoid matching with wrong partitions

Based on: fa259f46c2

Change-Id: I49d8837dc3f407b2c2a944735a25779bb6afb1c6
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:42 +07:00
Luofan Chen
82e835adc1 topaz: gpt-utils: Check ufs device first before checking partition names
Change-Id: I51663ff8e074681191ac708fcd7b4d28e890deaf
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:42 +07:00
LuK1337
8940ebe1f1 topaz: gpt-utils: Fix build errors
Change-Id: Ie8245d1637e12b5979a8af1b864cc713135b5c95
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:42 +07:00
LuK1337
b1aa81eb85 topaz: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
   stdio.h will cause errors due to redefined macros.

Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:41 +07:00
LuK1337
9522f2ab60 topaz: 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
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:41 +07:00
Tao Bao
6f77fa6570 topaz: gpt-utils: Address the warnings
[ 11% 2/18] target  C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/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]
 ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
    struct stat ufs_dir_stat;
                ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
        int r, fd;
            ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
        int r, fd;
               ^
4 warnings generated.

Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:41 +07:00
LuK1337
3dfab4acdd topaz: gpt-utils: Use generated_kernel_headers
Change-Id: Id56f1c0603ff13b5d64eb4db33807ac13dcdd619
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:41 +07:00
chandu078
9a24197fea topaz: gpt-utils: Remove dependencies of device specific kernel headers
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:41 +07:00
chandu078
c6c30e277f topaz: Import bootctrl and gpt-utils from LA.VENDOR.1.0.r1-21900-WAIPIO.0
* Build update engine
* Adapt to libgptutils.bengal

Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Change-Id: I2500045efcbfa6fb8496279bcc5c5abe365eb064
2023-11-13 02:19:41 +07:00
Jeff Gaston
26215dab29 topaz: Create a device specific Soong namespace.
Change-Id: Ide70e1a2c12ce975cdcec25f9dfea412f8fb993d
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-11-13 02:19:41 +07:00
Bruno Martins
cbb9f768d8 topaz: Create RFS symlinks
Change-Id: Ica1d4a9893f526ab98c5ef07e18d51dbf74c8e93#
2023-11-13 02:19:41 +07:00
Ameya Thakur
6c9e4c4f9a topaz: Generate non-HLOS image mount points for A/B builds
* On builds where A/B support is enabled the system image
   acts as the rootfs. In this case we can no longer create
   the non-HLOS image mount points at run time as we used
   to, we now create them as part of the build itself.

Change-Id: I30d98f7c50fca3ce7117b9b8d87150655bb5b440
2023-11-13 02:19:41 +07:00
Roopesh Nataraja
6e4359e88c topaz: Enable compilation of init_boot partition
Devices launching with Android 13 or higher and shipping with
Android 13 must have an init_boot static partition. The generic
ramdisk is no longer be contained in the boot.img file that goes
in the boot partition. This generic ramdisk will be placed in a
new init_boot.img to be installed in a new init_boot partition.

Change-Id: I0434ef0cee209bb7709474c6db15b2c4fcb40a03
2023-11-13 02:19:41 +07:00
Arthur Shuai
9b2ed8172a topaz: Add hashtree footer args
Config hash algorithm to sha256

Change-Id: Ic09f5da123a9a9224821ea6bac51c4dc79bb70a0
2023-11-13 02:19:41 +07:00
Roopesh Nataraja
8da24fdfe4 topaz: Enable system_dlkm partition to host GKI modules
- Enable compilation of system_dlkm image to package GKI modules.
  It provides the flexibility to update GKI driver post KMI freeze.

- Use sha256 to build hashtree for system_dlkm partition since it
  provides robustness against malicious attacks.

Change-Id: Icb3a5ab44d39f8b55324b7d8c47ea3c01f94f066
2023-11-13 02:19:41 +07:00
boedhack99
89c000d2f2 topaz: Import QCOM fstab from CLO
* from bengal_515-LA.VENDOR.13.2.1.r1-08500-DIVAR.0

Change-Id: Ia41478238347d67124e6cdeb06d37643e8f94fe0
2023-11-13 02:19:41 +07:00
boedhack99
727ab4dc83 topaz: Initial device configurations
* Taken configs from dump extracted
* Add partitons

Change-Id: I4589fff593d0ea78d9e80ee8adcd7d7ff04dfea3
2023-11-13 02:19:32 +07:00