This is wrong. Both Createvendor2 and repartition script has same you need to flash either one not both.
1. Format everything
2. Flash repartition script
3. Wipe dalvik, cache, vendor, system & data
4. Flash rom
5. Flash GSI supported H-vendor or Treblue to work.
Note: None of the GSI...