Download parched boot img file.
Download twrp img file.
how to root steps.
twrp method.
1 download twrp img.
2 unlock bootloader.
3 download device-platfrom tool
4 open cmd here then
5 type adb reboot bootloader
6 phone will goto bootloader
7 then type fastboot boot target twrp file name
8 it will goto twrp recovery then.
9 download magisk manager apk and rename apk to zip.
10 then select zip file and install.
magisk boot img method.
1 download and install magisk manager.
2 select your device own boot image file and patch.
3 in device platform tool open cmd here and
4 type adb reboot bootloader
5 type fastboot boot flash boot.img select patched img