Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
nitty917
Old
#1  
Senior Member - OP
Thanks Meter 0
Posts: 121
Join Date: Apr 2007
Default Unlock NAND on MAC anyone?

tryin to get mac to adb to device, but cannot get it to work.
anyone have success? would like to test these nice roms out.
thanks
 
brianb7590
Old
#2  
Retired Forum Mod / Recognized Developer
Thanks Meter 1
Posts: 433
Join Date: Nov 2007
Location: Sandy Springs, Georgia
Quote:
Originally Posted by nitty917 View Post
tryin to get mac to adb to device, but cannot get it to work.
anyone have success? would like to test these nice roms out.
thanks
I did it on my MBP. What problems are you having?
Epic 4G Touch
Motorola Xoom 4G
Sony Google TV
 
david279
Old
#3  
david279's Avatar
Senior Member
Thanks Meter 735
Posts: 3,934
Join Date: Sep 2007
Location: New Orleans
I did it on my macbook..


------------------------

http://gplus.to/David279
 
DanRyb
Old
#4  
Member
Thanks Meter 6
Posts: 94
Join Date: Jun 2010
I also did it on my Mac. Like someone else said what specifically is the issue you're encountering?
 
brock1909
Old
(Last edited by brock1909; 19th June 2010 at 05:02 AM.)
#5  
Senior Member
Thanks Meter 6
Posts: 524
Join Date: Nov 2007
there is a post in about using Terminal app from the market to do this and it works!
 
nitty917
Old
#6  
Senior Member - OP
Thanks Meter 0
Posts: 121
Join Date: Apr 2007
Quote:
Originally Posted by brianb7590 View Post
I did it on my MBP. What problems are you having?
thanks, I cant get it to communicate in terminal,
i have no idea. i dloaded the sdk, dragged the adb from tools folder,
onto the terminal, it opens up all the adb commands but after that i cant type
nothing.
 
brianb7590
Old
#7  
Retired Forum Mod / Recognized Developer
Thanks Meter 1
Posts: 433
Join Date: Nov 2007
Location: Sandy Springs, Georgia
Quote:
Originally Posted by nitty917 View Post
thanks, I cant get it to communicate in terminal,
i have no idea. i dloaded the sdk, dragged the adb from tools folder,
onto the terminal, it opens up all the adb commands but after that i cant type
nothing.
Don't drag it to the terminal.

I would navigate to the directory where you stored the SDK and go to the tools folder and run it that way or you search up how to set your PATH to include the tools folder.
Epic 4G Touch
Motorola Xoom 4G
Sony Google TV
 
okolowicz
Old
#8  
Senior Member
Thanks Meter 10
Posts: 136
Join Date: Jun 2010
Quote:
Originally Posted by nitty917 View Post
tryin to get mac to adb to device, but cannot get it to work.
anyone have success? would like to test these nice roms out.
thanks
Like the others who have already replied, I also did it on my mac and was a complete noob. It was only through much trial, error, YouTube, and 3 other sites that I figured it out. Needless to say I'm now fluent in adb and would be happy to answer any questions you have since I was in exactly the same shoes as you last weekend. Below are the biggest things you need to know when you start:

1. When you plug the phone into your computer make sure you select "Charge Only." If you select "Use Phone as Disk Drive" you won't be able to write to the phone, only read. I ran in circles for a long time getting "Read-Only File System" errors and it was all due to having the phone mounted as drive.

2. Make sure you have USB Debugging turned on. After that, you should be able to communicate with the phone fine.

3. ADB - The instructions are nearly identical regardless of operating system but on a mac you need to add "./" (without the quotes) before adb commands. For example, lets say I have a file on my desktop called "Test_File.img" that I want to push to the root of the sdcard. On my Mac I would type "./adb push /Users/Bryan/Desktop/Test_File.img /sdcard/" (without the quotes of course) & (Bryan is my Username)

4. To avoid any issues make sure none of the folders or file names you are working with have spaces in the name.

Hopefully all this helps and does no lead to more confusion than when you started. Again, if there are any specific errors you are seeing post them here and either I or someone else would be happy to answer them.

Bryan
 
mocalve
Old
#9  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: May 2010
Quote:
Originally Posted by okolowicz View Post
Like the others who have already replied, I also did it on my mac and was a complete noob. It was only through much trial, error, YouTube, and 3 other sites that I figured it out. Needless to say I'm now fluent in adb and would be happy to answer any questions you have since I was in exactly the same shoes as you last weekend. Below are the biggest things you need to know when you start:

1. When you plug the phone into your computer make sure you select "Charge Only." If you select "Use Phone as Disk Drive" you won't be able to write to the phone, only read. I ran in circles for a long time getting "Read-Only File System" errors and it was all due to having the phone mounted as drive.

2. Make sure you have USB Debugging turned on. After that, you should be able to communicate with the phone fine.

3. ADB - The instructions are nearly identical regardless of operating system but on a mac you need to add "./" (without the quotes) before adb commands. For example, lets say I have a file on my desktop called "Test_File.img" that I want to push to the root of the sdcard. On my Mac I would type "./adb push /Users/Bryan/Desktop/Test_File.img /sdcard/" (without the quotes of course) & (Bryan is my Username)

4. To avoid any issues make sure none of the folders or file names you are working with have spaces in the name.

Hopefully all this helps and does no lead to more confusion than when you started. Again, if there are any specific errors you are seeing post them here and either I or someone else would be happy to answer them.

Bryan
If you're going to be using adb on a regular basis, and want to avoid typing "./" before each command, you can add the android sdk tools path to your .bash_profile file in your home directory. Something along the lines of:

export PATH=${PATH}:/path_for_ur_sdk_folder_location/android-sdk-mac_86/tools
 
Fixter
Old
#10  
Fixter's Avatar
Senior Member
Thanks Meter 90
Posts: 1,399
Join Date: Jun 2009
Location: Durham

 
DONATE TO ME
Quote:
Originally Posted by mocalve View Post
If you're going to be using adb on a regular basis, and want to avoid typing "./" before each command, you can add the android sdk tools path to your .bash_profile file in your home directory. Something along the lines of:

export PATH=${PATH}:/path_for_ur_sdk_folder_location/android-sdk-mac_86/tools
That wont be saved. It goes away after every reboot.
Nexus 4 or 7 Problems? Add me on GTalk or Twitter
Twitter: GSoulPR
GTalk: Gc0814@gmail.com
Did I help? Press the Thanks button!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more