So it seems cop screwed up. He could obtain proper search warrant, but he did not. So phone search is allowed, just as usual, with proper warrant. Otherwise - it is illegal search.
I'm not sure I see where the officer had sufficient cause for that warrant. It sounds like the subsequent felony charge was unrelated to the original offense.