Root Samsung Google Nexus S in Mac

Today i rooted my phone Nexus s in Mac.

1) Download the "androidsdk.zip" file from here: http://www.box.net/shared/ljhg8t5sjh

Unzip that file (if not already unzipped automatically upon download), and place the "androidsdk" folder on your Desktop. It has to be in this location for the rest of the steps to work.

2) On your phone, go to Menu>Settings>Applications. Select "Development" and check the box next to "USB debugging"

3) Connect the phone to your Mac via the USB cable

4) Open a Terminal window on your Mac (Applications>Utilities>Terminal), and copy/paste the following into the Terminal:

Code:
~/Desktop/androidsdk/platform-tools/adb reboot bootloader
Hit "Return" and wait for your phone to to reboot into Bootloader/Fastboot mode

5) If your Bootloader screen says "LOCK STATE - UNLOCKED" then skip to Step 6. If it says "LOCK STATE - LOCKED" then copy/paste the following into the Terminal:

Code:
~/Desktop/androidsdk/tools/fastboot oem unlock
Hit "Return" and on your phone will prompt you to confirm and warn you that you are going to lose everything. Confirm. At this point you will have an unlocked bootloader.

6) download custom recovery img and put it into androidsdk/tools/ folder
7) Copy/paste the following into the Terminal window:
Code:
~/Desktop/androidsdk/tools/fastboot flash recovery ~/Desktop/androidsdk/tools/recovery-clockwork-6.0.0.6-crespo.img
Hit "Return" again and wait for recovery to flash.

8) At this point you should still be in Bootloader/Fastboot mode. DO NOT REBOOT YOUR PHONE*. Press the "Volume Down" key until "RECOVERY" is highlighted, and press the "Power" key to select this option. 

*Note: You must go to Recovery directly from Bootloader/Fastboot mode after Step 6 without rebooting your phone in between, or else your phone will replace ClockworkMod Recovery, hang at the "Google" splash screen requiring a battery pull, and you'll need to start again from Step 6.

For the following steps while in Recovery, use "Volume Down" to highlight a selection and "Power" to choose that selection:

9) Choose "mounts and storage"

10) Choose "mount USB storage". Your phone should now be mounted on the Mac as a Device called "NO NAME"

11) Look inside the "androidsdk" folder on your Desktop for a file called "su2361ef.zip", and using the Finder on your Mac, copy that file (without unzipping it) to the main directory of your mounted phone ("NO NAME").

12) Eject/unmount your phone in the Finder on your Mac. 

13) On your phone, choose "Unmount"

14) Choose "mount /system"

15) Choose "+++++Go Back+++++"

16) Choose "install zip from sdcard"

17) Choose "choose zip from sdcard"

18) Choose "su2361ef.zip"


source from: http://forum.xda-developers.com/showthread.php?t=878446

留言

這個網誌中的熱門文章

How to PHP export to Excel 2

html viewport meta