adb for mac?!?! - G2 and Desire Z Q&A, Help & Troubleshooting

how to get adb for mac?!?

jboiii15 said:
how to get adb for mac?!?
Click to expand...
Click to collapse
go here and download and install:
http://developer.android.com/sdk/index.html

And while you are at it, you might as well install fastboot too.
http://developer.htc.com/adp.html

old thread but you might find it useful
http://forum.xda-developers.com/showthread.php?t=502010

Related

ADB reboot how can i do it?

HI , how can i do ADB Reboot for HTC EVO 4 for adb shell
Thanks
Uhh... adb shell reboot? that's it....
Or if you are already in the shell, reboot
Sent from my PC36100 using XDA App
It's just that easy
To clarify:
Code:
adb shell reboot
or
Code:
adb shell
reboot
or even
Code:
adb shell reboot recovery
That one will take you into the recovery environment.
SilverZero said:
To clarify:
Code:
adb shell reboot
or
Code:
adb shell
reboot
or even
Code:
adb shell reboot recovery
That one will take you into the recovery environment.
Click to expand...
Click to collapse
lol, you don't need the shell command to reboot
just
adb reboot
Click to expand...
Click to collapse
or, to get into recovery
adb reboot recovery
Click to expand...
Click to collapse
Oops, my mistake. I knew that, too.
timothydonohue said:
llol, you don't need the shell command to reboot
just
Quote:
adb reboot
or, to get into recovery
Quote:
adb reboot recovery
Click to expand...
Click to collapse
Which version of adb supports that? I'm using 1.0.20 and the command adb reboot just displays the command help.
good to know!
tdusen said:
Which version of adb supports that? I'm using 1.0.20 and the command adb reboot just displays the command help.
Click to expand...
Click to collapse
AFAIK, they all support it. the only reason i can think of that it wouldn't work would be if you haven't loaded the drivers for your device. does
Code:
adb devices
give you a response?
or, perhaps you need to update your sdk? i haven't had a problem with an android device yet, as long as i've kept the sdk updated, and my drivers functional.
of course, that means modifying my rules file on ubuntu, but i only have to do that once. had to do it for the nexus one, and for the evo, because the identifier tag is distinct for each...
on windows it needed drivers. on ubuntu it needed a rule made.
To answer my own question. ADB reboot did not work in version 1.0.20 that came with the android 1.5 sdk. I updated to the 2.2 SDK which includes ADB version 1.0.26. ADB reboot works with this version.

[Q] flashed ICS

ok so i got the leaked ICS flashed on my device and I really like it!
so my question to you all is "what is next?" I am going to want to use cyanogen roms for this when he gets it out so what can I do to get ready to further prepare for that. Like I said all i did was flash ICS and lost root like supposed to. I have not gone in and added bootloader or nothing like that as I am not sure what to do first.
thanks in advance!
sv7007
sv7007 said:
ok so i got the leaked ICS flashed on my device and I really like it!
so my question to you all is "what is next?" I am going to want to use cyanogen roms for this when he gets it out so what can I do to get ready to further prepare for that. Like I said all i did was flash ICS and lost root like supposed to. I have not gone in and added bootloader or nothing like that as I am not sure what to do first.
thanks in advance!
sv7007
Click to expand...
Click to collapse
Factory reset your device, then:
- Root: http://forum.xda-developers.com/showthread.php?t=1531646
- Unlock the bootloader: http://forum.xda-developers.com/showthread.php?t=1557445
- Install CWM: http://forum.xda-developers.com/showthread.php?t=1558595.
thanks friend for the info! I will get started now. I love doing things like this, I just got my tablet yesterday haha
sv7007 said:
thanks friend for the info! I will get started now. I love doing things like this, I just got my tablet yesterday haha
Click to expand...
Click to collapse
Make sure you read through and understand what you are doing before you do it .
Theonew said:
Factory reset your device, then:
- Root: http://forum.xda-developers.com/showthread.php?t=1531646
- Unlock the bootloader: http://forum.xda-developers.com/showthread.php?t=1557445
- Install CWM: http://forum.xda-developers.com/showthread.php?t=1558595.
Click to expand...
Click to collapse
when i go to root the device using method i got it to work but now trying to update Superuser it says it cannot find currently installed su binary.
EDIT:nvm I know what I did....I am going to reflash ICS and then factory reset again and I should be good to go to fully get root
sv7007 said:
when i go to root the device using method i got it to work but now trying to update Superuser it says it cannot find currently installed su binary. what did i do wrong?
Click to expand...
Click to collapse
Install root explorer and try placing the attached file in the /system/bin/ folder (remove the ".c" file extension), then try updating it again.
Theonew said:
Install root explorer and try placing the attached file in the /system/bin/ folder (remove the ".c" file extension), then try updating it again.
Click to expand...
Click to collapse
after the factory reset should i let the device recover everything from my google account app wise before I root?
sv7007 said:
after the factory reset should i let the device recover everything from my google account app wise before I root?
Click to expand...
Click to collapse
Yes.
ok i got root and unlocked bootloader. I am now here
This is where it gets tricky download "url it wont let me post yet" for your OS and extract recovery_thor17_403.img to the root of your platform-tools folder for instance mine is C:\android-sdk\platform-tools
Once completed on your PC open a command prompt as an administrator and navigate to your platform-tools folder from cmd prompt e.g. cd c:\android-sdk\platform-tools and hit enter.
i followed the site dl what i needed but I dont have the c:\android-sdk\platform-tools on my pc anywhere. what do i need for it or is it on my tab.
sv7007 said:
ok i got root and unlocked bootloader. I am now here
This is where it gets tricky download "url it wont let me post yet" for your OS and extract recovery_thor17_403.img to the root of your platform-tools folder for instance mine is C:\android-sdk\platform-tools
Once completed on your PC open a command prompt as an administrator and navigate to your platform-tools folder from cmd prompt e.g. cd c:\android-sdk\platform-tools and hit enter.
i followed the site dl what i needed but I dont have the c:\android-sdk\platform-tools on my pc anywhere. what do i need for it or is it on my tab.
Click to expand...
Click to collapse
This is for your PC. You do not necessarily need the android sdk for it to work. Just place the recovery image in a folder with adb.exe and fastboot.exe, open up a command prompt, then navigate to that folder.
Theonew said:
This is for your PC. You do not necessarily need the android sdk for it to work. Just place the recovery image in a folder with adb.exe and fastboot.exe, open up a command prompt, then navigate to that folder.
Click to expand...
Click to collapse
got it thanks a lot for the help!!!

Link to ZIP with Fastboot.exe and adb.exe

Just reinstalled Windows, can't seem to find the topic which has fastboot.exe and adb.exe as downloads, already have the Universal Naked Driver installed and working.
Anyone care to link me up?
http://forum.xda-developers.com/showpost.php?p=25477039&postcount=1
RoadHazard said:
http://forum.xda-developers.com/showpost.php?p=25477039&postcount=1
Click to expand...
Click to collapse
Thank you so much!

File recovery

Hi, I'm trying to follow theinstructions here:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
I have the SDK installed, the phone is rooted, CYGWIN is installed, etc. But I cannot get ADB to work in Cygwin. It doesn't respond as a command even though I know that the phone can connect using adb. Do you have any suggestions?
psuvette said:
Hi, I'm trying to follow theinstructions here:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
I have the SDK installed, the phone is rooted, CYGWIN is installed, etc. But I cannot get ADB to work in Cygwin. It doesn't respond as a command even though I know that the phone can connect using adb. Do you have any suggestions?
Click to expand...
Click to collapse
ADB (make sure adb.exe is in your path)
Click to expand...
Click to collapse
10chars
psuvette said:
Hi, I'm trying to follow theinstructions here:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
I have the SDK installed, the phone is rooted, CYGWIN is installed, etc. But I cannot get ADB to work in Cygwin. It doesn't respond as a command even though I know that the phone can connect using adb. Do you have any suggestions?
Click to expand...
Click to collapse
Why do you try adb in cygwin? Cygwin doesn't use the cmd of windows so adb won't work.
Sent from my GT-I9500 using xda app-developers app

HELP - full wiped my phone

_-_
phunkie123 said:
I have the latest version of twrp installed in my phone and thats about it.
I am s-off'd and unlocked.
verizion htc one
ran a full system wipe and that wiped out my .zip rom file along with it.
can someone please help me?
Click to expand...
Click to collapse
You can use adb to push a rom file to you phone storage. I found this link that should help you http://htconeroot.com/htc-one-tutorials/how-to-copy-files-to-htc-one-using-twrp-mount-and-adb/
_-_
adb
phunkie123 said:
i can access the TWRP recovery and also the fastboot. however, when trying to run ADB in my computer the device is not listed.
when running the command "adb devices". nothing gets found.
EDIT - also when i get into the ADB sideload section of TWRP, my device stays stuck at "starting ADB sideload feature..."
Click to expand...
Click to collapse
What is your PC's OS.. Where did you get adb and fastboot??
_-_
Fastboot/adb
phunkie123 said:
My PC's OS is windows 7 home premium service pack 1. the fastboot was unlocked through the firewater method. if you mean the android-sdk tools i got them here
developer.android.com/sdk/index.html?utm_source=weibolife
the fastboot still seems to work as i tried re-flashing TWRP. it was successful. but it still just seems to stay stuck at "Starting ADB sideload feature..."
Click to expand...
Click to collapse
Ok do this move everything from the folder platform-tools should be fastboot.exe and adb.exe and a few other files to the root of your c drive....
than open your CMD window as admin... make sure you open as admin... than type
Code:
cd /
to move to the root of you c dirve and then type
Code:
adb
let me know the out come of that....
_-_
phunkie123 said:
sorry for all your trouble! the reason behind my problems was that my computer needed to be restarted to refresh my drivers. i was then able to mount and push my rom through ADB. whew! thanks so much people! im booting up already. no bricks here! thanks to all of you guys!!
Click to expand...
Click to collapse
Great.... Hate to see anyone have trouble with there m7....Thx lj

Categories

Resources