[LINUX] [MAC OSX] Universal Nexus Linux Toolkit v2.3.0 (Unlock, Root, CWM, Factory)

Search This thread

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
Universal Nexus Linux Toolkit v2.3.0


NOW COMPATIBLE WITH MAC OSX!!!


Universal Nexus Linux Toolkit is a bash script based program that offers an easy way
to do all you need to do before flashing a custom ROM on your Nexus device.

It works with:

1. Nexus 4 [mako]
2. Nexus 10 [manta]
3. Nexus 7 (WiFi) [grouper]
4. Nexus 7 (GSM) [tilapia]
5. Galaxy Nexus (GSM) [maguro]
6. Galaxy Nexus (Verizon) [toro]
7. Galaxy Nexus (Sprint) [toroplus]
8. Nexus S (worldwide version, i9020t and i9023) [crespo]
9. Nexus S (850MHz version, i9020a) [crespo]
10. Nexus S (Korea version, m200) [crespo]
11. Nexus S 4G (d720) [crespo4g]

With this toolkit you will be able to:

- Unlock the bootloader.
- Flash CWM recovery (Standard or Touch).
- Root the phone.
- Lock the bootloader.
- Flash Google Factory Image. (Not available for Sprint Galaxy Nexus)

DOWNLOAD IT FOR LINUX HERE

DOWNLOAD IT FOR MAC OSX HERE

Galaxy Nexus Linux Toolkit is Open Source! See the CODE

HOW TO EXECUTE:
Please extract the .tgz in the place you want, for example in /home/user
Open a terminal and type the following:
>user@linuxormac: cd "THE PATH WHERE IS THE unltlauncher.sh FILE"
>user@linuxormac: bash ./unltlauncher.sh
If you extract it in /home/user/unlt, the path to the .sh must be /home/user/unlt
so you have to type:
>user@linuxormac: cd /home/user/unlt
>user@linuxormac: bash ./unltlauncher.sh

Note: If you're running on a 64 bits OS, please install 32 bits libraries. If you're running on Linux and you didn't configure UDEV rules for your device, please run the script with superuser permissions (sudo bash unltlauncher.sh)

Here are some SCREENSHOTS::good:

Captura%2520de%2520pantalla%2520de%25202012-11-18%252000%253A06%253A09.jpg


Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A16.jpg


Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A19.jpg


Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A30.jpg


Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A39.jpg


Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A14%253A25.jpg


I hope you will find it useful! :laugh:
P.S. Sorry for my English. I'm from Argentina!
 
Last edited:

pixiebob

Senior Member
May 29, 2010
627
133
montpellier
tatelucas: big thanks to thinking about linux users. will try on my archlinux and report when i will receive my nexus on france in 2 weeks ;)
 

gnuworldorder

Senior Member
Aug 28, 2011
181
9
Pittsburgh
the bootloader unlock works for me but neither cwm install or the root work. i just get the standerbootloader and the root doesnt work because it never boots into cwm. im using fedora 17
 

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
the bootloader unlock works for me but neither cwm install or the root work. i just get the standerbootloader and the root doesnt work because it never boots into cwm. im using fedora 17

Please copy the .sh in another path and run it again (it will start downloading all the data again). Then copy all the output here. Sorry for the inconvenience.

Sent from my Galaxy Nexus using xda app-developers app
 

gnuworldorder

Senior Member
Aug 28, 2011
181
9
Pittsburgh
I already tried that originally. I decided to do it from my work laptop on windows and it worked fine. Could it be possible that I was missing a library?

Sent from my Nexus 7 using xda app-developers app
 
  • Like
Reactions: JohnnyV14

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
I already tried that originally. I decided to do it from my work laptop on windows and it worked fine. Could it be possible that I was missing a library?

Sent from my Nexus 7 using xda app-developers app

I don't know. I will be very grateful if you could run it again on Fedora because I really want to fix it.

Sent from my Galaxy Nexus using xda app-developers app
 

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
it didnt give me any errors besides having to install libncurses.so.5 libstdc++.so.6 ld-linux.so.2 this time it rooted but the clockwork mod didnt install
But for rooting you have to install in CWM the su.zip file. I don't understand how root worked if you couldn't first flash CWM.
Did you try Manual Mode? Maybe, in Auto Mode I have to put a longer wait time for booting into Bootloader Mode.
 

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
tatelucas: big thanks to thinking about linux users. will try on my archlinux and report when i will receive my nexus on france in 2 weeks ;)

You're welcome! I also use Linux and like I was tired of waiting the Toolkit, I decided to do it myself! Please post here how it worked when your tablet arrives. :good:

Looks good! That's a hell of a lot more complex than what I was going to do lol

LOL! Did you try it on your Nexus 7? Please tell me how it worked :D
 

gnuworldorder

Senior Member
Aug 28, 2011
181
9
Pittsburgh
But for rooting you have to install in CWM the su.zip file. I don't understand how root worked if you couldn't first flash CWM.
Did you try Manual Mode? Maybe, in Auto Mode I have to put a longer wait time for booting into Bootloader Mode.

I thought I unrooted it before I tried it again. I know I put the stock bootloader back on with the windows tool

Sent from my Nexus 7 using xda app-developers app
 

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
I thought I unrooted it before I tried it again. I know I put the stock bootloader back on with the windows tool

Sent from my Nexus 7 using xda app-developers app

Sorry for being so annoying, but can you try the toolkit in Manual Mode instead of Automatic Mode? I must fix it and I don't have the Nexus 7.

Sent from my Galaxy Nexus using xda app-developers app
 

gnuworldorder

Senior Member
Aug 28, 2011
181
9
Pittsburgh
Only the touch cwm works for me. Once I get the touch cwm installed the root worked. I'm not sure if this was the case originally because I tried the standard cwm.

Sent from my Nexus 7 using xda app-developers app
 

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
Only the touch cwm works for me. Once I get the touch cwm installed the root worked. I'm not sure if this was the case originally because I tried the standard cwm.

Sent from my Nexus 7 using xda app-developers app

That's weird... I check the Standard CWM recovery file and everything's OK. I don't know why you couldn't get it work. All the people says it works fine. :confused:
 

winnuker

New member
Dec 25, 2006
1
0
The toolkit work's fine with Scientific Linux 6.3 64bit (a RedHat clone).

Install 32bit libs:
yum install ncurses-libs.i686 libstdc++.i686

And then run the script.
 
G

Guilden_NL

Guest
the bootloader unlock works for me but neither cwm install or the root work. i just get the standerbootloader and the root doesnt work because it never boots into cwm. im using fedora 17

Ditto for me. I am running 12.04 Lubuntu. Just hangs when I enter Y for the "Do you want to start the process?" both in Auto mode with both Touch or Standard, and the same in Manual mode with both Touch or Standard.

No error messages at all, stuck with stock recovery, no root. And yes, I unlocked the bootloader first!

So how long should we wait before we know the CWM load process is dead/hung?

When I restarted Bootloader, here's what popped up in the Command Line Interface:

1. Power off the device.
2. Press Power for a second, and press Volume Down when bootloader logo appears.
3. Your device screen should show an image of an opened android.
You're now in the Bootloader Mode! If you don't see the image,
you must follow the instructions again.
4. Please connect the device to your PC via USB.
5. Do you want to start the process? [Y/N]: Y

error: protocol fault (no status)
sending 'recovery' (6480 KB)...
OKAY [ 0.886s]
writing 'recovery'...
OKAY [ 0.224s]
finished. total time: 1.111s

Press ENTER to return to the main menu...


Well sh......ucks! Fifth time pushed CWM through. Will try the next step.

From another posting on another site (I have not seen this step mentioned on XDA at all!) this is a critical point:
Go into the system folder and long press on the recovery-from-boot.p file and delete it. This is necessary as otherwise CWM recovery will get overwritten by stock recovery after a reboot.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 76
    Universal Nexus Linux Toolkit v2.3.0


    NOW COMPATIBLE WITH MAC OSX!!!


    Universal Nexus Linux Toolkit is a bash script based program that offers an easy way
    to do all you need to do before flashing a custom ROM on your Nexus device.

    It works with:

    1. Nexus 4 [mako]
    2. Nexus 10 [manta]
    3. Nexus 7 (WiFi) [grouper]
    4. Nexus 7 (GSM) [tilapia]
    5. Galaxy Nexus (GSM) [maguro]
    6. Galaxy Nexus (Verizon) [toro]
    7. Galaxy Nexus (Sprint) [toroplus]
    8. Nexus S (worldwide version, i9020t and i9023) [crespo]
    9. Nexus S (850MHz version, i9020a) [crespo]
    10. Nexus S (Korea version, m200) [crespo]
    11. Nexus S 4G (d720) [crespo4g]

    With this toolkit you will be able to:

    - Unlock the bootloader.
    - Flash CWM recovery (Standard or Touch).
    - Root the phone.
    - Lock the bootloader.
    - Flash Google Factory Image. (Not available for Sprint Galaxy Nexus)

    DOWNLOAD IT FOR LINUX HERE

    DOWNLOAD IT FOR MAC OSX HERE

    Galaxy Nexus Linux Toolkit is Open Source! See the CODE

    HOW TO EXECUTE:
    Please extract the .tgz in the place you want, for example in /home/user
    Open a terminal and type the following:
    >user@linuxormac: cd "THE PATH WHERE IS THE unltlauncher.sh FILE"
    >user@linuxormac: bash ./unltlauncher.sh
    If you extract it in /home/user/unlt, the path to the .sh must be /home/user/unlt
    so you have to type:
    >user@linuxormac: cd /home/user/unlt
    >user@linuxormac: bash ./unltlauncher.sh

    Note: If you're running on a 64 bits OS, please install 32 bits libraries. If you're running on Linux and you didn't configure UDEV rules for your device, please run the script with superuser permissions (sudo bash unltlauncher.sh)

    Here are some SCREENSHOTS::good:

    Captura%2520de%2520pantalla%2520de%25202012-11-18%252000%253A06%253A09.jpg


    Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A16.jpg


    Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A19.jpg


    Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A30.jpg


    Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A13%253A39.jpg


    Captura%2520de%2520pantalla%2520de%25202012-08-22%252018%253A14%253A25.jpg


    I hope you will find it useful! :laugh:
    P.S. Sorry for my English. I'm from Argentina!
    3
    Updated to latest factory images, superSU and CWM recoveries.
    2
    Works like a charm. Thanks.

    You should add that we need to install the adb drivers.

    On ubuntu: sudo apt-get install android-tools-adb
    sudo apt-get install android-tools-fastboot

    On Arch: Pacman -S android-tools-adb
    Pacman -S android-tools-fastboot
    2
    I keep getting this error when running on OSX:

    Code:
    unlt.sh: line 767: md5sum: command not found
    ERROR: Google Factory Image is Corrupted. Erasing...
    Erased. Please try again later.

    I don't know nearly enough to know how to debug this problem. I'm trying to restore my Nexus 7 to factory defaults from a custom ROM. This should be possible, right?

    It looks everything works successfully, but my nexus 7 (2012 version 32GB) is still not rooted.
    I am using stock rom 4.3 and osx 10.9

    Any suggestions?

    That's because Mavericks doesn't ships with md5sum binary anymore, I will update this in the next days.

    Do you think to update the UNLT for Nexus 5 ?
    :good:

    Yes of course, but please wait because I'm too busy with the university right now.
    2
    I was excited when I stumbled on this thread but I am wondering if this has been abandoned? I execute the unltlauncher100.sh. It starts to run but then I get this:

    *******************************************************************************
    * Universal Nexus Linux Toolkit by tatelucas *
    ********************************************************************************
    Updating Toolkit...
    Succesfully Updated.
    Initializing...
    bash: unlt.sh: No such file or directory
    --------

    So I checked the script and its trying to pull from this URL: http://galaxy-nexus-linux-toolkit.googlecode.com/git/stable/unlt.sh

    I try to access that from my browser and get a 404. So I went to the root of the domain (galaxy-nexus-linux-toolkit.googlecode.com) and I see the files available for download. None of them listed appear to be unlt.sh. How can I obtain this script?