• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[LINUX] Universal Nexus Linux Toolkit v2.1.0 (Unlock, Lock, Root, CWM, Factory Reset)

Search This thread

tatelucas

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


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 THE TOOLKIT HERE

Galaxy Nexus Linux Toolkit is Open Source! See the CODE

HOW TO EXECUTE (Must run it with superuser permissions. Example given for Ubuntu):
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]: sudo 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]: sudo bash ./unltlauncher.sh

Note: If you're running on a 64 bits OS, please install 32 bits libraries.

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:

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
First. Sorry iSaint

EDIT: Oh and very nice!

This is awesome to see!

Sent from my Galaxy Nexus using xda app-developers app


I'm so happy to hear that you found my work useful! :laugh:
You can review my code at here
I only try it on my GSM Galaxy Nexus, please try it and tell me if everything's is working fine on Sprint Galaxy Nexus. I'm pretty sure that all the options available will work fine. :good:
 
  • Like
Reactions: darkierawr

MrBC

Senior Member
Nov 23, 2011
508
151
Lisburn
www.androidofvirtue.com
Hey man, I am having a little trouble getting this to work for me.

I have a GSM GAlaxy Nexus. I was able to use the kit to unlock the bootloader. When it comes to putting CWM on it fails. I either get

waiting for device >
sending 'recovery' (4896 KB)...
OKAY [ 0.556s]
writing 'recovery'...
FAILED (status read failed (No such device))
finished. total time: 6.132s
rebooting...

this...

< waiting for device >
sending 'recovery' (4896 KB)...
FAILED (data transfer failure (Value too large for defined data type))
finished. total time: 0.008s

or it tells me it is suscessful but then I try and get it into recovery I get the red triangle. Any ideas?


Edit: it is all good now man. I just moved the script to another folder and tried again. Thanks so much for this. I have no idea how long my Windows machine is going to be down for.
 
Last edited:

tatelucas

Senior Member
Nov 28, 2011
128
320
Buenos Aires
Hey man, I am having a little trouble getting this to work for me.

I have a GSM GAlaxy Nexus. I was able to use the kit to unlock the bootloader. When it comes to putting CWM on it fails. I either get

waiting for device >
sending 'recovery' (4896 KB)...
OKAY [ 0.556s]
writing 'recovery'...
FAILED (status read failed (No such device))
finished. total time: 6.132s
rebooting...

this...

< waiting for device >
sending 'recovery' (4896 KB)...
FAILED (data transfer failure (Value too large for defined data type))
finished. total time: 0.008s

or it tells me it is suscessful but then I try and get it into recovery I get the red triangle. Any ideas?


Edit: it is all good now man. I just moved the script to another folder and tried again. Thanks so much for this. I have no idea how long my Windows machine is going to be down for.

That's great! I'm happy to hear that! :D
 
Last edited:

kngharv

Senior Member
Nov 17, 2009
90
9
failed to install recovery

everything seems to be fine, including installing of recovery file.

but when I try to root the phone (which requires recovery)

the tool suppose to bring me to the Clockworkmod recovery

but it didn't.

I got this open android graphics, and all it says is "no command"

and stuck there. I'd have to take out battery to get it reboot.

Any idea on why recovery was not installed correctly?

---------- Post added at 01:48 AM ---------- Previous post was at 01:33 AM ----------

http://code.google.com/p/galaxy-nexus-linux-toolkit/issues/detail?id=2


everything seems to be fine, including installing of recovery file.

but when I try to root the phone (which requires recovery)

the tool suppose to bring me to the Clockworkmod recovery

but it didn't.

I got this open android graphics, and all it says is "no command"

and stuck there. I'd have to take out battery to get it reboot.

Any idea on why recovery was not installed correctly?
 

Sslz

Member
Oct 9, 2009
19
0
Ok , i unlocked the bootloader. What must i do after that ? Do i have first to flash clockworkmod and then root ? When i pressed root , i see nothing to happend , i see a dead droid , i have no option to chooce a zip.
 

MrBC

Senior Member
Nov 23, 2011
508
151
Lisburn
www.androidofvirtue.com
Ok , i unlocked the bootloader. What must i do after that ? Do i have first to flash clockworkmod and then root ? When i pressed root , i see nothing to happend , i see a dead droid , i have no option to chooce a zip.

You flash CWM and then root.

What will happen is you will reboot into CWM where you can flash the su.zip and that is what gives you root access.

The dead droid means you have not flashed CWM.

Sent from my Nexus 4 using xda premium
 

Sslz

Member
Oct 9, 2009
19
0
You flash CWM and then root.

What will happen is you will reboot into CWM where you can flash the su.zip and that is what gives you root access.

The dead droid means you have not flashed CWM.

Sent from my Nexus 4 using xda premium

When i try to flash CWM , i get this error :

Code:
3. Do you want to start the process? [Y/N]: Y

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
< waiting for device >
sending 'recovery' (0 KB)...
FAILED (remote: Invalid Argument)
finished. total time: 0.000s
rebooting...

finished. total time: 0.005s

Press ENTER to return to the main menu...

and when i press root i get :

Code:
4. Wait for automatically reboot in Recovery Mode.
5. Go to 'install zip from sdcard' >> 'choose zip from sdcard' >> 'UNLT'
   and choose 'su.zip'.
6. Go to 'Go back' >> 'reboot system now'.
mkdir failed for /sdcard/UNLT, File exists
432 KB/s (685157 bytes in 1.548s)

Press ENTER to return to the main menu...
 

Crwolv

Senior Member
Mar 28, 2012
1,265
434
Metro Detroit
www.reverbnation.com
Ok , i unlocked the bootloader. What must i do after that ? Do i have first to flash clockworkmod and then root ? When i pressed root , i see nothing to happend , i see a dead droid , i have no option to chooce a zip.

Oh my ......I STRONGLY suggest you use TWRP. Its an opinion but it is from experience that it is way better than clockworkmod, when Android completely spaced it up in my opinion even know they changed it there file system team win fixed there recovery right away it took clockworkmod forever. And this is an unbiased opinion because I was raised on the photon in the only thing you could use on there was clockworkmod so this is a former fan telling you the truth. Better is just that. BETTER.:)

Sent from my Galaxy Nexus using xda premium
 

Sslz

Member
Oct 9, 2009
19
0
In the script , i get this . but i also see the dead droid . The scripts seems that doesn't work ( can't write the recovery )

Code:
3. Do you want to start the process? [Y/N]: Y

< waiting for device >
sending 'recovery' (5990 KB)...
OKAY [  0.799s]
writing 'recovery'...
OKAY [  0.931s]
finished. total time: 1.730s
rebooting...

finished. total time: 0.006s
 
Last edited:

MrBC

Senior Member
Nov 23, 2011
508
151
Lisburn
www.androidofvirtue.com
When i try to flash CWM , i get this error :

Code:
3. Do you want to start the process? [Y/N]: Y

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
< waiting for device >
sending 'recovery' (0 KB)...
FAILED (remote: Invalid Argument)
finished. total time: 0.000s
rebooting...

finished. total time: 0.005s

Press ENTER to return to the main menu...

and when i press root i get :

Code:
4. Wait for automatically reboot in Recovery Mode.
5. Go to 'install zip from sdcard' >> 'choose zip from sdcard' >> 'UNLT'
   and choose 'su.zip'.
6. Go to 'Go back' >> 'reboot system now'.
mkdir failed for /sdcard/UNLT, File exists
432 KB/s (685157 bytes in 1.548s)

Press ENTER to return to the main menu...

When you try and flash CWM are you using automatic or manual. I have always used manual

Sent from my Nexus 4 using xda premium
 

Sslz

Member
Oct 9, 2009
19
0
I flashed the recovery without the script. When i tried ( with the Automatic method ) I was told that the flash was completed , but i CWM was not in my phone . I did it manually.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Universal Nexus Linux Toolkit v2.1.0


    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 THE TOOLKIT HERE

    Galaxy Nexus Linux Toolkit is Open Source! See the CODE

    HOW TO EXECUTE (Must run it with superuser permissions. Example given for Ubuntu):
    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]: sudo 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]: sudo bash ./unltlauncher.sh

    Note: If you're running on a 64 bits OS, please install 32 bits libraries.

    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!
    1
    First. Sorry iSaint

    EDIT: Oh and very nice!
    1
    This is awesome to see!

    Sent from my Galaxy Nexus using xda app-developers app
    1
    Much appreciated.
    1
    First. Sorry iSaint

    EDIT: Oh and very nice!

    This is awesome to see!

    Sent from my Galaxy Nexus using xda app-developers app


    I'm so happy to hear that you found my work useful! :laugh:
    You can review my code at here
    I only try it on my GSM Galaxy Nexus, please try it and tell me if everything's is working fine on Sprint Galaxy Nexus. I'm pretty sure that all the options available will work fine. :good: