I've owned both a z fold 2 and pro1 in my quest to find the best phone for running emacs and linux.
I got the z fold 2 because one, it has amazing specs, and two, I thought I might be able to use the soft keyboard with emacs runnng in a terminal with termux.
Now let me say, the soft keyboard on the z fold 2 feels amazing, the best I've ever used. I can feel the vibration as I press each key and the tactile sensitivity is wonderful.
However, I ended up returning it because a soft keyboard has several limitations compared to a hard keyboard.
1) Most soft keyboards don't have