Solution 2: Recover data from Broken Screen with FoneCope Android data extraction. but in Moto G5s plus it showing 'No nearby devices were found. When screen mirroring, your phone’s screen will be blank, but you can swipe the screen or press the side key to use it normally.
It is common that screen mirroring not working on Samsung TV.