Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Whiskey103

13th April 2013, 11:35 PM   |  #1  
Whiskey103's Avatar
OP Forum Moderator Recognized Themer Recognized Developer Portal Supporter
Flag Tell me, I’m lost . . .
Thanks Meter: 11,987
 
7,313 posts
Join Date:Joined: Jun 2010
Donate to Me
More
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 by Whiskey103; 14th April 2013 at 02:15 PM.
The Following 9 Users Say Thank You to Whiskey103 For This Useful Post: [ View ]
14th April 2013, 04:02 AM   |  #2  
Kameirus's Avatar
Senior Member
Flag Red Bluff, California
Thanks Meter: 2,293
 
5,848 posts
Join Date:Joined: Feb 2010
Donate to Me
More
cool thanks

nice twrp theme
18th April 2013, 11:56 AM   |  #3  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 178
 
337 posts
Join Date:Joined: May 2012
More
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: [ View ]
18th April 2013, 12:32 PM   |  #4  
Whiskey103's Avatar
OP Forum Moderator Recognized Themer Recognized Developer Portal Supporter
Flag Tell me, I’m lost . . .
Thanks Meter: 11,987
 
7,313 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by biglil1

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
18th April 2013, 01:07 PM   |  #5  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 178
 
337 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by Whiskey103

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
18th April 2013, 01:39 PM   |  #6  
Whiskey103's Avatar
OP Forum Moderator Recognized Themer Recognized Developer Portal Supporter
Flag Tell me, I’m lost . . .
Thanks Meter: 11,987
 
7,313 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by biglil1

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: [ View ]
18th April 2013, 08:51 PM   |  #7  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 178
 
337 posts
Join Date:Joined: May 2012
More
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 by biglil1; 18th April 2013 at 09:35 PM.
18th April 2013, 11:56 PM   |  #8  
Whiskey103's Avatar
OP Forum Moderator Recognized Themer Recognized Developer Portal Supporter
Flag Tell me, I’m lost . . .
Thanks Meter: 11,987
 
7,313 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by biglil1

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
19th April 2013, 12:28 AM   |  #9  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 178
 
337 posts
Join Date:Joined: May 2012
More
Sounds good; I'll be patiently waiting for the next release

Sent from my SGH-T989 using xda app-developers app
19th April 2013, 01:05 AM   |  #10  
cwhitney24's Avatar
Recognized Themer / Contributor
Flag Hoover, AL
Thanks Meter: 4,711
 
3,976 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Great work. Thanks man! Now to get back to making recovery themes.



Sent from The Bacon Pope's Galaxy Note 2

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes