bootloop with dtbo
amackpro opened this issue · 6 comments
i tried unpack and repack dtbo.img in xiaomi marble
it successfully unpacks and repacks dtbo but somehow without any changes done into the files the device never boots
always on animation for some reason
cmd used for unpack and pack
./gradlew unpack dtbo.img
./gradlew pack
did try dtbo.img.clear and signed both
Can you attach the dtbo.img being used?
Can you attach the dtbo.img being used?
well issue is now fixed
thing is linux default DTC compiler is RIP ( using Ubuntu23.04)
when i compiled with google DTC ,it compiled fine and booted successfully
please add google dtc into tool
dtc.zip
I am facing exact same problem, the recompiled dtbo is same as original one.
Can you please share how to replace default compiler with google dtc?? and compile successfully?
please tell, I am pretty new to all this
I am facing exact same problem, the recompiled dtbo is same as original one.
Can you please share how to replace default compiler with google dtc?? and compile successfully? please tell, I am pretty new to all this
remove dtc
and push dtc from the zip i given to /usr/bin/
then
chmod +x /usr/bin/dtc
you r good to go
I am facing exact same problem, the recompiled dtbo is same as original one.
Can you please share how to replace default compiler with google dtc?? and compile successfully? please tell, I am pretty new to all thisremove dtc and push dtc from the zip i given to /usr/bin/ then chmod +x /usr/bin/dtc
you r good to go
thank you so much, it finally worked 👍
HI @amackpro , thanks for the great work.
I am adding a config entry in bbootimg/src/main/resources/general.cfg
to support user specific dtc binary:
the default value is
dtcBin = dtc
you can change it to something like this:
dtcBin = /usr/local/bin/dtc
But I am curious how the "dtc" binary causes the difference, can you attach the "good" and "bad" dtbo image you've tried?