Hint: take screenshot on Google Nexus One

As simple as this (needs a rooted phone):

$ adb pull /dev/graphics/fb0 screenshot.raw
$ dd bs=1920 count=800 if=screenshot.raw of=image.rgb32
$ ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 480x800 -i image.rgb32 -f image2 -vcodec png screenshot.png
This entry was posted in HTC, linux and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>