[Q] How do you take a screen shot? - Galaxy S I9000 Q&A, Help & Troubleshooting

As per title...

If your rooted, use an app like 'ShootMe' that you can get from the market for free, and then you can take screenshots on the move.
otherwise install the android SDK and use DDMS which can be sound under 'tools'
connect your device and choose 'Screen Capture'

Could yo advise where I find the android SDK?

you can also use these easy tools here
http://forum.xda-developers.com/showthread.php?goto=newpost&t=765081

AllGamer said:
you can also use these easy tools here
http://forum.xda-developers.com/showthread.php?goto=newpost&t=765081
Click to expand...
Click to collapse
The manager tool does not take screen shots and the ADB one requires Root.
otherwise install the android SDK and use DDMS which can be sound under 'tools'
Click to expand...
Click to collapse
So where do I get this ?

a simple google of what you want
android sdk
returns this as first result.. http://developer.android.com/sdk/index.html
if ur not comfortable with this, or rooting your device, then your out of luck
note: adb doesnt require root, im not sure what your on about

the ADB for non Geek doesn't require root
ShootMe needs root, but is easier to use

sensi_ said:
a simple google of what you want
android sdk
returns this as first result.. http://developer.android.com/sdk/index.html
if ur not comfortable with this, or rooting your device, then your out of luck
note: adb doesnt require root, im not sure what your on about
Click to expand...
Click to collapse
From the ADB link page
it requires installed AndroidSDK and busybox on phone (so and root)
Click to expand...
Click to collapse
Got the SDK and running now though it was a little in depth to install for a noob. Posted some desktop pics as well so thanks to all who helped.

Sorry folks, this just doesn't cut it.
I am not a newbie to computers. I've been using them for about 25 years now.
Someone's got to come along soon and write a simple app that anyone can download and run AS IS. No special Android development software required or rooting etc.
A simple app that takes screen shots, period.
One that won't void your Samsung warranty.

Related

[HACK] Busybox for HTC Tattoo - CoburnBrew Flavor! :D

This little gem of a phone is a tough little thing to custom install apps on, but that didn't stop the Coburn from being able to get busybox installed.
Therefore, introducing Busybox for your HTC Click/Tattoo!
FOLLOW THIS TUTORIAL CAREFULLY. This guide may brick or NOT brick your Tattoo (most likely the latter), however I cannot assure you that it's 100% fail proof. I have installed it successfully. IN OTHER WORDS: THIS IS NOT FOR THE FAINT HEARTED! IF YOU DO NOT KNOW WHAT 'FLASH','ADB' OR 'HACK' MEANS, PLEASE DO NOT CONTINUE.
Requirements:
1 HTC Tattoo (The Victim)
1 MS Windows Powered Computer (I used Win7 64Bit)
1 HTC Tattoo -> USB Cable (Included with phone... Well, it was in the box).
Download the package attached to this post. Extract all files to a directory like C:\BUSYCLICK . (Actually, please extract them there).
Installation
Connect your Tattoo to your phone, make sure USB Debugging is enabled (Settings -> Applications -> Development) and sit back. Windows should say "New Hardware! OMG!" and ask "What is this piece of tech?" (aka New Hardware Install Wizard). On XP, allow to search Windows Update. On Vista/7, I'm going to have to get back to you on that. The installed driver will be like "HTC Dream blah blah blah ADB Interface" or something. Odd why it says it's a HTC Dream...
Anyway, go to the folder where you extracted the files, and run the Installation.bat file. It's the one that says "Installation" With the cogs icon.
You'll get a DOS Prompt and some text, PAY ATTENTION! My installer will hold your hand and explain what's happening. Should any errors occur, you may be out of space on your Tattoo's internal memory or something. If you do get errors, please post them here! I'll try to fix them for you guys and girls.
Post-install tasks
When complete, run the TestBusybox.bat script in the same folder where you extracted the BusyBox files, and you should get some output. If not, busybox failed to install... Let me know what the error is and I'll try to fix it.
Notes:
You can use the busybox commands in /data/local/bin from "adb shell" or a terminal emulator on the phone itself... /data/local/bin/sh DOES NOT work from adb shell, I don't know why. It will work using a terminal emulator. Try "/data/local/bin/free" and such for some memory read outs, etc, etc.
Feel free to love/like/hate/kill/shoot my work, you can expect to see ROMs and the like in the near future as I love hacking devices.
Cheers,
Coburn64
Ok busybox installed normally...
Do i have root acces with busybox now? I dont see su...
C:\Busybox>adb shell /data/local/busybox ls /data
ls: can't open '/data': Permission denied
I do see /data/local and under tho... including ../bin and ../rights but dont see any use of it...
Coburn Hi, this is a step closer to being root
can be root in busybox?
chmod command does?
thx
Code:
benno.id.au/blog/2007/11/14/android-busybox
chmod command is useless without su...If only su worked
Installed and worked fine, can run busybox but:
it runs with shell privileges
setting setuid bit doesn't solve, because I can chown to root
Do I miss something?
Thanks Really appreciate your work!
Do you have to install the new RUU Click HTC WWE 1.63.405.1 WWE test signed NoDriver first?
coolbits said:
Code:
benno.id.au/blog/2007/11/14/android-busybox
chmod command is useless without su...If only su worked
Click to expand...
Click to collapse
I know friend!
I asked the chmod without adb, or if they could use the chmod as root from the busibox console
leon1984 said:
I know friend!
I asked the chmod without adb, or if they could use the chmod as root from the busibox console
Click to expand...
Click to collapse
All this does is allows you to run more commands from the shell in Android, whereas the standard shell doesn't have many commands built-in. Could be used in conjuction with a root hack.
One step more, but nothing to do with root
I'm starting to believe that Click will never have a root method working because its underused compared with other android devices
MiSSigNNo said:
One step more, but nothing to do with root
I'm starting to believe that Click will never have a root method working because its underused compared with other android devices
Click to expand...
Click to collapse
The next Linux kernel root vulnerability (which works on the Tattoo) should bring us root, as well as other Android devices such as the Eris.
coolbho3000 said:
The next Linux kernel root vulnerability (which works on the Tattoo) should bring us root, as well as other Android devices such as the Eris.
Click to expand...
Click to collapse
What's the new root vulnerability? Is it something that was just discovered?
coolbho3000 said:
The next Linux kernel root vulnerability (which works on the Tattoo) should bring us root, as well as other Android devices such as the Eris.
Click to expand...
Click to collapse
Ok, where to find more info about this? :S
coolbho3000 said:
The next Linux kernel root vulnerability (which works on the Tattoo) should bring us root, as well as other Android devices such as the Eris.
Click to expand...
Click to collapse
I was able to install Busybox on my phone successfully. But the problem is I don't know what it's for. Would anyone be kind enough to post a link or a tutorial for this? Thanks.
sheik_yerbouti said:
I was able to install Busybox on my phone successfully. But the problem is I don't know what it's for. Would anyone be kind enough to post a link or a tutorial for this? Thanks.
Click to expand...
Click to collapse
Busybox just allows you to use more features at the adb shell command line. So, yeah. Heh.
You lost me at 'adb shell command line'. Is that some command line provided by the Android SDK?
sheik_yerbouti said:
You lost me at 'adb shell command line'. Is that some command line provided by the Android SDK?
Click to expand...
Click to collapse
Sorry if I lost you. Let me sum it up: It's a 'feature pack' for Android Developers, which could be used in conjunction with rooting tools.
Coburn64 said:
What's the new root vulnerability? Is it something that was just discovered?
Click to expand...
Click to collapse
zenthought.org/content/file/android-root-2009-08-16-source
This is linked in the other thread...
ivendor said:
zenthought.org/content/file/android-root-2009-08-16-source
This is linked in the other thread...
Click to expand...
Click to collapse
That code is old, and apparently won't work. It won't compile either, Paul from Modaco tried it and it just spat the dummy and gave a make error.
Coburn64 said:
That code is old, and apparently won't work. It won't compile either, Paul from Modaco tried it and it just spat the dummy and gave a make error.
Click to expand...
Click to collapse
That's the code for the old asroot exploit (used in the Hero IIRC). It's been patched in August/09 so it won't affect the kernel in stock Tattoos.
Yeah, that's what I was getting at - the exploit is too old.
We need to either:
1) Get a S-OFF bootloader
2) Find another working root exploit
3) Dig around in the test ROM and extract the SU binary out of that sucker and put it in /data/local on the working ROM.
I think I can do the latter.

Access thru computer (mac os)

What is the simplest way to send commands to my phone (HTC Hero CDMA Sprint) through my computer (Mac OS)?
I haven't explored Android SDK yet. I rooted my phone through Terminal and bash_profile file. I'm interested in:
- how to push .apk's to the device
- how to install a recovery image if my phone can't reboot and there is not a recovery image present
Thanks!
Android sdk is the easiest
-------------------------------------
Sent via the XDA Tapatalk App
What I do is use terminal and cd to the Android sdk/tools folder. After that use the ./adb commands, which there are several tutorials for and own your phone. Hope this is clear, doing it on my phone
-------------------------------------
Sent via the XDA Tapatalk App
What I do is use terminal and cd to the Android sdk/tools folder. After that use the ./adb commands, which there are several tutorials for and own your phone. Hope this is clear, doing it on my phone
Click to expand...
Click to collapse
Sweet. Thanks. I've searched the Android SDK site and it seems that I need other software or plunging such as Eclipse and Java. I'm not ruling these out eventually but know I'm not ready to get in this deep yet to start developing apps or customizing roms. Also, after a Google search all the queries came back with options for rooting your device which I've already done. If there's a good easy tutorial, would you mind posting a link?
-------------------------------------
Sent via the XDA Tapatalk App
When I get home from work I'll find something for you.
-------------------------------------
Sent via the XDA Tapatalk App
joshuaharp said:
Sweet. Thanks. I've searched the Android SDK site and it seems that I need other software or plunging such as Eclipse and Java. I'm not ruling these out eventually but know I'm not ready to get in this deep yet to start developing apps or customizing roms. Also, after a Google search all the queries came back with options for rooting your device which I've already done. If there's a good easy tutorial, would you mind posting a link?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Just download the 2.1 SDK, cd to Android/SDK/tools, and use ./adb, I think it can tell you some commands too.
I made an app to put my phone in recovery using ./adb so I wouldn't need to go through the trouble everytime, I just go to spotlight, type "recovery", and it puts it into recovery.
I might make an app/interface for Mac OS later for ADB commands (recovery, push files, etc)
derekwilkinson said:
Just download the 2.1 SDK, cd to Android/SDK/tools, and use ./adb, I think it can tell you some commands too.
I made an app to put my phone in recovery using ./adb so I wouldn't need to go through the trouble everytime, I just go to spotlight, type "recovery", and it puts it into recovery.
I might make an app/interface for Mac OS later for ADB commands (recovery, push files, etc)
Click to expand...
Click to collapse
That would be awesome dude...
joshuaharp said:
That would be awesome dude...
Click to expand...
Click to collapse
Don't hold your breath though, I have been working a lot, but I might make it in the next few weeks.
The only main problem is that I'm having trouble getting variables to run in the shell script. I think it might be possible with Automator (or AppleScript), but I will keep trying
Well, even though it may not be useful anymore, here are the links, as promised
Rooting guide for mac (What I used and a great way to get familiar with adb on the mac ) http://forum.xda-developers.com/showthread.php?t=581686
And here's an adb tutorial that was put together at the request of toast on the EVO 4G forum. http://forum.xda-developers.com/showthread.php?t=694250

[Q] Half bricked my Htc Hero.

Has anyone not been able to boot into recovery mode on their phone. When I go into ROM manager and try to change ROMS or something it just turns off?
Probably the obvious answer, but have you tried reflashing a recovery?
Yeah If that's when you press the home button, down on the volume and on button at the same time.
HTC_HERO!!! said:
Yeah If that's when you press the home button, down on the volume and on button at the same time.
Click to expand...
Click to collapse
no, reflashing, throught Rom Manager or ADB.
I personally think RM is the devil, it does all the stuff for you so when you run into this problem you crap your pants. Do you have adb and sdk goodies?
I am downloading them right now.
HTC_HERO!!! said:
I am downloading them right now.
Click to expand...
Click to collapse
cool, then once you get it all set up and made sure, it recognizes it, place the recovery.img of your choice to the root of your sd card,
then type in a command prompt
adb shell
# <--- (should get that)
flash_image recovery /sdcard/(file name).img
Ok I have downloaded and Installed Android SDK , Java RE, Java RE JDK. Is there anything else I would need to access the device through SDK?
HTC_HERO!!! said:
Ok I have downloaded and Installed Android SDK , Java RE, Java RE JDK. Is there anything else I would need to access the device through SDK?
Click to expand...
Click to collapse
lol well you only needed the sdk, those other javas are for developing and other such things. but no problem with being overly prepared. but thats all you need.
just follow these steps, http://wiki.cyanogenmod.com/index.php?title=Howto:_Install_the_Android_SDK
Hey coffehandle Thanks for the tips.
I read up on that link you posted, and entered some commands that were posted to and it said, that there's not enough space on the phone. Then after doing som3 research I found out that somehow I had deleted the recovery image binary . Installed that fixed all the issues.
Flashed RockSteady ROM its pretty good. Over clocked to 700mhz. ADW launcher. Right now I'm playing Angry Birds Rio. Thanks to all the people at Xda.
Sent from my HERO200 using XDA Premium App

How do I transfer apps from my pc to my rooted nook touch?

Hello everybody! I have a lot of android apps on my pc and I want to transfer them to my nook, but I don't know if it is possible. If it is, which folder do I drop them off in? I tried to find where the other apps are installed in my nook that I directly download from the android market, but I can't find their location. Please help me out, I really need some of the apps I have and I can't even find them or can't download them directly. Thank you for your time!
psbear532 said:
Hello everybody! I have a lot of android apps on my pc and I want to transfer them to my nook, but I don't know if it is possible. If it is, which folder do I drop them off in? I tried to find where the other apps are installed in my nook that I directly download from the android market, but I can't find their location. Please help me out, I really need some of the apps I have and I can't even find them or can't download them directly. Thank you for your time!
Click to expand...
Click to collapse
Use adb
Code:
adb install myapp.apk
ros87 said:
Use adb
Code:
adb install myapp.apk
Click to expand...
Click to collapse
Thanks for taking your time to help me I really appreciate it. I've run into a problem though. when I try to set up adb it wont find my device in the cmd prompt. I am following these instructions to set up adb: search in youtube "ANDROID SDK Tools (How-To Install)" first video. I get stuck at the part at 6:23 it just says "list of devices attached" and doesn't list anything. I don't know what am doing wrong .
psbear532,
You can use a file explorer program (astro, es explorer, etc), and choose the apk on sd and install it. Just remember to use nookcolortools and de-select and re-select the non-market app box.
I guess it would be easier - I haven't had luck with adb so far...
psbear532 said:
Thanks for taking your time to help me I really appreciate it. I've run into a problem though. when I try to set up adb it wont find my device in the cmd prompt. I am following these instructions to set up adb: search in youtube "ANDROID SDK Tools (How-To Install)" first video. I get stuck at the part at 6:23 it just says "list of devices attached" and doesn't list anything. I don't know what am doing wrong .
Click to expand...
Click to collapse
Assuming you've successfully rooted your NST:
1: Enable wifi on your NST and make a note of the IP address assigned to it.
2: Tell adb to connect to that IP
Code:
adb connect 10.0.0.2
That's it, if adb was able to connect you can now adb push or adb install all you want
---------- Post added at 01:41 AM ---------- Previous post was at 01:39 AM ----------
apeine said:
psbear532,
I guess it would be easier - I haven't had luck with adb so far...
Click to expand...
Click to collapse
Why?, apart from having to download and install the Android SDK, using adb should be straightforward unless you're trying to get it to connect to the NST trough usb.
Ros87,
Maybe that was my mistake. I've always tried using USB :S
apeine said:
Ros87,
Maybe that was my mistake. I've always tried using USB :S
Click to expand...
Click to collapse
Getting adb to work over USB on the NST is a pain in the a**
Some people have reported getting it to work with the Google drivers, but none of them worked for me in W7. Also I'm unable to try it in Ubuntu as I'm running that trough VMware Player and I cannot redirect the USB port properly.
Thank you both so much! Ros87 I got it to work over wifi which I think is even better since now I don't even have to deal with the wire. apeine I didn't try your method since adb worked, but thanks for your time anyway.
ros87 said:
Getting adb to work over USB on the NST is a pain in the a**
Some people have reported getting it to work with the Google drivers, but none of them worked for me in W7. Also I'm unable to try it in Ubuntu as I'm running that trough VMware Player and I cannot redirect the USB port properly.
Click to expand...
Click to collapse
So why don't you install linux on a separate partition?
How does one do this without an SD card? I will be getting one soon, but for now, can I just create a temporary folder on the home directory and install it from there? Does it automatically install to the apps directory?
Thanks!
EDIT: I just figured out how much you can browse with the computer. So...
The simplest method is to just copy the apps to an SD card, insert the card,browse to the .apk location,tap on the .apk file, you will be prompted with an screen asking if you want to proceed to install or just use the adb over wifi method as explained above
I use and app names Airdroid. It allows you to install apps remotely from your computer via wifi.
I have an "apk" folder in my UbuntuOne account, Dropbox should work too.
then i have the app for the service installed.
it works fine for me

[Q] Tons of Trouble with ADB and Fastboot

I'm having a crapload of trouble with adb and fastboot. I've been searching for the last few hours but to no avail. I've downloaded multiple drivers and tried to do everything i can to setup the adb and fastboot. I managed to get the bootloader unlocked and its rooted and usb debugging is enabled. Every time i type "adb devices" into a command prompt it says that adb is not a valid command etc. What the heck am i doing wrong and why is this supposedly simple process so difficult here?? Please help...
Did you use the "cd" command to change the directory to where the platform-tools folder is?
That's assuming you have the Android SDK and Java Dev Kit (JDK) installed already..
Sent from my Atrix HD via XDA-Developers application
pianoman102 said:
I'm having a crapload of trouble with adb and fastboot. I've been searching for the last few hours but to no avail. I've downloaded multiple drivers and tried to do everything i can to setup the adb and fastboot. I managed to get the bootloader unlocked and its rooted and usb debugging is enabled. Every time i type "adb devices" into a command prompt it says that adb is not a valid command etc. What the heck am i doing wrong and why is this supposedly simple process so difficult here?? Please help...
Click to expand...
Click to collapse
Here is installer. Run it under administration mode on windows.
No needs to install the whole android SDK anymore. Enjoy!!
http://d-h.st/FFo
P/s: U still need JDK as Byakko Custom said.
devilsking said:
Here is installer. Run it under administration mode on windows.
No needs to install the whole android SDK anymore. Enjoy!!
http://d-h.st/FFo
P/s: U still need JDK as Byakko Custom said.
Click to expand...
Click to collapse
Ah, thanks so much! That finally got it working after i installed jdk and ran the program. Awesome! time to start flashing!
pianoman102 said:
Ah, thanks so much! That finally got it working after i installed jdk and ran the program. Awesome! time to start flashing!
Click to expand...
Click to collapse
U're welcome
devilsking said:
Here is installer. Run it under administration mode on windows.
No needs to install the whole android SDK anymore. Enjoy!!
http://d-h.st/FFo
P/s: U still need JDK as Byakko Custom said.
Click to expand...
Click to collapse
2 Questions
Does that install the tools in the Windows equivalent of "$PATH" so users don't have to cd to the tools' location.
And do you mind if I link to this in my how-to guide? Credit will be given to you and your team of course.
skeevydude said:
2 Questions
Does that install the tools in the Windows equivalent of "$PATH" so users don't have to cd to the tools' location.
And do you mind if I link to this in my how-to guide? Credit will be given to you and your team of course.
Click to expand...
Click to collapse
Yep. U can do it I'm happy to share this tools with other users :good:
About the location, I set the installation path to C:\Windows so it means that it can be used as an windows services whenever u call it on cmd. No needs to set the location.
For example: If users use command "adb devices", it will work immediately and show the result. However when they want to decompile an apk and put file in a folder named "X", it's needed to use cd command to set the location in cmd to "X" then use adb/apktool/fastboot as normal without having adb/apktool/fastboot files in "X" folder. It helps to define the location of apk file, not the apktool/adb/fastboot.
Hope u can understand my idea =.= Sometimes, my explanation is really not good becoz English is not my mother language
devilsking said:
Yep. U can do it I'm happy to share this tools with other users :good:
About the location, I set the installation path to C:\Windows so it means that it can be used as an windows services whenever u call it on cmd. No needs to set the location.
For example: If users use command "adb devices", it will work immediately and show the result. However when they want to decompile an apk and put file in a folder named "X", it's needed to use cd command to set the location in cmd to "X" then use adb/apktool/fastboot as normal without having adb/apktool/fastboot files in "X" folder. It helps to define the location of apk file, not the apktool/adb/fastboot.
Hope u can understand my idea =.= Sometimes, my explanation is really not good becoz English is not my mother language
Click to expand...
Click to collapse
Thanks.
That's what I thought it did. I was going to do something similar, but I couldn't remember if the correct folder was and I was just too lazy to do the research and find out. I was thinking System32, but its been so long that I couldn't remember.

Categories

Resources