If your manager doesn’t like you, you should either repair the relationship or try to transfer to a new manager. Managers tend to like the people that make them look better and will find work for them, keeping them off the “naughty list”.
////////
I partially agree with this, @1nnw+19GtMjKS, but the only problem is that there are those managers with whom it is impossible to improve the relationship in any way. I tried and gave up. He was hostile from the day one and nothing ever changed for the better. Until I got laid off.