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

tatelucas

Senior Member
Nov 28, 2011
128
320
0
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:
>[email protected]: cd "THE PATH WHERE IS THE unltlauncher.sh FILE"
>[email protected]: 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:
>[email protected]: cd /home/user/unlt
>[email protected]: 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:













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

gnuworldorder

Senior Member
Aug 28, 2011
181
9
0
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
0
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
 

tatelucas

Senior Member
Nov 28, 2011
128
320
0
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
 

gnuworldorder

Senior Member
Aug 28, 2011
181
9
0
Pittsburgh
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
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
 

tatelucas

Senior Member
Nov 28, 2011
128
320
0
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
0
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
0
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
0
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
0
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
0
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
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: