Matsvei Niaverau
7ca83331ca
rosemary: Update props from V13.0.6.0
...
Change-Id: Ib961d755d10ca1b51b08cbb8ee0c35f2b5a5c78b
2024-02-19 11:42:22 +01:00
Matsvei Niaverau
97dcc44562
Revert "Revert "rosemary: Build Lineage Health HAL""
...
This reverts commit dd395cf5f7 .
Change-Id: Ief50a7a4478cabeedb3fc00c69f7fabbea3d2f58
2023-10-09 14:11:19 +02:00
LuK1337
5531bcd019
rosemary: Include device FCM from vendor/lineage
...
Sadly we aren't able to include it globally without breaking other
devices ;((((
Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2023-10-09 14:07:06 +02:00
Matsvei Niaverau
2f383d49ae
rosemary: Correct vendor security patch date
...
* Should be taken from system's build.prop instead
Change-Id: I4da6127e9d87b6ab6d1c2a229e170672850e77d8
2023-10-09 11:37:32 +02:00
Georg Veichtlbauer
9e96ad823c
rosemary: Remove CLANG compile flag
...
Defaults to true now project-wide.
Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2023-10-09 08:39:32 +02:00
Danny Trunk
1cd058309e
rosemary: Remove specifying clang version
...
Change-Id: I4838c0b788921e186932c23cf6d9a3da43adb348
2023-10-09 08:39:32 +02:00
Sarthak Roy
09d3204570
rosemary: sepolicy: Fix property violations
...
Change-Id: I736d314c2d9bb1444e542739a7b6b70c62395580
2023-06-26 21:02:24 +02:00
Matsvei Niaverau
dd395cf5f7
Revert "rosemary: Build Lineage Health HAL"
...
This reverts commit c4a4c66c1a .
Change-Id: Id124dec21f2e3443d15e4d905f2fdb761252b0cd
2023-06-22 14:41:58 +02:00
Michael Bestas
c4a4c66c1a
rosemary: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-21 09:52:20 +02:00
GuaiYiHu
2eeda0ec5b
rosemary: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACE
...
See from https://source.android.com/devices/tech/connect/wifi-sta-ap-concurrency
Change-Id: I64f9e7b76e6dffaf59cd78eae4ba3e75f3b13808
2023-04-25 17:59:38 +02:00
bengris32
a96bd565ec
rosemary: Correct Architecture optimization flags
...
* Instead of setting TARGET_CPU_VARIANT_RUNTIME and
TARGET_2ND_CPU_VARIANT_RUNTIME respectively, we are
instead setting TARGET_2ND_CPU_VARIANT_RUNTIME twice.
* Set TARGET_CPU_VARIANT_RUNTIME to cortex-a76 and
TARGET_2ND_CPU_VARIANT_RUNTIME to cortex-a55 so
we properly match the CPU setup of MT6785.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ib15f68063eb1f7a55be62d1aecc893c8751f7765
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
06f2322d01
rosemary: Build FMRadio
...
* MtkFMRadio is no longer needed, original one was updated for Mediatek support
* Also add Mediatek FM flag for our prebuilt jni
Change-Id: I4e0ebd7352ad04e97ce65d3aec5a1b9d030fb3c3
2023-04-25 17:59:38 +02:00
Dan Pasanen
e330163019
rosemary: Reserve additional space on system/system_ext/product
...
Co-authored-by: Alessandro Astone <ales.astone@gmail.com >
Co-authored-by: Eamon Powell <eamonpowell@outlook.com >
Co-authored-by: LuK1337 <priv.luk@gmail.com >
Co-authored-by: Michael Bestas <mkbestas@lineageos.org >
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com >
Co-authored-by: razorloves <razorloves@gmail.com >
Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2023-04-25 17:59:38 +02:00
danascape
ac25c069f9
rosemary: Ship separate system_ext image
...
Change-Id: I729450c33dc089528b5e0e0dc639f8af9bd53740
2023-04-25 17:59:38 +02:00
Sebastiano Barezzi
6d5e0036e2
Revert "rosemary: Define BOARD_SUPER_PARTITION_ERROR_LIMIT"
...
This reverts commit 3eb2015 .
Change-Id: Ibd67c8c83da8f21037de08279854df2ec7d68cc7
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
18090d6091
rosemary: Go enforcing!
2023-04-25 17:59:38 +02:00
Kshitij Gupta
eb5043a68f
rosemary: Add custom dtbo mk rules and append certs
...
- rosemary's LK appears to be checking for certs added to dtbo during
signing. We unfortunately do not have the private keys needed to
generate an image that the bootloader would accept.
- dd out the 2 der certs and append them appropriately with some padding
to make the bootloader happy. (Extracted from MIUI 12 dtbo.img)
Change-Id: I26402236bcea3516fb98f5d48857106ae30b54c1
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com >
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
a2f845c0c5
rosemary: Reorder A/B partitions list
...
Change-Id: I016d266ee1d7bf0be72f0950f67987975425bd8c
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
99080c663e
rosemary: Drop recovery dtbo including
...
* Unneeded on vAB
Change-Id: I846201bb2fb02d8762088805a9d9b63f665814bf
2023-04-25 17:59:38 +02:00
Sebastiano Barezzi
19b6978f54
rosemary: Reboot to recovery if init fails
...
Change-Id: I1d8f38620caa7b003911ff30f69ed7973c100e6d
2023-04-25 17:59:38 +02:00
Sebastiano Barezzi
4637c21025
rosemary: libinit: Import changes from sm8250-common
...
Change-Id: I31f1083fba0bebe5c23fcb140225bf47bc1d1c6b
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
7f5e4b0082
rosemary: Declare EXT4&F2FS support for userimages
...
Change-Id: I2c2de00eac1e9bc171316f2a876e3e8bbbba2021
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
f0b02514a1
rosemary: Set up SKU-based ST NFC stack
...
* Based on miatoll implementation (7c21e60b93 )
Change-Id: Ibb852acd55e4c0bc6928236637493520af221db2
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
65fab603f3
rosemary: Define OTA asserts
...
Change-Id: I68ec069cb3bb8f1be3c9ea3dba4340b920c84c02
2023-04-15 14:36:56 +02:00
Alexander Koskovich
f1976cb3e3
rosemary: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-04-15 14:36:56 +02:00
bengris32
a355902279
rosemary: Drop TARGET_POWERHAL_AIDL_VERSION flag
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I6d53f4871cb572cf1656b47944d3f2f735ef94ec
2023-04-15 14:36:56 +02:00
bengris32
0e9c276b8a
rosemary: Set BOARD_HAS_MTK_HARDWARE to true
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I568d110431ad2c009fd1f9515f154701baf09a6e
2023-04-15 14:36:56 +02:00
Sal Savage
a780ea6632
rosemary: Set default the Bluetooth class of device
...
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is correct
Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2022-12-07 00:10:21 +01:00
bengris32
c2e4f45c46
rosemary: Bump clang toolchain version to r450784d
...
* We now have the required patches in kernel to compile with
clang r450784d and LLVM binutils.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
LinkBoi00
5219a2446a
rosemary: sepolicy: Initial vendor SEpolicy
...
Co-authored-by: Vaisakh Murali <mvaisakh@statixos.com >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Change-Id: If2f65d3bd9b5849557b911fa2cbfcc2392d568c9
2022-12-07 00:08:38 +01:00
bengris32
157bf2b080
rosemary: Reserve space on system and product partitions
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I25e561c9090949726740dbe0a4d276100c25801a
2022-11-12 10:48:38 +03:00
Arne Coucheron
3dc3773a12
rosemary: Add 0x2000 to additional gralloc usage bits
...
Fixes warning.
| gralloc4: Buffer descriptor with invalid usage bits 0x2000
Change-Id: I8e67bec9ade6e80e2e362f7a3c287f74b7d81242
2022-11-12 10:48:38 +03:00
Sebastiano Barezzi
666eb91ef9
rosemary: Define DT2W node for power HAL
...
Change-Id: I1dc2f23e0c7764a8ca9d5bf6c9f2f78dcd89dbbe
2022-11-12 10:48:38 +03:00
bengris32
f9a29b388c
rosemary: Enable metadata partition
...
* Set BOARD_USES_METADATA_PARTITION := true
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I4939c526b7cd79277e6fd21e08143b0e69101104
2022-11-12 10:48:38 +03:00
bengris32
1f7119eeec
[DNM] rosemary: Set required build broken flags
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-11-12 10:48:11 +03:00
Demon000
984575d584
rosemary: init: override dalvik heap config based on total RAM
...
Change-Id: I5ff7bdc9ab610415093ff6535c34f0013154b8cf
2022-11-12 10:48:11 +03:00
bengris32
b04dbbbef3
rosemary: Generate framework compatibility matrix
...
* See https://gist.github.com/SebaUbuntu/ec053a00a9988eaea091fb1cc1f19324
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I168debe2316d172ac81d5fe7320662a274ea76a0
2022-11-12 10:47:50 +03:00
Hridya Valsaraju
3eb2015fdb
rosemary: Define BOARD_SUPER_PARTITION_ERROR_LIMIT
...
Set BOARD_SUPER_PARTITION_ERROR_LIMIT to 9122611200.
Test: make
Bug: 136174903
Change-Id: Ia899e569cd534603ca014eb38629437da7680009
2022-11-12 10:45:57 +03:00
bengris32
69cae96159
rosemary: Initial properties
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I77e294e661e39a33bb4fc6821583fd13e46a14de
2022-11-12 10:45:57 +03:00
Alexander Koskovich
86afacddbd
rosemary: Define the recovery pixel format as RGBX_8888
...
* The RGBX 32 bit RGB format is stored in memory as 8
red bits, 8 green bits, 8 blue bits, and 8 ignored bits.
Change-Id: I46262f6dcc096ccecfb66c8530073bcbac3ff962
2022-11-12 10:44:26 +03:00
bengris32
31ad75bb98
rosemary: Disable System-as-root for Virtual A/B
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I8f1dcabc57a65e91a35e97366b9e653761e2398b
2022-11-12 10:44:26 +03:00
LuK1337
03adca091d
rosemary: Set BOARD_USES_RECOVERY_AS_BOOT
...
Change-Id: Id0705196c25184ac1700d3fafdeff166c6ab584a
2022-11-12 10:44:26 +03:00
bengris32
b813ac7f4e
rosemary: Configure A/B OTA updates
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Icebbcf586817c498bd01a53c0182b96e46d41977
2022-11-12 10:42:52 +03:00
Sebastiano Barezzi
7e8a39c3ab
rosemary: Use RSA4096 key also for vbmeta_system and vbmeta_vendor
...
* Per https://android.googlesource.com/platform/external/avb/+/master/README.md#build-system-integration , SHA256_RSA4096 is used if BOARD_AVB_ALGORITHM isn't defined
* We can assume bootloader is able to understand a RSA4096 key for vbmeta_system as well
Change-Id: I7053f1610c7317c960bfe7918ac2e83f56ce056f
2022-11-07 10:30:32 +03:00
bengris32
ac49f82725
rosemary: Build vbmeta_system and vbmeta_vendor images
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ic953e2155d1c52b9f899411bdb337a77215ef771
2022-11-07 10:30:32 +03:00
bengris32
92ebfc1638
rosemary: Define partition layout and sizes
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ie438765f508aa20d77f7b56423fba87b2f4b777a
2022-11-07 10:30:32 +03:00
bengris32
16cda86839
rosemary: Initial minimised rootdir
...
* All AEE, Meta mode, Factory mode related scripts
have been removed.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I20ab2c44768ca3f83f8515c2c4455924aaa394d9
2022-11-07 10:30:32 +03:00
bengris32
eaaef9eeec
rosemary: Switch to source built Power AIDL
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I90e336edd265e944fcbd2a889228c71605e77208
2022-11-07 10:30:32 +03:00
bengris32
c0e08c1f30
[DNM] rosemary: Set SELinux to permissive
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-11-07 10:30:32 +03:00
Sebastiano Barezzi
43692b87c5
rosemary: Enable vendor RIL service
...
* We use Mediatek's RIL implementation
Change-Id: Iaab09d72110fdc3887fda6f543b988bdb3e98a4c
2022-11-07 10:30:32 +03:00