[Moto Z2 Force  Guides, News, & Discussion] wraithewok:
So I finally got my hands on a Sprint Moto Z2 Force. It took me a few tries, but I am finally running the stock retail firmware without all of the Sprint garbage hanging out in the background.

This obviously requires an unlocked bootloader, so make sure you take care of that first.

As with anything found on XDA, your mileage may vary and if you brick your device, it's on you. Don't blame me!

The device I picked up was not carrier unlocked, but I was able to fix that pretty easily. With the directions I found here:

https://xdaforums.com/z2-force/how-to/tutorial-guide-moto-z2-force-how-to-t3860534

What I did was flash the newest Sprint Oreo firmware minus the gpt.bin available here:

https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

SKIP 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 bluetooth BTFM.bin

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.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 system_b system_b.img_sparsechunk.0

fastboot flash system_b system_b.img_sparsechunk.1

fastboot flash oem oem.img

fastboot erase cache

fastboot erase carrier

fastboot erase ddr

fastboot reboot

And then downloaded the retail firmware:

https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

And I downloaded the bootloader warning fix from the thread here:

https://xdaforums.com/z2-force/development/remove-bootloader-unlocked-warning-t3702353

I coppied the entire retail image into a new folder and swapped the modem NON-HLOS.bin from the Sprint image into the "new" image folder and also swapped out the logo.bin with the one from the bootloader warning fix. I then flashed everything INCLUDING the gpt.bin from the "new" image folder.

fastboot flash partition 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 bluetooth BTFM.bin

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.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 system_b system_b.img_sparsechunk.0

fastboot flash system_b system_b.img_sparsechunk.1

fastboot flash oem oem.img

fastboot erase cache

fastboot erase carrier

fastboot erase ddr

fastboot reboot

I chose not to install TWRP, but I did boot the latest version from fastboot to install magisk.

Everything is running GREAT. I popped in my AT&T sim card and it runs without a single hitch! I am even passing all SafetyNet checks with magisk hide.