[Moto E5 Guides, News, & Discussion] Fersho:
Hi guys!

I've bought Moto E5 XT1944-2 just few days ago, I was looking for some info to root the device but I couldn't find any tutorial, and after a couple of hours I found a way to root the device, so I'm going to explain how to root this device.

Disclaimer

I'm not responsible for any dead phones, even if they explode or cause a war

If you didn't follow the steps one by one

VERY IMPORTANT!!

There's no way to backup using TWRP (cos is not available yet)

Also it seems that it doesn't works with XT1944-1 (try by your own risk)

REQUIREMENTS:

1. Unlocked Bootloader

2. Magisk Manager apk https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

3. Boot Image from stock rom (you need to choose your current variant to avoid some possible problems) https://xdaforums.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901

4. Motorola Drivers and ADB/Fastboot Drivers also

5. PC

6. A good brain and some patience LOL

Well, considering that already have all what I've mentioned lest begin.

FIRST STEP

Download and install Magisk Manager, It will show and advertisement asking if you want to install Magisk v16 (the screenshot says v16.7 but it's because I've got root already).

https://www.dropbox.com/s/a8mj0w0mk7uho7x/Screenshot_20180803-232248%5B1%5D.png?dl=0

Press no thanks, then open the app and in settings change the Update Channel into Beta , it's very important to know that because only Magisk v16.7 works, previous versions wont work!!

https://www.dropbox.com/s/vk404a1d0oou0ji/Screenshot_20180803-225740%5B1%5D.png?dl=0

https://www.dropbox.com/s/fyi6b3c1tgtfj5u/Screenshot_20180803-225745%5B1%5D.png?dl=0

SECOND STEP

After you have already downloaded the zip from your variant, use Winrar/7 Zip or any program to extract boot.img and then copy boot.img to you internal/external storage

THIRD STEP

Open again Magisk Manager, it will show if you want to install Magisk v16.7, press install, and select Patch Boot Image File

https://www.dropbox.com/s/9xyqgu8p4mm2ddy/Screenshot_20180803-232254%5B1%5D.png?dl=0

Then you need to look for the boot.img previously unzipped and moved onto your storage

https://www.dropbox.com/s/xlik3p9cau4952f/Screenshot_20180803-232720%5B1%5D.png?dl=0

After that the process began and it will save a new file called "patched_boot" that will be located on storage/MagiskManager

FOURTH STEP

Reboot your phone to bootloader mode and move to your computer the patched_boot.img, then flash that boot image via CMD with this command:

fastboot flash boot patched_boot.img

https://www.dropbox.com/s/xlik3p9cau4952f/Screenshot_20180803-232720%5B1%5D.png?dl=0

https://www.dropbox.com/s/h0r03mio06jezzz/XDA2.png?dl=0

It might delay less than a minute.

Finally run the command:

fastboot reboot

In my case shows a black screen saying, invalid key with white letters, if that is your case wait a minute, it will boot, if says N/A maybe something is wrong but first wait until the phone starts, if not, you have chosen the incorrect boot.img, to fix that just flash the original boot.img you've extracted with the command:

fastboot flash boot boot.img

And your phone will start normally, you don't need to wipe, and you wont loose your data

If you have some questions, let me know, oh, forget to mention, I'm not a dev so I don't know if it will be any rom available soon...

P.D I've tested only Substratum and it doesn't works, Xposed not tested yet because it turn the phone slower (in my experience) also some modules are not compatible and it will brick your device, Viper4Android works fine, you only need to install it via Magisk but keep in mind to use version 6.1 designed for Masigk v15 and upper...

I've created a telegram channel to help each others =)

https://t.me/joinchat/AAAAAEkiNbz-qY1tlKVgGQ