Install AOSP/Lineage ROMs on Poco X7 Pro - rodin
Rubens GonWarning: Don't use fastboot reboot recovery or else you device may brick
- Read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!
- Make sure your computer has
adbandfastboot. Setup instructions can be found here. - Download or extract
vendor_boot.img - Power off the device, and boot it into bootloader mode: With the device powered off, hold volume down + power .
- Flash the image files to your device by typing:
fastboot flash vendor_boot -slot=all vendor_boot.img - Reboot to recovery mode by typing:
fastboot rebootand quickly holding volume up button. - Now select Factory Reset, then Format data / factory reset and continue with the formatting process. This will delete all files stored in the internal storage, as well as format your cache partition.
- Return to the main menu.
- Sideload the ROM .zip package by typing:
adb sideload /path/to/zip - Choose yes after sideload if your ROM do not ship GAPPS (reboots into recovery).
- Sideload the GAPPS .zip package by typing:
adb sideload /path/to/zip - Reboot by returning to main menu and hitting: "Reboot system now".
Change firmware guide
Option 1: Flash firmware that your ROM is based from here or download from anywhere you like and hit flash_all.bat .
Option 2: Download or extract boot.img and vendor_boot.img from the ROM you downloaded, reboot into bootloader, type fastboot flash vendor_boot -slot=all vendor_boot.img and fastboot flash vendor-slot=all boot.img reboot and proceed to a normal instalation.
Rooting guide
- Download or extract
init_boot.imgfrom your ROM. - Patch the file via the root manager you like(KernelSu, Apatch, Magisk...).
- Reboot into bootloader mode.
- Flash the patched image file to your device by typing:
"fastboot flash init_boot -slot=all init_boot.img"