yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] echo92:
A few observations from the September 2017 build (NPJS25.93-14-10):

Bootloader version still remains at B1:06 (same as June 2017 update). Might mean that the latest blankflash we have still works, though I rather not have to use it if possible...

Baseband has the same version number as the June 2017 updates, so likely no changes?

Has the 1 September 2017 security patch.

Flashed without wiping data and is running well on a XT1642 (retgb, UK model) previously rooted. I'm still registered and active on my original mobile network (3, UK) and have both SIMs/fingerprint sensor active. I don't know if Motorola will release a similar build for US users and Latin America users as they had seemed to have different builds prior to NPJS25.93-14-8.

Here's the information included with the ROM:

BUILD REQUEST INFO:
SW Version: athene-user 7.0 NPJS25.93-14-10 10 release-keysM8952_70030.25.03.62.01R
MBM Version: B1.06
Modem Version: M8952_70030.25.03.62.01R
FSG Version: FSG-8952-05.30.01
Build Fingerprint: motorola/athene/athene:7.0/NPJS25.93-14-10/10:user/release-keys

VERSION INFO FOUND UNDER 'ABOUT PHONE' SCREEN:
System Version: 25.221.10.athene.retail.en.US
Model Number: Moto G (4)
Android Version: 7.0
Baseband Version: M8952_70030.25.03.62.01R
Build Id: NPJS25.93-14-10
SW Display Build ID: NPJS25.93-14-10
Build Date: Mon Aug 28 09:20:48 CDT 2017

OTHER MISC VERSION INFO:
Subsidy Lock Config: slcf_rev_d_default_v1.0.nvm
Regulatory Info (eLabel): regulatory_info_default.png
Blur Version: Blur_Version.25.221.10.athene.retail.en.US
Version when read from CPV: athene-user 7.0 NPJS25.93-14-10 10 release-keys
[Moto G4 Plus Guides, News, & Discussion] kevinarol:
Thanks :good:

---------- Post added at 09:44 PM ---------- Previous post was at 09:39 PM ----------

Successfully installed in XT1641 - retla ;)
[Moto G4 Plus Guides, News, & Discussion] chino1791:
If I have the patch of December last year, can I install this update without installing the previous updates?

Enviado desde mi Moto G (4) mediante Tapatalk
[Moto G4 Plus Guides, News, & Discussion] echo92:
Yes, given this fastboot ROM has got the complete files, it'll flash the updated versions to your device. Flashing this will remove TWRP and root and any other modifications made to your device.

You can try these fastboot commands in adb to update from the December 2016 security update, whilst keeping your data. Back up your device and data just in case, and bear in mind these commands will not relock your bootloader (if you need the relocking commands, please see the first post of this thread). Additionally, if you have any issues with stability after updating, you may have to factory reset your device. Finally, once you've updated to this September 2017 update, please do not downgrade to earlier stock ROMs including Marshmallow, or if you do downgrade, do not accept/install OTA updates. Take your time in flashing this and check your commands are flashed in the order presented.

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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot reboot
[Moto G4 Plus Guides, News, & Discussion] Pranav:
Moto G 4 Plus

I want Nougat Only,which files should I Run? Thanks in Advance

---------- Post added at 06:54 AM ---------- Previous post was at 06:46 AM ----------

And after getting Nougat,by running that file,Can I Install Resurrection Remix on my Moto G 4 Plus XT1643?

AND What about Official Updates?
[Moto G4 Plus Guides, News, & Discussion] strongst:
Yes you can install now ressurection remix. But you won't get official nougat stock rom updates any more. Only when you flash stock rom again(with stock recovery).
[Moto G4 Plus Guides, News, & Discussion] Pranav:
I have Marshmallow Now with Unlocked Bootloader,I doesn't want To Relock Bootloader again,but want Nougat,Which File should I run,flash.bat OR lock.bat?
[Moto G4 Plus Guides, News, & Discussion] Pranav:
Moto G 4 Plus

After running oem flash.bat file a command window appears and dusappears quickly,and nothing happens further, please help me...:(
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
Did you try "fastboot devices" command to check whether your device is connected/recognized by PC or not ?

Is everything ( from adb/fastboot.zip and rom.zip) extracted to same folder ?

Keep everything ( adb/fastboot files , ROM files, and flash.bat) in same folder

Otherwise,

Try to enter all commands manually (except lock commands in case bootloader is unlocked and you don't want to re-lock again.)
[Moto G4 Plus Guides, News, & Discussion] Pranav:
Moto G 4 Plus

Yes My mobile was recognized by PC,Btw thanks

Tell me exactly which command should i skiped for preventing Relocking bootloader again...
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
See OP, all comands are there.

Skip "oem lock begin" at starting

And "oem lock" at end.

(You can also see flash.bat file. Rename it to flash.txt and open it)
[Moto G4 Plus Guides, News, & Discussion] Pranav:
Thanks Bro,If There will Be Problem,I will Post On Forum...✌
[Moto G4 Plus Guides, News, & Discussion] usha55:
anyone tell me please if i lock oem now can i get normal updates from only im fed up of doing this fastboot,,and 1 more qstion if i lock my bootloader/oem can i unlock it again

---------- Post added at 06:28 PM ---------- Previous post was at 06:26 PM ----------

why because im a hard brick survivor ,now if i unlock oem/bootloader i can update my phone normally from system updates
[Moto G4 Plus Guides, News, & Discussion] echo92:
If you're on the stock fastboot ROM, you should get OTA updates regardless of whether you have a locked bootloader or unlocked bootloader. Of course, re-locking your bootloader requires that you lock with the firmware of at least the same patch level as your bootloader and flash all partitions - else you may run into boot issues if you still have custom software on your device.

As far as I know, you should be able to unlock your bootloader again with the same unlock key, provided you did not change your motherboard. Each time you unlock, however, I believe your device will wipe itself for security reasons.

Since you've hard bricked previously, you should have flashed the latest stock ROM (either the June or September 2017 stock ROM) as part of your routine in repairing your device. As you've mentioned 'unlocking bootloader', that implies that you locked your bootloader and thus did reflash the latest stock ROM available, correct? If so, then as mentioned above, you should be able to get OTA updates and install them without issue, since your device should be all on the latest patch level (rather than having a newer bootloader and older system, which leads to a brick in many cases).

However, if you are not sure about OTA updates, use the latest fastboot stock ROM to update, which is the September 2017 stock ROM - you do not have to re-lock your bootloader, simply using the OEM Flash script should be okay. If you do not wish to wipe your data, look at my earlier post at how you could flash the latest stock ROM to update without affecting your data. As always, there is a chance you may have to wipe in case your system is unstable. However, I've updated from NPJS25.93-14-8 to NPJS25-93-14-10 on a XT1642, previously rooted with magisk 13.3 without wiping my data and it's running well. Your experience may vary.

Incidentally, though you've mentioned you're tired of using fastboot, it can be a safer way to update rather than using OTA updates, since fastboot flashes the whole files rather than the block based patching of the OTA. Thus, you're less likely to hard brick.
[Moto G4 Plus Guides, News, & Discussion] makinox:
Thanks guys
[Moto G4 Plus Guides, News, & Discussion] usha55:
Mr echo I'm on June patch now and I didn't relocked my bootloader and my phone is not rooted only bootloader unlocked when I was in March n December patch I have installed update from the phone twice it's hard bricked so I'm now I'm asking can I update my phone through ota so I'm worried
[Moto G4 Plus Guides, News, & Discussion] usha55:
now im in june patch its asking update can i do echo92 normlly ,while last week my phone was hard bricked i instaled march patch when iupdated it installed and dint switch on ,later i did blankflash ,dummy bootloader ,etccc u know ,now please guide me what to do please tell me ur face book id il be in touch with u
[Moto G4 Plus Guides, News, & Discussion] usha55:
This my firmware I'm usin
[Moto G4 Plus Guides, News, & Discussion] usha55:
This one sorry
[Moto G4 Plus Guides, News, & Discussion] echo92:
1)Did you fully re-flash the stock June 2017 ROM as described in the hard brick guide (including GPT and bootloader) and did you verify they all flashed correctly? If so, then you should be able to accept OTA updates normally. As I mentioned before, if you're not sure about the OTA/whether you fully flashed the June 2017 stock ROM, full flash the September 2017 stock ROM as in the opening post (including GPT/bootloader) to update, then afterwards you should be okay to receive and accept OTA updates. You do not have to re-lock your bootloader and you do not have to wipe your data if you follow the fastboot commands as I mentioned in: https://xdaforums.com/showpost.php?p=73970028&postcount=251

2)Delete that December stock ROM you have, that's the likely reason you've been bricking. By downgrading, you flashed a older stock ROM but still keeping your newer bootloader. Thus, taking the March OTA corrupts your newer bootloader. Since the June 2017 update, it's been very risky to have stock ROMs older than June 2017 (and the reason we've seen so many bricks). Delete the December stock ROM and replace it with the September 2017 stock ROM, else you will hard brick again. If you really want to hold onto older stock ROMs including Marshmallow, though I strongly do not recommend this, do not accept OTA updates. If you think you'll forget this, do not downgrade.

3)In future, please edit your posts rather than making new posts.
[Moto G4 Plus Guides, News, & Discussion] usha55:
Now I'm on June patch can I update ota
[Moto G4 Plus Guides, News, & Discussion] echo92:
I'm honestly not sure that I follow your line of questioning.

In theory, the answer to your question is yes. However, as I wrote about several times to you, because you hard bricked, you need to make sure you fully flashed the June 2017 stock ROM. It's not simply about being on the June patch, you must be fully updated. This means your bootloader, GPT, system, modem, and other firmware are on the June 2017 patch level. Failure to do this will mean either the OTA will fail or you will brick again.

Therefore, double check you've fully updated to the June update (you either flashed the June 2017 stock ROM entirely, or successfully took the June OTA) before you accept the September 2017 OTA. If you are not sure, flash the September 2017 stock ROM and ignore the September 2017 OTA. After this, OTA updates may be okay.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Okay, so you've flashed the June 2017 firmware, including GPT and bootloader?

Then you should be okay to accept OTA updates. Back up your data in case.

If you are still worried, then flash the September 2017 stock ROM we have here, which is the same build.

I'm not sure what else I can say to your posts, and this is the problem with downgrading/hard bricking as it causes a lot of worry.
[Moto G4 Plus Guides, News, & Discussion] usha55:
fastboot flash partition gpt.bin fastboot flash bootloader bootloader.img fastboot reboot-bootloader

Bro after I got dummy bootloader I updated it from above commands is it ok u tell me now

---------- Post added at 01:41 PM ---------- Previous post was at 01:33 PM ----------

Bro please reply me
[Moto G4 Plus Guides, News, & Discussion] echo92:
Okay, I'm getting confused about what you've done (and also 'tell me now' sounds rather demanding. I understand there might be a language barrier here, XDA is not a real time support forum).

1)You flashed the December 2016 patch and you hard bricked.

2)You used the dummy bootloader and the above commands to get your device working?

3)Did you flash the June 2017 stock firmware NPJS25.93-14-8 in fastboot as directed in the unbricking guide? https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

If yes to 3), and you flashed NPJS25.93-14-8 from the GPT all the way to the modem and then wiped your cache, userdata then rebooted, then you should be okay to accept OTA updates.

If you did not re-flash the June 2017 NPJS25.93-14-8 stock firmware via fastboot, then flash the September 2017 stock firmware via fastboot. Use the OEM flashing script to not have to re-lock your bootloader.
[Moto G4 Plus Guides, News, & Discussion] usha55:
Yes bro I did same thing which u mentioned d link
[Moto G4 Plus Guides, News, & Discussion] echo92:
If you've done all that in the guide (and only you know that, I'm relying on the info you're providing), the OTA update should be okay to install. Your device should be in a repaired state and ready for OTA updates.

Seriously though, if you're at all worried with the OTA update, download the latest September 2017 stock ROM and flash that instead. I'm not sure why you're so eager to flash via OTA when you could flash the stock ROM instead, it's easier via OTA granted...
[Moto G4 Plus Guides, News, & Discussion] usha55:
Yes bro now updated
[Moto G4 Plus Guides, News, & Discussion] usha55:
Bro echo92 check now I updated thanks ,it took only 5mins
[Moto G4 Plus Guides, News, & Discussion] usha55:
Bro thanks very much
[Moto G4 Plus Guides, News, & Discussion] usha55:
Bro echo92 thank u very very very very very very very very very very very very very very very much
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
It doesn't work on the Amazon US XT1625.
[Moto G4 Plus Guides, News, & Discussion] thorin0815:
Prolly it isn't for Amazon devices.
[Moto G4 Plus Guides, News, & Discussion] usha55:
Now what's happening
[Moto G4 Plus Guides, News, & Discussion] Shahbaz_23:
SafetyNet Fails

Just one quick question: Even after installing the ROM from scratch, safetynet test fails. CTS profile mismatches... the only thing is that my bootloader is unlocked else all stock and untouched after clean flash.
[Moto G4 Plus Guides, News, & Discussion] echo92:
I think SafetyNet will fail if your bootloader is unlocked, doesn't matter if your device is clean otherwise.

2 ways I can think of around this:

1)Relock your bootloader, however, you will likely have to re-flash the stock ROM to do so.

2)Flash/boot TWRP, install ElementalX and magisk root manager; magisk has the ability to hide your unlocked bootloader status and thus 'fool' SafetyNet into thinking your device is good to go. Of course, magisk hiding and Google's SafetyNet are in a constant battle and you may lose SafetyNet, when Google updates the detection, until magisk catches up. I don't know if SuperSU hide performs a similar function.
[Moto G4 Plus Guides, News, & Discussion] Shahbaz_23:
Yeah, I just went with the 2nd options and it works. I agree that it's a cat n mouse chase with the safetynet and magisk, but as of now am happy with it :)
[Moto G4 Plus Guides, News, & Discussion] echo92:
For those that are curious about rooting on NPJS25.93-14-10, the method of flashing ElementalX and magisk still works. This is with shreps' TWRP 3.1.1, flashing ElementalX 1.04 stock and rooting with magisk 13.3. :)
[Moto G4 Plus Guides, News, & Discussion] Pranav:
Thank You Guy's,Worked Perfect For Me.....:good:
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
I don't see many people on any of the Moto G4 fórums who have the Amazon G4. I know there are a few like myself, who were able to unlock the bootloader, before Amazon stopped it.

All info on updates communicated on these forum pertain to the retail version. I would have thought more people would have bought the Amazon discounted version.

It sucks that even with the bootloader unlocked, I cannot flash a retail version of the Stock ROM. Is anyone out there with the Amazon G4 versión?
[Moto G4 Plus Guides, News, & Discussion] Vulnerability:
I also have the Amazon G4 (XT1625) and managed to unlock my bootloader, I'm running LineageOS 14.1 atm but I might give this post a shot to get back to stock ROM with Sep1 Security Patch so I can sell my device.
[Moto G4 Plus Guides, News, & Discussion] quiquetdelcampet:
Can I get the update via fastboot with a locked (with warranty) device using that commands?

If yes, have I to use lock commands?

Great job guys.
[Moto G4 Plus Guides, News, & Discussion] enlisted858:
Rooting after sept version, steps?

Here is what i have done so far:

1. Had rooted earlier on june version

2. Now have latest sept 1 version + gpt + bootloader

Ques: How do i root now on sept version? (clear steps would be helpful please)

If i cannot root on this, how to move to an older version and root safely?
[Moto G4 Plus Guides, News, & Discussion] strongst:
Yes you can since the files are signed. You don't need to lock, when your bootloader is locked already.

---------- Post added at 11:39 AM ---------- Previous post was at 11:38 AM ----------

https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138/post73998198
[Moto G4 Plus Guides, News, & Discussion] enlisted858:
Thanks for the link! worked for me!
[Moto G4 Plus Guides, News, & Discussion] nobuw:
Is there a smaller OTA zip file we can use to install this patch?
[Moto G4 Plus Guides, News, & Discussion] echo92:
https://xdaforums.com/moto-g4-plus/how-to/captured-ota-september-security-patch-t3680367 for the OTA patch.

Requires NPJS25.93-14-8 (June 2017 patch for retail devices).
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
Nice, thanks. Just used the OTA zip from that thread to side load the update from the stock recovery on my wife's G4 Plus - US XT1644. Worked perfect. Glad to know there is a full firmware package available here too.
[Moto G4 Plus Guides, News, & Discussion] xCALIFIER:
Did someone tried it on xt1624 - indian moto g4 variant ???

Update : yes it's working on xt1624
[Moto G4 Plus Guides, News, & Discussion] null_null:
I have a problem phone that I bought second hand from ebay. It is stuck in the boot loop. I've tried flashing this patch using Fastboot and it returned Okay... with every command until it gets to the erase userdata command.

It then fails and gives me this error: (bootloader) Failed to erase partition, FAILED (remote failure)

The phone isn't OEM unlocked and the setting to allow OEM unlock wasn't ticked so I cannot unlock the bootloader.

(bootloader) version: 0.5

(bootloader) version-bootloader: moto-msm8952-B1.06

(bootloader) ro.build.fingerprint[0]: motorola/athene_f/athene_f:7.0/NPJ

(bootloader) ro.build.fingerprint[1]: 25.93-14/16:user/release-keys

(bootloader) ro.build.version.full[0]: Blur_Version.25.11.16.athene.reta

(bootloader) ro.build.version.full[1]: il.en.US

(bootloader) ro.build.version.qcom: LA.BR.1.3.6-01710-8976.0

(bootloader) version-baseband: M8952_70030.25.03.62R ATHENE_EMEA_CUST

So after running the update, it saying Okay... to everything except the erase userdata commands. It still says the firmware is NPJ25.93-14/16, and is still stuck in the boot loop.

Can I try anything else?
[Moto G4 Plus Guides, News, & Discussion] kuba10:
Software status modified

Hi, i've got problem. My software status id modified. First i install lineage os and status wasn't modified. Then I install Resurrection Remix and my status changed to modified. I locked OEM but it didn't help.

Any suggestions? Or i have to install stock marshmallow android and then nougat? I've got xt1642
[Moto G4 Plus Guides, News, & Discussion] strongst:
Don't worry, that's not a problem. You need to flash stock rom, lock bootloader and it is gone. But there's no problem when it's modified.
[Moto G4 Plus Guides, News, & Discussion] kuba10:
Thanks for your fast answer. So, is it normal? Can I change it or not? Will I get updates? At the moment my software is up to date.
[Moto G4 Plus Guides, News, & Discussion] strongst:
If you mean ota update for your stock rom you will receive it if your recovery and rom is stock.
[Moto G4 Plus Guides, News, & Discussion] eta82:
no need to lock bootolader to change the status to the official.

Wysłane z mojego Moto G (4) przy użyciu Tapatalka
[Moto G4 Plus Guides, News, & Discussion] Abhishek_Rawal:
A noob question :

I am currently on PureNexus 7.1.2 OS using TWRP Recovery.

Can I follow steps mentioned in first post by OP to revert it back to Stock ROM ? Or is there any pre-requisite ?

Please guide.

Thanks in advance.
[Moto G4 Plus Guides, News, & Discussion] eta82:
@up

So you just do what is written in OP

Wysłane z mojego Moto G (4) przy użyciu Tapatalka
[Moto G4 Plus Guides, News, & Discussion] RishabhZR:
I have a few questions. I rooted my phone roughly 10 days back(phh superuser). I am on stock rom (14-8 build, june security patch) and on bootloader my system status is official.I am getting september security OTA update notification.

Q1) Since my system status is offlicial, can I install the update directly via OTA?

Q2) I have heard that rooting makes changes in your partitions how come my system status is still official?
[Moto G4 Plus Guides, News, & Discussion] Fede79:
You can't take OTA with root and custom recovery.

Enviado desde mi Motolenovo G4
[Moto G4 Plus Guides, News, & Discussion] toppits:
Before you can install the OTA update you need to get all system files that were changed back to Stock.

Download the full ROM you have on your phone right now, the 14-i build.

via adb flash boot, logo, recovery and the sparsechunk0 till 7

reboot and now you can install the OTA update

root again like you did it before
[Moto G4 Plus Guides, News, & Discussion] RishabhZR:
Thought so....

Since system status was showing official so I thought to clear my doubts.

Ok, so if I want to update then I need to follow instructions given on 1st page.
[Moto G4 Plus Guides, News, & Discussion] Fede79:
Yup flash it again. Then root it.

Enviado desde mi Motolenovo G4
[Moto G4 Plus Guides, News, & Discussion] nasher128:
Has anybody managed to download the firmware using the Google Drive link that has been provided? It's fails half way though the download.
[Moto G4 Plus Guides, News, & Discussion] soccerref80:
Yes working as of this morning. Had to allow permission as it was a remote large file.
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
Same question.

I'm on Invicta and twrp is installed.

How do I install latest september updated stock
[Moto G4 Plus Guides, News, & Discussion] soccerref80:
My device is XT1625.........known to on that model.

Presently on MPJ24.139.64 Baseband M8952-70009.08.03 systemless rooted with TWRP. So some real basic questions.

If I read flash bat correctly it will wipe recovery as well so I will loose custom TWRP and have to root again?

Do I have to upgrade to the latest MPJ25.... update pushed by Moto. as I would have to remove all previous custom TWRP etc. to do that?

Thanks.
[Moto G4 Plus Guides, News, & Discussion] strongst:
Yes, just following op and flash the stock rom through fastboot.

---------- Post added at 05:01 PM ---------- Previous post was at 04:58 PM ----------

Just follow op to flash through fastboot if you have no twrp backup of your stock rom. But you need to install twrp afterwards if needed since it will be replaced by stock recovery.

---------- Post added at 05:03 PM ---------- Previous post was at 05:01 PM ----------

You will loose root and twrp. Your device is fully stock afterwards. Don't lock bootloader if you don't need it!