493 Commits

Author SHA1 Message Date
LuK1337
bfc8381b59 topaz: overlay: Add reboot_fastboot action to power menu 2023-12-02 17:01:05 +07:00
Jesse Chan
07226c6bd7 topaz: overlay: Enable option for full screen aspect rati
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2023-12-02 17:01:05 +07:00
LuK1337
a0181f08fb topaz: overlay: Define device Hardware keys 2023-12-02 17:01:05 +07:00
LuK1337
3bfd72b75d topaz: Set default clock position to left
Change-Id: I2b597579851434972cd29510ff90dfa8ddc6564f
2023-12-02 17:01:05 +07:00
Dan Pasanen
332466a8dc topaz: overlay: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2023-12-02 17:01:05 +07:00
Nicolas Geoffray
c249eb8c3b topaz: overlay: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2023-12-02 17:01:05 +07:00
Santiago Seifert
755cc00313 topaz: overlay: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2023-12-02 17:01:05 +07:00
Kevin Jeon
c0f0cb165c topaz: overlay: Update SurfaceFlinger pinned path to system/bin
* This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
   the file was removed in ag/12524602. The updated pin relies on
   go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Change-Id: I8bab7d447ed24c8476087871ace9018413ad8f04
2023-12-02 17:01:05 +07:00
kocolin
61fd5aafad topaz: overlay: Add some libraries to pinner list for camera
* This will help to reduce camera launch time in I/O
   busy cases.

Change-Id: I817751155e5a137ba6895049e59526bb8484e433
2023-12-02 17:01:05 +07:00
Lisa Liu
64595b686c topaz: overlay: Update pinner configuration from legacy projects
Change-Id: Ief469d2510b0aa5a0c57285120f3e0e6cf7e8526
2023-12-02 17:01:05 +07:00
boedhack99
40cd1a4a45 topaz: Import device-specifics overlays
Change-Id: Ie9eabba9841ce8bded3998e99ce473a4bd60035b
2023-12-02 17:01:05 +07:00
Lucas Dupin
193a24a646 topaz: overlay: Rename config_dozeAfterScreenOff
* New name is config_dozeAfterScreenOffByDefault.

Bug: 73178121
Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
2023-12-02 17:01:05 +07:00
chaptsand
08d2099567 topaz: Import cleaned QSSI overlays
Change-Id: I65e227a73105e8fca1ddd5a1406ee685a5bd047e
2023-12-02 17:01:05 +07:00
Jaekyun Seok
334d195496 topaz: Enforce RROs for all build-time overlays.
Change-Id: I8f0cad5dae869545eda2b2ec70971e54cef0b777
2023-12-02 17:01:05 +07:00
Woody Lin
1adab180bd topaz: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-12-02 17:01:05 +07:00
boedhack99
fc2a9c1ba7 topaz: Import device-specifics properties
* From topaz MIUI V14.0.7.0.TMGMIXM

Signed-off-by: boedhack99 <boedhack@gmail.com>
Change-Id: I62e257a701c4903e79dbd2e60933d673c29378f1
2023-12-02 17:01:05 +07:00
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