As the other answer states, the source of the initial claim can be traced back as follows:
- Trump's Twitter, which he wrote after a segment of "@OANN I watched"...
- That OANN segment cites..
- An anonymous blog post at "Conservative Treehouse", which itself cites...
- An anonymous YouTube video "Martin Gugino Attempting A Drive-By-NFC-Hack To Obtain Personal Information From The Buffalo Police" and anonymous Twitter thread
The video shows Martin Gugino holding his phone below eyeline and facing it towards the faces of the police. Police have not described this cell phone activity as a provocation.
The Twitter thread is incoherent. It describes how an IMSI (International Mobile Subscriber Identity) number might be captured by standing outside a home and given to the police to help them obtain a warrant. This has nothing to do with waving a phone at police. According to the EFF, cell phone signals can only be tracked by cell towers, or by a "technically sophisticated organization" capable of simulating a cell tower, which would require at the very least a $30,000 device much larger than the cell phone the man was holding.
The video claims something even stranger, that he is capturing the phone's NFC (near-field communication) signal. This is a chip inside modern credit cards and cell phones used for touch-to-pay. The police have not claimed that this man was reading NFC data, and the phone would have to be much closer to obtain such data. Even if such data was captured through a hitherto unknown NFC spy app, it would be the equivalent of the police officer's credit card, not any secret police information.
Both of these technical allegations lack the supporting evidence to be the most plausible theory. The Occam's Razor explanation is that Martin Gugino was pointing his phone at the police because he was filming them; furthermore that the police knocked him over and that he was admitted to the hospital in critical condition, where he remains as of June 11, 2020.
(update) On June 12, 2020 it was announced that Gugino is conscious but has sustained permanent brain damage.