yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  Guides, News, & Discussion] Technical:
You did not follow the guide. See number 5 there. These commands will wipe Data:

fastboot devices

fastboot -w

Without wiping the data you will bootloop.
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
Anyone know why I get this error, I try to install Android 8 on my XT-1789-05 but I can not and I'm in official 7.1.1 Openmx

C:\Users\luiguymm\Desktop\NASH_RETAIL_8.0.0_OPXS27 .109-34-7_subsidy-DEFAULT_regu

latory-DEFAULT_CFC.xml>fastboot devices

NGRL470061 fastboot

C:\Users\luiguymm\Desktop\NASH_RETAIL_8.0.0_OPXS27 .109-34-7_subsidy-DEFAULT_regu

latory-DEFAULT_CFC.xml>flashfile.bat

C:\Users\luiguymm\Desktop\NASH_RETAIL_8.0.0_OPXS27 .109-34-7_subsidy-DEFAULT_regu

latory-DEFAULT_CFC.xml>echo off

getvar:max-sparse-size FAILED (remote: unknown command)

finished. total time: -0.000s

(bootloader) slot-count-size: not found

(bootloader) slot-suffi: not found

...

(bootloader) 'fb_mode_setfixes' is not a supported oem command

(bootloader) See 'fastboot oem help'

FAILED (remote failure)

finished. total time: 0.008s

(bootloader) slot-countxes: not found

(bootloader) slot-suf: not found

(bootloader) slot-suffi: not found

(bootloader) partition-typ: not found

(bootloader) max-download-: not found

target didn't report max-download-size

sending 'partition' (206 KB)...
[Moto Z2 Force  Guides, News, & Discussion] Technical:
[MENTION=3989426]luiguy[/MENTION]

1. Are you using a port USB 2.0?

2. Did you download and use adb version posted in OP?

3. I suppose you've opened your bootloader...
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
USB 2.0 if the version of ADB downloading the tutorial and enable botloader not let me, is gray, but they said it was not necessary to update 8
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Luiguy, I passed for a similar situation of a false locked bootloader.

I get out of it wiping the data in TWRP (or doing a factory reset).
[Moto Z2 Force  Guides, News, & Discussion] Tavisco:
Hi! Thanks for the guide!

I have a question about step B (Preparing the phone to move into custom ROMs (AOSP): There's a way to know if both slots are on the same bootloader so I don't need to run FLASHALL? My connection is VERY slow, it would take an eternety to download the 2.2GB stock rom :c
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
I do not have twrp, however I already reset it from the factory and it remains the same
[Moto Z2 Force  Guides, News, & Discussion] 41rw4lk:
[MENTION=1011179]Technical[/MENTION] Do you have a flashall for the latest firmware that you can post? [MENTION=3989426]luiguy[/MENTION] you need to try and flash the latest firmware to see if you're able to at all. Before you do you should unplug your phone from your pc, uninstall your moto drivers and reboot the pc. After the reboot, reinstall moto drivers and replug your phone and let the drivers install and settle. Make sure that you're using a good fastboot file, there should be a utilities zip linked in the OP or Technical can probably hook you up. It has known good fastboot and adb files.

Once all that is set, then try and flash the latest firmware, if the bootloader flashes you're in good shape and should be able to resolve the problem by doing a clean flash and a factory reset. If you get a permission denied and the oem unlock is still greyed out, then you have a false lock and will have to address that in another manner. The key is to verify whether you can flash official or not, more specifically whether you can flash the bootloader or not.
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
I already do it 2 times and nothing, I do not understand what flahsall?
[Moto Z2 Force  Guides, News, & Discussion] Technical:
The latest available is 109.34.10.

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

The method is posted in this thread. I've used 4-5 times yesterday. No problems at all.

The adb/fastboot files are on this thread too.

To solve false locked bootloader is just a factory reset, better on TWRP or even in the bootloader with the command:

fastboot -w
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Boot into the bootloader, and from the computer, run

fastboot -w

You'll lose everything, including sdcard (backup!). But it solved for me.
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
Fail

C:\Users\luiguymm\Downloads\FLASHEAR FIRMWARE MOTOROLAS

oot -w

(bootloader) slot-su: not found

wiping userdata...

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: unknown command)

(bootloader) partition-: not found

erasing 'userdata'...

FAILED (remote: unknown command)

finished. total time: 0.004s
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Ah, the fastboot devices could be working but the commands are not parsed correctly.

Possibilities:

1. You're not using an USB 2.0 port. Change the port and test.

2. You're with old adb servers running. Kill them with the command: adb kill-server

3. You're not using the right fastboot.exe

Maybe restarting the computer. Or restarting the bootloader (reboot into bootloader).
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Tavisco, I won't start the process without the flashall. You can use a download manager and download the file overnight.

Anyway, are you using stock? Have you already upgraded to Oreo? If so, have you already updated stock at least once?

If so, your bootloaders are both on Oreo and you're free to go. If you're not sure, download the flashall (or ask a friend to do it for you).
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
after the command: adb kill-server, you can delete data with fastboot -w, but EOM is still disabled, and I do not have the right fastboot.exe or I do not know what it is?
[Moto Z2 Force  Guides, News, & Discussion] Technical:
I myself am experiencing issues with fastboot.exe. I need to test again and figure out what's going on with my own phone... Sorry, seems you're not alone :cyclops:
[Moto Z2 Force  Guides, News, & Discussion] Technical:
My better suggestion right now is to avoid completely TWRP version 3.2.2-2.

Issues with the encryption/decryption mess everything in almost any ROM.

TWRP 3.2.1 allows flashing and dirty flashing. The only drawback is the absence of encryption. If you use PIN/password/gesture/fingerprint, you need to disable them before booting in TWRP to dirty flash, or backup, or restore.

Believe me, I lost a lot of time...

Version 3.2.3 is only on .img file. Maybe when the .zip file be released we can move on.
[Moto Z2 Force  Guides, News, & Discussion] alexcheveau:
This file can't be used inside TWRP to Dirty Flash right?

Do we have the OTA file to 109.34.10?

Thanks
[Moto Z2 Force  Guides, News, & Discussion] Technical:
No, there is no OTAs with TWRP.

Are you using stock? Did you root?

Any change in your system (after root) will mess the OTAs.
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
after everything I did to my cel, now every time I turn it off or restart it, it automatically goes into fasboot mode, does anyone know why?
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Why don't you start all over again? Flashing all > Boot+flash TWRP > Flash AOSP Rom ?
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
why I have the bootloader blocked and I can not unlock it because it is gray
[Moto Z2 Force  Guides, News, & Discussion] Technical:
False locked. Are you really following the guide, step by step?

Seems you did not wipe data within the bootloader (fastboot -w).
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
deleted the data but it does not enable the false lock
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Did you run the flashall?
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
yes and again failed bootloader

C:\Users\luiguymm\Desktop\NASH_RETAIL_8.0.0_OPXS27 .109-34-7_subsidy-DEFAULT_regu

latory-DEFAULT_CFC.xml>echo off

getvar:max-sparse-size FAILED (remote: unknown command)

finished. total time: -0.000s

(bootloader) slot-count-size: not found

(bootloader) slot-suffi: not found

...

(bootloader) 'fb_mode_setfixes' is not a supported oem command

(bootloader) See 'fastboot oem help'

FAILED (remote failure)

finished. total time: 0.008s

(bootloader) slot-countxes: not found

(bootloader) slot-suf: not found

(bootloader) slot-suffi: not found

(bootloader) partition-typ: not found

(bootloader) max-download-: not found

target didn't report max-download-size

sending 'partition' (206 KB)...
[Moto Z2 Force  Guides, News, & Discussion] Technical:
I have similar situation on the past. I reboot the computer, kill all adb running in background and get fastboot working again.

Use a USB port 2.0 if you have with the executables of this guide. All the errors seem to be related to fastboot (in your computer) not correct sending commands to the phone. You can also change the computer.
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
I also realize that it does not go into recovery mode, it just stays in fastboot, the last commands that were used were

adb kill-server and then fastboot -w, that's where the problem started
[Moto Z2 Force  Guides, News, & Discussion] alexcheveau:
Now I'm full stock (NASH_RETAIL_8.0.0_OPXS27.109-34-10_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip) with root (Magisk)

Downloaded the last zip (NASH_RETAIL_8.0.0_OPXS27.109-34-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml)

Trying to follow the steps on D to update and getting Invalid zip file format! on TWRP
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Sure, this zip was never intended to be flashed with TWRP. It's for stock recovery.

You can use with flashall, but never with TWRP.
[Moto Z2 Force  Guides, News, & Discussion] alexcheveau:
Thanks for the support

So if want to upgrade to the new July Security Patch after I've installed Stock+Magisk+TWRP is through the FlashAll

I guess the stock OTA won't work because I'm with custom recovery right...
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Something is not going to the phone correctly. Those commands aren't right when the phone sees them. Try sending the command with the phone unplugged, then immediately plug it back in. If that works, you might have to do that with each command. We had a user on discord run into the same issue and that fixed it.
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Yes, but when you do that (flashall) you will lose all your data (also the internal sdcard), please, backup.
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
and is there a probability that it looks like a brick?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
I wouldn't think so. Two users also ran into this issue and the previously stated workaround fixed it. I don't know if it was their PC, Port, Cable or phone.
[Moto Z2 Force  Guides, News, & Discussion] Technical:
+1 Change the computer and test. I ran into your situation more than once. Sometimes, just rebooting the computer and the phone inside bootloader.
[Moto Z2 Force  Guides, News, & Discussion] trannamkute:
Hello friends

i have xt1789-3 phone unlocked bootloader. i updated oreo via ota, after finished downloading and installing oreo my phone will not boot up, my laptop connection just got a fastboot message nash s and i flash rom tock with adb fastboot and nothing happens during flash stock rom, but my phone does not boot up. i also can not get into fastboot mode on xt1789-3 phone. I think my phone lost fastboot. Please someone can help me save the phone, thank you all
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Unbricking is covered in process B. Also, this could help: https://xdaforums.com/android/software-hacking/guide-how-to-reboot-to-edl-fastboot-t3394292

In any case, it's not a work for non-advanced users, try to get the phone to a geek friend of you or the technical assistance.
[Moto Z2 Force  Guides, News, & Discussion] trannamkute:
thank you, me was resolve the security center
[Moto Z2 Force  Guides, News, & Discussion] luiguy:
already do all that and I can not get the phone to update or do something, also change PC and nothing
[Moto Z2 Force  Guides, News, & Discussion] Technical:
I will write down a guide to move to Trebble ROMs. This is a new world. But we need fastboot working for sure.
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Ok I decided to try and flash DU official, but and running into a problem.. Followed the steps and keep on getting a error "udater process ended with a ERROR:1 What's that all about. Thanks.

Here is what I dud

1-flash all back to stock

2-fastboot boot twrp-3.2.1-1-nash.img

3 tried to flash du_nash_v12.5-20180810-0711-OFFICIAL

After it failed, I was able to reboot back to system like nothing happened. Are you suppose to do a wipe or format of some kind? Or are you suppose to wipe system, cache and even mount system..
[Moto Z2 Force  Guides, News, & Discussion] Technical:
I'll suggest that you flash TWRP 3.2.1-1, boot into it and try to flash DU from there.

Anyway, there is being a lot of flashing issues with DU and other ROMs and TWRP.
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Thanks, I did flash TWRP after installing via Fastboot, but still had issues.. I also wiped system, data, storage, oem, dalvik, all with not luck.. I quess for now I'll just keep it the way it is stock rooted, and debloated.
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Or move to Treble Roms which is the future of custom Roms
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
OMG, just got D.U July Official installed. Now to see how well it actually works.. Thanks for this guide and all your help. I have no google apps, for got to install gapps.. No big deal will download only what I use anyway.
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Hmmm... DU has preinstalled gapps... strange...
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Ya I thought that was strange as well.. But so far everything works.. Just got to figure out the apn's, as I can not get pictures via text.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Are you Sprint? Change MMS proxy from the IP address to oap7.sprintpcs.com if so.
[Moto Z2 Force  Guides, News, & Discussion] youra6:
On step B, after following step 17:

fastboot devices

fastboot -w

I am now getting bootloops to TWRP. Any suggestions on getting me out of this bootloop?

Edit: I think I know how I messed up. I did not put the FlashAll files into my ROM folder... Since I have recovery and have access to my bootloader, its possible to get myself out of this mess. Followed step E and I'm back baby!
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
It works thanks.. But my only other issue, and I posted on the Google+. I keep on loosing LTE internet all together.. I have to keep on restarting carrier settings.. It is annoying has hell. Even if I go to recovery and back it loose it.. Or even if I install any apps..
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Ok after messing around with DU for some time, I finally got the newest v12.5 to install.. I'm using twrp-3.2.3-2-nash.img. What I found out was the final step, do NOT reboot into bootloader and use fastboot -w. If you do you will end up in a endless bootloop. After installing the twrp installer.zip, just go to wipe and wipe data.. It took me forever to figure it out, about 10 tries of different version of the rom, but it finally worked.. What I did find out, if installing v12.3, one needs to use twrp-3.2.1-0 and in the end reboot to bootloader and use fastboot -w and it will work for that one.. I know people probably moved on, but hey just wanted to share my experience..
[Moto Z2 Force  Guides, News, & Discussion] 954wrecker:
I was stuck on the DU boot animation for 10 minutes after trying the guide and then what you mentioned. Not sure what I did wrong since I did everything verbatim. Good thing I took a backup and it seems to have restored fine.
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Generally, this happens because you did not wipe data and also format it (to remove the encryption). Other possibility is that you were running Magisk before DU and you did not uninstall it.
[Moto Z2 Force  Guides, News, & Discussion] 954wrecker:
Thanks I started from a clean stock flash a few times, not sure what step I'm screwing up but I'll keep trying.
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Sad, after all that hard work. The v12.5 once up and running has no captive buttons.. Then I tried the v12.5.1, as it is probably the version that fixes the captive button issue.. Still can't get it to install..Went back to what worked v12.3.. Of course I will keep on trying until I can figure out what's wrong..

---------- Post added at 02:16 AM ---------- Previous post was at 02:06 AM ----------

It took me many tries to get it right, all trial and error I guess.. Lets spell it out again.. Thanks to Techincal for the quide.

1) Flashall back to stock (twice)

2) Run a quick set up

3) enable developers option

4) Under security choose (none)

5) fastboot twrp-3.2.3-2-nash.img

6) Boot to recover and flash installer.zip

7) go to wipe and wipe everything once except external sd card.

8) Flash Du whatever version you choose

9) Flash installer.zip again

10) If installing v12.4-12.5 go back to wipe and wipe data once, then boot to system. Do not fastboot -w or you will end up in a endless boot loop. If installing v12.3 use twrp-3.2.1-nash.img and same installer

11) For v12.3 or earlier, last step boot from recovery back to bootloader, then fastboot -w, the reboot system.
[Moto Z2 Force  Guides, News, & Discussion] 954wrecker:
Thanks, I only tried 12.5.1 So you couldn't get it to boot either?
[Moto Z2 Force  Guides, News, & Discussion] Technical:
I'm using DU 12.5 and I don't know what is going on to lead your phone unbootable. I'll try to figure out and change the guide if we find a solution.
[Moto Z2 Force  Guides, News, & Discussion] 954wrecker:
Is everything working on 12.5?

Are you talking about the navigation bar?
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Yeah... Any particular concern?

I will ask the same...
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Navigation buttons on the bottom of the phone, the one you use for home etc... I had no luck after installing twice to get them to show.. But figured some one else might not have a problem...

---------- Post added at 11:23 PM ---------- Previous post was at 11:21 PM ----------

v12.5 navigation buttons home, left right the one who actually take you around the phone.. LOL. Like I said above yours, that seems to be the only issue I have.. Some one else might install it and have no issues.. I still can't get 12.5.1 to work.. Waiting on a answer from DU on google+
[Moto Z2 Force  Guides, News, & Discussion] Technical:
It is on Settings > Dirty Configurations > Navigation > Navigation bar > Activate navigation bar.

Besides, you can choose on AOSP and the most flexible Fling bar.
[Moto Z2 Force  Guides, News, & Discussion] doubledragon5:
Boy what you learn new everyday.. Thanks.:)
[Moto Z2 Force  Guides, News, & Discussion] JewelKt:
why, when the system updates arrive in a stock firmware + twrp + root does not allow them to install, will the twrp not let install?

will it be possible to only have the stock firmware + root and leave the recobery intact so as not to have problems when wanting to update new firmware or return to factory values?
[Moto Z2 Force  Guides, News, & Discussion] omnismart:
I tried to install LineageOS again

does not show any errors during installation

but when start android, shows yellow letters indicating different OS and blocked bootloader

I must reinstall the firmware, unlock bootloader, install TWRP and Magisk

This time I tried it with the LineageOS tutorial

SKU: XT1789-05

Any suggestions please
[Moto Z2 Force  Guides, News, & Discussion] Marcowerjr:
You have to flash oreo bootlaoder to both slots
[Moto Z2 Force  Guides, News, & Discussion] omnismart:
fastboot commands

please
[Moto Z2 Force  Guides, News, & Discussion] Marcowerjr:
fastboot --set-active=_a

fastboot reboot bootloader

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader_a bootloader.img

fastboot flash modem_a NON-HLOS.bin

fastboot flash fsg_a fsg.mbn

fastboot flash bluetooth_a BTFM.bin

fastboot flash dsp_a adspso.bin

fastboot flash logo_a logo.bin

fastboot flash boot_a boot.img

fastboot flash system_a system.img_sparsechunk.0

fastboot flash system_a system.img_sparsechunk.1

fastboot flash system_a system.img_sparsechunk.2

fastboot flash system_a system.img_sparsechunk.3

fastboot flash system_a system.img_sparsechunk.4

fastboot flash system_a system.img_sparsechunk.5

fastboot flash oem_a oem.img

fastboot erase modemst1

fastboot erase modemst2

fastboot erase carrier

fastboot erase cache

fastboot erase ddr

fastboot flash fsg fsg.mbn

fastboot flash bluetooth BTFM.bin

fastboot oem fb_mode_clear

fastboot --set-active=_b

fastboot reboot bootloader

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader_b bootloader.img

fastboot flash modem_b NON-HLOS.bin

fastboot flash fsg_b fsg.mbn

fastboot flash bluetooth_b BTFM.bin

fastboot flash dsp_b adspso.bin

fastboot flash logo_b logo.bin

fastboot flash boot_b boot.img

fastboot flash system_b system_b.img_sparsechunk.0

fastboot flash system_b system_b.img_sparsechunk.1

fastboot flash oem_b oem.img

fastboot erase modemst1

fastboot erase modemst2

fastboot erase carrier

fastboot erase cache

fastboot erase ddr

fastboot flash fsg fsg.mbn

fastboot oem fb_mode_clear

fastboot --set-active=_a

fastboot reboot bootloader

exit
[Moto Z2 Force  Guides, News, & Discussion] omnismart:
same error

put firmware with your command, reboot system ok

install TWRP and reboot system ok

reboot to recovery (TWRP) to install ROM (no error)

Rebot to recovery to install mindthegapps error (bootloader lock)

this time I got nervous because red letters appear

"...system corrupt..."

The fastboot commands were not running

Restart the PC and the bootloader and go.

I leave the phone alone for a while.

thank you very much
[Moto Z2 Force  Guides, News, & Discussion] JewelKt:
it may be a stupid question, but what risk is there if I restore a stock firmware previous to the one currently installed on the device? the problem is that I can not find the stock retail firmware OPXS27.109-34-15

I want to do a test to restore stock rom and install root without modifying the recobery since if I wanted to restore factory values ​​it does so with twrp and it generates a bootloop and apart it does not allow to install security patch updates that arrive to the cell phone
[Moto Z2 Force  Guides, News, & Discussion] Marcowerjr:
It isn't risky if it is an Oreo firmware.

If you install root you can't update via OTA
[Moto Z2 Force  Guides, News, & Discussion] lolwatpear:
Desktop\New folder (3)\NASH_SPRINT_OCXS27.109-48-6_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>echo off
max-sparse-size: 268435456
finished. total time: 0.002s
...
OKAY [ 0.008s]
finished. total time: 0.009s
...
OKAY [ 0.001s]
finished. total time: 0.002s
-------------------------------------------------------------------------
please scroll up and check your flash for any errors
-------------------------------------------------------------------------
Press any key to continue . . .

why does the flash file do nothing for me?
[Moto Z2 Force  Guides, News, & Discussion] Technical:
Are you running the Preparation.bat file there to generate the flashfile.bat file? Is the full firmware unzipped in the folder?
[Moto Z2 Force  Guides, News, & Discussion] lolwatpear:
I got it working by opening the flash.bat from the the folder. It would do that it if I tried running it from the command prompt. Thanks.

The only issue I have now is that I my ATT service is not working on a sim unlocked sprint moto z2. I have no clue why. I've tried running the retail rom with spint NON-HLOS.bin, and other combos, but the cellular service doesn't work.