Install AOSP/Lineage ROMs on Poco X7 Pro - rodin
RubensGon- 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 reboot recovery
- 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".
Rooting guide
- Download or extract init_boot.img from 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"