An ex soldier who handed himself in after police came looking for him carried out a factory reset of his phone to hide his vile interests.