Commit Graph

39 Commits

Author SHA1 Message Date
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
bengris32
5bd59166b9 rosemary: Initial device proprietary files listing
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I4793f3e9cab9920b4bcb9f0105ff38a52765ed32
2022-11-07 10:26:07 +03:00
bengris32
609a683819 rosemary: Import Manifest and Compatibility Matrix
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I9129674985ed4681283d68459fdcc22bcbd19a4b
2022-11-07 10:25:24 +03:00
Luca Stefani
c9e6067d9e rosemary: Enable updateable APEX 2022-10-28 13:25:35 +01:00
Sebastiano Barezzi
25f1ce785b rosemary: Enable full VNDK 2022-10-28 13:25:35 +01:00
Jyotiraditya
7cd42274f7 rosemary: Specify AVB recovery flags 2022-10-28 13:25:34 +01:00
Christian Oder
f8d2d62d26 rosemary: Build disabled VBMeta image 2022-10-28 13:25:34 +01:00
bengris32
877370b27e rosemary: Define Kernel build flags
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2022-10-28 13:25:34 +01:00
bengris32
463da728b5 rosemary: Define Boot Image flags
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2022-10-28 13:25:34 +01:00
bengris32
1a402312dc rosemary: Define Bootloader and platform flags
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2022-10-28 13:25:34 +01:00
bengris32
6f87dd271c rosemary: Define Architecture flags
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2022-10-28 13:25:34 +01:00
bengris32
9dd9e46f02 rosemary: Initial skeleton
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I199c18bba9552cbccda9408e5120cc66a4cd1be1
2022-10-28 13:25:28 +01:00