Gain (remote) control of Samsung Galaxy S3 with broken display
I faced the same situation and solved it: I got another i9300 and used the touchscreen of the good one to install whatever needed -  I rooted the broken phone, installed kodi to use it as a media player and connected the phone to my TV screen via hdmi. I also installed a ssh server and now have everything my raspberry pi has but have a more powerful device. Th second i9300 is not needed any more and will be given to my cousin :-)