Home Mobiles Motorola How to Unroot Motorola Moto E and Re-lock the Bootloader

How to Unroot Motorola Moto E and Re-lock the Bootloader

Motorola Moto E is a budget device and will be the first Android smartphone of a large number of buyers (especially in developing countries). After the release of Moto E, there were tons of articles on media sites describing the procedure to Unlock the Bootloader and then finally gaining Root access to the phone’s file system. If for some reason you want to Unroot your Device and re-lock the Bootloader, you must continue reading.

Just Unroot the Motorola Moto E

If you don’t need the root access anymore and want to Unroot your Motorola Moto E (without re-locking the Bootloader), you can easily do that from within the SuperSU app that you flashed onto your phone while rooting.

  1. Open SuperSU
  2. Tap on Settings
  3. Choose Full unroot under Cleanup.Full Unroot option in SuperSU
  4. Tap on Continue.
  5. Wait a few seconds as SuperSU un-registers and removes itself.

Unrooting and Re-locking the Bootloader of Moto E

If you want to also re-lock the bootloader of your Motorola Moto E, you need to flash the stock (factory) firmware onto your phone and then lock back the bootloader. Bootloader is locked only after the phone verifies all files to be original and unchanged. Flashing the factory firmware will also delete all your user data and any apps that you’ve installed. In short, your phone will be returned to the same state as it came when you purchased it.

Re-locking the bootloader does not guarantee a service under warranty. It is up-to the Motorola Authorized Service Centers to acknowledge your warranty or not. But it definitely adds to your chances of getting a service under warranty as they will not be able to detect the previously unlocked bootloader so easily (unless they check the logs)
  1. Download and Install the Motorola Drivers from here
  2. Download the Stock Moto E Firmware from here. Extract it to a particular folder. Make sure that the firmware package that you download should match what is shown in (Settings> About section on your phone)
  3. Download mFastBoot from here and extract it into the same folder where you extracted the firmware.
  4. Turn your phone Off. Press and hold the Volume Down and then press the Power button.You will boot into the fastboot menu.
  5. Connect your phone to your PC via a USB Data Cable and browse to the folder where you extracted your firmware and mfastboot files.
  6. While keeping the shift key pressed, right click on an empty area in the folder and choose Open command window here.
  7. Type or paste the following into the command prompt and press Enter key.
    mfastboot.exe oem lock begin
  8. Now enter the following code to the same command window. The processing should most probably start immediately if you are pasting the code. So you will be needed to press Enter for the last command (erase userdata) after the other processing is complete.
    mfastboot.exe flash partition gpt.bin
    mfastboot.exe flash motoboot motoboot.img
    mfastboot.exe flash logo logo.bin
    mfastboot.exe flash boot boot.img
    mfastboot.exe flash recovery recovery.img
    mfastboot.exe flash system system.img_sparsechunk.0
    mfastboot.exe flash system system.img_sparsechunk.1
    mfastboot.exe flash system system.img_sparsechunk.2
    mfastboot.exe flash modem NON-HLOS.bin
    mfastboot.exe erase modemst1 mfastboot.exe erase modemst2 mfastboot.exe flash fsg fsg.mbn
    mfastboot.exe erase cache mfastboot.exe erase userdata
  9. Finally enter the following last line of code to finish locking the bootloader of your phone.
    mfastboot.exe oem lock
  10. Reboot your phone.
The above method can also be used if you just want to reset your phone to clean factory state. Or to recover a bricked phone. Whether the phone is unlocked or not, the same command must be used to flash back the stock firmware.

Thanks deej_roamer from XDA for the flashing instructions.

Removing the Bootloader Unlocked Warning

Even after flashing the phone with factory firmware and re-locking the bootloader, the crazy Bootloader Unlocked warning at startup might still stay. In order to get rid of it, you need to flash the modified logo.bin file.

  1. Bootloader Unlocked warning in MotorolaDownload this file (logo.zip)
  2. Extract and Copy it to the folder where you saved your Moto E firmare.
  3. Boot your phone into the fastboot mode and connect to the PC.
  4. Run the following command in the Command Prompt window (opened within the folder where the flash files are).
    fastboot flash logo logo.bin
  5. Reboot your phone.


About the author

Narender Singh

Narender is a B-school graduate who loves technology. He generally, avoids news and spends his time writing guides and tutorials which add value to the web. Shoot any of your questions to him at narender@techmesto.com


Click here to post a comment

Email me when somebody replies to my comment.

  • Thank you so much, my device is locked right now.
    But when i try to Removing the Bootloader Unlocked Warning: ‘fastboot’ is not recognized as an internal or external command,
    operable program or batch file. Why?

  • helllooo sir.. i have moto e mobile… it was dead …
    when i connected to PC drivers are shown to be…
    driver name is (qualcomm HS-USB QDLOADER 9008)

  • i rooted my moto e 1st gen long ago with super su. then i accidentally deleted my os completely . then i gave it to a shop and he repaired it with a stock android 4.4.4 , Now my super su is also gone and i want ro re lock my moto e and want to make it as an old state. how to solve this problem? i want a stock firmware too can anyone give a link and tell me how to solve this problem

  • my phone motoe dead since 3weeks
    when connected to charger only notification lights once and no display
    I have already unlocked its bootloader and changed os to kitkat but it was dead.
    I don’t understand what is the reason please help with any suggestion.

  • i rooted the moto e but someone else unrooted so i don’t know where to copy the logo zip file and how to flash it but i am able to see the files like firmware , system , xbin ,etc , root , vendor , on my ” ES File Manager ” . can u give me instructions where to put the logo bin file exactly so it will b very helpful for me.

  • even after i relocked the boot loader in moto e 1st gen i am getting the same unlock warning , i am also getting a ota update , should i go for the ota update

    • Yes you will see that unlocked warning. To fix that, please follow the ‘Removing the Bootloader Unlocked Warning’ section.

  • i had done the process which u described above everything is fine but I’m getting lollipop os how do i can go back to kitkat
    plz help me with a solution

  • Hi

    i’ve got the moto E (2nd gen) in 4G Version.
    Is this methods work on it ?
    since 1 week, there an OTA update and it impossible to made update, my phone stay on recovery mode and i just can force reboot to use my phone
    Can you help me

  • once bootloader unlocked your device is not authenticated to updates.
    just flash custom roms or stock roms available as unofficially. And use it.
    you cant relock your phone.
    if tried getting errors.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,473 other subscribers