Hey guys. This is my first Android phone, and I'm trying to get ready to root it. I read the steps by toast in thread 690762 (it won't let me post a link due to "new member restrictions") but can't figure out how to do the adb shell commands. I have downloaded the Google SDK, and also eclipse, and am just utterly confused now. I've never really approached a project like this. Any help would be much appreciated.
yeah i had trouble setting it up also. what os are you using, by the way, some people might give u hell about posting this here.
Windows 7. First time posting in these forums, so I apologize in advance to anyone who may be annoyed with me for posting this here, admins may feel free to move this post to a more appropriate section.
in command prompt type
cd/
cd c:/android-sdk/tools
Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
appreciate the help guys finally got it to work by manully putting adb.exe, adbwinapi.dll, and adbwinusbapi.dll in my windows/system32 folder. took me about 6 hours of googling
thats from my post from a couple days ago, its prolly something with the drivers not being recognized, goto your sdk folder then the tools folder and look for the files and copy and move them to your windows/system32 folder and see if that works. also remember to use administrative access when trying to flash the recovery or really anything. i set mine up to automatically run adb.exe in administrative mode
That did the trick, now stuck on sprint loading animation after flashing stock rooted evo ota update and updated radio image.
Correction: All issues fixed, thanks for your help guys. My EVO is now rooted and running the stock ROM that is rooted with an updated radio.
Related
hello xda!!! been doing alot of reading here and desided that i wanted to be part of the action...with that said...
did some reading on how to get clockworkmod on the mesmerize and have no clue how in gods name to use adb...is there a how to that could help me better understand how to use it and get this on my phone after i have it rooted...soory for the noob question but as you can see. im a noob at this. only phone i have really modded is the samsung acclaim (which btw is a weak phone but good for the noobie droid user) so any help is greatly appreciated. thanks in advance guys and i look forword to helping devs by testing and such
adb, or android debug bridge, is a tool distributed with the android sdk. In current versions of the sdk, it is located in the platform-tools folder, which only appears after you download the sdk tools after downloading the sdk zip itself.
It should be noted that usb debugging needs to be enabled on your device in order for adb to work properly. This can be turned on under: Applications > Development
To use adb, you open up a command window if on windows or a terminal emulator if on linux or mac. Type:
adb <command> [options]
Where command is any one of the commands listed when typing "adb help" and options are things like file names, paths, or other flags.
Common commands include:
pull
push
shell
pull copies a file on your device to your current working directory (or the optional specified location)
push copies a file from your computer onto the device
shell invokes a simple shell on your device allowing you work in a linux like environment on your device
There is a reboot command that is sometimes helpful but that can always be done using the power button on the device.
You will probably only use push and shell.
Examples:
adb shell
adb push update.zip /sdcard/update.zip
Hope that clairifies things a bit.
yes it does sir...so with those commands i can "push" the clockworkmod onto my mesmerize and have that beautiful recovery? the only directions i found where using the adb. if there any way i can screw this up ei: mistyping or will it just say invalid command or something? and again ty for the fast response!!!
you got the thanks for that...lol...im grateful for any and all help
Typos shouldn't hurt. If it's a bad command it just won't execute. If it's a bad filename you may have to clean up a bit (like remove the file that is improperly named or in the wrong directory) but nothing fatal should happen.
alright...i feel a bit more confident that i can make clockworkmod happen when i get my mesmerize and get it rooted...any other suggested mods for spped?
You should install a custom ROM, (I use Super Clean, some people prefer the pick n pack) then a theme you like from the themes and apps section, then install the voodoo lagfix kernel. Everything mentioned can be found in the Mesmerize forum.
yea i seen voodoo but wasnt quite sure what exactly it does. as far as the pick n pack or super clean...could you tell me the difference or does it say it on the page where it was posted and im just blind and didnt see it?
BakedTator said:
yea i seen voodoo but wasnt quite sure what exactly it does. as far as the pick n pack or super clean...could you tell me the difference or does it say it on the page where it was posted and im just blind and didnt see it?
Click to expand...
Click to collapse
Its obvious you didn't read the threads.
Sent from my SCH-I500 using XDA App
ADB is nice and all ..
But there other ways to install and do everything needed to Flash a ROM or Kernel.
How to get ADB up and running.
And a couple other great links for learning more.
http://forum.xda-developers.com/showthread.php?t=502010
http://forum.xda-developers.com/showthread.php?t=872128
If you look in the Clockwork Mod thread here in the Mez forums there are walkthroughs on BOTH ADB method to get CWM working and sans ADB methods.
And again. Always Read.. Read again.. if all else fails.. Read once more.. And ask.. Everyone here is very informative and glad to help when we can.
I knew nothing of Android before I came here and a month later I know enough now to be dangerous.. LOL
skitzo_inc said:
Its obvious you didn't read the threads.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
i did read just havnt read over it several times to see if i have missed anything...just a lil scared of adb because i have never used it before..i have an acclaim and could do everything from the swupgrade flasher for the moment and that made life easy(aint tryin to brick a 600$ phone)
to Sighcosis
thanks for the link...will read over them tonight seeing as my phone will be here no later than Wednesday and i wanna have everything downloaded and ready to roll cause the second i get this phone imma start fashing it and getting everything i want on it...again thanks for all the help guys...now more reading
ok...so im getting my mesmerize today and i have no clue how to get into adb...i got the android sdk and cant find it anywhere...could someone help a noob plz....you can slap me after i get clockworkmod on my mesmerize
Firedog7881 said:
Somebody please correct me if I am wrong.
You do not NEED to have your phone connected to your computer any more as long as you have the right programs on your phone. If you use z4Mod to root your phone, download the application Superuser to give applications SU permissions, install ROM Manager, and then use Root Explorer to move the files into their necessary locations and then use Terminal Emulator to execute the commands.
I have rooted, installed ROM Manager, backed up my ROM, installed the kernel in this thread all without knowing what ADB is.
All applications are available in the Market
z4Mod
Superuser
ROM Manager
Root Explorer ($4)
Terminal Emulator
Click to expand...
Click to collapse
I dident use adb to get it working. Found it faster to use root explorer to place files and then change permissions of the files on system and SD.
Then use terminal to run the command
Sent from my SCH-I500 using XDA App
for people (like me) that aren't good with command prompt adb... you should check this out QtADB (GUI) Based ADB
elijahblake said:
for people (like me) that aren't good with command prompt adb... you should check this out QtADB (GUI) Based ADB
Click to expand...
Click to collapse
WOW, This is nice. Thanks for the link!
You get slap rights.
BakedTator said:
ok...so im getting my mesmerize today and i have no clue how to get into adb...i got the android sdk and cant find it anywhere...could someone help a noob plz....you can slap me after i get clockworkmod on my mesmerize
Click to expand...
Click to collapse
Why does this need another thread.. ?? You already have all the resources in the previous thread you made, which people actively responded to. Certainly you could post any follow up questions there..
dcow90 said:
Why does this need another thread.. ?? You already have all the resources in the previous thread you made, which people actively responded to. Certainly you could post any follow up questions there..
Click to expand...
Click to collapse
sorry bout that...i had info there and didnt get it working so i posted new with a lil more detail...next time i will correct it...again my bad
ok guys....your help made clockworkmod happen for my mesmerize...much thanks...not to the roms!!!
BakedTator said:
sorry bout that...i had info there and didnt get it working so i posted new with a lil more detail...next time i will correct it...again my bad
ok guys....your help made clockworkmod happen for my mesmerize...much thanks...not to the roms!!!
Click to expand...
Click to collapse
I'm not a moderator nor do I run things around here.. don't apologize to me. I was just curious b/c I thought it was kinda funny that you thought you needed two threads d=
1 of the topics was cause I didn't understand adb at all. This one was cause I couldn't find adb in the android sdk.but now I got it all worked out and things are running smooth with pick_n_pack, voodoo 5 and cwm and getting 1800 on quadrant now...all hail xda community!
Sent from my SCH-I500 using XDA App
I was just on the Google Code website and noticed there's a Nexus S ICS 4.0.4 download. After I downloaded a program that reads TGZ format, I saw there is 4 or 5 img files for the bootloader, system and so on.
My question is, if I copied the zip file as it was will this be recognized by the handset and install as expected or will it just screw things up. The reason I ask is, the previous versions I installed were not like this.
Also I noticed there is some Linux shell files which obviously aren't intended for Windows.
Any helpful feedback would be good and reassuring.
OK I think after a little investigation, it seems this only the hardware binaries and not the actual complete android system. Unless somebody can tell me otherwise.
A quick look through the general nexus s forum would tell you what u want to know.
Hmmm......
So in order to ask a question, I have to check whether somebody asked the same one on my behalf.
Granted but I did do a quick check and never seen nothing jumping out at me. So is there any need to be patronising? As it happens I answered my own question. Just because I have less than 10 posts doesn't automatically make me a numpty.
I was not patronizing.
Being that you noticed the page on google code and are here on xda its just frankly common sense to not search but just look at the general forum
I told you where to get the answers man. There is no logical reason to explain it when it was all explained already this weekend on the same forum.
Patronizing by directing you towards all the info you need. Can't make this up.
interpolate said:
I was just on the Google Code website and noticed there's a Nexus S ICS 4.0.4 download. After I downloaded a program that reads TGZ format, I saw there is 4 or 5 img files for the bootloader, system and so on.
My question is, if I copied the zip file as it was will this be recognized by the handset and install as expected or will it just screw things up. The reason I ask is, the previous versions I installed were not like this.
Also I noticed there is some Linux shell files which obviously aren't intended for Windows.
Any helpful feedback would be good and reassuring.
Click to expand...
Click to collapse
http://www.androidpolice.com/2012/0...ady-to-flash-appears-to-be-the-final-version/
Sent from my Nexus S 4G using XDA
Whether or not you were condescending to me or not isn't a concern of mine. Anyway I have the GSM model as I live in the UK. Just need to check near the end of the month I guess.
Just flash these files on bootloader (while phone is connected to PC and its driver is installed and adb is running in cmd)
Fastboot (--blah,blah.....)
Hmmm...
I need to reinstall of those files. As I recently formatted my main drive. Still have hundreds of things to reinstate.
Do we have a working method to root? I have tried jims script and my phone hangs in a boot loop any other luck/methods out there.
Att / atrix2 on the leak jim posted.
Sent from my MB865 using xda premium
I used the root zip from Jim's original ICS leak post, I assume you have the same. When I rooted, I ran the root.bat and waited until it said waiting for device. Then I enabled usb debugging and the rest took care of itself. *Note - The phone will reboot two or three times, but that's normal, and it should be rooted. That's how I did it, and it worked the first time. I hope that helps.
i think the driver on your PC is old, so it is not agree the phone, pls down and setup the update moto driver.
thanhthao2002 said:
i think the driver on your PC is old, so it is not agree the phone, pls down and setup the update moto driver.
Click to expand...
Click to collapse
huh?
in every thread posting an ics leak there is also a link or guide on how to root it make sure you follow exactly what it says and search before making new threads dont need to clog up the forum
in every thread posting an ics leak there is also a link or guide on how to root it make sure you follow exactly what it says and search before making new threads dont need to clog up the forum
Click to expand...
Click to collapse
+1
Sent from my Atari Falcon030
not rooring
41rw4lk said:
I used the root zip from Jim's original ICS leak post, I assume you have the same. When I rooted, I ran the root.bat and waited until it said waiting for device. Then I enabled usb debugging and the rest took care of itself. *Note - The phone will reboot two or three times, but that's normal, and it should be rooted. That's how I did it, and it worked the first time. I hope that helps.
Click to expand...
Click to collapse
i've followed all the steps but everytime
i get the same thing and its not going any further * daemon not running. starting it now *
* daemon started successfully *
i too am having the same problem. in most threads it only reads download zip, run the batch file, phone in debugging mode, etc. but i cannot root it.
*daemon not running. starting it now*
*daemon started successfully*
using windows 7 on my laptop, phone is in mass storage mode and is seen by the laptop. run as user and as administrator produces same effect. but folder at root of c: drive and desktop still the same.
solved it
jspugh said:
i too am having the same problem. in most threads it only reads download zip, run the batch file, phone in debugging mode, etc. but i cannot root it.
*daemon not running. starting it now*
*daemon started successfully*
using windows 7 on my laptop, phone is in mass storage mode and is seen by the laptop. run as user and as administrator produces same effect. but folder at root of c: drive and desktop still the same.
Click to expand...
Click to collapse
download the new moto device manager 2.2.26 uninstall all other moto drivers install this and run root bat again and everything runs smoothly
Do u guys have adb set up
Drivers are here and some other good stuff
http://forum.xda-developers.com/showthread.php?t=1784689
Absolutely cannot get phone working with ADB
Be sure to thank cogeary for the link
Sent from my MB865 using xda premium
thank you, will actually put 2.2.26 on another box which my phone has NOT been on and give that a shot.
---------- Post added at 04:10 PM ---------- Previous post was at 03:50 PM ----------
eddiemc12 said:
download the new moto device manager 2.2.26 uninstall all other moto drivers install this and run root bat again and everything runs smoothly
Click to expand...
Click to collapse
installed 2.2.26 on an old xp box. worked great! thank you, now rooted!
---------- Post added at 04:13 PM ---------- Previous post was at 04:10 PM ----------
chrisn91 said:
Do u guys have adb set up
Drivers are here and some other good stuff
http://forum.xda-developers.com/showthread.php?t=1784689
Absolutely cannot get phone working with ADB
Be sure to thank cogeary for the link
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
downloaded drivers from here, thanks for the link. i had fxz from 2.3.6 to 2.3.5, but that was awhile ago. guess i just needed new drivers.
sent both you guys some thanks, and cogeary as well. no thanks to those other two. i have been following this forum since October 2011 and only recently joined, and that was to give altered some thanks on the awesome work he has done and the help he has given people like myself. i usually search first before asking and don't make many posts, as you can tell. i have seen the amount of ridiculousness in all these threads, and yes, even told other people to use the search. if you don't know the answer, it doesn't help to respond with a "just search" anymore...so just don't post. all those "just search" posts clog our s**t up even more than the stupid posts or threads.
adb out of date error
if you are getting this error, do not do the crazy things that are suggested, just copy the three new files list below in the zip, they are 2012 version and overwrite the ones that were in the root download
sharingan92 said:
in every thread posting an ics leak there is also a link or guide on how to root it make sure you follow exactly what it says and search before making new threads dont need to clog up the forum
Click to expand...
Click to collapse
Sorry but when I post on those threads with a question I get flooded by idiots asking questions there are explained in the first post or later in the thread. So instead of making me look bad why not point you finger at some of the meaning less threads on the DEV side or the other ones in general.
I normally lurk here and have no issues. I provide feedback and important files if I have them. Its people like you who are quick to react that "clog" this place up.
Sent from my MB865 using xda premium
Emoslayer8 said:
Sorry but when I post on those threads with a question I get flooded by idiots asking questions there are explained in the first post or later in the thread. So instead of making me look bad why not point you finger at some of the meaning less threads on the DEV side or the other ones in general.
I normally lurk here and have no issues. I provide feedback and important files if I have them. Its people like you who are quick to react that "clog" this place up.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Did you get it fixed? I have a couple of things for you to try. We had a few other have the same issue as you are, last week with the root script.
Are you using my script that I posted with the leak?
Try and unzip it and put the folder on your desktop or in C:\ and try and run it from there.
Also are you on Windows 7 or XP, if XP that might be an issue, all the exe's that I have included are most likely not 32 bit XP-able. I am not 100% since I did a lot of googling to get them. I just remember that most people that have has success were on Win 7 and did what I mention about unzipping to the desktop or C:\.
Hope that helps. Please let us know.
jimbridgman said:
Did you get it fixed? I have a couple of things for you to try. We had a few other have the same issue as you are, last week with the root script.
Are you using my script that I posted with the leak?
Try and unzip it and put the folder on your desktop or in C:\ and try and run it from there.
Also are you on Windows 7 or XP, if XP that might be an issue, all the exe's that I have included are most likely not 32 bit XP-able. I am not 100% since I did a lot of googling to get them. I just remember that most people that have has success were on Win 7 and did what I mention about unzipping to the desktop or C:\.
Hope that helps. Please let us know.
Click to expand...
Click to collapse
if its any help, i have windows 7 home on my laptop that i usually use with my phone. i used the batch file from your zip. i put it on the desktop, at the root of c, tried running as admin and as user, all to no avail. put updated drivers on an xp box and used your zip again and it worked fine.
jimbridgman said:
Did you get it fixed? I have a couple of things for you to try. We had a few other have the same issue as you are, last week with the root script.
Are you using my script that I posted with the leak?
Try and unzip it and put the folder on your desktop or in C:\ and try and run it from there.
Also are you on Windows 7 or XP, if XP that might be an issue, all the exe's that I have included are most likely not 32 bit XP-able. I am not 100% since I did a lot of googling to get them. I just remember that most people that have has success were on Win 7 and did what I mention about unzipping to the desktop or C:\.
Hope that helps. Please let us know.
Click to expand...
Click to collapse
I will try your script again when I get home. I'll make sure to back up this time I had to reinstall the leak to get it to boot. And I'm running win7 64x, debian, and Ubuntu 12.4. Haha maybe I'll do it off my raspberry pi jk jk
I'll let you know jim. I just built a new PC. Lost all my old data. RAID2RAID only saved a little of my raid0 from my old build. Oh well. Thanks for the quick response.
Also I tried windows 7 64x before with moto drivers and at the time I know my adb was working I have been making apps for a project I have reading from the serial port that my arduino writes to on USB host mode on an Acer tablet.
Sent from my MB865 using xda premium
Emoslayer8 said:
I will try your script again when I get home. I'll make sure to back up this time I had to reinstall the leak to get it to boot. And I'm running win7 64x, debian, and Ubuntu 12.4. Haha maybe I'll do it off my raspberry pi jk jk
I'll let you know jim. I just built a new PC. Lost all my old data. RAID2RAID only saved a little of my raid0 from my old build. Oh well. Thanks for the quick response.
Also I tried windows 7 64x before with moto drivers and at the time I know my adb was working I have been making apps for a project I have reading from the serial port that my arduino writes to on USB host mode on an Acer tablet.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Try it on your ubuntu 12.04, if windows is still giving you issues. I have both an sh and bat in the zip file.
Also the Moto drivers don't really matter since all the stuff I use is lower level (adb, is all you need, with it's drivers that come with the SDK, and I have included for both the windows and Linux in the ICS root zip).
Hey Guys,
I'm having a couple of issues with setting up adb on my Linux Box (Xubuntu 12.04) I downloaded Android SDK and installed Platform-Tools. I've tried most of the methods on XDA but when I "./adb devices" I get nothing. I have a Micromax A87 which is a rebranded version of Mito A78 (Anybody heard of it???).
I would like help with another issue too. I recently got into theming, I edited some .pngs (not 9s) and compiled it, then signed it and zipaligned it but when I put it in /system/app and rebooted, it worked only partially. The one's with the default mode as RGB work, but the one's with the default mode "indexed" didn't. Does Anybody have any Ideas???
BTW, I use Gimp and I change the mode to RGB before editing them.
Thanks in Advance...
JasonKZLY said:
I would like help with another issue too. I recently got into theming, I edited some .pngs (not 9s) and compiled it, then signed it and zipaligned it but when I put it in /system/app and rebooted, it worked only partially. The one's with the default mode as RGB work, but the one's with the default mode "indexed" didn't. Does Anybody have any Ideas???
Click to expand...
Click to collapse
Might be worth reading this before starting another thread - [GUIDE] - XDA New User Guide - Getting started on XDA, I know you're new, you're obviously eager to do something based on your other thread, but keep this in mind, nothing you've got to ask (which so far) hasn't been asked or discussed many a time before, so if themeing is what you want to get into, click the second link in my sig, read it, bookmark it then try and put into practice what it is you're trying to learn, and if at first you don't succeed, starting a new thread to ask a question that you'll probably figure out the answer to whilst you wait for someone to reply with an answer you could have probably found by typing your thread title into Google, isn't going to speed things up or help you learn.
There are some links to using apktool with Linux in my guide btw which should be of help.
THANKS, XPERIENCED!!!
I already read your theming guide and about 5 others on XDA Forums and I decided to get a better understanding of Themes.
I still face an issue, I can't setup ADB! I've tried most of the methods on XDA Forums and everything I can think of, it isn't working. I did use Google, most of them simply don't work. My question is not "How do I set-up ADB on my Linux?", It's "I can't setup ADB, can anybody help me?"
*sigh* Can anybody please help me???
EDIT: Solved it, adb working now!