All of us knows that one of the reasons why Android is so popular among smartphone users is its being an open source OS which paves the way for custom development activities. There are thousands of developers who keep working for different devices and bring us awesome custom ROMs and mods that enhance our mobile experience.
So, if you have got an Android device and feel that certain feature or function is missing from your device, then there are good chances that you have got the missing thing by flashing a custom ROM or mod. But one should always remember that since such things modify the system files on your device to enable or disable a feature, so they require root privileges for that. In this article we are going to give you detailed tutorial on how to install custom ROM on Nexus 5. The instructions are mentioned below.
Preparations before installing ROM on Nexus 5
Given below are the few things that should be taken care of before you proceed to install a custom ROM on your nexus 5. As indulging in such activities involves risk and might sometimes bring unwelcome results, so it’s always better to be prepared for the worst situation.
Step 1. Before flashing ROMs and mods on your device you must confirm that your device has root access and a custom recovery (CWM/TWRP) installed on it. If you have already done that then proceed to the next point.
Step 2. It’s an uncommon situation though, but sometimes installing a custom ROM wipes the EFS partition on your device, resulting in no IMEI. Since you have already rooted your Nexus 5 so don’t worry as you can easily backup the EFS. If you lose your IMEI during flashing official factory image or a custom ROM then you can easily restore the IMEI from the backup.
Step 3. Enable USB Debugging on your Nexus 5. For this, go to Settings> About> Build Version and tap it 7 times and then go back to Settings> Developer options and enable USB Debugging mode. Please note that this step has nothing to do with installing a custom ROM but keeping USB Debugging enabled all the time always does well in unexpected situations.
Step 4. After above process, download the custom ROM of your choice and the appropriate/recommended package of Google Apps. Both the files come in ZIP and are not meant to be extracted, now copy both ZIP files to your Nexus 5.
Step 5. Now boot your device in Recovery mode. To do this manually, turn off your Nexus 5 then press the Volume Down/Up + Power buttons together for 2-3 seconds. Now, your phone will boot into Boot loader mode. Then press any of the volume buttons to scroll Recovery menu and when you see Recovery option, press the Power button to select it.
How to install custom ROM on Nexus 5
Step 1. The procedure below is while using TWRP recovery.
Step 2. Before installing a ROM the first and most important thing that you need to do is backing up your current ROM. So, whenever you flash a new ROM, never Step forget to back up the current one, or always keep one ROM backup at least. To back upa ROM, tap on Backup option and select the following elements: System, Data, Boot, Recovery and EFS.
Step 3. Now, return to the TWRP main menu and tap the Wipe button and select Advanced Wipe and then wipe Dalvik Cache, System, Data, and Cache.
Step 4. Go back to the TWRP main menu and tap on Install option and navigate to the ROM file and select it.
Step 5. Swipe the confirmation button to proceed with installation and the ROM will be installed in a matter of seconds.
Step 6. When the ROM is installed successfully, tap on the Back button and select the Gapps ZIP package.
Step 7. When the Google Apps package gets installed tap the Reboot and then System button.
Step 8. After this your Nexus 5 will reboot and you will see the boot screen for a couple of minutes. So, wait till you’re greeted by the welcome setup screen.
This is all what you have to do to install any custom ROM on your nexus 5.