The only solution I have, every now and then stop and think. Take a brief 30 seconds out of your day and ponder something someone just did for you or someone around you. Whether it be a kind gesture you noticed or some random act you witnessed. You use to be interested in people and fascinated by them. Why? Why are we ever intrigued by things that is not ourselves? For the reason it reminds us, we are not the only person like this. We are not the only intelligent being, or the only person who cares, we're not the only ones who think of others, etc.
We are not the only one walking this path. Most people will continue to annoy you OP. Find comfort in the few that don't, even if for only a moment. I'm married now, we're still newly weds and as any newly weds due, we have our own complications. Sometimes we grow upset with each other on disagreements or the others habits, etc etc. But sometimes I'll simply stop, and remember something my wife did recently and ask myself why did she do that for me? She didn't have to, but she did. That guy at the stop sign could have been an ass hole and went, but he didn't and let me go. Why? That being said OP, be that random person in someone else's life that just says "How is your day going?".
Sometimes I grow frustrated with people, I use to be very patient, I'm not anymore. People annoy me for many reasons and often times it gets me down. I'll never forget I was out for a walk, no particular reason, in a bit of a bad mood, and some random stranger out of the blue turned to me and asked me how I was, genuinely asked me. That simply lifted my spirits. Anyways OP I'm rambling at this point. I hope this helps you in some way Anon. It's 3:30am and I am off to sleep, best of luck to you!