There wouldn't be a way directly form us
From my understanding, there are rooting images that mimic our stock software, but you would need to go through a whole root process (which voids the warranty) and find a software version you want to flash.
I hope that helps some, even if not the ideal response!
Is this AT&T phone even compatible with T-Mobile?
Manage your T-Mobile account