yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
An unlocked bootloader will not stop an OTA. TWRP, magisk, etc causes OTAs to fail. I have taken each Sprint update unlocked just fine
[Moto Z2 Force  Guides, News, & Discussion] WarMECH:
Have you tried to see if the Lenovo Moto Smart Assistant supports the Sprint variant at the moment? I tried using it to rescue my phone after doing the fastboot erase modems carrier unlock method (worked fine upon initial boot), then a factory reset, which caused my phone to bootloop.

The app tells me my device isn't supported. If I select another variant though, it will warn me it doesn't match my XT1789-03. Just wondering if it just isn't supported at the moment, or does the device have to have a certain integrity to it before rescuing.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Worked for me. Should be done tinkering with it today to fill out OP.
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
hi mate,

does this apply to XT1789-06 OPXS27.109-34-15 as I wish to turn to stock to avoid annoying "software update" prompt every minute that appears on my screen?

phone unlocked and rooted.

or alternatively, is there any other procedure for XT1789-06?

cheers,
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
My method is for all US variants. The Lenovo Moto smart assistant might work for you.
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
thanks Uzephi for the prompt reply.

the lenovo app has failed to cure as it states `your system is up-to-date although the `install new software` blinks on my screen!

is there any step by step fastboot command line that I can follow as the XT1789-06 seems to have different content when unzipped from NASH_RETAIL_8.0.0_OPXS27.109-34-15_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml?

cheers.

Edit:

Is RSD lite not used anymore for flashing stock roms?

Sorry for asking several questions as I was away from modding for some years.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
RSD no longer works. You can try my flash all utilities zip. That would work with any Nash official flash all bat file
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
I'll give it a go.

many thanks mate.

cheers.
[Moto Z2 Force  Guides, News, & Discussion] pakhan8:
solved
[Moto Z2 Force  Guides, News, & Discussion] johnsmith3554:
Thanks for your work. Any more info on how to download new flashalls? Tmobile November patch is out and I can't find a flashall anywhere.

EDIT Figured out how to use the Lenovo tool
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
Hi again mate,

I tried the flashall.bat but the operation seems to hold indefinitely as you will see in the picture. Also you will see that there are some remarks at the beginning of the operation. What do you think the problem /solution can be?

The screenshot is attached for reference.

Cheers.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Your phone is in fastboot mode? Hold power and volume down for about 10 seconds
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
yes of course it was in fastboot mode.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Well, that message means the PC and fastboot device aren't talking to each other. Could be a driver error.
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
you may be right. I will check once again to see if it works.

I have just changed the USB port and it seemed ok until I got the message as it seems in the attached pic.
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
I reuploaded the image
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
never mind, somehow I pushed the bat file again and it worked!

thanks again mate!
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Can we try a different PC? Be sure you use a 2.0 port. I personally never tried with a 3.0+ port, I always use 2.0 for fastboot commands.
[Moto Z2 Force  Guides, News, & Discussion] beefytr:
I have conquered mate. all the best!
[Moto Z2 Force  Guides, News, & Discussion] roweboat56:
hangs on flash all

Hi,

I just got a moto z2 force, xt1789-04 (TMO), carrier unlocked from ebay. (seemingly new?)

I've used moto phones for years so I basically understand their flashing process... this whole A/B partition is new to me. maybe that's whats throwing me off.

When I first booted the phone, it was asking for March 2018 OTA... and would fail every time.

So I used the flash all utilities and latest TMO stock rom and flashed it.

It hangs here:

C:\adb>fastboot oem fb_mode_set

...

FAILED (remote: unknown command)

finished. total time: -0.000s

C:\adb>fastboot getvar max-sparse-size

(bootloader) slot-cou: not found

(bootloader) slot-suffi: not found

(bootloader) max-sparse-si: not found

getvar:max-sparse-size FAILED (remote failure)

finished. total time: -0.000s

C:\adb>fastboot flash partition gpt.bin

(bootloader) slot-count-si: not found

(bootloader) max-download-: not found

target didn't report max-download-size

sending 'partition' (206 KB)...​

After unplugging devices and plugging it back in. it fails to flash those partitions, but seems to flash everything else okay. I booted to system and am able to take all OTA's fine.

HOWEVER. Now I try to flash or boot TWRP, it hangs on "boot.img".

It's like I can't access recovery or boot.

I even tried using the old "mfastboot" but still it does nothing.

Any help is appreciated.

EDIT: I've also tried different USB ports, 2.0, 3.0, 3.1, using cord that came with phone.
[Moto Z2 Force  Guides, News, & Discussion] roweboat56:
Okay... so after doing more research....

Well frankly I'm not sure what I did. But I learned more about A/B Partitions (mainly I was confused earlier "where is the recovery.img"?) Now I sort of understand.

So I started over using the newest TMO rom (found from here: https://mirrors.lolinet.com/firmware/moto/nash/official/TMO/ ) and simply flashed all fastboot commands one at a time. only command that didn't work this time was "fastboot oem fb_mode_set"

Now I was able to boot to twrp.

I'll never really understand this stuff...
[Moto Z2 Force  Guides, News, & Discussion] roweboat56:
Just reporting that I still had an issue taking the Nov. 2018 OTA (2.1.7.4) but after using the flashall.bat complied by this amazing dude: https://xdaforums.com/z2-force/development/rom-tmo-z2-force-27-1-3-flashall-t3820919

now everything is updated and working flawlessly.

So if anyone else comes across this post and not the other one... like me... maybe I'll help save someone some time lol.
[Moto Z2 Force  Guides, News, & Discussion] dosobye:
Hey Uzephi great guide.

I tried it on my soft bricked bootloader locked AT&T -4 model

I got the usb slots all sorted out and finally got it to run, after it flashes (7.1.1 stock I used), the moto screen comes and starts to blink many times and throws me back to the flashmode screens

I get error:

No bootable A/B Slot.

Fastboot Reason: Fall-through from normal boot mode

The batch file seemed to have all worked out fine without any errors.

Atleast software status says offical now and not modified

Any ideas? I just got this phone and messed it up while trying to update to 8/0 using LMA. :/

Thanks so much

PS I also tried the 8.0 stock file and that seems to not work as well
[Moto Z2 Force  Guides, News, & Discussion] zeeshan.siddique4779:
how to flash this ????
[Moto Z2 Force  Guides, News, & Discussion] lchiu7:
I managed to get my Sprint Z2 Force unlocked from Sprint and now running Oreo okay. But it's waiting for me to install a security update (1 November 2018 OCXS27.109-48-13) but when I try to install it, the installation fails. But all the other updates prior to that went okay. Looked at the link in your post but that seems to be for a TMO phone since the ROM is so named. Did that work for a Sprint version?

[EDIT]

Just had a thought. Is the reason why I can't take OTA updates because I installed Magisk to be able to use Google Pay? Is there a way to remove Magisk, take the OTA and then re-install it (install TWRP again which got lost after its first installation?)

A further thought. Removed Magisk and still no dice with the OTA. Can you reflash the entire ROM as per the first post and not break anything?

Then I could wait for all the OTA's to be complete before flashing Magisk
[Moto Z2 Force  Guides, News, & Discussion] roweboat56:
Did you properly rove Magisk using the uninstaller zip?

Yes you can reflash as long as its an Oreo ROM.

I'd recommend not using the TMO rom for sprint. may cause wifi, bluetooth and other network issues.
[Moto Z2 Force  Guides, News, & Discussion] lchiu7:
I did use the uninstaller and saw all the messages running in the command line mode and then the phone rebooted.

No problem using the Sprint ROM apart from making some apps like Facebook system apps that cannot be removed (I just disabled in Magisk)

The phone is working fine with WiFi, Bluetooth and LTE (outside the US)
[Moto Z2 Force  Guides, News, & Discussion] proxybox:
Magisk A & B slot

I'd like to clarify when restoring to only have the DATA checkbox in TWRP checked. Also, is it necessary to install Magisk and TWRP in both A and B partitions? I don't see an option on how to do this in TWRP zip install. Thanks,

Jon
[Moto Z2 Force  Guides, News, & Discussion] 41rw4lk:
Not necessary, when you root magisk patches both boots, at least it says it is when you flash it. Twrp goes to the active I believe, not 100% sure, but realistically it doesn't matter because it can access both slots. Besides, you could always just boot twrp and get recovery; not even flash it at all.
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
TWRP boots to A by default on mine. I switched to B and it bootlooped. Is the B partition functional on our phone? Everything is fine now, so I'll probably buy another Z2F to tinker with...
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
B is active after the first OTA you take. Stock, right out of the box, or doing a flash all, slot B is still not functional. You need at least one OTA to enable slot B.
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
That explains a lot. My phone is on 27.1.3 with Sept patch (TMO), and I haven't taken the November update. I'm rooted, so I'll test it another time.
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
Today I decided to experiment after backing up /Data to my sdcard. I booted the latest twrp, switched to B, then rebooted into BL. From there I used the TMO flash all out of curiosity, and found myself in an unbootable state. It said bootloader fall through, or something to that effect. I immediately went back into the BL. The little Android guy was missing, to my surprise!

Worry not. I found the fastboot command to swap active partition, restarted BL and all was normal once again. I did the flash all over, reinstalled TWRP, etc. Basically at square one, so to speak. Going to accept the November update later and go from there.

Thanks for the help, and contributions to the Z2. :cowboy:

Edit: After November patch "getprop" lists B as the active partition now.
[Moto Z2 Force  Guides, News, & Discussion] lchiu7:
I have an interesting problem (or it could be).,

Sprint phone flashed with the factory stock image as in this thread and now running on a non-Sprint/non-US carrier with no problems.

But in the cellular network setting the Roaming table is greyed out so options cannot be selected. So far that hasn't caused me any problem since in my country, one doesn't roam between carriers.

What I don't know is, when I got to another country (which I do) and try to roam on a different carrier, I might not be able to.

And I do a Search network I always get and Error while searching network so the phone always is locking onto the carrier of the SIM.

If I choose "Choose automatically" it always says registered on network. Is that a remnant of the Sprint locked phone not being entirely removed?
[Moto Z2 Force  Guides, News, & Discussion] laofan:
Maybe you could try flash the modem partition for Sprint?

I am about to flash the retail version on my Sprint Z2F . From my previous cross-carrier flashing experience of other phones (LG and Samsung), modem partition needs to be original version ( in my case, Sprint).

Samsung Galaxy S7 and S8 have some hardware across different Carrier variants, so the U version of S7 and S8 could be flash on all of the variants.

Our Z2 force might have different modem and a slightly different parttition table. Hence modem should stay with the original one
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
On Moto's AFH and lolinet I noticed "XT1789-04_NASH_TMO_C_8.0.0_OCXS27.109-51-11-3". Does the 3 at the end correspond to 27.1.4, or is it the older October update?

Edit: Didn't notice the text file inside. It is indeed 27.1.4. Now I can update the TMO flashall. :cowboy:
[Moto Z2 Force  Guides, News, & Discussion] omiCar:
I am on Andriod 7.1.1 on my Moto Z2 Force (At&t Variant) will this tutorial help me update my phone to Oreo? Thanks in advance
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
You can flash official images, which are linked on the first page. Before that your PC needs the Moto drivers, fastboot/ADB drivers, and at least 2GB RAM to avoid memory issues.

After that identify the exact version installed via About Phone, then download the ATT flash all from the first page.

https://androidfilehost.com/?a=show&w=files&flid=195325

^In this folder Z2F is called Nash. ATT firmware is mixed with the other models.
[Moto Z2 Force  Guides, News, & Discussion] MrBrazil1911:
I searched and have yet to find any favorable information, but has anyone found a way to get the Software Status- Modified on bootloader to go back to Official? I purchased a Z2 Force from eBay and after unlocking bootloader, rooting, and flashing Pixel Experience GSI, I finally put in my sim to use the phone and it's blocked by T-Mobile for non-payment. Initiated return and seller has provided free return shipping label with no problems. I have returned the phone back to stock per the instruction here and was about to re-lock the bootloader when I see it is still showing as modified. It was able to receive an OTA to the last security patch which I was hoping would change it to official but it did not.

Now I'm worried that the seller can reject my return and I'll be stuck with a phone that I can't activate. I would love to keep the phone...super smooth, good battery, really quick (scored 208k on antutu). I only started making changes to what I thought was my phone. Not my fault he sent me a blocked phone. Should I just re-lock the bootloader and just send it back? Or is there something else I can do?
[Moto Z2 Force  Guides, News, & Discussion] 41rw4lk:
You can't make those messages go away, but you can hide them. You'd be better off just calling TMO and pleading your case. You bought the phone used and found it to be blocked, they might unblock it for you. After all, if you're using their service they get paid, and as far as the original owner, they'll get their dues out of them too. Another option might be to sim unlock it and use another carrier or even a pay as you go sim. You could always contact Ebay as well. Either way, you're going to have to do some good old fashioned *****ing until someone makes good lol.
[Moto Z2 Force  Guides, News, & Discussion] MrBrazil1911:
Unfortunately, I'm not actually a T-Mobile customer. I use one of the MVNOs on their network. When I called and verified the block, T-Mo didn't have any interestt in helping and wouldn't give any additional info since I wasn't the account holder. I guess if the seller balks I can try the eBay dispute route. It is listed as "Get the item you ordered or get your money back." and I definitely didn't receive a phone I could activate. So should I bother re-locking the bootloader or leave it as it is?
[Moto Z2 Force  Guides, News, & Discussion] 41rw4lk:
Relocking the bootloader is typically advised against since it doesn't change anything and you run the risk of bricking if everything isn't in order when you relock. You don't need to be relocked to get OTAs, it won't reinstate the warranty, nor will it keep the phone from displaying a message about the phone being modified. Save yourself a lot of trouble and leave it unlocked. There is a thread around here that shows you how to sim unlock, maybe you can get around and get service that way. There's also a thread to show you how to hide the modified warning messages when you boot. Personally I would try to sim unlock it and see if I couldn't get some sort of service. Of course if you choose to hit up Ebay and see what they'll do, you should get that ball rolling before you get too heaving into it.
[Moto Z2 Force  Guides, News, & Discussion] MrBrazil1911:
Thanks. I'm just going to return it as is, and the seller will have to refuse to refund and send it back before I start trying to unlock the sim and change carriers. And then I'd still dispute to eBay. The seller has 99.9% positive feedback, so I would think he'd be the type to make it right since it was his fault and not mine.
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
If you purchase another be sure to use the IMEI checker on T-Mobile's site or swappa's. I'm unsure of how the seller will react, but you could leave the phone on. That way they probably won't notice the bootloader warning right away.

Side note. If possible, could you pull the apn-conf.xml from /system/etc?
[Moto Z2 Force  Guides, News, & Discussion] MrBrazil1911:
I guess it couldn't hurt to try. Hopefully, they'll be too distracted to notice...lol. I really like the phone but after losing on the eBay Z2 lottery for a second time I'm kinda thinking about a v30 now. Just hoping to change my luck...lol.
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
Before you return it check the warranty status on Moto's site. Who knows, it might have some life in it.

If it's a high volume seller I doubt they'll investigate. They likely have new phones coming in every day. Plus, with their feedback % it's not smart to refuse a refund. It's very difficult to recover from negative reviews.

V30 is a good choice too especially for the DAC. V50 should see an announcement at WMC, so it might be best to wait. V35/40 & the G7 will drop a bit.
[Moto Z2 Force  Guides, News, & Discussion] MrBrazil1911:
Nah, it's already out of warranty on the Moto site. And yeah, that's my hope that they would want to preserve their rating realizing thet f'd up sending me a blocked phone to begin with. And I only have 5 days to get it mailed since I've already initiated the return process, so it's going back today. Although I requested a refund, honestly I'd accept a replacement in the same "very good" condition that was guaranteed to have a clean IMEI. So maybe I'll have that in my back pocket to negotiate if they trip about the refund.

As for the V30, it was actually my first choice but I just happened to stumble across the Z2 Force and the specs were insane for the $130 price tag. All the reviews on YT were good, so it made it hard to pass up. But now that I may have a chance to do over, I've been thinking about the extra screen real estate, Quad DAC and headphone jack again since I do listen to music a lot and I can grab one in good condition for under $200. V35 would be the better choice if only it had an unlockable bootloader. Maybe one day.
[Moto Z2 Force  Guides, News, & Discussion] Legza:
Hi. Sorry for silly questions, i have read the topic, but still am very afraid to get bricked.

1) I have tmo sim-unlocked phone. If i flash via flash-all, wouldn't this process simlock my phone back to tmo?

2) I have unlocked bootloader and installed twrp and magisk, but on stock rom. Is the flash-all method preferred, or I can just uninstall magisk and twrp back and updae the prhone?
[Moto Z2 Force  Guides, News, & Discussion] 41rw4lk:
Once you're sim unlocked, it'll stay sim unlocked. To update the phone you need to be back to clean stock, just uninstalling twrp and magisk won't do. You'll need to return to stock via the flashall provided in this thread, or lenovo smart assistant tool. Then you can take otas.
[Moto Z2 Force  Guides, News, & Discussion] Antik3:
I need help to fix this issue

hi.

i have a moto z2 force sprint android 7.1.1 with bootloader unlocked. I root mi phone with magisk and all ok.

I got an upgrade from magisk manager, update magisk manager and when the system restarted it will be damaged.

try to recover my moto z2 force with flashall.bat and sprint rom 7.1.1 and boot again. but in in the initial configuration

I get the error message com.phone.android has stopped, I accept the error message but it reappears for which I cannot pass the initial configuration.

I thank you for your help and an apology for my bad English.
[Moto Z2 Force  Guides, News, & Discussion] lchiu7:
I just noticed something strange about my Sprint Z2 on which I applied the process described in this thread. It seems to work okay but for some reason I cannot ru nNetflix. Each time I start it up, it comes up with an error saying it cannot connect to the network. This occurs on WiFi, LTE etc. I have de-installed it, installed it again, deleted cache etc. but to no avail. It's not a biggie since I don't watch Netflix on the phone (I have enough devices that can) but but it's a curious problem that I am unable to resolved. Hulu, Prime Video, Youtube all play fine.
[Moto Z2 Force  Guides, News, & Discussion] Ace42:
Try another app that relies on Widevine, such as Vudu. I think Movies Anywhere uses it too, not sure.
[Moto Z2 Force  Guides, News, & Discussion] lchiu7:
Vudu works okay so that's very strange
[Moto Z2 Force  Guides, News, & Discussion] tonochito:
My question is this: I have a Z2 Sprint that i unlocked with a post from here, deleting stuff by cmd... so if i reflash it will relock the SIM again?.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
It shouldn't. It hasn't on my old Sprint model. It is currently running on AT&T's network just fine
[Moto Z2 Force  Guides, News, & Discussion] tonochito:
I ask becasue i had a LG G5 LS992 and it was a bit annoying that it wasn't permanent like the HTC ONE, as far i have had this one for a week it has been unlocked just with some random no SIM and a one invalid SIM yesterday.
[Moto Z2 Force  Guides, News, & Discussion] MOHAMMAD Daniyal:
Sir I need Moto z2 force sprint firmware ocxs27.109-48-15 Not moto z2 play.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Read the end of post two.
[Moto Z2 Force  Guides, News, & Discussion] mickeyaaaa:
Noob questions here: between step 4 &5, what do i need to do to prepare my phone & how?

just hook it up to pc via usb and thats all or is there a special boot procedure?

-do i need to Enable ‘USB debugging’ option from setting>developer option>. (About phone and tap the Build Number 7 times)??

- do i need to boot the phone into fastboot by turning it off and holding the down and power buttons, then run the bat script?

- or do i need to Reboot into Bootloader mode by turn it off and press and hold ‘Power + Volume Down‘ ???

- do i need to Download ADB and fastboot driver and install it on PC? or does the flashall bypass the need for this step?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
My utilities zip has adb and fastboot.

Your phone should be in bootloader before running the bat file.

You don't need adb debugging or developer options. This is a fastboot flash all.
[Moto Z2 Force  Guides, News, & Discussion] mickeyaaaa:
Thank you! Yessss....updates working now....

One last problem: When i reboot, it still shows the bootloader is unlocked..

under Developer options, now the "oem unlocking" > bootloader is already unlocked - this is greyed out now, how do i go about locking the bootloader?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
It isn't advised, but reboot to bootloader. In the utilities folder you have, shift right click and select open command window here. Type "fastboot oem lock" and it will relock your bootloader. As stated: after you unlock, it isn't advised to relock your bootloader. The unlocked warning will be replaced with a message "this device has run unofficial software" or something similar, forgot what exactly.