You can put a Linux in a chroot on most (? all?) Android devices , even non rooted https://www.xda-developers.com/guide-installing-and-running-... and the Moto Z family has a landscape keyboard upcoming https://www.indiegogo.com/projects/physical-keyboard-mod-for... so that should be a contender too, I feel.