Hate is a genetic component of animals based primarily on tangible differences such as species, colour blah blah. There is no walking out of it - maybe moderation and self control.
Even pre slavery and pre colonial mwafrika were killing each other over petty hate differences like lions over water, food, and well women. Our current facade of hospitality is built over violent reinforcement and some carrot rewards based on how we have treated mzungu and now Chinese. On any fair day we would make mince meat out the mzungu in Laikipia ranches or in these hotels just like Mau Mau did. Those who enforce the colonial love are rewarded like Jomo and friends or brutally finished like Kimathi, so we learn to make hospitable choices.
The problem when institutionalised for decades, centuries and generations, the hate becomes embedded as way of life as with religious, racial and tribal hatreds. Even this there is no easy way as reforming institutions to address the hate means more hate.
In those circumstances, first is to appreciate that hate is largely nothing personal and thus take all the safety precautions as systems put in place measures such as police cam. Even such is not a solution as there are always loopholes as the one where a rational police officer stopping another officer from choking will be disciplined.