1.  Put the phone in airplane mode.
  2. Enable ONLY WIFI. No Voice or Carrier Data. Make sure you can only connect to the internet over WiFi and not the 3G/4G data connection.
  3. The SIM card on the phone should be disabled at this time, so the market app does not know that it is an AT&T phone.
  4. download anything you want from the market.