I know how hard it is when people are giving you suggestions that don't work for you or you see or hear about other babies sleeping all night and u think whats wrong with him. You start counting the weeks and months that you haven't been able to sleep properly or do anything u wanted and u feel like he's ruining ur life. You feel angry the sec he starts crying coz ur so tired already and got no energy. People usually suggest about seeing a doctor about post natal depression or therapy etc which I'm not saying that you shouldn't but in my personal experience nothing worked till I changed my mentality. Until I told myself this is my baby he deserves the best from me even if I'm knackered I need to treat him right. When I felt like I was getting angry I reminded myself shouting at the baby doesn't resolve anything. If I lose my temper act ratty with him, its a downward spiral he'd cry more and won't sleep for longer. I'd pick a toy to show him, put summin on my phone even at 3 in the morning, make silly noises, sing just to distract myself from getting angry. Reminded myself he belongs to me he's my most important and precious thing and I need to give all my love and protect him from my own anger. Even if I can never sleep, eat or do anything I want like before.
This may sound like a lecture but just remember that this is a phase. Even though its been going on from a long time and may feel like its never gonna end it will! There's no time frame but he's not always gonna ne sleeping in ur lap and keep u up all night. Hes still very young, very vulnerable and totally relies on you. There's nothing more personal than a mother/baby relationship, he's a part of u.
It is very hard but you need to find the strength and will power within urself. Please please don't leave him on his own to cry (unless u feel like u might hurt him in anger) or shout at him as u will feel horrible horrible about it in the future even if it seems justified doing it right now.
Its gonna sound silly but just imagine u are him ur the baby and u have no idea that ur parents r exhausted u just want ur mum u want that comfort from ur parents. Imagine how horrible and scared ud feel if just left to cry on ur own. I know sometimes u feel helpless but please try and don't be ratty with ur baby.
Get ur husband to help as much as possible even if it means u go out of the room and make urself a cup of tea whilst he holds the baby. Whenever u feel like ur getting angry just look at his face, sometimes u feel more angry seeing them cry. But focus on how he trusts u, how his eyes light up when he thinks that u gonna pick him and falls asleep on u and the disappointment and worry on the face as u walk away from him. Its not easy especially when the baby is getting older and heavier but if they keep crying in 1 position, doing a little walk from even 1 room to another calms them. Course u cant keep doing it but put something on ur phone like cocomelon or some lullaby to soothe him. The more stressed u get baby picks it up in ur mannerism and cries more coz they scared. If u hold back ur anger and remain calm they stop crying sooner and it becomes possible that u can sleep bit more.
Also when u think u might hate him or why did u even have him just think that ur baby loves u more than any1 else does. They don't care what u look like, what u wearing, what u smell like, they want u and trust u so focus on those things. I'm sure u will get through this.