1. Download our Official Android App: Forums for Android!

Root Bootloader Unlock & Back to Stock for Motorola E4 Plus "owens"

Discussion in 'Android Devices' started by bcrichster, Apr 20, 2018.

  1. bcrichster

    bcrichster Android Expert
    Recognized Developer Thread Starter
    Rank:
     #34
    Points:
    713
    Posts:
    5,679
    Joined:
    Jan 23, 2013

    Jan 23, 2013
    5,679
    3,956
    713
    Male
    Electrical, Electronics
    Florida
    MOTO E4 PLUS XT1776

    I put this Together from some of my trial & errors plus some info from a few threads on XDA, Hope this helps you as much as me

    Bootloader Unlock:
    WARNING: UNLOCKING YOUR BOOTLOADER VOIDS YOUR WARRANTY.PROCEED AT YOUR OWN RISK.
    NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.

    INSTRUCTIONS:

    1. Make sure to take a backup of your entire device data.
    2. Download the Android SDK OR Download the Minimal ADB and Fastboot
    3. Install the latest Motorola USB Drivers on your desktop found here: http://www.mymotocast.com/download/MDM?platform=windows.
    4. Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
    5. Open Command Prompt on androidsdk/platform-tools/ (Hold Shift and right click and press open command window here)
    6. Connect your Phone to PC
    7. Type this in the CMD prompt window - fastboot devices
    8. If all's well, you'll get a short string return..
    9. Next, type this in the CMD window - fastboot oem get_unlock_data
    10. You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]
    11. Paste all the lines together in a notepad. Remove the empty spaces ONLY.
    12. Now go to the Motorola Site.: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b ..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.
    13. 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.
    14. Important – Copy the 20-character key that Motorola sent you via email. Make sure your device is connected.
    15. Then in CMD type: fastboot devices (To check your device is connected)
    16. Then type: fastboot oem unlock UNIQUE_KEY

      NOTE: In above command, replace the word ‘UNIQUE_KEY’ with the unlock code that you got via email. Then hit enter and the unlocking process should begin. Wait for a while and soon you’ll see ‘Bootloader Unlocked’ warning on your Moto E.

      To relock the bootloader:

      Go to Fastboot and give the command -
    • fastboot oem lock
    Motorola Tutorial -

    Check recovery/ TWRP image:
    In terminal, type or copy/paste:
    • fastboot boot recovery.img
    Flash recovery/TWRP image:
    In terminal, type or copy/paste:
    • fastboot flash recovery recovery.img

    1. Now press the volume buttons (while still in fastboot mode) until ya see RECOVERY MODE, then press pwr button and it'll boot into TWRP.
    2. Wipe only the caches and reboot right back to recovery. Yes, You need to do reboot recovery to help set it or the device will otherwise swap TWRP with the Stock Recovery and you'll have to reflash again.
    3. Adjust TWRP Settings/preferences, like enable md5sum checking. Do NOT enable "rm -rf"..trust me, Lol.
    4. Reboot Recovery last time and MAKE A BACKUP!!
    OK.. When ya wipe data to remove encryption:
    • Format 1st (type YES & hit enter)
    • Immediately afterwards do a normal data swipe, you'll get red lettering and it'll protest and ask ya to reboot for data function but instead of a normal rebooting, you should..
    • Directly reboot recovery and repeat until all red lettering and warnings cease
    • Now you can install ROMs at leisure without issues
    Completely back to Stock.

    WINDOWS:
    First get your stock firmware here, the only place to get Moto stock firmware.

    Then get fastboot. Google fastboot or grab the one from here, This one still works:
    https://www.androidfilehost.com/?fid=962339331459002428

    Copy the extracted files to you ADB/Fastboot installaton folder (usually in like, C:windows/programfiles/x86/minimal-adb_whatever)
    - or -
    Go to the folder where you put everything, open up a command or powershell prompt. Hold down shift, right click, "open command window here".

    You can copy/paste the entire thing and past it in your command window at one time or even type it out.... line by line.
    Start by checking to see if the PC sees the device:

    fastboot devices


    Commands:

    fastboot oem fb_mode_set
    fastboot flash gpt gpt.bin
    fastboot flash bootloader bootloader.img
    fastboot flash modem NON-HLOS.bin
    fastboot flash fsg fsg.mbn
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash dsp adspso.bin
    fastboot flash logo logo.bin
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash system system.img_sparsechunk.5
    fastboot flash oem oem.img_sparsechunk.0
    fastboot flash oem oem.img_sparsechunk.1
    fastboot erase cache
    fastboot erase userdata
    fastboot erase ddr
    fastboot oem fb_mode_clear
    fastboot reboot


    LINUX:
    No drivers to stress or anything. Just extract the Firmware zip, open the folder and right-click inside to open a terminal and use these commands. They're the same thing as above, just the added word "sudo". You can copy/paste the entire thing and past it in your command terminal at one time or even type it out.... line by line.
    Start by checking to see if the PC sees the device:

    sudo fastboot devices


    Commands:

    sudo fastboot oem fb_mode_set
    sudo fastboot flash gpt gpt.bin
    sudo fastboot flash bootloader bootloader.img
    sudo fastboot flash modem NON-HLOS.bin
    sudo fastboot flash fsg fsg.mbn
    sudo fastboot erase modemst1
    sudo fastboot erase modemst2
    sudo fastboot flash dsp adspso.bin
    sudo fastboot flash logo logo.bin
    sudo fastboot flash boot boot.img
    sudo fastboot flash recovery recovery.img
    sudo fastboot flash system system.img_sparsechunk.0
    sudo fastboot flash system system.img_sparsechunk.1
    sudo fastboot flash system system.img_sparsechunk.2
    sudo fastboot flash system system.img_sparsechunk.3
    sudo fastboot flash system system.img_sparsechunk.4
    sudo fastboot flash system system.img_sparsechunk.5
    sudo fastboot flash oem oem.img_sparsechunk.0
    sudo fastboot flash oem oem.img_sparsechunk.1
    sudo fastboot erase cache
    sudo fastboot erase userdata
    sudo fastboot erase ddr
    sudo fastboot oem fb_mode_clear
    sudo fastboot reboot


    ======================================
    ** Sources **

    If this helped or ya like my work, plz hit Thanks in the OP's (1st post). :cool:

    While donating is not required to use this Guide, it's certainly appreciated.
    DONATIONS:
    https://www.paypal.me/bcrichster
    .
    .
    .
    .
    .
    .
    .
    .
     

    Advertisement

    #1 bcrichster, Apr 20, 2018
    Last edited: Jun 21, 2018 at 11:41 AM
    JesseKnows likes this.
  2. bcrichster

    bcrichster Android Expert
    Recognized Developer Thread Starter
    Rank:
     #34
    Points:
    713
    Posts:
    5,679
    Joined:
    Jan 23, 2013

    Jan 23, 2013
    5,679
    3,956
    713
    Male
    Electrical, Electronics
    Florida
  3. bcrichster

    bcrichster Android Expert
    Recognized Developer Thread Starter
    Rank:
     #34
    Points:
    713
    Posts:
    5,679
    Joined:
    Jan 23, 2013

    Jan 23, 2013
    5,679
    3,956
    713
    Male
    Electrical, Electronics
    Florida
    Op updated with TWRP flashing info, I apologize for not having it available earlier. Hope this helps
     
  4. JesseKnows

    JesseKnows Member
    Rank:
     #757
    Points:
    16
    Posts:
    59
    Joined:
    May 2, 2014

    May 2, 2014
    59
    9
    16
    bcrichster likes this.
  5. bcrichster

    bcrichster Android Expert
    Recognized Developer Thread Starter
    Rank:
     #34
    Points:
    713
    Posts:
    5,679
    Joined:
    Jan 23, 2013

    Jan 23, 2013
    5,679
    3,956
    713
    Male
    Electrical, Electronics
    Florida
    Thank You very much for pointing that out. They did a number on is but I fixed the problem with 1st link. I still have the original FW's I can reUpload sometime later if necessary. As for fastboot, I'll have that uploaded or fixed by lunchtime plus a cpl other NON MS's fkn Windows options, Lol. Really, I don't like Windows for many important reasons. You should consider a Linux distro too, I know a beautiful & simple one for ppl coming from Windows as it' similar & ya don't need drivers and stuff for Linux. Just a thought..
     
  6. bcrichster

    bcrichster Android Expert
    Recognized Developer Thread Starter
    Rank:
     #34
    Points:
    713
    Posts:
    5,679
    Joined:
    Jan 23, 2013

    Jan 23, 2013
    5,679
    3,956
    713
    Male
    Electrical, Electronics
    Florida
    #6 bcrichster, Jun 21, 2018 at 11:42 AM
    Last edited: Jun 21, 2018 at 12:25 PM

Share This Page

Loading...