• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to: Screenshot

when i hook up my phone to my comp, and open SDK...it doesnt do anything??? what do I need to do?

Run SDK Setup.exe
Go down to Settings on the left hand side
Check the box that says "Force https://"
Then click on Available packages and download everything.

You don't have to download everything, but I can't think of the specific ones you need.

After you do all that, the usb drivers will be installed and then you go into the Tools folder on your computer and click on ddms.bat.

Another window will pop up and you can click on your device and then go to Screen Capture.
 
Any help here? Can I do it through the command prompt? Thanks.

Code:
adb shell /system/bin/fbtool -d /sdcard/screen.bmp
adb pull /sdcard/screen.bmp screen.bmp

Code:
# fbtool --help
unknown option -- -Usage:
        -b      load a BMP file and draw to current
        -c      fill with color
        -d      dump screen content to bmp
        -h      this help
        -n      which buffer: a=all, 0=auto, 1=1st, 2=2nd:
        -p      put: a=all, 0=auto, 1=1st, 2=2nd
        -q      query:


Hope that helps. You'll need to convert if you want something other than BMP.

eu1

screen.jpg
 
Code:
adb shell /system/bin/fbtool -d /sdcard/screen.bmp
adb pull /sdcard/screen.bmp screen.bmp
Code:
# fbtool --help
unknown option -- -Usage:
        -b      load a BMP file and draw to current
        -c      fill with color
        -d      dump screen content to bmp
        -h      this help
        -n      which buffer: a=all, 0=auto, 1=1st, 2=2nd:
        -p      put: a=all, 0=auto, 1=1st, 2=2nd
        -q      query:
Hope that helps. You'll need to convert if you want something other than BMP.

eu1

screen.jpg


Aloysius??
 
you can achieve this by opening ddms in the android sdk tools. it will open dalvik. you will have to enable usb debugging connection on your phone. from the dalvik ui on the computer select the device menu and then select screenshot.

27zai69.jpg
 
Aloysius??

V12. For now, anyway.

I try to put a little time on each ROM until I get annoyed; this one has lasted a couple days so far, so that's a good sign. (I am sort of surprised I had to set up MMS tho, and I also have a paid app FC that I need to look into.)

eu1
 
erisuser1, and where can I take that "fbtool"?!

evgeny9,

I see it mentioned on XDA in the context of a few HTC phones- evo, tattoo, hero, etc.

So, if you are asking about an ARM binary, you can probably dig it out of a system.img file from a ROM from one of those phones (e.g. an Eris PB00IMG.zip file). Generally, you need to use the unyaffs utility to unpack yaffs2 image files.

That might be only the beginning of your troubles, though - I expect it is dynamically linked, and possibly non portable too.

Good luck!
 
erisuser1, and where can I take that "fbtool"?!

evgeny9,

I see it mentioned on XDA in the context of a few HTC phones- evo, tattoo, hero, etc.

So, if you are asking about an ARM binary, you can probably dig it out of a system.img file from a ROM from one of those phones (e.g. an Eris PB00IMG.zip file). Generally, you need to use the unyaffs utility to unpack yaffs2 image files.

That might be only the beginning of your troubles, though - I expect it is dynamically linked, and possibly non portable too.

Good luck!

eu1,

Good to see you again! :)

By the way, did you see the news that HTC is "officially" allowing the Eris (and lots of other legacy devices) to have their bootloaders unlocked? (doogald just posted a thread).

---------

evgeny9, I extracted the fbtool from eu1's no-radio Flashback ROM for you: View attachment fbtool.zip

MD5 checksums:

fbb947441b45edbe7de2651ccd676451 *fbtool
cd7fd967b1cf1f0f34f3d5dd7b1e1bc1 *fbtool.zip

I tried running it on my Galaxy Nexus and it produces a .bmp file, but it doesn't appear viewable (and it didn't FC -- it displays the help text just fine).

I'm guessing that its configured for the old Eris screen size.

edit: by the way, I'm guessing that this won't work very well on your Samsung Galaxy Ace (if that's the intended device) if the app is oriented / meant for the admittedly very early Android device that is our beloved Eris. But it might be worth a shot...

Cheers!
 
Back
Top Bottom