This worked on my T-mobile version with a couple of changes.
You have to apply for an unlock token first, which takes about a week.
I used the MSM Tool recommended by @donut3 instead of flashing the e-os-9.zip.
twrp-Q did not work. I also tried 3.4.0-2, which didn’t work, and 3.3.1-31, which did work.
Other than issues with the PIN screen, works great after logging in.
Thanks!