The boy, 14, pleaded guilty to recording information useful to persons engaged in terrorism, racially or religiously aggravated criminal damage and possessing an offensive weapon