I had a similar problem today and Im sorry in advance for any vocabulary mistake, my first language isn't english.
When I woke up in the morning, my phone wouldn't connect to the wifi so I restarted my phone and then I had the same message, that the device is corruped and cant be trusted and I...