It simplicity as replacement for CyanogenMod as it been shutted down earlier is amazing. Lineage OS does still include various hardware-specific code, which is also slowly being open-sourced anyway. This ROM is the best choice if you need to install Android Nougat 7.1.1 ROM based on your Moto G4.
Make sure you are not ignore these prerequisites before proceed with flashing custom ROM:
Install USB drivers for your device on your PC. To backup necessary files.
Be sure to backup your data including Contacts, SMS / MMS, APN & MMS Settings as well as photos and videos stored on your device’s internal or external storage.
Make sure that your device is well charged. Ideally, the battery level should be around 60-80%. The more the better.
USB Debugging should be enabled on your device. To minimalize the bad risk.
Done with preliminary precautionary steps? Then this is what you need to have:
TWRP recovery, this custom recovery let’s you do a number of cool stuff but the whole point of having a custom recovery is to be able to flash unsigned .zip files. These .zip files could be anything from a custom kernel, boot, recovery, MODs or full custom ROMs. But this is just our recomendation. You can also use other custom recovery such as CWM recovery.
Let’s see how to flash a Lineage OS ROM on Moto G4 using TWRP recovery.
How to Install a Lineage os ROM using TWRP Recovery
Download and transfer the Lineage os ROM and GApps for Lineage OS (available at the bottom) you wish to flash to your device’s storage
Boot your device into TWRP recovery.
Select “Wipe” from TWRP main menu and do a “Swipe to Factory Reset” on the bottom of screen.
└ Note: This will factory reset your device. If your custom ROM doesn’t require a factory reset, then simply skip this step.
Go back to TWRP main menu, tap on “Install” and select the Lineage os ROM .zip file and gapps for lineage os that you transferred to your device in first step.
After selecting the .zip file, do “Swipe to Confirm Flash” on the bottom of screen to begin the custom ROM installation process. This may take some time.
Once both flashed, you’ll see “Wipe cache/dalvik” option, select it and then do “Swipe to wipe” on bottom of screen.
Once cache & dalvik wipe completes, hit the “Back” button on-screen and then select “Reboot System” button.
Most of the custom ROM will not have Google Apps in them. So, you will have to download and install GApps manually along with custom rom falshing process
Download GApps for Lineage OS 7.1.1
Lineage OS ROM for Moto G4 is relesed
Update: Lineage 14.1Official for Moto G4/Plus (athene)
Download of Lineage 14.1 for Moto G4 2015
Lineage OS for Lenovo Vibe K5 series also available. Tell your friends to download it here.
Lastly, you can enable Lineage OS native root access trough Settings menu in Developer options. Search Root access option and enable for Apps only or Apps and ADB. See detail step by step here.
Leave your comment, don'hesitate if you have something in mind.