FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

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

7,577 posts
Thanks Meter: 13,352
 
By Whiskey103, Forum Moderator/Recognized Themer/Recognized Developer/Portal Supporter on 13th April 2013, 10:35 PM
Post Reply Subscribe to Thread Email Thread
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 01:15 PM.
The Following 9 Users Say Thank You to Whiskey103 For This Useful Post: [ View ]
 
 
14th April 2013, 03:02 AM |#2  
Kameirus's Avatar
Senior Member
Flag Red Bluff, California
Thanks Meter: 2,354
 
Donate to Me
More
cool thanks

nice twrp theme
18th April 2013, 10:56 AM |#3  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 192
 
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, 11:32 AM |#4  
Whiskey103's Avatar
OP Forum Moderator/Recognized Themer/Recognized Developer/Portal Supporter
Flag Tell me, Iím lost . . .
Thanks Meter: 13,352
 
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, 12:07 PM |#5  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 192
 
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, 12:39 PM |#6  
Whiskey103's Avatar
OP Forum Moderator/Recognized Themer/Recognized Developer/Portal Supporter
Flag Tell me, Iím lost . . .
Thanks Meter: 13,352
 
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, 07:51 PM |#7  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 192
 
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 08:35 PM.
18th April 2013, 10:56 PM |#8  
Whiskey103's Avatar
OP Forum Moderator/Recognized Themer/Recognized Developer/Portal Supporter
Flag Tell me, Iím lost . . .
Thanks Meter: 13,352
 
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
18th April 2013, 11:28 PM |#9  
biglil1's Avatar
Senior Member
Flag Westland
Thanks Meter: 192
 
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, 12:05 AM |#10  
cwhitney24's Avatar
Recognized Themer / Contributor
Flag Daphne, AL
Thanks Meter: 4,712
 
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
20th August 2013, 11:05 PM |#11  
Member
Thanks Meter: 5
 
More
Thanks! Worked for i9300.

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

Advanced Search
Display Modes