The HTC Dream , sold by T-Mobile in many countries as the T-Mobile G1 , was the first phone to use this . The HTC Dream , marketed by T-Mobile in many countries as the T-Mobile G1 , was the first phone to the market that used the Android mobile device platform .