[Android Q&A, Help & Troubleshooting] hkfriends:
HI there

I am having a problem to re-pack my boot image to boot in my new Pantech A880S....

It is working fine if I just fastboot boot <original image>

but once I extract the ZImage and Ramdisk and then re-pack it (eventhough I didn't change anything)

and when I re-try fastboot boot <re-packed image> it comes up with error: dtb not found

I tried this same issue either on linux abootimg to re-pack image or using Win32 port exe to re-pack it

e.g. http://xdaforums.com/showpost.php?p=45157543&postcount=144

Is there anyone know why? I never seen this before on other devices with such error..

anyone know about kernel and dtb , how to extract them and pack them correctly?

Splitting image to "/split_img/" . . .

BOARD_KERNEL_CMDLINE console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F ehci-hcd.park=3 loglevel=0

BOARD_KERNEL_BASE 00000000

BOARD_PAGE_SIZE 2048

BOARD_RAMDISK_ADDR 02000000

Unpacking ramdisk to "/ramdisk/" . . .

Compression used: gzip

4704 blocks

Done!

Everything looks ok, but when I using fastboot to boot it (my device has been unloacked bootloader)

>fastboot boot image-new.img

downloading 'boot.img'...

OKAY [ 0.301s]

booting...

FAILED (remote: dtb not found)

finished. total time: 0.316s

Edit:

I tried to looking other similar kernel source from LG G2 (MSM8974)

/arch/arm/mach-msm/akefile.boot

I seems LG also using DTB in its kernel... so I am wondering current abootimg can handle it or not?

# MSM8974

zreladdr-$(CONFIG_ARCH_MSM8974)	:= 0x00008000

ifeq ($(CONFIG_MACH_LGE),n)

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v1-cdp.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v1-fluid.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v1-liquid.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v1-mtp.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v1-rumi.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v1-sim.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v2-cdp.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v2-fluid.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v2-liquid.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= msm8974-v2-mtp.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= apq8074-v2-liquid.dtb

dtb-$(CONFIG_ARCH_MSM8974)	+= apq8074-v2-dragonboard.dtb

else

dtb-$(CONFIG_ARCH_MSM8974_G2_KR)	+= msm8974-g2-kr.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_KR)	+= msm8974-v2-g2-kr.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_ATT)	+= msm8974-g2-att.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_ATT)	+= msm8974-v2-g2-att.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_VZW)	+= msm8974-g2-vzw.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_VZW)	+= msm8974-v2-g2-vzw.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_SPR)	+= msm8974-g2-spr.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_SPR)	+= msm8974-v2-g2-spr.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_TMO_US)+= msm8974-g2-tmo_us.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_TMO_US)+= msm8974-v2-g2-tmo_us.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_DCM)	+= msm8974-g2-dcm.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_DCM)	+= msm8974-v2-g2-dcm.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_KDDI)	+= msm8974-g2-kddi.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_KDDI)	+= msm8974-v2-g2-kddi.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_OPEN_COM)	+= msm8974-g2-open_com.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_OPEN_COM)	+= msm8974-v2-g2-open_com.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_OPEN_AME)	+= msm8974-g2-open_ame.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_OPEN_AME)	+= msm8974-v2-g2-open_ame.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_OPT_AU)	+= msm8974-g2-opt_au.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_OPT_AU)	+= msm8974-v2-g2-opt_au.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_CA)	+= msm8974-g2-ca.dtb

dtb-$(CONFIG_ARCH_MSM8974_G2_CA)	+= msm8974-v2-g2-ca.dtb

endif