- open terminal hit enter below command
- sudo apt-get install android-tools-adb
- sudo apt-get install ffmpeg
- go to android device open setting developer option and allow usb debugging and connect android to ubuntu using usb cable
- open terminal enter -
6. Now wait for sometime 10sec screen will be open successfully