[Q] noon needs help figuring out how to root nexus 5 using a mac - Nexus 5 Q&A, Help & Troubleshooting

Could someone help me figure out what I'm doing wrong when I try to root my nexus 5?
I've followed the many similar cf-autoroot instructions I've found online, but to be honest, I think that there must be some prerequisite steps I need to do before I can actually root.
Here's what I've done so far: I've downloaded the ADT bundle and installed the 4.4 SDK and recommended tools. I've also downloaded the cf auto root files and have them saved on my desktop. However, when I enter chmod +x root-mac.sh into terminal it says command not found. When I simply try to open the file from finder it opens the script in text editor, which obviously does nothing. I have no idea what I'm doing wrong. Everything i have seen online make it look so easy, but I'm getting nowhere... Could someone please help me figure this out?

Have a look here: http://forum.xda-developers.com/showthread.php?t=2515640
Using a toolkit my be useful if you're not sure of things, but obviously caution is still advised if you aren't sure what you are doing.

I used this with absolutely no problems. I was originally looking forward to manually inputting the commands in terminal just to get familiar with it but saw the Android icon. in my curiosity I clicked it and it started the process for me. Took a couple of minutes.

It's done on Mac just like it's done on ANY os.
You need fastboot and adb in your PATH or you need to have all the files in the same directory.
Sent from my Nexus 5

Related

Cannot open ddms.bat in order to take screenshots on Nexus One

I wanted to take screenshots of my Nexus One (2.2 FRF91/T-Mobile/Stock) but I'm just a newbie so I followed the guide on andriodcentral Anrdroid 101 tips. (Sorry I can't link to it since I'm a new user on these forums
That guide led me to another guide on how to install the sdk
When I tried to pull my 3rd party apps, cmd didnt do anything it simply said "0 pulled, 0 skipped", however I was able to pull my standard apps. I'm confident the sdk was installed correctly though.
I'm using a laptop with Windows 7 64bit and an AMD processor, I'm not sure if that information is helpful or not
I've already downloaded and installed the android 2.2 sdk, java runtime environment, java development kit. I've also properly installed the ADB drivers for the Nexus One. I also downloaded Eclispe but when I tried to run it, the application won't open. I have a feeling its because I didn't install it properly.
My problem now is that the ddms.bat (Dalvik Debug Monitor) won't open when I double click on it. I tried to right click and run as administrator but that didn't work either. In both cases when I try to open it, a cmd windows opens for a fraction of a second and then closes before I can read it. So I googled it and found a website that seemed to be able to solve the problem but its geared towards linux users.
I specifically followed these directions "To fix this a replace of the bundled swt is needed. The file is located under android-sdk-linux_x86-1.5_r3/tools/lib/. Rename swt.jar to swt_32b.jar. Next download swt for your platform. I have used swt-3.4.2-gtk-linux-x86_64.zip. Unpack the file swt.jar in the zipfile to android-sdk-linux_x86-1.5_r3/tools/lib/ and finally start ddms" but that didnt work either. So now my android-sdk-windows/tools/lib/x86_64 is full of other files rather than just having that swt.jar file.
Can anyone please help on getting ddms.bat to open or on how to get eclipse to open?, I'm so close to being able to take screenshots.
Some notes:
1.I'm not interested in rooting (too worried about bricking my phone), so please don't recommend that I root first.
2. USB debugging was ON when I tried it
Open up a command prompt. (Start -> search "cmd")
use CD to get to the folder where you keep ddms.bat
open ddms.bat from the command prompt by simply entering "ddms.bat" then press Enter. That will keep it from closing the window.
Just to see if it gives any errors.
Thank you so much!
However the error message that cmd is now giving me is : WARNING: Java not found in your path.
Could you please tell me how I can do this? for the time being I'm searching the internet for help but the first thing I found seems super complicated
I finally got it to work, wish I could link the imgur pic, but I'm still a new user but here's the end of the imgur link code :ucBpY
TaeKwonDonkey said:
I finally got it to work, wish I could link the imgur pic, but I'm still a new user but here's the end of the imgur link code :ucBpY
Click to expand...
Click to collapse
how did you fix it?
Follow this guide....it may help you click me..!! :good:
thank you,
P.007

best way to sideload on mac?

hello. ive been reading on different forums on the best way to sideload apps on captivate on mac. ive read about sideload wonder machine but seems ppl have problems... seems ppl r being more successful on pc.... if i were to run parallels then win 7 and try to use sideload wonder machine on pc will it work? im still reading on how to use commands, and terminals and cmd lines and all that . im new to android but familiar with winmo phones and jailbreaking iphones. so if anyone can help me or point me to the right direction, it is greatly appreciated! on a side note, i use parallel's and ran win 7 and dl droid explorer to try and delete some at&t bloatware but no go. when i try to delete it nothing happens... so i dont know what to do! lol. im rooted and all. i wanna have sideload next! thanks again guys!
1. Install Android SDK for Mac
2. Using Terminal CD to android-SDK/Tools directory
3. place your apk file in the tools directory
4. In terminal type: adb install file.apk <where file.apk is what you want to install>
This is the manual way on windows and this is what sideload wonder does for you. If you want to learn - this is the best way to start. ADB is easy, and it opens up the gateway for everything else.
YOu can probably find a more detailed tutorial on using ADB commands in Mac.
ADB is what lets you copy system files off the phone, change permissions, get access to the systems.db where you can allow sideload from phone, etc.

[Q] Samsung Captive ATT non market app help

I have tried everything to get a one click solution to enable non-market apps. First and foremost I am on a MAC. No access to a windows machine. I have my phone rooted and have installed superuser status.
I am looking for a solution that will let me install (easily) non- market applications. There appears to be several solutions doing this on a windows machine. I have not been able to find a solution on a MAC. And instructions, help, videos anything is greatly appreciated.
Thanks
PS: not a total nube, but I have limited knowledge of the root directory and manipulation, but follow instructions well ........
What firmware are you on? Because if you are on the leaked 2.2 you should look on the leaked ji6 hacks forum page and it will give you the instructions that you can run in adb shell in the terminal application on a mac you just have to type ./adb (command) where windows users just have to type adb (command) you should make sure that you are comfortable on adb though because there are hardly any tutorials for adb on a mac around. I found that the hard way. Hope this helps, if you still can't figure it out post more info and I will do my best to help although I am still kinda a noob to android development.
Sent from my SAMSUNG-SGH-I897 using XDA App
Thank for the help, I will look at thie ji6 hack and see if it works. I'll let you know. Right now I have spent 3 days trying to unlock this pile of dung. ATT should be shot for doing this people. We bought the phone let us put what we want on it. PERIOD
Have you tried ADB? If you can get ADB to work, you should have the skill to copy over the settings.db and use the SQLeditor for Firefox plugin. Or use SQLite on the phone.
Read up on how to enable sideloading - the same commands that work on windows work on a mac - or very similar. As long as you know how to copy files in terminal you should be set.

[Q] 1 Click Root for Mac OS X?

Is there a 1 Click Root for Mac OS X? I want to Root, S-OFF, and Gold Card...
Get bootcamp
Sent from my Desire HD using XDA App
i will be trying to do this from a windows virtual machine on a macbook pro. ill let you know if it works. i see no reason it shouldnt
I had a go at it through Parallels on a Macbook and it worked smoothly.
wats parallels
Moved to general as not android dev.
I did the hack kit using terminal commands. install android sdk for mac and everything else is just step by step in the hack kit. there's a gold card app on the market too.
Sent from my Desire HD using XDA App
g4ess said:
wats parallels
Click to expand...
Click to collapse
It runs Windows in a windowed format through Mac OS as opposed to booting up in Windows like Boot Camp.
I actually ended up using the hack kit with terminal commands and adb. It was my first time rooting and i see the value of doing it this way. You gain more knowledge of what is happening with your phone. And if you have a mac with out a virtual windows machine then I want to recommend not being afraid of manual rooting.
Sent from my Desire HD using XDA App
emarsha said:
I did the hack kit using terminal commands. install android sdk for mac and everything else is just step by step in the hack kit. there's a gold card app on the market too.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I did the same thing the first time I rooted an Inspire. I believe I Still have the terminal output I saved (I was siked I got it to work - it was my first bit of rooting/terminal use ever). If it would help to see what I did, PM me.
EDIT: and Yes, above poster killersnowman is 100% correct. When you do it yourself you learn much more. When I first got my (first) inspire, I looked at the root instructions and they were WAY over my head. After just clicking around and browsing around on XDA, I felt like I was ready to tackle it after a few short days. Granted, it took me probably around three hours of trial, error, and asking for help from the incredibly helpful people on this board - but I got it! You can too.
I did the Simple Root running Windows XP in Parallels without a problem on my MacBook Pro. Now I am wanting to go back and redo the root with the Hack Kit to solve the HUSPA problem we simple root people are having but I am having a few problems with the terminal. For some reason I keep getting told HTC device is not found when I run the first command.
If anyone does use the hack kit on a mac and figures this out please let me know. The Mac users are the minority with Android so we need to stick together a bit here. I still am yet to find a good set of directions on how to "use" the terminal. When the Hack Kit directions start with "navigate to the folder" I have to assume I am doing things right by typing in the file path.
If you did pull it off and are willing to do a screen capture of your terminal that would be pretty great too.
bmolloy said:
I did the Simple Root running Windows XP in Parallels without a problem on my MacBook Pro. Now I am wanting to go back and redo the root with the Hack Kit to solve the HUSPA problem we simple root people are having but I am having a few problems with the terminal. For some reason I keep getting told HTC device is not found when I run the first command.
If anyone does use the hack kit on a mac and figures this out please let me know. The Mac users are the minority with Android so we need to stick together a bit here. I still am yet to find a good set of directions on how to "use" the terminal. When the Hack Kit directions start with "navigate to the folder" I have to assume I am doing things right by typing in the file path.
If you did pull it off and are willing to do a screen capture of your terminal that would be pretty great too.
Click to expand...
Click to collapse
When navigating to a folder on a mac, in the terminal, the command is: cd
Then, I would try to do as little typing as necessary to avoid a mistake. I would put in the command cd and then from my finder, physically drag the folder I wanted to navigate to INTO the terminal window, which automatically puts the correct file path.
cd [drag the folder into the terminal window from finder] and voila! It really is pretty easy. Now that you know that, take another look at the directions and see if you think you can make your way through them.
The only mistake I kept running into which someone helped me out with was that I wasn't making the gold card correctly. When I put the command in to the terminal, I wasn't specifying the actual drive, I was specifying a partition on the drive, and the goldcard failed, but looked like it succeeded. 99.9% of the problems you can run into have to do with making an incorrect goldcard I believe.
I have been trying this without restoring to stock, running CM7. I continue to get the "Error detecting HTC phone on USB connection". I will probably restore to stock when I have more than 3 minutes of free time... So it might be a while!!!
If anyone pulls this off without being restored to stock or while running CM7 any advice would be appreciated.
Thanks.
bmolloy said:
I have been trying this without restoring to stock, running CM7. I continue to get the "Error detecting HTC phone on USB connection". I will probably restore to stock when I have more than 3 minutes of free time... So it might be a while!!!
If anyone pulls this off without being restored to stock or while running CM7 any advice would be appreciated.
Thanks.
Click to expand...
Click to collapse
Is usb debugging on? Is the phone connected but NOT in usb mass storage mode? Im not sure but i think cm7 gets rid of fasboot so i dont think you can turn it off
Also if you have cm7 installed then why do you want to root it again? Its already rooted. If you want a new rom the just use rom manager. But if you want to root again then you should restore to stock
Its from my damn phone!!!
Yes, I am set up with USB debugging on but for some reason it will still not recognize the phone, I am sure it has to do with the fact that I am not running a stock ROM.
The reason I want to root again is because I do not have HSUPA enabled because I rooted with the Simple Root, which flashes a stock radio on that does not allow for HSUPA. Using the Hack kit you end up with the right radio that allows you to have the faster upload speeds. I also want to do the hack kit so I can get a better understanding of terminal commands and adb. I have been never found a reason to use the terminal before so this is a nice new challenge.

ADB Problems with Emulator

Okay. I have been trying to do other things with rooting other phones besides my HTC Rezound. I've rewritten a exploit so it will work on Mac. But this is a general problem. I deleted the Emulator and every single thing but the platform-tools on the windows side of my computer. So the only thing I have on my computer is the platform-tools folder (aka fastboot and adb) So I have tried what almost every forum has said. The adb kill-server. I restart it. Still there. I've tried to individually kill it still there. I've unplugged my device and ran adb still there. The Emulator is Port 5554 offline. I can't get it to come online, I have spent hours trying to kill it. This is one reason that stopped me from rooting on a windows because this stupid emulator won't go away and it never has. I've never ran eclipse on the windows side or to say that never anything but the adb and fastboot. Only the Mac side have I done other things. Please if anyone could help that would be nice. It'd save me time from having to take the .bat files and changing them to sh files and opening with text edit, editing the file to work with terminal, then sh run the file and it not work then back to the drawing board which after rewriting some stuff over and over is a miracle to see it finally execute the exploit. Thanks for any help. I would gratefully appreciate it. Thanks. This is the also what's from keeping me going s-off to. It's annoying and I would really love to fix the issue. I will take any advice. Just saying though the adb kill-server and a lot of other commands are not working and not doing the process. Please anyone who would like to help. Just put anything :$ Please and Thank you.
Bump
Sent from my Rezound using tapatalk. CyanogenMod 11. S-off.

Categories

Resources