A new project named Maru promises to provide users with a full Android Lollipop experience on the phone and switch to a Debian Linux distro when connected to a monitor and peripherals. This project is still in the Beta stages.
A phone that is powered by Android and magically transforms into a Linux desktop when connected to an external display has been tried before. It was called Ubuntu for Android, and it was one of Canonical’s earliest attempts at some sort of convergence between the mobile and PC worlds.
Read more at Softpedia Linux News