I have a Nexus 4 with a broken LCD/Digitizer, I have no control via touch at all. The other parts of the phone are functional. Now, what I want to do and hope is possible is to clear the phone and install some Linux distro via Usb. The trick is, I need to be able to control the installation via wifi or USB directly after the upload of the Linux package. After this I want to run it as a dedicated Web server of some sort. I welcome any type of solutions. All I want in the end is to use my phone as a dedicated Web Server which I can control remotely.