Firm: Phone software sends texts, data to China