In almost all cases, your phone, tablet, or even Android TV box can run a Linux desktop environment. You can also install a Linux command line tool on Android. It doesn’t matter if your phone is rooted (unlocked, the Android equivalent of jailbreaking) or not.
Can I replace Android with Linux?
Yes, it is possible to replace Android with Linux on a smartphone. Installing Linux on a smartphone will improve privacy and will also provide software updates for a longer duration of time.
Can you run Ubuntu on Android?
Android is so open and so flexible that there are multiple ways you can get a full desktop environment up and running on your smartphone. And that includes an option to install the full desktop version Ubuntu!