I would like to offer my two cents worth. I have found that just when you are at your wits end with them, ready to give up and can't take another moment of their awful behavior....that usually is the peak and then you will see things start to turn around a little bit at a time. You are frustrated and he can feel it and not understanding those feelings, so he is lashing out due to HIS frustration of nonunderstanding.
When I was home a lot, I found my birds would act up, or should I say, act out with terrible behaviour. A friend of mine suggested a routine of them going in their cages around lunch time and allowing them their own quiet cage time for a few hours. I tried this even tho I was home most of the day. When I did
ET them out after, they were much more happy, and well behaved. I have continued this routine, they have come to expect it, and seem to need it as a child needs structure in there day. Once they had structure of what to expect, they seemed much happier.
Also, I don't know the history of your bird, but if you are trying to train him with tricks and things, it may be too much stress and that could be why he is acting out as he is. Just let him be a bird and forget about the training and tricks until you have established a better and calmer routine. He needs to be allowed to be himself and respect you and your rules without the added pressure from other things, this could take some time, perhaps a couple of years, but you need to work thru this issue of the biting and attacks before you do anything other than parront him. He is very young, you have a lifetime and he is still developing mentally and emotionally. You still have several sages to go thru before he should be pushed to do things. Terrible twos, and then the hormonal stage...