No you can't use AT&T sim in your t-mobile g1 phone until you unlock it from t-mobile ...You can easily unlock your phone using sites like ProUnlocking.com here they are rendering network unlock code for all mobile models at reliable cost .After unlocking your phone you can freely use it with any GSM sim ..