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: 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 found here: http://www.mymotocast.com/download/MDM?platform=windows. 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 devices If all's well, you'll get a short string return.. Next, type this in the CMD 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 ONLY. 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. 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 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 - https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a 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 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. 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. Adjust TWRP Settings/preferences, like enable md5sum checking. Do NOT enable "rm -rf"..trust me, Lol. 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. https://firmware.center/firmware/Motorola/Moto E4 Plus/Stock/ https://androidfilehost.com/?a=show&w=files&flid=262609 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 ** https://forum.xda-developers.com/moto-e4-plus/how-to/moto-e4-qualcomm-owens-completely-to-t3743441 https://forum.xda-developers.com/moto-e4-plus/development/twrp-twrp-moto-e4-plus-qualcomm-t3697154 If this helped or ya like my work, plz hit Thanks in the OP's (1st post). While donating is not required to use this Guide, it's certainly appreciated. DONATIONS: https://www.paypal.me/bcrichster . . . . . . . .