It's not clear to me why you wouldn't just turn off your phone if you think you're being targeted by such an extreme attack.
Right out of the box, smartphones are more secure than mainstream personal computers (running Windows, macOS or Linux) that are connected to the Internet.