[Tips] : Poor's man screen capture using adb
Most of the time I am using Android SDK's ddms for screencapturing. Based in this link, we can use adb to pull framebuffer image content, and convert it to png or any standard file format.
$ adb pull /dev/graphics/fb0
$ ffmpeg -vframes 1 -f rawvideo -pix_fmt rgb32 -s 544x960 -i fb0 fb0.png
I am not using dd
to create correct raw file size, but, ffmpeg can sort them out, without any problem.
The key is the resolution for RAZR, which is 544x960
Here I attached the screenshot which I made using this method.
Note: I changed the launcher to stock Android Launcher2, it brings the 'Nexus One' feels.
Current: Motorola RAZR XT910, PHAsia (SEAOP), rooted stock.
Tablet: Nexus 7 (16GB) Vanilla stock,.
Was: Google Nexus One, boot unlocked + rooted, Asus Transformer TF101