mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
f744f4b3cf
* We have a very, very broken bootloader. LK is extremely fussy about our AVB setup, and if either --flags 3 is set (hashtree verification disabled), or the wrong AVB algorithm is used, it will cause the bootloader to crash shortly after loading the boot image, which can be seen from the bootloader logs: * [1111] [avb] img_auth_required = 0 [1116] invalid pubk size [1116] avb_slot_verify.c[1116] :[1116] 851[1116] : ERROR: [1116] vbmeta_a[1116] : Public key used to sign data rejected. [1370] [AVB20] malloc: heap size not enough [1370] avb_util.c[1370] :[1370] 224[1370] : ERROR: [1370] Failed to allocate memory. [1370] [avb] boot/recovery vfy time = 270 ms [1370] mblock_create mblock start: 0xb0c00000 size: 0x8c00000 name: avb [1371] [avb] avb_ret = 1 [1371] [avb] ret = 0 [6694] panic (caller 0x4822b7f1): ASSERT at (platform/common/boot/boot_info.c:616): g_boot_info.hdr_loaded * Re-enable hashtree verification and match the AVB algorithm with what MediaTek does on stock. Also create vbmeta images for system, product and vendor partitions since that is done as well. Use test keys for signing to make our lives easier. * Also change BOARD_AVB_RECOVERY* to BOARD_AVB_BOOT*, AVB recovery flags are no-ops on A/B devices since the recovery ramdisk is in the boot image, so we should be enabling chained vbmeta for boot instead. Change-Id: I66c03f819178d00db956095e835e8e304ab1aab7 Signed-off-by: bengris32 <bengris32@protonmail.ch> Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com> |
||
---|---|---|
recovery/root | ||
rootdir | ||
Android.bp | ||
Android.mk | ||
AndroidProducts.mk | ||
BoardConfig.mk | ||
device.mk | ||
extract-files.sh | ||
lineage_X6833B.mk | ||
proprietary-files.txt | ||
README.md | ||
setup-makefiles.sh |
Device tree for the Infinix Note 30 (X6833B)
Device specifications
Basic | Spec |
---|---|
SoC | MediaTek Helio G99 (6nm) |
CPU | Octa-core (2x2.2 GHz Cortex-A76 & 6x2.0 GHz Cortex-A55) |
GPU | Mali-G57 MC2 |
Memory | 8GB |
Shipped Android version | 13 |
Storage | 128GB / 256GB |
MicroSD | MicroSDXC |
Battery | Non-removable Li-Po 5000 mAh |
Dimensions | 168.6 x 76.6 x 8.6 mm |
Display | 1080 x 2460 pixels, 6.78 inches |
Rear Camera 1 | 64 MP, f/1.7, (wide), 1/2", 0.7µm, PDAF |
Rear Camera 2 | 2 MP, f/2.4, (depth) |
Rear Camera 3 | QVGA |
Front Camera | 16 MP, f/2.0, (wide) |