An iPad spent five years in a river — then helped crack a murder plot