[Tool][Script]ADB ScreenShot Solution for making screenshots in Recovery

Search This thread

Whiskey103

Member Advocate Admin / Developer Committee
Staff member
Oke seeing we kinda lost the possibility to use DDMS for screenshots in recovery on latest HTC Devices.
There had to be another way to do this so after few hours of google and making a few bat tests here it is.

It might not work on all devices but you can try and report please.
Confirmed working on One X

I made a zipp (easy run me bat included) containing all the stuff needed to make screenshots in recovery.
Basically its easy and it makes use of files from this project http://code.google.com/p/android-fb2png/
I did not write fb2png, my little script is just using it to make the shots.
Just download screenshot.rar
Extract it and run the screenshot_run_me bat file.

All the bat does is running the following commands
Code:
@echo off
echo ********************************************
echo *                                          *
echo *      ADB-Screenshot Util                 *
echo *      Boot into Recovery                  *
echo *      Plug In USB Cable                   *
echo *      Enjoy ;)                            *
echo *                                          *
echo ********************************************
echo.
pause
echo shell mount /data
adb shell mount /data
echo Mounting /data Done!
echo .
echo push fb2png /data/local/
adb push fb2png /data/local/
echo Pushing fb2png to /data/local Done!
echo .
echo shell chmod 755 /data/local/fb2png
adb shell chmod 755 /data/local/fb2png
echo Setting permissions on fb2png Done!
echo .
echo shell /data/local/fb2png /data/local/fbdump.png
adb shell /data/local/fb2png /data/local/fbdump.png
echo Taking Screenshot by running fb2png Done!
echo .
echo pull /data/local/fbdump.png
adb pull /data/local/fbdump.png
echo Pulling fbdump.png into adb folder Done!
echo .
echo ********************************************
echo *                                          *
echo * You will find screenshot in adb folder   *
echo * named as fbdump.png                      *
echo *                                          *
echo ********************************************
echo.
adb shell sync
adb shell umount /data
pause
But its very useful for example TWRP Themers to show their work without the hassle of using a camcorder or other cam.
screenshotpng.png

And here is a few output samples
fbdump.png


fbdump1.png


fbdump2.png


fbdump3.png


fbdump4.png


fbdump5.png


fbdump6.png


fbdump8.png



XDA:DevDB Information
[Tool][Script]ADB ScreenShot Solution for making screenshots in Recovery, ROM for the Android General

Contributors
Whiskey103

Version Information
Status: Testing

Created 2014-05-19
Last Updated 2014-05-19
 
Last edited:

Whiskey103

Member Advocate Admin / Developer Committee
Staff member

biglil1

Senior Member
May 22, 2012
466
248
Gwinn
Yea, I tried that but also doesn't work on all devices same for the method I use.


Sent from my HTC One X using xda premium

I know you said it's for the HTC but I tried it on my Samsung Galaxy S2. The color is off but at least I'm able to produce a better image oppose to trying to take a descent pic with another device or camera. That's one more device you can add to the list if you'd like.

Thanks again
 

Whiskey103

Member Advocate Admin / Developer Committee
Staff member
I know you said it's for the HTC but I tried it on my Samsung Galaxy S2. The color is off but at least I'm able to produce a better image oppose to trying to take a descent pic with another device or camera. That's one more device you can add to the list if you'd like.

Thanks again

Thx, can you try this version?
http://db.tt/QTV1PDWD

Different version of fb2png, perhaps it fix the colors for you.

Sent from my HTC One X using xda premium
 
  • Like
Reactions: biglil1

biglil1

Senior Member
May 22, 2012
466
248
Gwinn
Just got up I'll give it a go b4 I go to work.

Edit: Gave it a go; it works but the color is still of. I forgot to mention that I was also able to take a screenshot with this outside of recovery.
Thank you for your work I truly appreciated it!


Sent from my SGH-T989 using xda app-developers app
 
Last edited:

Whiskey103

Member Advocate Admin / Developer Committee
Staff member
Just got up I'll give it a go b4 I go to work.

Edit: Gave it a go; it works but the color is still of. I forgot to mention that I was also able to take a screenshot with this outside of recovery.
Thank you for your work I truly appreciated it!


Sent from my SGH-T989 using xda app-developers app

Hum, well iam afraid I can't do much about it at the moment.
The good news, iam in contact with the author of the project and we are looking into the new xrgb stuff.
And yes, it works outside recovery too but it's kinda buggy for me there.

Sent from my HTC One X using xda premium
 

biglil1

Senior Member
May 22, 2012
466
248
Gwinn
Sounds good; I'll be patiently waiting for the next release

Sent from my SGH-T989 using xda app-developers app
 

Primokorn

Senior Member
Nov 17, 2012
11,560
7,754
OnePlus 8 Pro
@Whiskey103
This tool was very useful for me with my previous Note II. I've tried on my Nexus 5.
I didn't have any error message with the .bat file but here is the screenshot I obtained:
115865Screenshot19700123205234.png
 

Bejda

Senior Member
Feb 12, 2011
2,869
1,946
Great tool thanks! :)
I often used it on i9000 (Galaxy S) but noticed recently that it didn't worked anymore at least on Aosp rom since a few CM10.2 nighlties.
Finally it seems adb.exe needs an update,works if replaced with that one for instance:https://app.box.com/s/slwbzi1hw35sv5yr0ss7

---------- Post added at 10:52 PM ---------- Previous post was at 10:38 PM ----------

@Whiskey103
This tool was very useful for me with my previous Note II. I've tried on my Nexus 5.
I didn't have any error message with the .bat file but here is the screenshot I obtained:
115865Screenshot19700123205234.png
Hi compatriot ;) Maybe i'm a little late here but you should use that solution now i guess:
http://xdaforums.com/showthread.php?t=2371035
I use it on i9505,lesser responsive but well..on some occasions with a good sense of timing it's ok.
Same story btw,need to update adb.exe for it works under aosp now.
 
  • Like
Reactions: Primokorn

Primokorn

Senior Member
Nov 17, 2012
11,560
7,754
OnePlus 8 Pro
Hi compatriot ;) Maybe i'm a little late here but you should use that solution now i guess:
http://xdaforums.com/showthread.php?t=2371035
I use it on i9505,lesser responsive but well..on some occasions with a good sense of timing it's ok.
Same story btw,need to update adb.exe for it works under aosp now.
Thanks dude. I'll give a try asap.
I didn't notice thath the other thread was another tool. :cyclops:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Oke seeing we kinda lost the possibility to use DDMS for screenshots in recovery on latest HTC Devices.
    There had to be another way to do this so after few hours of google and making a few bat tests here it is.

    It might not work on all devices but you can try and report please.
    Confirmed working on One X

    I made a zipp (easy run me bat included) containing all the stuff needed to make screenshots in recovery.
    Basically its easy and it makes use of files from this project http://code.google.com/p/android-fb2png/
    I did not write fb2png, my little script is just using it to make the shots.
    Just download screenshot.rar
    Extract it and run the screenshot_run_me bat file.

    All the bat does is running the following commands
    Code:
    @echo off
    echo ********************************************
    echo *                                          *
    echo *      ADB-Screenshot Util                 *
    echo *      Boot into Recovery                  *
    echo *      Plug In USB Cable                   *
    echo *      Enjoy ;)                            *
    echo *                                          *
    echo ********************************************
    echo.
    pause
    echo shell mount /data
    adb shell mount /data
    echo Mounting /data Done!
    echo .
    echo push fb2png /data/local/
    adb push fb2png /data/local/
    echo Pushing fb2png to /data/local Done!
    echo .
    echo shell chmod 755 /data/local/fb2png
    adb shell chmod 755 /data/local/fb2png
    echo Setting permissions on fb2png Done!
    echo .
    echo shell /data/local/fb2png /data/local/fbdump.png
    adb shell /data/local/fb2png /data/local/fbdump.png
    echo Taking Screenshot by running fb2png Done!
    echo .
    echo pull /data/local/fbdump.png
    adb pull /data/local/fbdump.png
    echo Pulling fbdump.png into adb folder Done!
    echo .
    echo ********************************************
    echo *                                          *
    echo * You will find screenshot in adb folder   *
    echo * named as fbdump.png                      *
    echo *                                          *
    echo ********************************************
    echo.
    adb shell sync
    adb shell umount /data
    pause
    But its very useful for example TWRP Themers to show their work without the hassle of using a camcorder or other cam.
    screenshotpng.png

    And here is a few output samples
    fbdump.png


    fbdump1.png


    fbdump2.png


    fbdump3.png


    fbdump4.png


    fbdump5.png


    fbdump6.png


    fbdump8.png



    XDA:DevDB Information
    [Tool][Script]ADB ScreenShot Solution for making screenshots in Recovery, ROM for the Android General

    Contributors
    Whiskey103

    Version Information
    Status: Testing

    Created 2014-05-19
    Last Updated 2014-05-19
    1
    Thank you; this is truly the easiest way to screenshot in recovery!!! I found another method but couldn't get it to work. In the OP at the end b4 the screenshots he lists how he does it. Take a look if interested http://xdaforums.com/showthread.php?t=2216124
    1
    I know you said it's for the HTC but I tried it on my Samsung Galaxy S2. The color is off but at least I'm able to produce a better image oppose to trying to take a descent pic with another device or camera. That's one more device you can add to the list if you'd like.

    Thanks again

    Thx, can you try this version?
    http://db.tt/QTV1PDWD

    Different version of fb2png, perhaps it fix the colors for you.

    Sent from my HTC One X using xda premium
    1
    Great tool thanks! :)
    I often used it on i9000 (Galaxy S) but noticed recently that it didn't worked anymore at least on Aosp rom since a few CM10.2 nighlties.
    Finally it seems adb.exe needs an update,works if replaced with that one for instance:https://app.box.com/s/slwbzi1hw35sv5yr0ss7

    ---------- Post added at 10:52 PM ---------- Previous post was at 10:38 PM ----------

    @Whiskey103
    This tool was very useful for me with my previous Note II. I've tried on my Nexus 5.
    I didn't have any error message with the .bat file but here is the screenshot I obtained:
    115865Screenshot19700123205234.png
    Hi compatriot ;) Maybe i'm a little late here but you should use that solution now i guess:
    http://xdaforums.com/showthread.php?t=2371035
    I use it on i9505,lesser responsive but well..on some occasions with a good sense of timing it's ok.
    Same story btw,need to update adb.exe for it works under aosp now.