Skip to main content

A quick guide to unlock and root your Nexus on Android 5.X



I've found a lot of instructions on the internet with a lot of very pervasive and superfluous instructions, and wanted one that was the least destructive with the fewest amount of required steps. These are the steps I use for my Nexus 5:

Preparation:
Firstly, download the latest adb and fastboot binaries (latest is best). 
Download SuperSU: http://download.chainfire.eu/supersu 
Download ClockworkMod Touch recovery: https://www.clockworkmod.com/rommanager
(Optionally) download the factory images: https://developers.google.com/android/nexus/images

Your phone needs to be in fastboot mode for any fastboot command to work... try Power+VolDown at startup for Nexus 5.

To unlock:
(Will wipe ALL data, you can always lock again without wiping, may also void your warranty) 
fastboot oem unlock


To root:
1) Boot up your device at least once! (after unlock or factory images re-install)
2) boot into custom recovery: (from fastboot)
fastboot boot recovery-clockwork-touch-XXXXX.img 
You could also flash and then boot recovery: (since rooting prevents OTA updates from working, and requires a re-flash of the system partition anyway, this is not that big a deal anymore)
fastboot flash recovery recovery-clockwork-touch-XXXXX.img
3) Side load it:
(make sure you are "installing from zip" on CWM recovery using "sideload" option) 
adb sideload UPDATE-SuperSU-XXXXX.zip

NOTE: You should see no errors when you now exit CMR and reboot... if you do, you've done something wrong and not followed these instructions to the letter. It also may ask to fix root, but I found this was not needed for any of the times I've done this.

Comments

Popular posts from this blog

Firefox: Open diverted links in new background tab instead of new window

This has frustrated me for a long time... something I really liked about Opera. Go to 'about:config' url and set: browser.tabs.loadInBackground to true (should be already) browser.tabs.showSingleWindowModePrefs to true browser.tabs.loadDivertedInBac kground to true Then in advanced preferences is a new option: 'Force links that open a new window to:' can be used for immesdiate effect.

Compacting internal memory of SAP tables in ABAP.

How to force-free memory from deleted entries in internal tables in SAP ABAP, since the garbage collector won't touch these. This is only needed in rare occasions and/or when memory fragmentation needs to be avoided. This method will do it fast, and correctly: CLASS cl_demo DEFINITION . PUBLIC SECTION . CLASS - METHODS compact CHANGING ct_tab TYPE ANY TABLE . ENDCLASS . CLASS cl_demo IMPLEMENTATION . METHOD compact . FIELD-SYMBOLS : <lt_buffer> TYPE ANY TABLE , <lt_buffer_std> TYPE STANDARD TABLE , <ls_buffer> TYPE any , <ls_buffer_prev> TYPE any . DATA : ltr_buffer TYPE REF TO data , lsr_buffer TYPE REF TO data , l_kind TYPE c LENGTH 1 . " simple case: IF ct_tab IS INITIAL . FREE ct_tab . RETURN . ENDIF . CREATE DATA ltr_buffer LIKE ct_tab . DESCRIBE TABLE

My Custom Mechanical 60% Keyboard Build

My Custom Mechanical 60% Keyboard Build All the parts   1x GH60 (Satan) board - $35 61x Cherry Clear switches  - $35 2x Cherry Blue switches - $3 10x Cherry Red switches - $10 1x PCB Stabilizer set (6.25 space) - $6 1x Royal Oak Glam 60% case (Black Walnut) - $78 1x Aluminium 60% plate - $19 1x SA profile Choclatier keycaps - $102 ( base, modifiers, and novelties ) 1x Braided Nylon USB cable - $15 Solder, Tools, Risers, Labor, etc. Total: ± $300 (Other single switch types added as needed) Testing the board I had my helper do the work here. We needed to test the board before applying any solder. Assembling Add the stabilizers first Add the plate (using a few switches as spacers) Then add the rest Solder solder solder... And test again: The casing The casing I received did to have built-in risers: So I added my own: Then Assemble (using temporary spare GMK Carbon Cherry-profile keycaps):