Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get Screenshot
- (HTC AMAZE is 544x960)
- adb pull /dev/graphics/fb0
- ffmpeg -vframes 1 -f rawvideo -pix_fmt rgb32 -s 544x960 -i fb0 screenshot.png
- ----------------------------
- It’s important to have the correct resolution
- This is my PengPod
- ----------------------------
- sudo adb pull /dev/graphics/fb0
- avconv -vframes 1 -f rawvideo -pix_fmt rgb32 -s 800x480 -i fb0 screenshot.png
- display screenshot.png
- Display Random Static to Screen
- cat /dev/urandom > /dev/graphics/fb0
- Save Screenshot while on Device
- cat /dev/graphics/fb0 > screenshot
- Save Screenshot while on Device
- cat screenshot > /dev/graphics/fb0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement