My son is 12 and in year 7.
He has always been hard work and opposed the rules at home.
At primary and secondary school he has always been well-behaved. He's an intelligent, funny and quite popular lad. He currently claims that I am going to find out on parents' eve that he acts up and gets "yelled at" all the time by teachers who "hate" him. However, the good written reports I've received don't tally with this and neither do all his good behaviour points.
For months we have had a huge homework problem. He refuses to accept that it has to be done. It turns into hours of fuss with him ranting and raving. He tells me and his dad to "fuck you" and starts kicking stuff around. It's quite extreme. This is despite having one or both parents willing to help him. He monologues about how children shouldn't have to go to school and that education is pointless. He claims there should be no rules in society and everyone should do what they like, when they like. I could go on, but it would be a long post.
Yet, during the week, he goes off to school quite happy, gets ready on time without my input, clean and smartly dressed, and comes home saying he has had a nice time with his friends
. I've also noticed he's a lot calmer in the week. It's weekends and holidays he plays up. Lack of structure?!
Eventually he will do his homework but it is hell for us getting him there. It doesn't make him happy either having got himself into a state.
I don't know how to sanction the appalling behaviour WE get because his teachers have asked him to do homework.
I don't want to say "don't do it then" as I don't want him getting into a cycle of getting into trouble at school, then caring less and less each time and just giving up. I've seen this happen to other kids and it's not a good situation.
Anyone got any bright ideas please? Am I alone in this problem?!?! 
We have tried:
- taking away screens
- taking away sweet treats (he's got a sweet tooth!)
- early bedtime
- long discussions about what is going on from his point of view
- long discussions about how we could help him
- ignoring him
- bribery
- getting angry back
- remaining unflappable and calm in the face of all the abuse
None of it gets anywhere.