I have a rooted n4 with USB debugging enabled. The touchscreen is smashed, totally. There is an image on the screen, but it is not possible to enter any commands via the touchscreen. The device otherwise works normally. I can see what's on the screen, it connects to the wifi, etc.
So, for example Ritesh SMS backup won't work, because it needs me to tap commands on the phone. I tried the following solution http://stackoverflow.com/questions/12266374/backup-full-sms-mms-contents-via-adbhttps://stackoverflow.com/questions/12266374/backup-full-sms-mms-contents-via-adb
but it won't work because the phone pops up saying 'do you want to give adb shell su permissions', I can't tap yes as I can't tap anything...