Go to file
bengris32 f744f4b3cf X6833B: Re-configure AVB flags to match stock
* 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>
2023-12-13 01:10:44 +07:00
recovery/root X6833B: Add recovery init scripts and required flags 2023-12-13 01:10:44 +07:00
rootdir X6833B: Install fstab.mt6789 into first_stage_ramdisk 2023-12-13 01:10:44 +07:00
Android.bp X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00
Android.mk X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00
AndroidProducts.mk X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00
BoardConfig.mk X6833B: Re-configure AVB flags to match stock 2023-12-13 01:10:44 +07:00
device.mk X6833B: Build a vendor_dlkm image 2023-12-13 01:10:44 +07:00
extract-files.sh X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00
lineage_X6833B.mk X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00
proprietary-files.txt X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00
README.md X6833B: Add device specsheet 2023-12-12 23:42:51 +07:00
setup-makefiles.sh X6833B: Initial skeleton tree 2023-12-13 01:10:17 +07:00

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)

Device Picture

Infinix Note 30