DOwnload GS505 Unlock and repair from octopus support
then write firmware
wait till done
Then proceed to unlocking
insert T-Mobile SIm Card then turn on (sakin gumana khit wlng t-mobile na sim card may nka handa pa nmn ako kung sakali dahil nka sulat sa octopus na kelangan)