Are you talking to him as you come in, so he knows you're coming? If you're carrying feed when you enter, make sure it's in a noisy bucket (or a treat can) that you can shake, like a rattle. Once all the chickens associate that noise with food, you should have no problem diverting their attention to "eats" as you enter. As a bonus, if they ever get out, they'll follow that shaking bucket anywhere ... for an easy catch!Ya
I got zapped again this evening full force when I entered the coop for dinner. But then I went in again before roosting and I was "allowed" to sit on the block and talk to them. Just crazy! Wish I could enter without him being in the coop, put out the food, then settle down on my roost before he comes it. It's when I enter that he goes after me!!!
i get the "Not by the hair of my chinny, chin, chin" reaction. I have a Silkie that I can't always trust to let me in the door, either. He's not vicious, just always testing (and not too bright!) Just like with your roo, it's that first moment or two when I invade his space that sets him off. Once I've taken a few steps right at him - not threatening, just letting him know that HE has to move, not me - he's fine.
I also carry a flat-bladed, child's plastic snow shovel with me. It's not for protection. I use it to scoop bedding away from doors and to clean up under roosts ... but it does come in handy as a barrier, if I need it. I don't swing it at him; I just plant it in front of me so he has to go around it. That is usually enough to side-track him.
It sounds like you're making progress. He didn't get defensive overnight, so it'll take a while to unlearn the behavior. Patience, patience, ... and a little blue shovel!