yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
https://dl.twrp.me/nash/

Download img. If you want twrp on your phone, download the installer zip and put the zip on your phone. Fastboot boot the image with "fastboot boot path/to/TWRP.img" in bootloader. Once TWRP boots in your phone, enter password to decrypt (it's your unlock code). Flash magisk. Some users claim boot loop without erasing data. I had no such issue.

If you want twrp on your phone, also flash the installer zip
[Moto Z2 Force  Guides, News, & Discussion] johnathanamber:
[MENTION=4604067]Uzephi[/MENTION],

Thanks for the reply. I'll give it a go.

Is there a specific version of Magisk that should be used or just the latest (16.0 stable)?

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Does doing this void the manufacturer warranty?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Yes, the process of unlocking the bootloader does void your warranty.
[Moto Z2 Force  Guides, News, & Discussion] johnathanamber:
That's interesting that unlocking does void the warranty since it is an option under Settings > System > Developer Options > OEM unlocking. It doesn't inform of anything about the warranty. It only indicates that device protection features will not work. You would think they would make it harder and inform of warranty violation.

Can a factory reset or the stock rom be used again to reset everything to allow for a warranty repair, etc?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
The process of unlocking requires a key from Motorola's website which gives them your device's unique key so they know you unlocked your bootloader and that site has all the warnings and bells.

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
[Moto Z2 Force  Guides, News, & Discussion] johnathanamber:
Very interesting.... then what does that option do? The PIN it asks me for is simply my unlock code... which works without issue.

The Settings > System > Developer Options > OEM unlocking options does have a caption:

Allow the bootloader to be unlocked

Is that Motorola site still required after enabling this option?

Yes, the Motorola site is still required even with the above option enabled:
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Your bootloader isn't unlocked then. The "allow bootloader unlocking" option in settings does not magically unlock your device. It allows you to unlock it via the bootloader with the instructions linked above from Motorola's unlock site. Follow their directions after logging in/creating account. They will send you an unlock.bin file to unlock your phone.

That feature in settings is to just prevent anyone who doesn't have secure access to your phone to unlock your bootloader in the event your phone gets stolen.
[Moto Z2 Force  Guides, News, & Discussion] johnathanamber:
Understood. Simply put, at this point the only way to root the Z2 is to unlock your bootloader since it is required to run TWRP, and to do that, you're required to go through Motorola which would avoid the warranty.

So, unless it can be loaded through another method, the only way to do this is to void the warranty.
[Moto Z2 Force  Guides, News, & Discussion] AirForceOnes0010:
Will the sprint method work on a US cellular phone? I remember using a sprint image on a USC galaxy tab s, curious if it still would work that way for a z2f. Asking for a friend not big into xda stuff
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
I have flashed a T-Mobile boot to my Sprint for testing purposes and it didn't cause any harm. I'd suggest downloading the official TWRP image and boot to it instead of flashing and flashing magisk (factory reset after or you might boot loop)
[Moto Z2 Force  Guides, News, & Discussion] :
Just to annoy you with a Noob question! ;)

This phone is easily rooted on Sprint? I am about to return my LG V30+ as I think there is no hope of root or even debloating....
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Follow the instructions in https://xdaforums.com/z2-force/how-to/oreo-nougat-how-to-root-z2-t3756669

Edit: cannot debloat sprint variant thus far on Oreo, still working on that. Roms sort of work with known issues and for sprint only model, no LTE.
[Moto Z2 Force  Guides, News, & Discussion] SpoonThief:
So just to confirm, if I root but don't flash a ROM, I'll still have LTE?

EDIT: I just went ahead and dove in, rooted without flashing a custom ROM (as I don't mind the stock ROM aside from Sprint's bloat) and still have LTE.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Custom ROMs have LTE now as well...
[Moto Z2 Force  Guides, News, & Discussion] lalalalar:
about the sprint phone

the link is invalid... can you please update?
[Moto Z2 Force  Guides, News, & Discussion] Rukbat:
I wonder if any dev has the AT&T or Verizon version handy and can try patching the boot.img and booting from it, just to see if boots. (If it does, the phone should be rooted - without unlocking the bootloader). Now if only someone could rework twrp.img to boot on them - even if we can't install it, booting to it (even if we have to disable the lock screen) would allow backups and (maybe) restores.
[Moto Z2 Force  Guides, News, & Discussion] lalalalar:
the url is incorrect please update

i am tryng right now can't get the accses
[Moto Z2 Force  Guides, News, & Discussion] Rukbat:
So much for that idea.
[Moto Z2 Force  Guides, News, & Discussion] JoJoEx:
the links dont work
[Moto Z2 Force  Guides, News, & Discussion] Rukbat:
[MENTION=9824605]JoJoEx[/MENTION], that's the 4th post saying the same thing. How many more do we need before we get the idea that the links don't work?
[Moto Z2 Force  Guides, News, & Discussion] JoJoEx:
I'm sorry I thought I might get different answers on different threads.
[Moto Z2 Force  Guides, News, & Discussion] Rukbat:
Your question was the 4th one posted on this page of this thread. (And, no, you won't get different answers about the same phone on different threads. Different phones, yes. The same phone, no.)
[Moto Z2 Force  Guides, News, & Discussion] chetqwerty:
Oh bummer i had thought your root method didn't rely on a locked bootloader, don't know what i was thinking.
[Moto Z2 Force  Guides, News, & Discussion] logikism:
2 questions.

I'm on my second device already because after August ota my phone turned into a tablet. There was no sim, cellular, or mobile data options in settings at all. I'm scared to update this on.

Did I do something wrong last time?

If I try to do the ota on this phone, and the same thing happens, is there a way to flash back to stock?

I usually am weary to root unless theres a way to get back to stock.
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
Quick question: I unlocked my bootloader before taking the OTA update. Will taking it relock the bootloader? I've been hesitant to take it for this reason. Thanks!
[Moto Z2 Force  Guides, News, & Discussion] logikism:
If it does, just unlock it again.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
No you should be fine im creating a flash all tonight for the new sprint firmware so even if it does ill have you fixed up tonight! (:
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Updated op with the latest sprint image with magisk enjoy!
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
I'm having an issue.

Magisk verifies that it's on the latest version (14.0), but anytime I try to install a Magisk module, I get the following error:

! /data/magisk isn't setup properly! !
! Please install Magisk 14.0+ !

Failed
Installation Error!
[Moto Z2 Force  Guides, News, & Discussion] JodyBreeze901:
Looks like this phone has now become my number one choice. My Note 5 is on its last leg and I need a replacement soon.....
[Moto Z2 Force  Guides, News, & Discussion] logikism:
im on tmo

took the ota fine this time!

boot flash went fine

1ROOTED!

but i need viper. can i use one of them flashing apps cuz we dont have twrp?
[Moto Z2 Force  Guides, News, & Discussion] Saythis:
This makes me want to get rid of my S8 for the Z2 Force. Awesome!
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Right now modules won't work because we are using unreleased version of magisk
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
unreleased as in a version newer than the current release that the Manager hasn't been updated to support, or unreleased as in modified to be compatible with the Z2 Force?

Will the manager ever gain support for our version of Magisk? I was really hoping to get the Pixel nav bar, Oreo emojis, etc.

How are we supposed to get around SafetyNet?
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
I got a message saying that the August .img is corrupted after I drag it to the command window and hit enter :(
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Which boot img
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
It's unreleased work from topjohnwu from a version he hasn't released yet and yes it has been modified to work with our device. So it's an unofficial build and we're still working on it
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
I see what happened now. After entering fastboot flash boot, I got a message saying that neither -p product specified nor ANDROID_PRODUCT_OUT set. I have no idea what this means.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Make sure there is a space after the boot part of the command then put it there
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
It still won't work :( What does the message I'm getting mean?
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
First of all which phone do you have
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
The T-Mobile variant.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Ok now next question. Which patch are you on.
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
That's fine.

Out of curiosity, is there any time frame of getting module support? Not being pushy as I can wait, but curious if we can expect it soon.
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
I just took the OTA update. I'm trying to flash your August .img.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
As soon as official drops and we get it working again on ours we should have support no guarantees
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Please send me a picture of your command screen
[Moto Z2 Force  Guides, News, & Discussion] revulv:
This magisk I downloaded from this thread says I'm not rooted and need to patch? But if I download a different version from somewhere else it says rooted, but can't update.

---------- Post added at 12:32 AM ---------- Previous post was at 12:25 AM ----------

Nevermind, just had to restart.

---------- Post added at 12:46 AM ---------- Previous post was at 12:32 AM ----------

Can I remove magisk by simply clicking uninstall? My Snapchat logged out and I can't get back in with root enabled.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
No, once rooted, unless safety net passes, those apps won't work.
[Moto Z2 Force  Guides, News, & Discussion] revulv:
It was working fine until I logged out... It used to be you had to log in and then install Xposed and detection wouldn't notice and keep you logged in. Same **** happened. I know it's two different things, but still...
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Figured id throw this out there.... This wasnt meant to be released but you guys craved root so much I figured id release our current work. This was more meant to get the files for a device tree and get twrp funtioning then by that time topjohnwu would have released a better base for our work. Right now were running of commits made a few days ago along with tweaks from us to work on our device. Is it stable? Yes. Do something not work? yes. But thats the nature of the beast. were working on things and i really dont have time to help everyone with problems. The past week ive been gonig to sleep for 4 hours then staying up for 4 hours then passing back out in the morning just to give a little more progress for everyone. So please understand and take this more as progress then a final product
[Moto Z2 Force  Guides, News, & Discussion] revulv:
Joe, can I uninstall from the app and click restore stock boot, thus removing root and preserving my files? I need to have my Snapchat. Lol.
[Moto Z2 Force  Guides, News, & Discussion] :
Or just run the stock system and start from scratch.
[Moto Z2 Force  Guides, News, & Discussion] filthyfnj24:
If I'm already rooted with the T-Mobile.img is there any benefit to flashing the Sprint one?
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Sprint or TMobile
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Or just flash this boot img https://drive.google.com/file/d/0B1tqDJm_qQf4VXNZbkpDcjRlVnM/view?usp=drivesdk newest tmo
[Moto Z2 Force  Guides, News, & Discussion] revulv:
T mobile. If I flash that boot, will I lose my files?

---------- Post added at 01:44 AM ---------- Previous post was at 01:33 AM ----------

So, I unrooted by flashing the file you suggested. Relogged into Snapchat and reflash the root. Now if I stayed logged into Snapchat it stays logged in. Same used to be the scenario with Xposed.
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
I appreciate the work you've put in! I'll be following close! Luckily I'm able to stay logged into Snapchat.
[Moto Z2 Force  Guides, News, & Discussion] slevdogg:
You'll lose files on your existing /boot partition
[Moto Z2 Force  Guides, News, & Discussion] revulv:
Didn't lose anything.
[Moto Z2 Force  Guides, News, & Discussion] slevdogg:
You did on your /boot partition
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
This is what I'm getting:

Microsoft Windows [Version 6.2.9200]

(c) 2012 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot

error: neither -p product specified nor ANDROID_PRODUCT_OUT set

C:\Program Files (x86)\Minimal ADB and Fastboot>C:\Users\sabrd_000\Downloads\Mag

isk_Moto_August.img

C:\Program Files (x86)\Minimal ADB and Fastboot>
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
No bro you add other magisk after the fastboot flash boot
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
Which other Magisk? Sorry to be confusing. ADB doesn't seem to be recognizing my device.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Type this in fastboot flash boot C:\Users\sabrd_000\Downloads\Mag

isk_Moto_August.img
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
Which other Magisk? Sorry to be confusing. ADB doesn't seem to be recognizing my device.

EDIT

Got it now :) I was clicking enter BEFORE dragging the Magisk file to the command window *facepalm* my bad :P

---------- Post added at 10:18 PM ---------- Previous post was at 10:13 PM ----------

...aaaand I'm rooted! Thanks so much for all your help! You rock :)
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
I completely understand. I only reported the issues in an attempt to resolve current issues and hope my feedback helps in debugging. Keep up the great work. We all appreciate it. If you need any logs or anything from me, send me a PM and I will log the best I can with my Sprint phone
[Moto Z2 Force  Guides, News, & Discussion] bart bart:
it did not relock the bootloader when i did it
[Moto Z2 Force  Guides, News, & Discussion] presto1979:
Thank you guys for all your hard work! :good:
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
I was relieved when I performed the update and saw the bootloader "warning" when my phone rebooted ;) Less work for me!
[Moto Z2 Force  Guides, News, & Discussion] Chrisy8s:
I'm kind of a noob.. ok complete noob to all this so excuse my dumb question... Does rooting effect mods working?
[Moto Z2 Force  Guides, News, & Discussion] seniorstew:
Does Magisk Hide work for Android Pay? Thanks for you hard work!
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
Not at the moment.
[Moto Z2 Force  Guides, News, & Discussion] DistortStatic:
Magisk told me there was an update, and when I went into the app it told me I was unrooted now and needed to install the update. T-Mobile variant, anyone else have this problem? And what should I do about it, just reflash the boot image? Also I'm on the August security patch already.
[Moto Z2 Force  Guides, News, & Discussion] logikism:
FYI substratum works but there's a 50/50 change the theme you choose will give you bootloop or fc systemui constantly!
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
It has happened to me twice today (also on T-Mobile), reflashing does work. Sorta like a tethered jailbreak. Anyone have any clues on what I'm doing to lose root or anything to keep it? :confused:
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
Which theme has worked well for you? I tried Spectrum and just got error codes.
[Moto Z2 Force  Guides, News, & Discussion] seniorstew:
Just went back to the moto Z2 after root was announced (Jump on demand) I think I will hold off on rooting until some of the kinks are worked out. Given the amazing support it shouldn't be too soon!
[Moto Z2 Force  Guides, News, & Discussion] DistortStatic:
Do you have check for updates enabled on your magisk manager app? It didn't stop working until I got a push notification alerting me that "a new update is available" for magisk, I'm going to reflash root tomorrow morning and turn off check for updates and see if that helps.
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
That's an idea. I will give that a go in the morning. :laugh: I will try and report back.
[Moto Z2 Force  Guides, News, & Discussion] DistortStatic:
Just flashed root again, I turned off check for updates in the Magisk Manager and will see how it works out, I'll let everyone know if I'm still rooted tomorrow or if it breaks before then.
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
I reinstalled root and Magisk manager late last night. I set the update channel to beta and turned off the notifications. So far I've been rooted for about 9 hours straight (twice as long as previous). Fingers crossed that it keeps.

I do use systemless, but I don't think that should change anything, I still have full R/W in es file manager.

EDIT : Just lost root. :confused: I'll try again tonight.
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
Is anyone missing their ability to enable Trusted Voice in Assistant? Weirdly enough, Moto Voice has trusted voice enabled and is working, but the option is missing in Assistant. My Smart Lock settings are also completely empty. Didn't know if this was due to root, unlocked bootloader, or something else.
[Moto Z2 Force  Guides, News, & Discussion] Beciant:
issue

Running into this issue. After I drag the root image into the cmd. Getting < waiting for any device >
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
Make sure the Motorola device drivers are installed and that you're in the bootloader.
[Moto Z2 Force  Guides, News, & Discussion] logikism:
I don't remember. Not worth it.... Systemui fc is most likely the result. I'm back to stock after about 2 hour of flashing. Waiting for a working twrp before I reroot.
[Moto Z2 Force  Guides, News, & Discussion] :
Are w close to a working twrp? I know the Pixel after all this time has a glitchy version but a good unofficial version. So if anyone is in contact with [MENTION=912474]Dees_Troy[/MENTION], that might be a start.
[Moto Z2 Force  Guides, News, & Discussion] filthyfnj24:
After seeing all the issues people are having I'm starting to wonder if I got really lucky, or just properly followed the instructions. While TWRP would be nice, I'm very happy. I have root working perfectly, adaway, and tibu with full r/w permissions. Sprint model. I flashed the T-Mobile img before the Sprint one was available.
[Moto Z2 Force  Guides, News, & Discussion] forty9er:
Can we flash with flashfire just checking been tempted to flash A.R.I.S.E sound mod
[Moto Z2 Force  Guides, News, & Discussion] DistortStatic:
I had this issue at first too, at some point when attempting to use the ok Google command with the screen off it asked me if I wanted to use trusted voice with ok google to unlock my phone, I said yes and it's worked ever since. Sorry I can't give more exact instructions, I was just happy that I stumbled across it myself, I found it pretty annoying that the option wasn't there in the first place.

---------- Post added at 11:00 PM ---------- Previous post was at 10:57 PM ----------

Still rooted, not exactly sure why it broke before but I'm gonna test some stuff out, if anything changes I'll let everyone know.
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
No, FlashFire is not properly functioning for me.
[Moto Z2 Force  Guides, News, & Discussion] Pizzuto:
I'm having same issue, Trusted voice options have vanished.
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
Mine magically reappeared after a while. Sounds like something going on with Google services, and seems to be unrelated to root.

I'd say just hold out and hope it shows back up soon.
[Moto Z2 Force  Guides, News, & Discussion] DistortStatic:
Mine wasn't working right before I had root and fixed itself while rooted, I'm pretty sure root is totally irrelevant
[Moto Z2 Force  Guides, News, & Discussion] donosaur:
Has anyone had any luck changing the boot animation? I did what worked on nexus phones. Replacing the bootanimation.zip in /system/media and setting perms to 755. Nothing seems to be working.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
The boot animation is stored in a separate location for our phones. It's in /OEM currently can't get r/w on it to change it.
[Moto Z2 Force  Guides, News, & Discussion] donosaur:
Ugh. That is annoying. Thanks for letting me know.
[Moto Z2 Force  Guides, News, & Discussion] jdh10475:
Been a wile since having a phone with root but it sure is nice to have adaway back. Thanks for the work and this thread.
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
Never mind. I got it

What do I do with Magisk Manager after install? I have never used it before. I am unlocked and everything seemed to go perfect but no root
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
Woohoo! Got it! :D
[Moto Z2 Force  Guides, News, & Discussion] raver445:
if i took the august security patch will i need to wait at all?
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
I took the patch and no problems here.

---------- Post added at 11:35 PM ---------- Previous post was at 11:24 PM ----------

Btw since I rooted my Smart Lock has been working beautifully. That's not to say it might stop anytime soon though LOL
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
Magisk is like Xposed, and it can also hide root from certain apps. However, AFAIK right now Magisk itself isn't functioning fully with those two features.
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
Thanks. I finally figured that out when I finally got root. Before that the app wouldn't really do anything . Lol But now that its property installed with root I can see it looks like a really nice app.
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
Just wondering. Why isn't this in the development section?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
"How to Root" in title means it's a guide, not development.
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
Oh OK. That makes sense. Just wondering.
[Moto Z2 Force  Guides, News, & Discussion] pgg285:
My apps that require root are a mixed bag. Greenify and L Speed work fine and I got BusyBox installed via terminal, but AdAway and TB both say I'm not rooted. Not sure whether to just leave it alone for now, reflash Magisk, or go back to stock and then flash CF-Auto-Root.
[Moto Z2 Force  Guides, News, & Discussion] X_man.:
Hmmm I would try to reflash Magisk if I were you. Because AdAway and TB work fine for me
[Moto Z2 Force  Guides, News, & Discussion] JodyBreeze901:
T-Mobile now currently have this phone for 500 dollars.......I think I may go ahead and get this now.