If the device does not crash completely (/ system / bin / sh is a dependency for many things, rebooting may not go very far!), And the system partition is still writable, you can use adb push a new copy of bash, where you must install permission bits optionally in the host system before pressing it (you may have to use cygwin or even linux to have permission bits locally)
It looks like the device is rooted, so you can configure or configure the terminal emulator application to give you a session using the sh backup, run the sh backup again as root using some escalation tool, and then fix the problem.
If you have a modified recovery using adb, you could fix it from there by manually installing the (regular) system partition.
The last help will be restored from the image signed by the vendor.
I hope you get awkward, but you may have learned from this experience . Changing the default shell is probably not a good idea. It would be better to load your own shell under a different name and run it manually.
source share