Okay so i knw if you need to root your XZP you need XperiFIX , But you have to pay 20Eu for that. i dunno where you guys live but from my country currency that's a hecking lot. i Wonder if there is a easy and a free way to do the root on oreos newest security patch with DRM keys. Thank you
Everything you want to do is available, but you have to be willing to use ADB and Fastboot to flash files. You don't "do root on Oreo's newest security patch." If you want to begin modding your phone then it's important to know what you are doing first.
To do anything you need to unlock your bootloader. This will completely remove the partition with your DRM keys (your camera won't work and you'll need a patch) and you can never restore them. Rooting and using a DRM patch simply 'fools' the system into thinking you have them. However, unlike most other Android phones, with so little development being done for this phone, if you like keeping your security updated, I'd strongly recommend not unlocking your bootloader. You can also never take another OTA update, so you'll need to become comfortable with either using one or two ROMs you can find forever and hope they're updated, or gather all the pieces and then install new stock firmware every time you want to update your system. And, you'll still need to hope someone updates a kernel that allows you to DRM patch your phone for each OS update.
However, if you do, then you can flash a custom recovery with Fastboot and from there on, pretty much do all your flashing from it.