What Transponder code to use flying between Oakland and Hawaii?
Whichever code is assigned to the individual flight by ATC. There isn't a fixed code to use for any one specific route. You might want to see: How does ATC know if you have been assigned a squawk or not?