The root of the problem are these cities that keep passing law after law after law and ordering the police to enforce them.
This is why minorities and the poor feel "harassed" by the police. This is why they feel the police are "racist" by enforcing all sorts of laws directed at minorities and the poor more than anyone.
Add to this District Attorneys who want to make a name for themselves and who will falsify evidence, hide exculpatory evidence and use unlimited budgets to bolster their conviction rates.
You have the makings for social strife and targets on the backs of police officers. None of this comes as a surprise.
Do you have an example that you would like to give of a “law directed at minorities and the poor more than anyone”?
Name 3 laws which are targeting blacks or minorities.