I am not sure if this would work, but I am using a Samsung galaxy on 5 metro PCs phone right now and it is rooted and to root it. Initially I had to flash using Odin on windows, the recovery, the twrp recovery and then, of course, flash with that the super su of program onto it which rooted it...