Not at all, it's open source project. Just make sure you credit the author and link to the projectLooks great! Would you mind if I implement it into my program? Link is in my description.
Sent from my HTC One X using xda premium
Not at all, it's open source project. Just make sure you credit the author and link to the projectLooks great! Would you mind if I implement it into my program? Link is in my description.
Will do! Thanks manNot at all, it's open source project. Just make sure you credit the author and link to the project![]()
Sent from my HTC One X using xda premium
GNU GPL v2Will do! Thanks man
---------- Post added at 07:10 PM ---------- Previous post was at 06:17 PM ----------
Quick question. I'm making an executable program, and of course it'll be uploaded to Github, but I need to know which license it uses. Thanks.
CyanogenModded Very China-like, from my Samsung Galaxy S III
LG Familyguy59/Beatsleigher
********************************************
* *
* ADB-Screenshot Util *
* Boot into Recovery *
* Plug In USB Cable *
* Enjoy ;) *
* *
********************************************
Presione una tecla para continuar . . .
shell mount /data
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
mount: mounting /dev/block/mmcblk0p23 on /data failed: Device or resource busy
Mounting /data Done!
.
push fb2png /data/local/
2030 KB/s (0 bytes in 259910.000s)
Pushing fb2png to /data/local Done!
.
shell chmod 755 /data/local/fb2png
Setting permissions on fb2png Done!
.
shell /data/local/fb2png /data/local/fbdump.png
bpp : 32
size : 3932160
width : 768
height : 1280
ARGB offset : 0 24 16 8
ARGB length : 8 8 8 8
Framebuffer Pixel Format: 4
Saved to /data/local/fbdump.png
Taking Screenshot by running fb2png Done!
.
pull /data/local/fbdump.png
1890 KB/s (0 bytes in 30240.000s)
Pulling fbdump.png into adb folder Done!
.
********************************************
* *
* You will find screenshot in adb folder *
* named as fbdump.png *
* *
********************************************
Presione una tecla para continuar . . .
********************************************
* *
* ADB-Screenshot Util *
* Boot into Recovery *
* Plug In USB Cable *
* Enjoy ;) *
* *
********************************************
Presione una tecla para continuar . . .
shell mount /data
Mounting /data Done!
.
push fb2png /data/local/
3248 KB/s (0 bytes in 259910.000s)
Pushing fb2png to /data/local Done!
...
Cool. Thanks. I'll post the links here and in my threadGNU GPL v2
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
http://code.google.com/p/android-fb2png/
It's all there.
Sent from my HTC One X using xda premium
You can try to manually mount data and/or system in recoveryHi
I don't have the same result (see attached). Where is the adb folder and do we have to run adb.exe?
Device or recourse is busy happens if you try to mount an already mounted partition.You can try to manually mount data and/or system in recovery
Everything you need should be in the extracted screenshot folder.
Sometimes there is that "device busy" error yes.
Not sure why it happens though.
Sent from my HTC One X using xda premium
Ah. thanks! Didn't think of that.Device or recourse is busy happens if you try to mount an already mounted partition.
Really nothing to care about
Sent from my HTC One X
If you aren't trying this one a One X i have no idea.So what could be the solution?
OK I'll ask a friend to try on his own Note II. Too bad...:crying:If you aren't trying this one a One X i have no idea.
As stated above it works on a lot of different devices just not all.
Seeing your signature i think its not compatible with Galaxy Note
Yea, thought about something already, like check if it's already there etc.I've a little suggestion. As every time the script is executed the tool fb2png is pushed to the device and the screenshot is taken, I should add two actions before pulling the screenshot, in order to delete the temporary files from device:
adb shell rm /data/local/fb2png
adb shell rm /data/local/fbdump.png
Best regards.
echo shell rm /data/local/fb2png
echo shell rm /data/local/fbdump.png
adb shell rm /data/local/fb2png
adb shell rm /data/local/fbdump.png
echo Removing tempfiles, Cleaning Done!
Hey whiskey I would suggest a pause so that people can actually get to see the png image and save it to pc or whatever before it is deleted, currently you don't have a Pause!Yea, thought about something already, like check if it's already there etc.
But figured it wasn't a big deal anyway.
Ow well, can't harm either huh... Will add the removal.
Cleanup AFTER the png is pulled![]()
Edit: added cleanup to the script.
Code:echo shell rm /data/local/fb2png echo shell rm /data/local/fbdump.png adb shell rm /data/local/fb2png adb shell rm /data/local/fbdump.png echo Removing tempfiles, Cleaning Done!
The cleaning is done only in the device, after the file was pulled to the PC, using this command:Hey whiskey I would suggest a pause so that people can actually get to see the png image and save it to pc or whatever before it is deleted, currently you don't have a Pause!
Well the way I see it, it's a tool to get the screenshot from the device.The cleaning is done only in the device, after the file was pulled to the PC, using this command:
adb pull /data/local/fbdump.png
So png image is in the PC already.
However there is something that should be improved, and is the possibility of autorename fbdump.png file on PC side in order to not overwrite it with every execution of the tool.
Ok... I'll try to remember to rename every screenshot taken, before taking another... Too difficult for me because I'm an user... :silly:It's a screenshot util, not a picture manager huh![]()
Ow well, I will try to come up with something.Ok... I'll try to remember to rename every screenshot taken, before taking another... Too difficult for me because I'm an user... :silly:
Thank you. But don't worry too much for this because, as you said, the goal of your tool is to take an screenshot, and renaming it is just a kind of add-on.Ow well, I will try to come up with something.
Might get some unforseen help from Patrics83 but can't promise anything though.