Before you proceed we shall make it clear that unlocking the bootloader of Moto E voids its warranty.
Also unlocking the bootloader of Moto E will wipe all data from it which means all personal data will be deleted including your applications, photos, messages and settings.
Make sure to take a backup of your entire device data.
Download the Android SDK OR Download the Minimal ADB and Fastboot
Install the latest Motorola USB Drivers on your desktop. Download here.
Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
Open Command Prompt on androidsdk/platform-tools/ (Hold Shift and right click and press open command window here)
Connect your Phone to PC
Type this in the CMD prompt window – fastboot oem get_unlock_data
You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]
Paste all the lines together in a notepad. Remove the empty spaces.
Now go to the Motorola Site. Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string in the field at step #6. Then click on ‘Can my device be unlocked?’, after which a "REQUEST UNLOCK KEY" button will appear at the bottom of page.
To get your unlock key, select the ‘I Agree’ option. Note: You will receive an email with your Unlock Key at the email address you used to log in there.
Important – Copy the 20-character key that Motorola sent you via email. Make sure your device is connected.
Then in CMD type: fastboot devices (To check your device is connected)
Then type: fastboot oem unlock UNIQUE_KEY
Make sure to replace the word UNIQUE_KEY with the unlock code that you get via email. Then hit enter and unlocking process will start. To relock the bootloader, type in this command – fastbook oem lock
How to remove the unlocked bootloader message
Download the logo.zip.
Extract all the files
Reboot to fastboot mode (power + vol down)
Now open cmd and use cd command to go to the directory where you placed the file.
Now Type the command: fastboot flash logo logo.bin
Reboot from the recovery (use vol up to select and vol down to navigate)
Now your bootlogo should be restored back to the normal version
How to get OTA updates after rooting the device
So you have a rooted Moto E and want to get OTA updates even after rooting your device? Here is how.
1. Use the full unroot option from the Super Su.
2. Flash the stock recovery Use Code : mfastboot flash recovery recovery.img
3. Now you’ll be able to get OTA updates as before