As we all know, Google just released Android 5.1 and is now rolling out to Nexus and Android One devices. Stock ROMs have pretty much a limited set of features often backed by the OEM, which is Google in this case, and many devices get knocked out without an update for a long period of time. Custom ROMs usually tend to have way more features than AOSP or Stock ROMs. So today we’ll be flashing a Custom ROM on our Nexus device. Make sure you follow everything exactly as mentioned here – else you might end up having a costly paper-holder! Make sure to backup your data before starting.
- A Nexus device (well, of course)
- Windows PC
- ADB and Fastboot along with USB Drivers installed (links below)
- USB Cable
- Custom ROM (zip file) (Refer to Android Police)
- Custom Recovery (recovery.img) (Refer to HowToGeek)
Let’s get started!
- On your Nexus device, go to Settings -> About Tablet/Phone -> *tap on build number 7 times* -> Back to Settings -> Developer Options -> Enable USB Debugging. (Skip if you already have USB Debugging enabled)
- Shut your Nexus device down. Press the key combination listed below for your respective device so that it boots into fastboot mode.
- Connect your Nexus device to your Windows PC.
- Open command prompt, and type ‘fastboot oem unlock’ without inverted commas. (Skip if you’ve already unlocked the bootloader of your device)
- On your Nexus device, press Volume Down Button and then Power Button. This will now unlock your bootloader, as well as wipe all data.
- Now, on your Windows PC, navigate to the folder where you have downloaded the recovery.img file. Now press ‘Shift’ key + Right click, now click on ‘Open Command Window here’. Type ‘fastboot flash recovery recovery.img’ without inverted commas. Replace ‘recovery.img’ with the name of the recovery you have downloaded. Make sure to type .img at the end of it.
- Now you have a Custom Recovery on your device too.
- Transfer the downloaded Custom ROM zip to your Nexus device.
- Reboot into recovery by first going into fastboot mode, and then two times pressing volume down button and then power button.
- Now, navigate to ‘Install’ button. If you have CWM Recovery, use Volume keys to navigate and power button to select. For TWRP, the controls are touch based.
- In the install column, choose the CustomROM.zip you downloaded earlier.
- Now flash it.
- After flashing it successfully, wipe cache, dalvik cache and factory reset.
Nexus 5, 10 – Power Button + Volume Up + Volume Down
Nexus 4, 6, 7 , 9 – Power Button + Volume Down
Congrats, you now have a Custom ROM installed on your Nexus device! Do comment below if you face any issues!