T-Mobile is in the business of providing telephone service. They are not in the business of manufacturing and/or repairing telephones. Did you read your warranty booklet to find out who is the warranty provider (probably Samsung)?
Most electronic products these days don't get repaired, they get replaced.