[Upgrading, Modifying and Unlocking] d788873:
Hi, thanks for this tool.

I am trying to unpack, modify and repack boot.img for an RK3368 device. I tested this tool by un and repacking with no modifications, but can't boot the result image, after flashing it with rkflashtool. I tried both 1.06 and 1.07h test but no luck. Any ideas what's wrong?

boot.img

Logs from unpack:

Rockchip firmware batch/update images unpacker/packer

(c) RedScorpio, Moscow, 2013-2019
RedScorpio@land.ru

Detected OS:
Arch Linux \r (\l)
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux
Ini-file created
==========================[ START ]==========================

--- Firmware unpacking ---

2-nd layer file unpacking
Android boot image format detected
"boot.img" (Android boot image) unpacking
Image properties:
Type Android boot image ("ANDROID!")
Version = 0 (0x00000000)
OSversion = -
KernelSize = 0x01299ca8
RamdiskSize = 0x00159bc0
SecondFSize = 0x00067c00
Kernel (boot.img.dump/kernel) extracted
Ramdisk (boot.img.dump/ramdisk) extracted
"boot.img.dump/ramdisk" (gzip/cpio) unpacking
Configuration file"boot.img.dump/ramdisk.cfg" created
"boot.img.dump/ramdisk" unpacked

Second file (boot.img.dump/second) extracted
"boot.img.dump/second" (Rockchip resources image file) unpacking
Image properties:
Type: Rockchip resources image file (RSCE)
RSCE image version = 0 (0x0000)
RSCE file table version = 0x0000
Image header size = 0x01 (512)
File table offset = 0x01 (512)
File table record size = 0x01 (512)
File count = 3
"rk-kernel.dtb" extracted (format: unknown)
"logo.bmp" extracted (format: bitmap image file)
"logo_kernel.bmp" extracted (format: bitmap image file)
BasePath is empty
Configuration file"boot.img.dump/second.cfg" created
"boot.img.dump/second" unpacked

Configuration file"boot.img.cfg" created
"boot.img" unpacked

Logs from repack:

Rockchip firmware batch/update images unpacker/packer

(c) RedScorpio, Moscow, 2013-2019
RedScorpio@land.ru

Detected OS:
Arch Linux \r (\l)
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux
==========================[ START ]==========================

--- Firmware creating ---

2-nd layer file packing
Configuration file (boot.img.cfg) found
"boot.img" (Android boot image) packing
Kernel (boot.img.dump/kernel) found
Configuration file (boot.img.dump/ramdisk.cfg) found
"boot.img.dump/ramdisk" (gzip/cpio) packing
6155 blocks
"boot.img.dump/ramdisk" packed
Ramdisk (boot.img.dump/ramdisk) found
Configuration file (boot.img.dump/second.cfg) found
"boot.img.dump/second.dump/rk-kernel.dtb" (232916) found
"boot.img.dump/second.dump/logo.bmp" (170326) found
"boot.img.dump/second.dump/logo_kernel.bmp" (19160) found

Image properties:
Type: Rockchip resources image file (RSCE)
RSCE image version = 0 (0x0000)
RSCE file table version = 0x0000
Image header size = 0x01 (512)
File table offset = 0x01 (512)
File table record size = 0x01 (512)
File count = 3
"rk-kernel.dtb" injected (format: unknown)
"logo.bmp" injected (format: bitmap image file)
"logo_kernel.bmp" injected (format: bitmap image file)
Second file (boot.img.dump/second) found
Kernel (boot.img.dump/kernel) injected
Ramdisk (boot.img.dump/ramdisk) injected
Second file (boot.img.dump/second) injected
SHA check summ injected
Image properties:
Type Android boot image ("ANDROID!")
Version = 0 (0x00000000)
OSversion = -
KernelSize = 0x01299ca8
RamdiskSize = 0x0015b604
SecondFSize = 0x00067c00