Easy Rooting on a Mac with SW update applied? - EVO 4G Q&A, Help & Troubleshooting

So, I have had an EVO since day one, loving it, but have held out on rooting, especially since I am on a mac, and applied the recent SW updates.
I have read most of the threads on how easy it is on a windoze machine, but can't seem to find any easy, step by step instruction for doing it on a mac..
Am I a douche, or did someone post detailed instructions for this already?
I JB'd all my Iphones, and am an advanced geek, so I am not afraid to try anything..
thanks all!

This method should work for you, provided you know some adb basics. Both are linked below:
forum_xda-developers_com/showthread_php?t=718889
forum_xda-developers_com/showthread_php?t=694250
Edit: Sorry, I cant post links. Replace the _ with . please!

I rooted my evo on my mac. Just download the android sdk for mac. Copy the files that you need to your memory card as it says in the guide. Then open a terminal, type cd and then drag the tools folder from the sdk to your terminal. You should be in the tools directory on your terminal. Then just drag the adb file from the tools directory to the terminal. Now you can use adb commands. I followed the windows guide. It works the same way. There is no need for adb drivers to be installed. It just works on mac. Hope that helped. Sorry, I'm not the best at explaining things.

Section 5 from this guide may be an easier read.
forum_xda-developers_com/showthread_php?t=721055
Where he says paste "adb-windows shell" just paste "adb shell" instead and it should work. I don't have a mac so im not positive tho :/

./adb shell

thanks guys, these are good tips!

Related

Rooting on a Mac OS

Is it possible to complete the whole process on a mac? I don't have a PC.
i found this.
http://www.droidfilez.com/Evo4GRoot.html
dont know what it is/how it works though.
proceed at your own risk.
yes, all you need to root is adb!
download the adb sdk for mac and use the terminal app in utilities to execute adb commands
after you set up the sdk execute the commands, like the examples :
./adb devices
./adb shell
./adb push
just follow the guides to root and wheerever it says to use adb use ./adb instead because your on a mac.
hope you got the jist of what im saying
i wouldnt use the above post "automated rooter" just yet... you're new to this, you should research mroe about the automated rooter and if it does what it says it does. wait till it comes up on xda?
EDIT : follow the guide that waterboy100 posted below if you want to do it without adb. i would encourage you to learn adb though as its simple and will help you learn more about rooting in the long run.
this guy should have a post up soon too
http://forum.xda-developers.com/showthread.php?t=701152
chim4ira312 said:
yes, all you need to root is adb!
download the adb sdk for mac and use the terminal app in utilities to execute adb commands
after you set up the sdk execute the commands, like the examples :
./adb devices
./adb shell
./adb push
just follow the guides to root and wheerever it says to use adb use ./adb instead because your on a mac.
hope you got the jist of what im saying
i wouldnt use the above post "automated rooter" just yet... you're new to this, you should research mroe about the automated rooter and if it does what it says it does. wait till it comes up on xda?
EDIT : follow the guide that waterboy100 posted below if you want to do it without adb. i would encourage you to learn adb though as its simple and will help you learn more about rooting in the long run.
Click to expand...
Click to collapse
I am downloading the sdk now and I am interested in this. I have the 1st root completed and I am trying to get the second section done and I am having a hell of a time :/
you can totally do every rooting ability in Mac. I got a hackintosh and downloaded the ADB kit and just plug in the phone and ADB recognized in an instance. No need to install driver like Windows.
I just did the rull NAND unlocking with root on my Mac.
Awesome I downloaded the files and I'll try doing it today. I wanted to remove some Sprint Apps and maybe flash a ROM later one when the builds become more solid and bugs get worked out.
By the way I'm playing Pocket Empires to kill time and it's pretty cool. If I root will I have to start the game all over again?
i've done everything on my mac...works great!
I'm lost as hell. I found this thread:
http://www.androidpolice.com/2010/0...-write-permissions-to-system-incredible-next/
I did the unrevoked thing and I see this icon called SuperUser Permissions in my app list.
Am I able to proceed and fully root or do I have to re-do the root with the Toast method? This looks too complicated and by the way I tried the ./adb thing on my mac and I get errors saying "No such file or directory".
im trying to push the pcimg to sdcard and its saying access denied
Why do you guys say "Oh, I did it on my mac" without saying HOW you did it on your mac? Regular instructions dont work so you obviously did something special to make it work... I keep getting permission denied BS
Here you go dude. Step by step instructions along with the download links. I followed this to the T and it worked out find for me:
http://forum.androidcentral.com/htc-evo-4g-roms-hacks/17766-how-full-root-evo-4g-mac.html

my G2 is root proof.

Ive tried the black prince video, the unlockr method and the original xda perm root guide and my G2 will not perm root. Seriously need some help.
do you have adb and sdk installed?
>
no such thing!
its just smarter than you (;
lol
it is funny that you mention the black prince video, because that is what i used. im not sure, but i followed that video exactly and got it my first try. just watch the video very carefully, and follow EVERYTHING that he does and it should work. if not, then i am really not sure. obviously, you just need "S-off"
Are you using Visionary ? I would suggest the rage method, IMHO it's a lot more reliable and you can see if anything goes wrong because you're using individual commands.
i know its possible because I rooted my friends G2 just days before I got mine. I don't have adb, to be honest as soon as i see that it takes more than just installing a program on my pc, i flee, and its not because im new to android or rooting or anything like that, i just don't have a whole lot of spare time. And i DO have S-OFF. Like ill do everything in the blackprince video, then after I'm done I'll got and test the root by typing SU in terminal, and it says permission denied. Or for any of the other methods, same thing.
Now if someone could give me a REAL WALK THROUGH on how to do it in ADB and not just assume I already know how to use it and use vocabulary I don't understand because I've never used the program, i would be willing to try that method. It's just all the walkthroughs for ADB ive found just assume I've already used it before and know how to use it.
adamtheindien said:
Now if someone could give me a REAL WALK THROUGH on how to do it in ADB and not just assume I already know how to use it and use vocabulary I don't understand because I've never used the program, i would be willing to try that method. It's just all the walkthroughs for ADB ive found just assume I've already used it before and know how to use it.
Click to expand...
Click to collapse
Download HTC Sync from the HTC website (look in the downloads section), and install that on your PC. That'll give you all the USB drivers you need.
Download the Android SDK from http://developer.android.com/sdk/index.html and install it on your PC. Be sure to read the guide on installing it at http://developer.android.com/sdk/installing.html
Plug your phone in to your PC using the original HTC cable (do not use a third-party cable for this) and type "adb devices" at your PC's command prompt, and tell us if it can see your phone. It should show up your phone's serial number (don't tell us exactly what that is, this is a public forum), but if there's an error then we need to sort that first.
Edit - partially prompted by this request, I've started an "adb for Noobs" guide (very much a work-in-progress) at http://forum.xda-developers.com/showthread.php?t=865685
installed htc synce, sdk, jdk for sdk, went into command prompt, typed adb devices, said adb was recognized as any kind of command.
and thank you for starting that guide, definitely something that needed to be done.
http://www.youtube.com/watch?v=A1SOSXwkc_8
adamtheindien said:
installed htc synce, sdk, jdk for sdk, went into command prompt, typed adb devices, said adb was recognized as any kind of command.
and thank you for starting that guide, definitely something that needed to be done.
Click to expand...
Click to collapse
when you type adb devices does it recognize your device?
Super easy way.... http://forum.xda-developers.com/showthread.php?t=834228 just copy paste the codes.
Your phone might be s-off, but not allowing you to do any su commands. Mine was, but I just installed rom manager and it flashed clockwork recover no problem, then I flashed cyanogen and everything was good. Go into hboot and just make sure it says s-off, then do the rom manager bit. Try it and see if it works.
no it doesnt do anything. just says its not a command. and ive already looked at that link, i'm already lost when it tells me to navigate to a folder in a command window.
yeah, but i cant use rom manager since i dont have super user permissions. do i just temp root then try to install a rom? that seems sketchy. haha.
Earlier you said that you have S-OFF. If this is the case, then just open up Market and download Superuser by ChainsDD. Then you should be good to go.
adamtheindien said:
no it doesnt do anything. just says its not a command. and ive already looked at that link, i'm already lost when it tells me to navigate to a folder in a command window.
Click to expand...
Click to collapse
When you type "adb" on your PC, Windows needs to know where to find the "adb" program to run it. So you either need to specifically add the directory containing adb to your Windows PATH variable (which you can do in the environmental variables section, which will be in different places on different operating systems - on XP you need to right-click on My Computer, then select Properties, then Advanced, then the "Environmental Variables" button) - or you need to cd to where adb is stored under where you installed the Android SDK, and run it from that folder.
pretend youre explaining this to a five year old...
ok, which operating system do you have on your PC ?
Where did you install the Android SDK, i.e. which folder on the PC did you put it in ?
never mind guys, did what that dude said and just installed a rom with temp root and im all good now. thanks for everyones help though, sorry for my lack of knowledge in adb and what not.

[Q] Help rooting with Mac OS X

The guides/walkthroughs seem to cover windows but I use OS X...are there any guides/walkthroughs to root a G2 using OS X?
I'm getting frustrated
Which guide are you trying to follow? Most of them require/mention adb, but the android SDK is available for Mac, so you should be able to get adb.
It should all work the same on a Mac. All you're doing on the PC/Mac end is using adb to send stuff over to your phone. The adb guide at http://forum.xda-developers.com/showthread.php?t=865685 has some stuff in there (which I still need to work on) about getting adb working on the Mac (see later replies).
dadewy said:
Which guide are you trying to follow? Most of them require/mention adb, but the android SDK is available for Mac, so you should be able to get adb.
Click to expand...
Click to collapse
I am following this guide
steviewevie said:
It should all work the same on a Mac. All you're doing on the PC/Mac end is using adb to send stuff over to your phone. The adb guide at http://forum.xda-developers.com/showthread.php?t=865685 has some stuff in there (which I still need to work on) about getting adb working on the Mac (see later replies).
Click to expand...
Click to collapse
I have got got adb working, I put the android_sdk folder at the root of my macs hard drive. I figured out I have to put "./" infront of adb to execute commands, and I have gotten it to recognise my device.
But where I am stumped is, where do I unzip the temp and perm root folders to, onto the desktop or into somewhere in the android sdk folder?
Also do need to have two terminals running, 1 navigated to adb and the other to the unzipped folders?
Or do I do something completely different?
bobbytomorow said:
I am following this guide
I have got got adb working, I put the android_sdk folder at the root of my macs hard drive. I figured out I have to put "./" infront of adb to execute commands, and I have gotten it to recognise my device.
But where I am stumped is, where do I unzip the temp and perm root folders to, onto the desktop or into somewhere in the android sdk folder?
Also do need to have two terminals running, 1 navigated to adb and the other to the unzipped folders?
Or do I do something completely different?
Click to expand...
Click to collapse
I think the common way is to unzip or move the files to your Android_sdk/tools folder so that adb and the files are in the same directory.
Another way would be to use the full path in the adb command:
adb push /users/bobby/desktop/gfree_unzipped/gfree /data/local/
you should change it to match your actual directory structure
The slick way is to add android_sdk/tools to your path so that it will work at any direectory level.
Either way, you should only need 1 terminal window (Unless you are trying to verify you have radio s-off- the last bit that starts with "stop ril-daemon")
gee one said:
I think the common way is to unzip or move the files to your Android_sdk/tools folder so that adb and the files are in the same directory.
Another way would be to use the full path in the adb command:
adb push /users/bobby/desktop/gfree_unzipped/gfree /data/local/
you should change it to match your actual directory structure
The slick way is to add android_sdk/tools to your path so that it will work at any direectory level.
Either way, you should only need 1 terminal window (Unless you are trying to verify you have radio s-off- the last bit that starts with "stop ril-daemon")
Click to expand...
Click to collapse
That helped me out perfectly, I just rooted my G2, YAY!
Thank you everyone for your help

Having Trouble with Mac's for FFF or TWRP or ROOT? Here's some help!

For anyone having an issue with installing TWRP and FFF on a mac here's my two cents on how to help.
I am in no way responsible if you mess something up, you are voiding your warranty, ninja's will attack you, and some other **** about how I'm not liable if you mess up your device.
NONE OF THIS IS MY WORK, ALL CREDIT IS TO JCASE.
THIS IS WHAT WORKED FOR ME ON MY MAC, IT MIGHT NOT WORK FOR YOU, I CLAIM NO RESPONSIBILITY IF IT DOESN'T WORK FOR YOU.
Now,
Make sure you have the sdk, as well as platform-tools downloaded. If you don't know how to do this, go into your sdk, and read the files in there, it will tell you how to download platform-tools.
Once you've downloaded these things, you're going to need the correct fastboot.exe for macs (rename this fastboot.exe, will probably come as fastboot-mac.exe), I don't remember where I downloaded it, nor do i want to break any rules or piss any people off by posting where, but find the correct mac fastboot.exe through google or some other means.
Once you've done all of this, here's what you need to do.
THIS IS NOT MY WORK, I TAKE NO CREDIT FOR IT, IT IS ALL JCASE'S WORK, NONE OF MINE. ALL I AM DOING IS ADDING HOW TO GET TO ADB, FOLLOWED BY THE FEW THINGS YOU NEED TO ADD BECAUSE IT'S A MAC VS. LINUX.
Go to JCASE's thread on rootzwiki, or here, and it will give you the guide. It's his guide, not mine, just add the things I mentioned and it might work. It did for me.
FOR ROOTING:
now you need to first navigate to your platform-tools folder in your android sdk folder using terminal.
Go to utilities in the applications tab in finder. Open up Terminal.
Now type the following line to navigate to the platform-tools folder.
cd ~/androidsdk/platform-tools
for me it is this because my SDK folder is named "androidsdk", if your's is named differently, insert it's name where androidsdk is.
followed by that you can start using ADB. Instead of running things as
adb root, or adb reboot, you need to include
./ before the commands, IE: ./adb root, or ./adb push
IE THE FIRST STEP IS "adb root", rewrite this is "./adb root"
from then on, include that ./ before any command.
____________________________________________________
FOR FFF AND TWRP:
THIS STUFF IS ALL THE WORK OF THE AUTHORS OF THE POSTS AS WELL AS THOSE WHO DID TWRP AND FFF, NOT MY WORK, I'M SIMPLY ADDING WHAT WAS REQUIRED FOR THE GUIDE TO WORK ON MY MAC.
Go to the thread for FFF and TWRP for Linux.
Start off the same by navigating to the platform-tools folder as stated above.
Now when using the SUDO command in the guides for linux for installing FFF or TWRP you will write the commands as:
"sudo ./fastboot" followed by the rest of the command.
INSTEAD of "sudo fastboot"
_____________________________________________________
I honestly have NO idea why I had to do everything this way, from what I remember it has to do with directories or something, but either way it's what fixed everything for me.
Don't consider this a guide or anything I simply added what I was missing for the linux guide to work on my mac, as I don't want to be someone who people blame if it didn't work for them, as I'm simply doing what works for me. AND in the end, this is all Jcases work, and those who wrote the guide for TWRP and FFF linux installs.
I hope this helps the other mac users that I'm sure are here and are struggling, cause I had to remember how to do all this stuff before I realized why I was ****ing up doing all this stuff.
Good luck!
Or just use this: KindleWater

[GUIDE] Noob's Guide #5: How to use ADB...

You've probably seen about a million threads saying "use ADB to x, y or z." You might have no idea how to do this, which is what I am going to help you with.
First, download the android sdk for either Mac, Windows, or Linux from here. I don't know much about Linux, so this guide will be based on Mac and Windows. Unzip the file to a place you can easily remember (i.e., Desktop or root of the HD). On Windows, download the platform-tools add-on from SDK manager. Let's start with how to "push" a file to your phone.
To start, plug your phone into the computer and select charge only mode. Turn on USB debugging in menu/settings/applications/development. Place the file you want to push in the platform tools folder in the android sdk. Open up Terminal on Mac or a command prompt on Windows. Type:
Code:
cd [insert path of android sdk here]
cd platform-tools
adb devices
adb remount
adb push [name of file] [path where you want it to go, such as "/sdcard/" or "system/app"]
That's it. You successfully pushed a file! Next, we will tackle how to pull a file from your phone for purposes such as uploading it to the UOT kitchen to theme it. Open up your command prompt or Terminal. Type:
Code:
cd [insert path of android sdk here]
cd platform-tools
adb devices
adb pull [insert path of file here, such as "system/app"]
Your apk should now be in your platform-tools folder. Now you can upload away! Here's a very simple one. This is how you reboot your phone so you don't have to take off your case and pull the battery! Just plug your phone in and type:
Code:
cd [insert path of android sdk here]
cd platform-tools
adb devices
adb reboot recovery
Now, you can restore your backup easily. You never had to pull your battery. You've probably heard a dev say something like "Hmmmm, that's weird that your phone isn't booting. Can you get me a logcat?" Well, now you will be able to. Type:
Code:
cd [insert path of android sdk here]
cd platform-tools
adb devices
adb logcat
Just copy it and paste it into a text document. You are done!
If there is anything else that people want me to include in the guide, feel free to reply and let me know. I hope that this clears some stuff up for people.
You write very good tutorials, so I have a suggestion if you have time. We are getting all the random threads with people having problems after using HTC unlock. It may help if they had a quick tutorial for installing CWM and how to flash a ROM.
I will write that up! Thanks for the suggestion.
Well, it's done! That's one long guide!
AgalychnisCallidryas said:
Well, it's done! That's one long guide!
Click to expand...
Click to collapse
I just read it, very good write up. It's a lot better than I would've been able to do. I have a hard time explaining how to do stuff lol. Now we have a thread to link to!!
Awesome guide bro thanks. Is there a possible way you can write a detail guide on how to decompile and compile apk's I believe this would help out a ton around the community
Sent from my Incredible 2 using XDA App

Categories

Resources