the on screen keyboard doesn’t open
Yup, it’s a known bug. You can only use the terminal on Android with an external keyboard, unfortunately
an external, physical keyboard, for example:
I would recommend using Hacker’s keyboard
It is a very light keyboard available on Play Store. There are tutorials of enabling notifications through it on Google.