Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,443 Members 38,803 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Whiskey103
Old
(Last edited by Whiskey103; 14th April 2013 at 01:15 PM.)
#1  
Whiskey103's Avatar
Forum Moderator Recognized Themer Recognized Developer - OP
Thanks Meter 11117
Posts: 7,001
Join Date: Jun 2010
Location: Euphorie's arms :)
Default [Tool][Script]ADB ScreenShot Solution for making screenshots in Recovery

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:
Select 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
The Following 9 Users Say Thank You to Whiskey103 For This Useful Post: [ Click to Expand ]
 
Kameirus
Old
#2  
Kameirus's Avatar
Senior Member
Thanks Meter 2134
Posts: 5,698
Join Date: Feb 2010
Location: Red Bluff, California

 
DONATE TO ME
cool thanks

nice twrp theme
Current Phones
AT&T LG G2///06/28/2014[LG G2 D800● KK 4.4.4][SOKP》》SONIC OPEN KANG PROJECT][AIO][Weekly Builds]
AT&T Pantech Flex///


Tablet
Nexus 7 (2012) 32gb///06/26/2014[ROM] [4.4.4] [OFFICIAL] LiquidSmooth v3.1 Beta - Grouper


Retired Phones for modding or get rid of
2 HTC HD2s
AT&T Samsung Galaxy S4 Active/sold
 
biglil1
Old
#3  
biglil1's Avatar
Senior Member
Thanks Meter 144
Posts: 300
Join Date: May 2012
Location: Westland
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://forum.xda-developers.com/show....php?t=2216124
The Following User Says Thank You to biglil1 For This Useful Post: [ Click to Expand ]
 
Whiskey103
Old
#4  
Whiskey103's Avatar
Forum Moderator Recognized Themer Recognized Developer - OP
Thanks Meter 11117
Posts: 7,001
Join Date: Jun 2010
Location: Euphorie's arms :)
Quote:
Originally Posted by biglil1 View Post
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://forum.xda-developers.com/show....php?t=2216124
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
 
biglil1
Old
#5  
biglil1's Avatar
Senior Member
Thanks Meter 144
Posts: 300
Join Date: May 2012
Location: Westland
Quote:
Originally Posted by Whiskey103 View Post
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
Old
#6  
Whiskey103's Avatar
Forum Moderator Recognized Themer Recognized Developer - OP
Thanks Meter 11117
Posts: 7,001
Join Date: Jun 2010
Location: Euphorie's arms :)
Quote:
Originally Posted by biglil1 View Post
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
The Following User Says Thank You to Whiskey103 For This Useful Post: [ Click to Expand ]
 
biglil1
Old
(Last edited by biglil1; 18th April 2013 at 08:35 PM.)
#7  
biglil1's Avatar
Senior Member
Thanks Meter 144
Posts: 300
Join Date: May 2012
Location: Westland
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
 
Whiskey103
Old
#8  
Whiskey103's Avatar
Forum Moderator Recognized Themer Recognized Developer - OP
Thanks Meter 11117
Posts: 7,001
Join Date: Jun 2010
Location: Euphorie's arms :)
Quote:
Originally Posted by biglil1 View Post
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
Old
#9  
biglil1's Avatar
Senior Member
Thanks Meter 144
Posts: 300
Join Date: May 2012
Location: Westland
Sounds good; I'll be patiently waiting for the next release

Sent from my SGH-T989 using xda app-developers app
 
cwhitney24
Old
#10  
cwhitney24's Avatar
Recognized Themer / Contributor
Thanks Meter 4566
Posts: 3,889
Join Date: Jun 2011
Location: Hoover, AL

 
DONATE TO ME
Great work. Thanks man! Now to get back to making recovery themes.



Sent from The Bacon Pope's Galaxy Note 2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes