Police say a woman was able to text her ex-husband for help while being sexually assaulted by her roommate in a Phoenix home.