I bought a phone from overseas and it has t-mobile software but it won't work in US. Do I need to flash it or just get it unlocked?