[Moto G7 Power Guides, News, & Discussion] Well Done Sheldon:
Root Using Magisk + A Working TWRP T-Mobile firmware

I’m making this for people who have the T-Mobile ROM installed on their Moto G7 power (ocean) XT1955 and are looking to get root access and custom recovery with TWRP.

The firmware I started with had the Feb. 1st security update installed.

I know that T-Mobile has been giving away the Moto G7 power lately when you sign up for a new line. I do believe it is a fairly new promotion, so I expect there will be people who just got this phone and are looking to root it. That’s where I was a few days ago and I found it a little confusing reading all the other posts, but I’ve figured it out and I’ll tell you exactly what you need to do.

First things first. You need to unlock your bootloader and there is several good posts in this forum that tells you how to do that, so I’m not going into it.

Second. Download Magisk BETA v 20.4 the link is here: https://******************/magisk-beta

Make sure it is the beta version, the latest stable version won’t coexist with TWRP.

Also get the latest magisk manager app here: https://****************** (I used version 7.5.1)

Place both of these downloads onto your external SD card. Make sure it’s the external SD card because when you need these files, you will be in TWRP and the main storage is encrypted and you can’t read it without unencrypting it first. (if you don’t have an external microSD card then you’ll need to figure out how to decrypt as I didn’t want to deal with it and can’t tell you how)

Third get the latest TWRP here: https://dl.twrp.me/ocean/ get the .img and the .zip.

Make sure you get this version shown below. (NOT The 3.3.1-0 version)

twrp-installer-3.3.1-2-ocean.zip

twrp-3.3.1-2-ocean.img

put those two items on your external SD card and also put a copy of the twrp-3.3.1-2-ocean.img on your PC as well.

Fourth. You are going to need “fastboot and ADB” installed on your PC. (If you don’t know what this is then you need to Google it)

On your PC I want you to rename the twrp-3.3.1-2-ocean.img to recovery.img and then place it in the same folder where you have ADB and fastboot installed.

Next you need to reboot your device into fastboot mode. You do this by powering off your phone first and then hold the vol down key and the power key to power it on and it will boot into fastboot mode. Now connect your phone to your PC using the stock cable that came with your phone and then you want to on your PC run a command window or power shell window and navigate to your folder where you have fastboot installed. (If you don’t know what to type in the command line to navigate to your fastboot folder then you better Google it.)

Okay now in the command prompt in your fastboot folder type this:

Fastboot devices {Hit ENTER}

This is just to verify that you can access your phone, if succesuful there will be a line with your phone’s serial number on it.

If you can see your phone, then type this:

Fastboot boot recovery.img {Hit ENTER}

Now if you have done everything correctly, your phone should boot into TWRP. Once in TWRP on your phone, the first thing you need to do is go to the “advanced” tab, then install a zip, and navigate to your external sd card (choose storage) and install the twrp installer zip which will install twrp for you.

Second you want to install the Magisk zip file from your external SD card and then that will root for you.

Lastly go ahead and wipe the dalvik and reboot to your system.

Now you should be rooted. Open up your external SD card and install the Magisk Manager if you haven’t already done so. If you have done everything right, you should also be able to boot into recovery mode and get TWRP.

Now go have some fun with your rooted phone. There’s lots of good custom ROMs in this forum you might like to try.