I found a lot about /dev/graphics/fb0. It is fast. But It doesn't seems to be working. If i do manually. Neither programmatically. But I am sure that this feature works on my mobile as i have an application that works using same method.
I have tried to change permission. i have root access.
chmod 666 /dev/graphics/fb0
Permission is changed.
But when i try to run command
adb pull /dev/graphics/fb0 /mnt/sdcard/tmp
I tried to redirect input using
cat /dev/graphics/fb0 > /sdcard/frame.raw
I get an error saying
error : device not found.
But nothing works . same error each time. I am testing on gt-i9500.
Can someone guide me what i am doing wrong. Thank you.