1. igotsanevo4g's Avatar
    [WARN]I'm not responsible for what you do to your phone, yadda yadda, you know the drill[/WARN]

    Its pretty straight forward, lets get to it. 2 options: easy, and involved.

    [NOTE]This is the hard way, scroll down if it's not for you.[/NOTE]
    1. Set up the working AndroidSDK. We have a guide for that also, AndroidSDK linux

    2. Add packages buy doing either - Navigating to your AndroidSDK folder, going to the 'tools' folder and double-clicking the file called 'android'; if a popup opens asking you what you want to do with it click 'Run'.

    - Using this command: /home/<your-user-name>/Downloads/AndroidSDK/tools/android

    3. Then, In Android SDK and AVD Manager, click on "Available packages". Check the box next to "Android SDK Tools, revision 8" and "Android SDK Platform-tools", and click on "Install Selected" then "Install". When prompted click "Yes" to restart ADB.

    You should now have a folder in /home/<your-user-name>/Downloads/AndroidSDK/ called "platform-tools".

    4. Now we put fastboot (in the stuffs zip attached here, grab both fastboot files) in the previously mentioned platform-tools folder then navigate to the file, right click it, click 'Properties', go to the 'Permissions' Tab and check 'Allow executing file as program'. OR use this command "chmod +x /home/<your-user-name>/Downloads/AndroidSDK/platform-tools/fastboot"

    5. Now to set things up so adb and fastboot recognize your Nexus.

    - Type this command into a terminal:
    gksudo gedit /etc/udev/rules.d/51-android.rules

    - Paste this into the blank file:
    SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

    - Click save and close.
    - Then, type the following terminal command:
    sudo restart udev

    6. Now we set up a path, enter:
    gedit .bashrc

    And add this line to the top of the file, filling in what yours really is:
    #AndroidDev PATH
    export PATH=${PATH}:/home/<your-user-name>/Downloads/AndroidSDK/tools:/home/<your-user-name>/Downloads/AndroidSDK/platform-tools

    Save and close

    7. On your Nexus S, go to Menu>Settings>Applications. Select "Development" and check the box next to "USB debugging" Power off the phone, and then hold down the Volume Up button and the Power button simultaneously to get into Bootloader/Fastboot mode. Connect your Nexus to the computer via USB.

    8. Run fastboot oem unlock, and viola. Your bootloader is unlocked after confirming on screen.

    9. Flash a recovery by: fastboot flash recovery /home/<your-user-name>/AndroidSDK/platform-tools/name-of-recovery.img

    10. Flash the super user zip. -DONE
    [NOTE]Time for the easy way now![/NOTE]

    1. Turn off your nexus s, boot into fastboot mode by holding down both Volume Down and Power buttons together. Once in fastboot mode, connect your Nexus S/Nexus S 4G to your computer via micro-USB cable.

    2. Download this nexussrootICS zip Download NexusS/rooting/nexussrootICS.zip at DownloadAndroidROM.com and un-zip the file

    3. Navigate to the nexussrootICS that you just un-zipped in command (cd /nexussrootICS)

    4. Then enter ./fastboot-linux oem unlock and agree to unlock your bootloader

    5. Now enter ./fastboot-linux flash recovery twrp-crespo-2.0.0RC0.img to flash a recovery

    6. Flash the super user zip and youre rooted!
    02-05-2012 04:59 PM
  2. RamboDroid's Avatar
    Ok I am trying to do this via the easy way and having no luck....

    pastor@ubuntu:~$ cd /home/pastor/Desktop/nexusrootics
    pastor@ubuntu:~/Desktop/nexusrootics$ ./fastboot-linux oem unlock
    bash: ./fastboot-linux: Permission denied

    Something I am doing wrong here?
    07-27-2012 02:20 PM
  3. Denton Poss's Avatar
    chmod 777 fastboot-linux
    03-07-2013 06:11 PM