Commit Graph

52 Commits

Author SHA1 Message Date
Kumar Anand
baa8af19ce sapphire: wifi: Enable automatic channel selection
* Automatic Channel Selection algorithms and implementations
   are used to enable interfaces to automatically figure
   out which channel configuration to use for initiating
   communication, for any mode of operation which initiates
   radiation (AP, Mesh, IBSS, P2P).

   https://wireless.wiki.kernel.org/en/users/documentation/acs
2024-09-03 15:54:56 +06:00
AdarshGrewal
184a97491f sapphire: Include MiuiCamera if exists
Signed-off-by: artemscine <artempemine@gmail.com>
2024-08-31 16:41:11 +06:00
Pranav Vashi
7d3450063c sapphire: Switch to jemalloc for libc
* Benchmark shows improvement.

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-08-31 16:41:11 +06:00
Pranav Vashi
e0193ac529 sapphire: Use jemalloc to fix camera
[Kondros1995] We dont have this issue with MIUI camera port but lets have it just to be safe

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-08-31 16:41:11 +06:00
Arian
15ca4284f7 sapphire: Enable camera override format from reserved
This enables qcom additions for high framerate videos.

Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
2024-08-31 16:41:11 +06:00
Michael Bestas
a6791f4d37 sapphire: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-08-31 16:41:11 +06:00
mukesh22584
6e00b1dfb7 sapphire: Exclude recovery from rom zip 2024-08-31 16:41:11 +06:00
Mohammad Kibria
6dbf556de4 sapphire: sm6225-common -> sapphire 2024-08-31 16:41:11 +06:00
boedhack99
ca257cfff9 sm6225-common: Initial common device tree conversion
Change-Id: Ib858571b81c6d85b743f74a31ceb9a7d13d9af99
2024-03-08 15:05:23 +07:00
boedhack99
a87779a605 topaz: Set enable AGM feature flags
Change-Id: I47ad564505a38f1d62e454a0bf0063dceed81e7b
2024-02-27 17:14:18 +07:00
Bruno Martins
e0940b8ef4 topaz: Enable extended compress format
It's enabled in kalama platform, as observed in stock libtinycompress.

Change-Id: I3183faced679ab433ed1ce30ac7df6c7c511e476
2024-02-27 16:55:12 +07:00
boedhack99
08645cca7d topaz: Update blobs to topaz MIUI V14.0.8.0.TMGMIXM
Change-Id: Ia180f0da50b05aeb4aefe954451a9c8fb8f70146
2023-12-19 21:28:29 +00:00
boedhack99
49a6deaeb2 topaz: Bring back procfs tp_gesture to handle DT2W
* Partially reverts commit a83c711c8f.

Change-Id: If296f8952e124088e090244b0ec90992a490a580
2023-12-12 12:18:27 +07:00
Bruno Martins
002a23f04c topaz: Use sepolicy_vndr specifics rules
Follows the new logic of split sepolicy_vndr repos because there
might be definitions set for a specific platform and not for the
other(s).

Change-Id: I96070af4a3c42193f32bd42a647637cf31d65f3c
2023-12-12 12:15:51 +07:00
boedhack99
fc874354ed topaz: Drop override hals included
* Reverts 1a096d9.
* Now automatically detect bengal_515 with sm6225 hals

Change-Id: I54f1d85cba259fe37df8f344aff844645b0deebc
2023-12-12 12:15:51 +07:00
Arian
8707e2336e topaz: Use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2023-12-10 00:35:58 +07:00
boedhack99
5d3c9ad6de topaz: Fix sepolicy denied and enforcing
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I5486e25a4e06d5e5ede95e9c54ac4f655290683c
2023-12-03 01:40:33 +07:00
boedhack99
5cd1aee6aa topaz: Switch to use prebuilt audio
* This reverts commit:
  [1] cbb10a1: topaz: Build source libagmmixer.so
  [2] 60d57be: topaz: Cleanup 32bit blobs
  [3] f8d814b: topaz: Enable extended compress format
  [4] 4e528d3: topaz: Move to build default source audio
  [5] a0902ee: topaz: Move most agm and pal targets to source built

Change-Id: I52025b933c60d4d16960f7dd45ebf0d294411e1e
2023-12-03 00:03:46 +07:00
boedhack99
81216fac0c topaz: Switch to copy files for modules
Change-Id: I6570795635db5e299d41fb5b24ce23755b9bb770
2023-12-03 00:03:46 +07:00
boedhack99
1a096d955a topaz: Override HALs for bengal_515
* We don't support official custom roms, so let's pull these makefiles instead
* We have different bengal ( bengal_515 ), This will fix the conflict with old bengal ( bengal 4.19 )
* Wait as we fix it and add to the core stuff

Change-Id: I5f6de45f6bb3b7d50afec54747e5af3a1392037a
2023-12-03 00:03:40 +07:00
boedhack99
167c19cee5 topaz: Include lineage framework matrix file
Change-Id: Idf4b8cdc4f63c55402764de64107b4878cbd70db
2023-12-02 17:01:06 +07:00
boedhack99
43a9e8ba16 topaz: Move network entries to device manifest
Change-Id: I15eec7d30893fd6d86e73e1966c6d6e81e404c98
2023-12-02 17:01:06 +07:00
chrisl7
3fac2f2a4a topaz: Use PARTITION_SIZE from stock
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I2f95c5ccca5672018d5da2ae41f9d527df96ce1c
2023-12-02 17:01:05 +07:00
chrisl7
ea184cbe1a topaz: Define DT2W node
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I17e28b03295683f54f2cf30114617d5103a19885
2023-12-02 17:01:05 +07:00
Bruno Martins
4efd8a3278 topaz: power: Adapt extension to new aidl power HAL
Change-Id: I58ac49957d8d28ad904912986d89ac8db4820ff9
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-12-02 17:01:05 +07:00
Bruno Martins
f8d814b13b topaz: Enable extended compress format
It's enabled in bengal_515/kalama platform, as observed in stock libtinycompress.

Change-Id: I3183faced679ab433ed1ce30ac7df6c7c511e476
2023-12-02 17:01:05 +07:00
boedhack99
4e528d3c7f topaz: Move to build default source audio
Change-Id: I5bf115edf6f4257099e5cc428d4987465b9da35b
2023-12-02 17:01:05 +07:00
boedhack99
6e6e2e2eea topaz: Fix boot usbcontroller configs
Change-Id: I4d38708d4406dea73752db88bc83f8bde3e91b0b
2023-12-02 17:01:05 +07:00
boedhack99
89b7fc4ded topaz: Move init scripts to default rootdir
Change-Id: I10dee62615c2cb6dadfc988418fac50ebe399ee7
2023-12-02 17:01:05 +07:00
boedhack99
f2b267aa9d topaz: Set TARGET_BOARD_SUFFIX for bengal_515
Change-Id: I367299c1e5b26cdc1f45c17624f16f9a61e23846
2023-12-02 17:01:05 +07:00
chrisl7
03f6668a7b topaz: Add system_dlkm on BOARD_AVB_VBMETA_SYSTEM
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: Ic16e8f35d72c1f2b4c80637077328a98279007a6
2023-12-02 17:01:05 +07:00
Adithya R
8068733ef9 [DNM]topaz: Make selinux permissive
Change-Id: I09dc0fe0e0fe6c0240c348d261ddac89bc825233
2023-12-02 17:01:05 +07:00
boedhack99
3fb2a1ff0b topaz: Import initial device sepolicy
* Adapt from xiaomi_sm8450-common ( cupid )

Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I8c1ba7c16159463191e71ba1e77b31fdc71e7cf8
2023-12-02 17:01:05 +07:00
boedhack99
d16658bff7 topaz: Include QCOM SEPolicy vndr makefiles
Change-Id: I59ae63628fb13ea941a5abed5ec93375ba272040
2023-12-02 17:01:05 +07:00
chrisl7
b4d90ba3e8 topaz: init: Add topaz libinit
Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com>
Change-Id: I28be7a86b021a8f638239eda568d1ac93ff2a7d2
2023-12-02 17:01:05 +07:00
Alexander Koskovich
3c2f9b14a6 topaz: Switch to SHA256_RSA4096 for vbmeta system
Change-Id: I9309c6ee4ea0f9085fe2bac1372f30476b404faa
2023-12-02 17:01:05 +07:00
Alexander Koskovich
10fde4ed5c topaz: Match chained vbmeta images
Change-Id: Ic2b8c7101d3734747221d5fc66fa26f11c7b06b2
2023-12-02 17:01:05 +07:00
boedhack99
341616a274 topaz: Import device VINTF from stock
* From topaz MIUI V14.0.7.0.TMGMIXM

Change-Id: I831486a490af916a79472bdcf4e3c4ae35c3651f
2023-12-02 17:01:05 +07:00
boedhack99
6189c8181e topaz: Set force prebuilt kernel|modules
Change-Id: If49fe066614df2ccd3914cd172e88bab693bedf2
2023-12-02 17:01:05 +07:00
Roger Ellis
50de8c7b5b topaz: Allow ELF prebuilts in PRODUCT_COPY_FILES
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
   May 11th. See b/156534160 for long-term fix which should
   override this change.

Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
2023-12-02 17:01:05 +07:00
Dan Willemsen
6e7723da2d topaz: Build with overriding commands.
* To allow turning these into errors on other devices,
   and incrementally fix these issue, set BUILD_BROKEN_DUP_RULES.

Change-Id: I93637252a4cbe2e8b37648d5c0c0051a7696e13d
2023-12-02 17:01:05 +07:00
boedhack99
c551532aad topaz: Create device-specifics build of proprietary files
Build everthing else from sources

Change-Id: I9e30b6beb556bb7ab619e438e545714070bcd8ec
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
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
boedhack99
9b1dd7f580 topaz: Add target screen resolutions
Change-Id: I1d17b7c03c96d4c1d48effec97593b2a9374e018
2023-11-13 02:19:42 +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
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