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.

 

, , ,

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

  1. Renato September 4, 2015 at 3:13 am #

    Os arquivos para download não funcionam, Quero rebloquear bootloader urgente !!!

  2. sunny kishore September 8, 2015 at 2:10 pm #

    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.

  3. Xilef_Jr October 9, 2015 at 11:13 am #

    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
    Thx

    • Narender Singh October 9, 2015 at 11:53 am #

      This won’t help you for the 2nd Gen Moto E. Recommend you to browse the XDA Forums for a possible solution.

      • Xilef_Jr October 9, 2015 at 1:21 pm #

        Thanks for your fast reponse, i’ll search on XDA today

  4. vinay November 30, 2015 at 1:04 pm #

    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

  5. shahrukhkhan January 18, 2016 at 8:43 am #

    How to relock boot loader without unrooting moto e…

  6. chinmay April 20, 2016 at 2:03 pm #

    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

    • Narender Singh April 20, 2016 at 6:48 pm #

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

  7. chinmay April 21, 2016 at 9:34 pm #

    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.

  8. Navin April 23, 2016 at 5:39 pm #

    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.

  9. Navin April 23, 2016 at 5:41 pm #

    I gave it to moto service care but they can’t do any thing they said.

  10. senet May 3, 2016 at 6:15 pm #

    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

  11. MANIMARAN May 19, 2016 at 11:45 pm #

    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)
    WHAT CAN I DO … PLZZZZ HELP ME SOON…

  12. Ray Indra September 26, 2016 at 6:59 pm #

    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?

  13. RAHUL ROY October 12, 2016 at 3:43 pm #

    Is all the command work same on moto e2 XT1506 to lock again bootloader in mfastboot.

  14. patel jay October 15, 2016 at 1:03 pm #

    my moto e is root but now i want to lock and i don’t show Warnning so plz Help me…

Comments Page Navigation
1 2

Leave a Reply