Fastboot boot image : dtb not found

Search This thread

hkfriends

Senior Member
Aug 24, 2007
581
147
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://forum.xda-developers.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
 
Last edited:

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
14,993
34,008
Halifax
GT-i9250
Google Nexus 4
I modified the split tool to support dtb, please test it……
Modify permissions before you use it
chmod a+x split_bootimg_dtb.pl
View attachment 2229037

Great work! I'm going to see if I can adapt this back into unpackbootimg. :good:
https://github.com/CyanogenMod/android_system_core/tree/cm-10.2/mkbootimg

Edit: Easier than I thought just using what was already in unpackbootimg.c and bootimg.h :D

Soon to be added to my Android Image Kitchen: http://v.ht/AIK-
 
Last edited:
  • Like
Reactions: talich

Phk

Senior Member
Hello Guys,

I'm trying to boot the HTD Desire 510 recovery CWM on my new Wiko Ridge 4G.
I also got the DTB issue, but I'm not sure on how to fix it.

Can anyone throw me some tips on this?

I've chosen the Desire CWM because it have the same chipset.

Cheers
 

raklane

New member
May 29, 2016
1
0
Hi Benjamin,
I am using Lenovo a6000 plus and getting the same error while I try to fastboot using command <fastboot boot "c:\Users\rakesh\lenovo-recovery-file\recovery.img">
What should I do?
I am not even able to enter recovery mode. My mobile got switched off during android upgradation. I think I lost some system file.
 

vivek_sn

New member
Jan 2, 2017
3
1
hi iam also having same problem for my lenovo a6000 when itry to boot into recovery iam getting this error failed {remote:dtb not found} please help m any one.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    I modified the split tool to support dtb, please test it……
    Modify permissions before you use it
    chmod a+x split_bootimg_dtb.pl
    View attachment split_bootimg_dtb.zip
    2
    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://forum.xda-developers.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
    1
    I modified the split tool to support dtb, please test it……
    Modify permissions before you use it
    chmod a+x split_bootimg_dtb.pl
    View attachment 2229037

    Great work! I'm going to see if I can adapt this back into unpackbootimg. :good:
    https://github.com/CyanogenMod/android_system_core/tree/cm-10.2/mkbootimg

    Edit: Easier than I thought just using what was already in unpackbootimg.c and bootimg.h :D

    Soon to be added to my Android Image Kitchen: http://v.ht/AIK-