I think that keeping the wooden sword is only possible by glitch abuse, which probably even depends on the version of the game you're playing, because newer versions could have the glitch fixed (there was also that famous savestate glitch: if you saved in that room in Kakariko village where you...