Here's the issue that lots of people fail to understand. Once it's figured out, a lot of fixes can happen.
The "Police" are departments of city/state politicians. "Sheriff" is an elected offices for a county.
The current dialogue of "the police are doing XYZ" is extremely stupid and unproductive. The reality, "mayors/councilmen/governors/politicians are telling police to do XYZ".
Within a county, the sheriff has the highest law enforcement jurisdiction below the US Marshal cowboying in and taking away their badges. They can even arrest FBI, ATF and ignore Fed requests in general (limitations to this, especially due to paperwork, but the legal right is there). This is why you get plenty of Sheriffs saying, "I and my deputies will not enforce XYZ law".
Why?
Because the Sheriff reports directly to "the people" of the county. He/she is an elected official. Sometimes, they're not even prior law enforcement. But they have a direct dialogue with their voter base (most of the time) because they have a rather direct cause/effect of their time in "office". Also why it's called a Sheriff's Office instead of department (when people know what they're doing... some states are weird/dumb).
The "police" report to the politicians of their jurisdiction.
When certain mayors say, "The police are doing naughty things"... dude... they're on the mayor's orders. The chief can be instantly booted out by the mayor. "It's a travesty that police are overly patrolling certain sectors". YOU APPROVE THE SECTORS AND MADE THE LAWS FOR THEM TO DO SO! "The cops shouldn't be funded through forfeiture/tickets/etc." The politicians are the ones who put that system in place! Police don't make laws, they enforce them according to their hiring governing body... their city/town.
Please, people of the USA, for the love of all things good, learn about your local politicians and vote. Quit this crap of these mayors acting surprised and shifting the blame to the police. The politicians are the ones telling them what to do. Stop being surprised and ignorant.
In the end, the public is to blame for, "Politicians have our best interests at heart if we don't pay attention to what they're doing." I don't care what party you belong to, it's your responsibility to keep a politician in check, no matter their party as well.