PBRP DEVICE TREE AUTO GENERATOR FOR TRANSSION

PBRP DEVICE TREE AUTO GENERATOR FOR TRANSSION

ใ‚ขใƒณใƒ‰ใƒฌใ‚ค | #๐™†๐™–๐™ฃ๐™–๐˜ฟ๐™š๐™ซ_๐™„๐™Ž | #๐™ถ๐š๐™ฐ๐šˆ๐š๐™ฐ๐š…๐™ด๐™ฝ๐š‚ | #๐™๐™ง๐™–๐™ฃ๐˜พ๐™ค๐™ง๐™š_๐˜ฟ๐™š๐™ซ_๐™‡๐™š๐™–๐™™ | #๐˜ผ๐™ฃ๐™ญ๐™ž๐™ฃ๐™ž๐™ฉ๐™ฎ๐™‹๐™ง๐™Ÿ๐™ ๐™ฉ

Only for TECNO/INFINIX PHONES that use vendor_boot as recovery ( skip itel cuz idc)


PBRP DT GENERATOR : https://t.me/ShadowBytePrjkt/2820
TWRP DT GENERATOR :
https://t.me/ShadowBytePrjkt/2821

Usage

# Install necessary libs and tools first Before running the script,

๐Ÿงย Debian / Ubuntu / Linux Mint

bash

sudo apt update && sudo apt install python3 -y

๐Ÿงย Fedora / RHEL / CentOS

bash

sudo dnf install python3 -y

๐Ÿงย Arch / Manjaro

bash

sudo pacman -S python --noconfirm

๐Ÿงย openSUSE

bash

sudo zypper install python3 -y

๐Ÿย macOS (Homebrew)

bash

brew install python

(If you don't have Homebrew, download fromย python.org)

๐ŸชŸย Windows

  1. Download the installer fromย python.org.
  2. Checkย โœ…ย "Add Python to PATH"ย during installation.
  3. Openย Command Promptย orย PowerShellย and verify:
  4. cmd
python --version


Get your vendor_boot image then extract it using mio kitchen

now open terminal where generator.py is locatedย 

now run this commandย 

for PBRP DT its : python3 transsion_pbrp_gen_vendor_boot.py /path/to/unpacked_vendor_boot [-o OUTPUT] [--device-name NAME]

for TWRP DT its : python3 transsion_twrp_gen_vendor_boot.py /path/to/unpacked_vendor_boot [-o OUTPUT] [--device-name NAME]



Dev notes:

use --device-name only if the tree fails to get your phones codename

This is initial so if you encounter issues kindly send the logs that the script provides and dm @andrei0514


Once the script is done it should report to the terminal the output directory simply go there and now you have your base tree ( some paths there is universal like bootctrl and mtk_plpath_utils simply get them from other trees this generator only makes the Actual needed files for build PBRP )


Special Thanks toย 

@ramabondanp ( for common trees layout )

@SebaUbuntu ( for reference of auto generator )

And a huge thanks to all Android Developers for Making this Possible

Report Page