Yes Ur bootloader must be unlock because u will be using fastboot or TWRP to flash the GSI .pls to solve invalid preloader,just download any firmware of Ur phone and extract it don't mind the build number u will only need the preloader which are all the same for Ur phone model