• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

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

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,006
20,407
113
43
Tell me, I’m lost . . .
www.whiskey103.nl
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.

And here is a few output samples

















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

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,006
20,407
113
43
Tell me, I’m lost . . .
www.whiskey103.nl

biglil1

Senior Member
May 22, 2012
466
248
0
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

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,006
20,407
113
43
Tell me, I’m lost . . .
www.whiskey103.nl
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
0
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

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,006
20,407
113
43
Tell me, I’m lost . . .
www.whiskey103.nl
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
 

Primokorn

Recognized Contributor / Themer
Nov 17, 2012
11,409
7,667
113
@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:
 

Bejda

Elite Member
Feb 12, 2011
2,869
1,946
0
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:
Hi compatriot ;) Maybe i'm a little late here but you should use that solution now i guess:
http://forum.xda-developers.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

Recognized Contributor / Themer
Nov 17, 2012
11,409
7,667
113
Hi compatriot ;) Maybe i'm a little late here but you should use that solution now i guess:
http://forum.xda-developers.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: