Skip to content

Instantly share code, notes, and snippets.

View michaelskyf's full-sized avatar

Michał Kostrzewski michaelskyf

  • Katowice, Śląskie, Poland
  • 18:51 (UTC +02:00)
View GitHub Profile
#!/bin/sh
./mkbootimg --kernel <your built Image.gz> \
--ramdisk <extracted ramdisk> \
--dtb <Android kernel source dir begonia-android-12.0/arch/arm64/boot/dts/mediatek/mt6785.dtb> \
--cmdline "bootopt=64S3,32N2,64N2 androidboot.selinux=permissive buildvariant=userdebug" \
--base 0x40078000 \
--kernel_offset 0x00008000 \
--ramdisk_offset 0x07c08000 \
--second_offset 0xbff88000 \
############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V2.1.0
platform: MT6785
project: begonia