If the above code doesn't work, use the "TalkBack" vulnerability (search Google for "Samsung FRP TalkBack trick").