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:
- Nexus 4 [mako]
- Nexus 10 [manta]
- Nexus 7 (WiFi) [grouper]
- Nexus 7 (GSM) [tilapia]
- Galaxy Nexus (GSM) [maguro]
- Galaxy Nexus (Verizon) [toro]
- Galaxy Nexus (Sprint) [toroplus]
- Nexus S (worldwide version, i9020t and i9023) [crespo]
- Nexus S (850MHz version, i9020a) [crespo]
- Nexus S (Korea version, m200) [crespo]
- 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.
Original source: http://forum.xda-developers.com/showthread.php?t=1848036