Is it possible to run any sort of hardware diagnostics through ADB I have a Samsung Galaxy S4 that I had for a little over months before getting caught outside in a serious rainstorm. As I was pulling the battery out of the phone, I noticed the screen flicker. I pulled the battery and left everything in rice for a few days after the fact. Upon powering up, it appeared that the phone was still working, except for the display. It would buzz when I got an email or a text, and it would ring when called.

I'm fairly certain that my problem is simply that the LCD and/or digitizer has gone bad. I've found the replacement parts that I need to replace those, but before I drop the cash on it, I'd like to know for sure that everything is else is working as it should (camera, IR, wifi, etc).

I've found a couple of apps that do hardware diag, but since I can't really interact with the device, they aren't a lot of good to me. Does anyone know if there is any sort of hardware diagnostic that can be run through the ADB shell?
Investigating in this issue, we already have a lot of broken screen questions providing some clues:


You could hook your device to your TV screen via HDMI. This should mirror its (invisible) screen. Of course this would require your screen at least to respond to touch events.
AirDroid might provide some help, as it allows to manage your device for many things, and also advertizes to stream the screen of your Android in nearly real-time
You could use some VNC server, and start it via ADB as described in Broken Screen + Using adb shell to run vnc server


The latter obviously was the solution fitting you best, as you reported having done exactly that with VMLite VNC server. Not the cheapest solution (this app comes for about US$ 8) – but certainly cheaper than paying off a tech :)