Q:

How to record Android device screen(before KitKat) connected to computer via USB?

I have already searched a lot for an answer over the internet such as this question, but didn't found an answer.
I want to record my Android device's screen connected to computer via USB for some kind of automation thing. I found here that Google has created an utility for this but only for versions starting from KitKat.
Are there any other possible utilities or scripts for Windows computer through which I can achieve what I want to do? It should save the resulting video file either on my device or my computer on which it is connected to.
P.S.- I also found that this can be somehow achieved by using javacv library. But i was unable to compile and run all of its sources, so it didn't worked for me until now.

A:

Try androidscreencast.
Summary: Desktop app to control an android device remotely using mouse and keyboard. Should work on Windows/Linux/MacOS with any android device. 
Features:

Mouse and keyboard control (FOR ROOTED DEVICES ONLY)
Landscape mode (right click)
Video recording <---- No Root required
Basic file browser

Note: Video FPS is low.

