How to open full functions of diagnostic port in Oppo Phone?

@Tony thanks for the reply but I want to open diag ports, please share if you have any secret code or other methods which can help to open Diag Port.