I have problem with creating screenshot on Samsung Galaxy Young Duos phone - Android 2.3.6.
I use this code for other devices:
adb -s $devi shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > $devi/Screen.png
And this is correctly working on other devices (Samsung Galaxy S3, Asus Nexus 7, Asus ME371MG - Android 4.X)
I tried other variants from this page without success.
There is error "permission denied" on that Samsung Young. Debug mode is set and Testdroid test on this device is able to do screenshots. And SDCard is inserted into this phone.
The reason for "permission denied" is because your Android machine has not been correctly rooted. Did you see $ after you started adb shell ? If you correctly rooted your machine, you would have seen # instead. If you see the $ , try entering Super User mode by typing su .
Android Shell Commands. ADB is Android Debug Bridge which is a command line utility included with Google's Android SDK. It provides a terminal interface to control your Android device connected to a computer using a USB. ADB can be used to run shell commands, transfer files, install/uninstall apps, reboot and more.
Here is solution including how-to document.
https://code.google.com/p/android-fb2png/
i think Lower version of android dosn't have the screen capture facility
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With