No, you need to unlock the bootloader, not replace it.
You are making this way harder than it is.
Setting up and Using ADB/Fastboot [INDEX] Helpful Information Welcome, this thread has been created to encompass everything you may need for Using ADB. Please only post in this thread with feedback on how to improve this document. Do not post...
xdaforums.com
Rootjunky made this video like 8 years ago, it's basically the same still.
Use the newer platform tools
from google
just follow the first 11 mins, you don't want the custom recovery that is at the end.