Skip to content

Download DeviceTree

A device tree (or dt) is a set of projects that contain the files and configuration necessary for a device to boot a custom ROM.

Tree structure

  • Directorydevice
    • Directorydevice_brand/
      • Directorycodename/
      • Directorysoc_model-common/
  • Directoryvendor
    • Directorydevice_brand/
      • Directorycodename/
      • Directorysoc_model-common/
  • Directorykernel
    • Directorydevice_brand/
      • Directorysoc_model/
  • Directoryhardware
    • Directorydevice_brand/
Terminal window
adb shell getprop ro.soc.model

As an example, we can use the Moto G52 (rhode) device, and the tree would look like this:

  • Directorydevice
    • Directorymotorola
      • Directoryrhode/
      • Directorysm6225-common/
  • Directoryvendor
    • Directorymotorola
      • Directoryrhode/
      • Directorysm6225-common/
  • Directorykernel
    • Directorymotorola
      • Directorysm6225/
  • Directoryhardware
    • Directorymotorola/

Following this structure, we can organize the name of each project as follows:

  • device_motorola_rhode
  • device_motorola_sm6225-common
  • vendor_motorola_rhode
  • vendor_motorola_sm6225-common
  • kernel_motorola_sm6225
  • hardware_motorola

Search the tree of a device

To find your device’s tree, you can either develop it yourself (requires more research and knowledge) or search for it on GitHub using your device’s project name.