Extracting .dtb file from a running Android OS


Can anyone please help on how to extract the .dtb file from an Android TV Box while still running on its Android OS?


If the box is rooted, install X-plore on the box and copy the image from “root/dev/dtb.img” anywhere you want.


If you still have Android installed, you can boot CE from USB/SD and type dd if=/dev/dtb | gzip > /storage/downloads/dtb.img.gz on SSH, you can then download it from the Downloads folder.

T95z Plus case LED stays on

This would be a good “How To” addition.


Go ahead :+1:


Wow, I never knew even an Android TV Box does come with unrooted (customized). Anyway, assuming for the worst case where the TV Box is not rooted, is there a better way to do this thing on a non-rooted Android TV Box?


If I can boot this TV Box with CE, don’t you think doing the above from a /dev/dtb of running CE will just grab the CE (not Android) dtb file? Unless they are identical, I am interested in getting and/or extracting a dtb file from a non-rooted Android TV Box.


Why would you need that?


I’d root it first :slight_smile:


Poida, I’m not sure how to pin the topic. Can’t seem to find a way.


Not sure what you mean, you don’t know how to open a new topic (or asking how to pin a topic that you’ve opened)


Making a new topic in the HowTo’s section would be the most ideal, that way everyone it is relevant to can find it easily.


How to pin a topic so that it remains on the 1st page of the category. Ie this one might be valuable as a pinned topic under How To.


Only moderators and admins can do this.

Support for Amlogic gxlx_p261 board request