Remote and settings not working and device is not connected to serverr

I tried painting my remote by using mu tv remote like i always do but when i I try to pair it will leave the pairing option, I tried several times so i tried to restart it by going to my device but it will not work!!It will just click but it will go back to the same screen , I even tried to go to references and the same problem occurred, i can enter applications and pairing., i unplugged the device but still the same. now i cannot view the home screen it say the device is not connecte to the server restart it by going to setting my device. How can restart if i cannot go to my device to do so!!? I cannot restart by using the remote i cannot even use my mobile.

Help me please. Is there a solution to this

I cannot buy a new one because its not sold anymore where i live

Help

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0