I just run emacs with termux proot debian.

It just works.