That's patently false. It's in that giant ToS that you didn't read and did sign. Here's where it is in T-Mobile's ToS [1].
You're looking for either,
"To identify and suggest products or services that might interest you;
To make internal business decisions about current and future product and service offerings;
To provide you customized user experiences, including personalized product and service offerings;"
or
"If your device is turned on, our network is collecting data about the device location. We may use, provide access to, or disclose this network location data without your approval to provide and support our services, including to route wireless communications, operate and improve our network and business,"
1 - https://www.t-mobile.com/responsibility/privacy/privacy-poli...