Soft bricked Moto G4 (XT1625) after SuperSU install So, yeah. I told a friend I would root his phone for him... and I went and soft-bricked it. Haven't told him yet, because I'm hoping I can fix it before long, but I'm running out of options (and time).

Side note:

I followed this guide when trying to root: 
www.reddit.com/r/MotoG/comments/22mimr/the_guide_to_rooting_the_motog_with_a_howto/

and got until unlocking the bootloader when I realized that instead of being a guide for the Moto G4, it was a guide for the Moto G on android 4.x.x.

So I did flash the wrong logo.bin, but hopefully that was the only issue created there. I got the correct one elsewhere and all was working fine.

End side note

So I moved to how-to-geek's tutorial here:
http://www.howtogeek.com/115297/how-to-root-your-android-why-you-might-want-to/

I got twrp installed, booted in recovery and loaded SuperSU (version below)

SR1-SuperSU-v2.78-SR1-20160915123031

Now it's softbricked. Kind of just hangs on the boot screen.

I can get into the bootloader and twrp, but that's about all I can do at the moment. I've tried reseting the cache and dalvik cache, and have tried formatting the device with no luck. 

My next step is that I'm installing vanilla firmware from:

http://rootjunkysdl.com/files/?dir=Moto%20G%204th%20Gen%20XT1625

and I plan to try to flash that when It's all done. I'm unsure if that's safe, but don't have many other options. 

If you know anything I can try, please reply. Any help is greatly appreciated
Proper research would have prevented this, in the future if you need information on rooting a device, go to a REPUTABLE source like XDA or a similar forum and make sure the information is specific to your device AND the current Android version. Lollipop, Marshmallow, and now Nougat are changing the way rooting is being done.

All retail/unlocked Moto devices running Marshmallow have an extra step that is required when flashing to force a systemless root installation by the SuperSU install script.

After successfully flashing TWRP and booting it, go to Advanced - Terminal and enter:

echo SYSTEMLESS=true&gt;&gt;/data/.supersu 


And press Enter, then exit. The spelling and spacing must be exact or it won't work. Then go to the main menu of TWRP and flash SuperSU normally, you should see the script specifically state it is doing a systemless install and patch the boot image (and in your case, cleanup an old standard root installation).


Source


Please use only the referenced version from my thread (yes, I am the original author of that source thread), they are tested and working to both root the device, and cleanup a failed root. 

Be aware on the first boot after this procedure, the device will boot loop twice, do not be concerned, this is normal, then it will boot normally after that.

And since you did not do a nandroid backup before rooting (shakes head), you may need to flash back to stock via fastboot before this procedure will work. The image for your device is available here. Remember that you cannot flash this in TWRP, you MUST flash each partition manually with fastboot and this will return the device to out of the box condition.