
Flashing Near-Stock Firmware on Android Devices
The OnePlus 7 Pro, once known as the king of ROM flashing, still holds up well even today. Recently, I flashed the domestically customized Pixel Experience Plus package. Without any images to share this time, I will only provide a brief textual record here.
Prerequisites
The OnePlus 7 Pro, codenamed guacamole, does not have a separate Recovery partition; Recovery is integrated within the kernel boot.
Ensure that both A/B partitions are on HydrogenOS 11 or OxygenOS 11, preferably using downgrade packages to meet the base firmware requirements.
Resource Preparation
Install USB drivers
Right-click on android_winusb.inf to install.
Set up the ADB environment
Download the firmware
Unlock Bootloader
Enable OEM unlocking in Developer options.
Reboot into Bootloader mode.
adb reboot bootloader
Execute command
fastboot oem unlock
Use the volume keys to select UNLOCK THE BOOTLOADER and confirm.
Flash Pixel Experience Plus
fastboot flash boot xxx_boot.img
Reboot into Recovery mode.
adb reboot recovery
Click Apply update and select Apply from ADB to enter ADB Sideload mode and flash the Pixel Experience Plus ROM.
adb sideload PixelExperience_Plus_guacamole-13.0-xxx.zip
Because OnePlus 7Pro is an A/B partition, the loading will be completed immediately after the progress bar reaches 46%. This is normal.
Continue to click Advanced and select Reboot to recovery to reboot to the Recovery in the second slot.
Repeat the previous step and select Apply from ADB to enter ADB Sideload mode and flash Pixel Experience Plus
After making sure both times are successful, click Factory reset and select Format data/factory reset to format.
Then restart to experience Pixel Experience Plus
Obtain Root permissions
Magisk Delta
Delta version can still use MagiskHide to hide Root
Select and patch boot.img, then flash the patched boot.img

Following this, you can grant root permissions to apps and flash modules that are compatible with your device
KernelSU
KernelSU provides root access within the kernel and appears quite promising.
Since the OnePlus 7 Pro does not use a GKI kernel, you need to compile the kernel to integrate KernelSU.
As of the update on March 9th, the kernel now supports KernelSU, and I will write an article on this soon.
9008 Emergency Unbricking
Ensure successful installation of the 9008 driver.
Run MsmDownloadTool.
If a sahara communication failure occurs, it might be due to not completely powering off the device.
If you can enter fastboot mode, select power off to completely shut down, then press and hold both volume keys while connecting to a computer for flashing.
If the screen is completely black with no display, hold the power button for 40 seconds, wait a minute, then press and hold both volume keys while connecting to a computer for flashing.
Successful flashing will allow the device to boot normally.
User Experience



My desktop setup is not Pixel Luncher,but Niagara Luncher + Sesame
After optimizing scheduling with Scene, managing background tasks with Icebox + Thanox Pro and using apps in small windows with(Freeform the device is perfectly usable daily.
Customized features by the developer @just_pisceslike battery health, tombstone background (removed in later versions), DC dimming, color modes, Dolby sound effects, and a three-stage UI are incredibly practical, providing a localized experience that surpasses the Official PE
Please check the log for the latest changes.










