Installation
There are two ways to install XenonSU, and they differ only in what you patch.
Before you start
Back up your current boot images. On a device with A/B slots:
Keep those files. A patched image that boots is not the same as a recovery plan.
Method 1 — patch a stock image (recommended)
Download the stock firmware for your exact build number and extract init_boot.img
(Android 13+) or boot.img (Android 12).
Copy it to the phone.
Open XenonSU → Install → Select file and patch.
Choose the image and let it patch.
Pull the patched file and flash it: