"And if the perpetrator has been identified via his DNA, why search the victim's mobile at all?"
There are -or should be - two elements to prove a case. One is to prove an offence and the other to identify the perpetrator. This is an area where false allegations are not unknown. Anyone who has experience of investigating allegations of sexual offences is aware of the need to tread carefully in order to avoid serious miscarriages of justice.