if you getting problem with *#7284# code in 4.1.2 or 4.xx then first downgrade that phone with 2.3.6 firmware...
SC05DOMLCE_SC05DDCMLCE Download this firmware from z3x support then flash it with odin, then hard reset it with this method...
the power to put it while holding down the Volume Up button and the Volume Down button, go into recovery mode by pressing and holding the button even after the screen is attached, and "wipe data / It will be to start by running a factory reset
then *#7284# code will work..
after that unlock it with z3x 17.2 3g tool