Yea dude I'm sure. When I was on 3.5 and I changed my kernel power shutter is still working. Now you said you're on stock rom and it's working.
Sent from my GT-I9000 using Tapatalk 2
try install camera.apk from base3.x.zip file (you will find in app folder)