Control Android with broken screen from PC
adbcontrol can do this. It opens a window containing the phone screen on your computer, so you can use it when the phone screen is broken, and you can click and type in the window to control the phone. To install adbcontrol do:

wget http://marian.schedenig.name/wp-content/uploads/adbcontrol.zip
unzip adbcontrol.zip


Now edit config.properties and change:

adbCommand=/your/path/to/adb
localImageFilePath=/home/youruser/adbcontrol_screenshot.png


Save config.properties and run java -jar adbcontrol.jar which will open a window to remote control your phone. Make sure that adb works (adb shell opens a shell), and that the phone is awake so the screen is on (even if it's cracked/broken) otherwise you'll just get a black window.