yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Active Guides, News, & Discussio] Pistker:
**** android forced update

Guessing this is not paid attention to but if it is here is a shot in the dark...

Just got an s7 active given to me and am one of those people who is banned from touching ANY computer past windows XP because it ends up a disaster, even had to just full out replace my buddie's laptop. I understand how a bit about mobile OS to know that the forced update that just happened was a v4 to v5 bootloader update which means I'm basically screwed. I don't want or need a new phone aka to spend 300-400 but I doubt anyone is cracking this new code on such a half relevant, at&t exclusive.

Samsung has the original android 6.0.1 available among other resources, is ther really no way of reverting before I sledgehammer the DirecTV bloatware outta this?

I guess I'm probably the last poster on here.

Que sera sera
[Samsung Galaxy S7 Active Guides, News, & Discussio] jack.prieto:
New ROM problems

Right now my version is G891AUCU4CRK4 and I found a newer version on the cloud G891AUCU6CSF2.

I've tried loading with with multiple versions of Odin and they all just freeze without any error message.

From what I understand the 5th character from the right is the bootloader version and why I couldn't go back to Nougat after I loaded Oreo. Is the jump from 4 to 6 causing this? Shouldn't a full ROM over write whatever? Thanks in advance for any helpful feedback.
[Moto Z Play Guides, News, & Discussion] talktosam:
This method is only works, if you are in Oreo

unlocked bootloader, and use custom rom,

DISCLAIMER

Not taking responsibility if it goes wrong

We have found a way to get back to stock, and relock the bootloader! for now, it only works for the XT-1635-02 because we dont have a signed stock image for any other phone model.

you can use this on any software channel!

How it works.

YOU NEED TO BE ON A CUSTOM ROM TO RELOCK THE BOOTLOADER!

1 - Download Stock ROM in the first post down below

2 - install adb minimal fastboot

3 - after install adb minimal fastboot, go to the install location and paste all the files there

5 - Copy all commands how is in this site and past it on the cmd screen and wait. (you need to press enter for the last command)

Stock Oreo Signed ROM

If u are in June bootloader Kindly use June Security Patch rom, otherwise, phone should be Brick

June Security Patch

Commands

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

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 dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.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 system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash oem oem.img

fastboot erase carrier

fastboot erase cache

fastboot erase userdata

fastboot erase DDR

fastboot oem fb_mode_clear

fastboot oem lock

fastboot oem lock

fastboot flash oem oem.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 system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash boot boot.img

fastboot oem lock

Now youre phone will reboot, and your phone is locked again.
[Moto Z Play Guides, News, & Discussion] elcaverao:
I'm using this ROM here:

[ROM][Stock+] [7.1.1] Dec. Patch NPNS26.118-22-2-12 Prerooted

https://xdaforums.com/moto-z-play/development/rom-nov-patch-npns26-118-22-2-8-t3717037

Do I need to perform any procedures before starting this installation?
[Moto Z Play Guides, News, & Discussion] javed1:
I think fast boot erase modemmst 1 & 2 may get a result of IMEI 0 error.
[Moto Z Play Guides, News, & Discussion] gercdgcat:
Can I use this tutorial if I have 0xC114 bootloader (february patch)???
[Moto Z Play Guides, News, & Discussion] talktosam:
Yes, but u are in custom rom, u can,
[Moto Z Play Guides, News, & Discussion] Mario3DS:
I was in AOSP 8.1 with Oreo bootloader (I had stock oreo before installing the ROM) and just did this procedure, everything went fine ! IMEI is safe and system works as intended, thank you !
[Moto Z Play Guides, News, & Discussion] _heberlopez95:
If I have the bootloader blocked and I want to update to OREO with your tutorial which commands would I have to skip?
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
Dude you are a lifesaver..

---------- Post added at 12:32 PM ---------- Previous post was at 12:30 PM ----------

I am in the exact same situation as you. I will give this a try and report :)
[Moto Z Play Guides, News, & Discussion] Mario3DS:
Just do exactly what OP says and everything will be fine, I even recovered my Software Channel (attmx) somehow

oh and btw, you can "fix" the navbar bug in stock Oreo changing the theme with Custom Navigation Bar (it's an app)

I just did it and it fixed it completely
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
Your software channel isn't supposed to change anyway
[Moto Z Play Guides, News, & Discussion] Manish355:
Safety net failed, help :(

CTS profile match only failed. Is it because of unlocked bootloader?
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
The bootloader unlocked screen doesn't seem to want to go away

EDIT: My bootloader is still unlocked.

EDIT: Fixed. It wasn't mentioned that you need to enable OEM unlocking in Developer options, noobs like me might get confused. Lucky I got that sorted out
[Moto Z Play Guides, News, & Discussion] gercdgcat:
So... Now are you in Oreo stock with locked bootloader? In boot image only shows motorola logo? Nothing of bad key or any notification?
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
Yup, 100% stock. No more bootloader warning message. The guide did not mention that within the custom ROM that you are using, you must have OEM Unlocking under Developer options turned on before you flash the commands.
[Moto Z Play Guides, News, & Discussion] echo92:
I think OEM Unlocking only exists in the stock ROM. Regardless of whether you're on a stock ROM already or are flashing the stock ROM, as you mentioned, OEM unlocking must be turned on for the OEM locking commands to work.

Of course, with re-locking your bootloader, it's up to you if you wish to keep OEM Unlocking enabled or disabled afterwards. If you disable it, your device will not be unlockable until you boot into system, which can be more secure but if you have any boot issues, then troubleshooting is a lot more difficult, plus you have no warranty. If you leave OEM unlocking on, then you could unlock your bootloader, but then so can anyone else with physical access to your device.
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
OEM unlocking also exists in custom ROMs. The reason that relocking your bootloader is not possible with the stock ROM is that the option is greyed out if you have your bootloader unlocked, thus making the bootloader lock commands not work. With a custom ROM, I was able to toggle OEM unlocking on, even when my bootloader was already unlocked. This allowed the bootloader lock commands to work and make the warning message disappear.
[Moto Z Play Guides, News, & Discussion] jonas210678:
Sorry but I think you messed up the fastboot commands

This should be the commands for flashing rom and locking bootloader:

fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.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 system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase carrier
fastboot erase DDR
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot oem lock
fastboot reboot

When you dont want to lock your bootloader, then dont use the oem lock commands. Keep in mind that you get updates with unlocked bootloader.

When you are on stock rom and dont want to lock the bootloader you even dont need the fastboot erase userdata command to keep your data save.
[Moto Z Play Guides, News, & Discussion] _heberlopez95:
with a question if I am running nougat I can update with these commands.?
[Moto Z Play Guides, News, & Discussion] jonas210678:
Yes of course, when you are on stock 7.1 with locked bootloader, don't use the lock bootloader commands and you don't need to wipe userdata
[Moto Z Play Guides, News, & Discussion] _heberlopez95:
thanks dude, I update to Oreo 8.0 and everthing works fine.

;);)
[Moto Z Play Guides, News, & Discussion] didilira:
can I put it on another server? mega has download limit
[Moto Z Play Guides, News, & Discussion] gercdgcat:
Is possible unlocking the bootloader again?
[Moto Z Play Guides, News, & Discussion] jonas210678:
Yes it's possible, you do it the same way like the first time.

But why you have looked the bootloader? I don't understand why all people lock it, it is only useful if you want to sell the phone or send it to the repaircenter
[Moto Z Play Guides, News, & Discussion] ghostbusted:
When you lost your phone your data remain save ...
[Moto Z Play Guides, News, & Discussion] jonas210678:
Maybe I'm wrong but when you disable USB debugging you even can not get any data on unlocked bootloader
[Moto Z Play Guides, News, & Discussion] hyoga68:
So everything I've to do, is flash this over a 7.1.1 locked bootloader, and I'll get Oreo with locked bootloader?
[Moto Z Play Guides, News, & Discussion] jonas210678:
Flash these commands, when you are on locked stock rom, to update your Moto z play to Oreo

fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.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 system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase carrier
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
[Moto Z Play Guides, News, & Discussion] hyoga68:
TY :D

It works like a charm
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
or you could just sideload the OTA file. Much easier and doesn't require a factory data reset
[Moto Z Play Guides, News, & Discussion] jonas210678:
The Thing is sideloading takes about 10-15 minutes and this variant too. When you use my commands you hadn't done an factory data reset, you still have your data.

I understand your point, when I would be on February patch and want Oreo, I would also sideload the update.

But when you are on November or December patch or on soak test 1 or something like this, you don't have to sideload 2-5 files. Then flashing the files via fastboot is easier and faster
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
I see. I did not realize that you were a few updates behind. If that is the case, then you are correct.
[Moto Z Play Guides, News, & Discussion] Mujeeb Saifi:
Error

It is saying that allow oem unlock from developer option on last command.
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
Yes, you should have enabled OEM unlocking in Developer options and be running a custom ROM before you flashed.
[Moto Z Play Guides, News, & Discussion] gercdgcat:
I'm on Xperience 12.1.0 (project treble). I will have problems with this tutorial?
[Moto Z Play Guides, News, & Discussion] dyonissos:
Can you explain why?

I am on 7.0, January 1, 2017 security patch level - bootloader unlocked, rooted, custom kernel.

What happens if i try to flash this ROM and re-lock the bootloader?

Thank you!
[Moto Z Play Guides, News, & Discussion] echo92:
Flashing this ROM and re-locking the bootloader (whilst on the stock ROM) should still work.

Be aware of the following:

1)Ensure you have OEM unlocking enabled in Settings>Developer Options (same option to let you unlock the bootloader) if you want to re-lock your bootloader. Without that option on, you may have issues re-locking the bootloader.

2)Re-locking the bootloader will erase your data, and means you cannot use TWRP/root/custom kernels. Also, re-locking your bootloader will not give you back your warranty.

3)If you simply wish to update, use the first set of flashing commands or use the commands in this post if you want to try to keep your data whilst updating (but have a TWRP backup regardless). The flashing commands from the linked post and/or the first set of commands should also not re-lock your bootloader - just update your device to Oreo. https://xdaforums.com/showpost.php?p=76411093&postcount=31 Updating will regardless remove TWRP/root/custom kernels and any modifications from your device as well.

4)You do not require a locked bootloader to receive OTA updates. Unlocked bootloaders can get OTA updates - however, OTA updates on a locked bootloader are generally safer as your bootloader must be the same firmware patch as your firmware (unlocked bootloaders, with a newer bootloader but older firmware are a main reason we see hard bricks on many devices when users try to use OTA updates on such a device).
[Moto Z Play Guides, News, & Discussion] gercdgcat:
It says "This method is only works, if you are in Oreo

unlocked bootloader, and use custom rom"

You must be in Oreo bootloader (obviously unlocked), but in a custom rom (I think you can being in nougat rom or oreo rom).
[Moto Z Play Guides, News, & Discussion] echo92:
Wouldn't the first set of fastboot flashing commands update your bootloader to the Oreo bootloader, regardless of whether you were on the Nougat or Oreo bootloader? Of course, you can only re-lock with this stock ROM if your bootloader was on the same patch level as this firmware.
[Moto Z Play Guides, News, & Discussion] dyonissos:
I successfully updated to Oreo and re-locked the bootloader using this guide.

I don't get any message on phone boot, status in bootloader is oem_locked.

As i said, i was on stock 7.0, January 1, 2017 security patch level.

Bottom line, i don't think you don't have to be on custom rom for this to work.

Cheers!
[Moto Z Play Guides, News, & Discussion] gercdgcat:
It would be logical, but I do not know if it can be done like that. First I updated with the firmware, went back to custom rom and then did the tutorial.

Did you update the firmware first and then did this guide? Or did you do this guide directly?
[Moto Z Play Guides, News, & Discussion] dyonissos:
I used the guide directly. I couldn't update the firmware in the first place with the locked bootloader.

Cheers!
[Moto Z Play Guides, News, & Discussion] carol83:
Hi, i'm on stock 7.11, feb 2018, unlocked bootloader and twrp, official update didn't work. I'd like only to update to oreo, no need relock bootloader. Help please? Tks
[Moto Z Play Guides, News, & Discussion] Jimi Mack:
Please read the first line on the OP, it states this is ONLY for those already on Oreo.
[Moto Z Play Guides, News, & Discussion] carol83:
Yes, I know ... But following the topic, some people commented that they were in the nougat and that's why I'm asking for help here. Thanks anyways.
[Moto Z Play Guides, News, & Discussion] jonas210678:
It's working on nougat too, it's a factory image, it is working on every Moto z play
[Moto Z Play Guides, News, & Discussion] echo92:
Should work - just flash the stock ROM via fastboot using the first group of flashing commands. Ignore the set of commands with OEM lock if you want to keep your bootloader unlocked.

If you wish to keep your data, then you can use the set of commands as in this post (credit to jonas210678) : https://xdaforums.com/showpost.php?p=76411093&postcount=31 However, back up your data before you flash, in case you have to perform a factory reset if you experience instability.
[Moto Z Play Guides, News, & Discussion] carol83:
Thanks I'll try this.
[Moto Z Play Guides, News, & Discussion] Gigahyperprime1:
I stuck at bootloop booting into recovery after doing this

i can only boot using start button in bootloader.

any ideas ?
[Moto Z Play Guides, News, & Discussion] tag68:
Try

fastboot oem fb_mode_clear
[Moto Z Play Guides, News, & Discussion] psyfi:
I've flashed with Los15.1 everything was working fine besides the camera quality and lack of security patches. When reflashed the same ROM 15.1 it showed Target: motor z play nougat 7.1.1 Addison though I had updated to Oreo prior to flashing Lineage.

What I want to know is whether I can use the signed stock ROM to flash back to stock Oreo or should I look for 7.1.1 build?

Should I just leave out the first two lines if I need the bootloader unlocked?.
[Moto Z Play Guides, News, & Discussion] jonas210678:
When you didn't updated your stock phone to 8.0 the base of the phone is 7.1 but the rom u use is 8.0 when it is working fine there is no need to flash the factory image via fastboot.

But you can flash the 8.0 fastboot image without the bootloader lock commands at the beginning and your base is 8.0. And then you can flash TWRP and custom rom again
[Moto Z Play Guides, News, & Discussion] psyfi:
Forgot to mention, my base was Oreo . During the first flash it showed Target motor z play Oreo, when I flashed the second time it showed 7.1.1 :confused:

I want to flash Xposed on the stock Oreo ROM(provided in this thread). So how do I go about it?
[Moto Z Play Guides, News, & Discussion] psyfi:
did you unzip the file and place the contents in adb folder or just placed the zip file within the adb folder and run the mentioned commands? :confused:
[Moto Z Play Guides, News, & Discussion] _heberlopez95:
I unzipped the files and put them in the ADB folder then ran the commands
[Moto Z Play Guides, News, & Discussion] joshua764:
Hi. I can use this tutorial to close my bootloander I am in oreo stock OPN27.76-12-22 ADDISON_ROW: CUST
[Moto Z Play Guides, News, & Discussion] Harlemito:
Hello, I have the same problem, "fastboot oem fb_mode_clear" -> Does not work

You can help me, please ? [MENTION=6216845]talktosam[/MENTION]
[Moto Z Play Guides, News, & Discussion] The Bankshooter:
Do I paste the commands all together? Or do I have to paste 'em one by one?
[Moto Z Play Guides, News, & Discussion] echo92:
I would suggest copy pasting one by one - that way, you can see if each command works (should report back with [OKAY] in the ADB terminal) before proceeding.

As always, ensure you have plenty of time and a stable power/connection to both your computer and your device before flashing a stock ROM. If you're wanting to re-lock your bootloader, be warned your data will be wiped and you will not get your warranty back. Also, verify that you have OEM unlocking enabled in Settings>Developer Options on your device before attempting to lock.
[Moto Z Play Guides, News, & Discussion] The Bankshooter:
Thanks mate, I copied and pasted all the commands together and everything went ok, now I'm back in stock and with the April patch. Thanks anyway
[Moto Z Play Guides, News, & Discussion] Rajdeep1997:
I'm in the same situation in u were in first. I didn't enable OEM unlocking at first and now I'm left with this ROM flashed on my phone with bootloader unlocked ( as I can see the unlocked bootloader warranty as first). So I decided to do that (i.e. OEM unlock) after flashing this Stock Oreo ROM, but to my surprise, it was already greyed out showing "Bootloader is already unlocked". Can someone help me ? My objective is to make my phone bootloader locked with stock ROM in it (as it was when I bought it) . Thanks in advance.......:)
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
You need to flash a custom ROM and redo the steps again, but this time make sure that OEM unlocking is enabled in Developer Options.
[Moto Z Play Guides, News, & Discussion] Rajdeep1997:
Can u please tell the set of commands u used to flash the ROM ?
[Moto Z Play Guides, News, & Discussion] djdelarosa25:
The same commands on this post.
[Moto Z Play Guides, News, & Discussion] Rajdeep1997:
Ya It's done now, I used some commands placed in the middle of the thread. My bad.....It's locked now....Thanks for help......:o:)
[Moto Z Play Guides, News, & Discussion] talktosam:
if your phone updated June Security Patch, u should use this stock ROM for Unlock/lock bootloader otherwise phone should brick

June Security Patch
[Moto Z Play Guides, News, & Discussion] KrisM22:
You gain nothing by locking your bl, and you may well not be able to unlock it again - no mods, ever. - think about that! :)
[Moto Z Play Guides, News, & Discussion] IncendiaryPyro:
I restored stock from after being rooted on rooted stock Oreo (April), and everything seemed to go through just fine. Oddly enough, OEM Unlocking was not greyed out in Developer Options. Anyway, thanks! This works just as intended. Now I can give this phone to my dad when my Pixel 2 XL arrives on Monday.
[Moto Z Play Guides, News, & Discussion] etecdailey:
Hi, can you help a little with some info.?

If I have now rooted (via Magisk) and unlocked bootloder with twrp hard flashed...

My moto did informed me about OPNS27.76-12-22-3 security OTA update. As I have read i SHOULD NOT :D to do this now ;) ?

And to stop this annoying info, only one and good solution is to go back to June Security Patch ROM, flash it back, and make one more time all of steps, as:

- unlock bootloder,

- recovery, root, etc...
[Moto Z Play Guides, News, & Discussion] talktosam:
don't update ota if u are unlocked, u can use update back to stock method use June security patch stock from, bcz always latest bootloader version support back to stock, and again do root
[Moto Z Play Guides, News, & Discussion] KrisM22:
ota works fine on unlocked. I do it all the time.

(edit: I haven't locked this phone since I first unlocked in in Jan right after I received it. I can do anything.) (I would be afraid to!)(besides, no need!!!)

It's a permanently flashed TWRP that will kill an ota. edit: ota uses/needs stock recovery to start the ota update.

https://xdaforums.com/moto-z-play/how-to/mini-guide-ota-bricks-stop-flashing-t3813498
[Moto Z Play Guides, News, & Discussion] jceballos:
even with stock recovery I'm having problems, OTA installation ends in error.

Apparently system partition was modified so I'll try flashing system partition later when I get home.