yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] Piyush yadav:
How to manually update it on my device

My device is rooted and after installing this update this cannot be done can u please tell me how to fix it
[Moto G4 Plus Guides, News, & Discussion] echo92:
You'd likely have to revert back to the stock firmware if you wish to flash the OTA update. OTA updates will only install on devices with completely stock firmware - no TWRP, root, or ElementalX.

I've detailed how I've rolled back to stock here when I was on NPJS25.93-14-13 https://xdaforums.com/showpost.php?p=75820049&postcount=42 Afterwards, you can re-flash TWRP, ElementalX and your root manager to get root back.
[Moto G4 Plus Guides, News, & Discussion] Jerome-X:
Update recieved

Gesendet von meinem Moto G (4) mit Tapatalk
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
Okay, now I am confused. Are you in the USA or Germany?
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
pastorbob62, if you are not rooted, Can you provide me with a copy of the boot.img? If you did root, but made a a TWRP backup of the boot.img, I need it to bring my nougat to stock.
[Moto G4 Plus Guides, News, & Discussion] arunzone:
If you are looking for the boot.img of NPJ25.93-14-13, find the attachment. Otherwise let me know.
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
I tried that and it did not work. I need the US version 14.7-3 or 14.7-5 boot image. I would think the 14-13 would have worked, since its just boot image. I was asking pastorbob62, because he has the XT1625 and thats the one I have.
[Moto G4 Plus Guides, News, & Discussion] imonkeys:
deleted as someone asked the same thing
[Moto G4 Plus Guides, News, & Discussion] Jerome-X:
Germany

View attachment 4461897View attachment 4461898View attachment 4461899
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
No, I am sorry, I don't have any boot image made before I rooted. I have been rooted for over 18 months and I have long since deleted any older backups to make room on my SD card. I do have 14-8, and 14-10 zip files But I don't believe they were for the XT1625.
[Moto G4 Plus Guides, News, & Discussion] SoNic67:
All the Moto 4 Plus files are identical, regardless of the actual model. At installation time, the appropriate modem is configured in the system.
[Moto G4 Plus Guides, News, & Discussion] hallodrix:
After updating to the february patch, my device wont boot up after flashing magisk or supersu. Is it working for you?
[Moto G4 Plus Guides, News, & Discussion] arunzone:
Did you flash custom kernel like ElementalX before flash Magisk?
[Moto G4 Plus Guides, News, & Discussion] hallodrix:
No I flashed the December Update via fastboot and updated via OTA to the February Update. After that I flashed TWRP and installed magisk.zip. After doing the said, it is not booting anymore. Right now I tried reflashing the December Update and installing Magisk.zip, but neither did it boot. I guess my phone is generally f*cked up...
[Moto G4 Plus Guides, News, & Discussion] arunzone:
If you want root you must have to flash any custom kernel. Try the below steps.

Flash Stock ROM.

Update it to Latest version.

Install TWRP

Install ElementalX

Install Magisk

Enjoy :good:

Without custom kernel you can't Root your Athene. If you want to revert back to Stock, you can simply flash the boot.img and recovery.img without full flash.
[Moto G4 Plus Guides, News, & Discussion] ldeveraux:
So you have the December 2017 OTA in the US? Can you host it somewhere? We need those files so we can update to the February patch as well!
[Moto G4 Plus Guides, News, & Discussion] SoNic67:
Of course it won't boot, Nougat was never able to be rooted without ElementalX kernel being installed first.

---------- Post added at 07:34 PM ---------- Previous post was at 07:32 PM ----------

There is no need to flash TWRP, it's sufficient just to boot into it.
[Moto G4 Plus Guides, News, & Discussion] sirtbhopal:
Facing impact after this OTA.

SOT decreased from 4 hours to 1.5 hour, Phone is heated even when not in use...

Some one else have the same issues on Stock ROM.
[Moto G4 Plus Guides, News, & Discussion] ldeveraux:
Sorry, working quite well for me. Maybe clear cache?
[Moto G4 Plus Guides, News, & Discussion] Tengakallan:
Mine is Dec security patch stock ROM ,my bootloader unlocked with twrp .

Any way to install it on my device without loosing twrp ?
[Moto G4 Plus Guides, News, & Discussion] arunzone:
No. You can't. If you didn't root your mobile, just flash recovery.img and sideload the update zip. Because stock ota will verify the files before performing an update. After the update you can flash twrp if you want.
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
Im on NPJS25.93-14-13 and when I go to system updates it says my device is up to date...
[Moto G4 Plus Guides, News, & Discussion] jd_marti78:
What stock ROM should I have installed? to use this OTA
[Moto G4 Plus Guides, News, & Discussion] arunzone:
Maybe the update was not yet officially released for your area.
[Moto G4 Plus Guides, News, & Discussion] arunzone:
I dont understand your question. Stock ROM means the ROM that was officially released by the manufacturer for your device. So there must be only one. If you are asking for the version you must be on the December update to use this. If not, first install the previous updates and finally use this one.
[Moto G4 Plus Guides, News, & Discussion] echo92:
What region are you in? This update appears to have been formally released for Brazil, India and EU from what I've noted.

If you're in the US/have a US device (XT1644/XT1625) then NPJS25.93-14-13 is not the correct firmware build if you want OTA updates. The correct firmware build is NPJ25.93-14.7-3 (Dec 2017). You'll likely have to manually update rather than depend on OTA updates.
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
Yes, that's my case, my device is from US. The problem is that I reflashed stock from this thread https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 with NPJS25.93-14-13 build.

There is no NPJ25.93-14.7-3 download link on that thread, could you help me with that? Thanks!
[Moto G4 Plus Guides, News, & Discussion] echo92:
I've not seen a NPJ25.93-14.7-3 firmware unfortunately, you could look into downgrading with the US stock ROM as being discussed here: https://xdaforums.com/moto-g4-plus/how-to/athene-security-patch-usa-february-t3745147/page12 There's also a link for the stock firmware on page 13.

One thing to note is that cross flashing is possibly risky, due to the differences between the India/EU/Brazil stock ROM and the US stock ROM, be careful and take your time. If you don't want to risk it, I would look into using the OTA update for NPJS25.93-14-15 in this thread and forget about checking for OTA updates.
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
I actually have a clean TWRP backup I did when I was on build NPJ25.93-14.7-3 and I am receiving the OTA if I restore that backup. The problem is that when It reboots and tries to install the update I get an 'Error!' message. I dont know why it throws that message since I reflashed stock recovery before accepting the update. Perhaps TWRP recovery modifies something that prevents the update to install successfully ? Is there any workaround for that?

PD: Maybe I need the original recovery for US version and that is why Im getting the Error message? I reflashed the recovery from the other thread's ROM.

Thanks
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
I have the stock boot and recovery for the US version 14.7-3, if you need it.
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
That would be great!

I already have my own clean stock TWRP backup (system, data, and boot) for 14.7-3 build US XT1644. The problem is that after restoring that backup and accepting the latest OTA the install fails with 'Error', and my guess is that Im using a stock recovery from a different region, since the rest is all stock so If you could share (at least) the recovery with me I would be grateful!

PD: I see you dont have XT1644, wont be there a problem if I use your recovery image?

Thanks!!
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
I have the XT1625, but its still the US version. If the recovery and boot don't work, you don't loose anything by trying. If it doesn't work, just flash your recovery and boot back.

Here are the Boot TWRP backup:

https://drive.google.com/open?id=1xIRExVEXdcBRWgC29-txNzuxOb9qelVN

Stock Recovery:

https://drive.google.com/open?id=16z6b34K1cI6E7395WFpf8QzaSa4a2dLm
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
Thank you! I will try it. BTW do you know if mounting system partition to restore a TWRP stock backup modifies system partition out of stock? Maybe that is the problem that my OTA update fails after doing a TWRP restore.

---------- Post added at 08:02 PM ---------- Previous post was at 07:34 PM ----------

I am getting "Error!" after accepting trying to install official OTA 14.7-5 with my clean TWRP backup on 14.7-3 even with your recovery!

Is there something wrong with my backup or something? Thanks
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
I created a thread for my issue here: https://xdaforums.com/moto-g4-plus/help/ota-installation-fails-restoring-stock-t3772992
[Moto G4 Plus Guides, News, & Discussion] loaq:
Hello, I have a problem I do not know if I have a solution, I have installed security patch level of Android 1 February 2018, but I still get the warning to install new version 1 September 2017, current compilation number NPJS25.93-14-15 , I jump to update to new version NPJ25.93-14.7.

My device is Moto G4 XT1625 Nougat 7.0.
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
Another member of the forum Pastorbob62 had a similar issue and he got it resolved. Check this thread starting on page 12 at the bottom where PoastorBob62 replied https://xdaforums.com/moto-g4-plus/how-to/athene-security-patch-usa-february-t3745147/page12
[Moto G4 Plus Guides, News, & Discussion] Franivelius:
Hi, I've got a competely stock Moto G4 Plus (untouched bootloader). The phone is on bootloop and even after wiping data and cache using stock recovery still bootloop. Can I flash this update (or other original update) via Fastboot without unlocking the bootloader?
[Moto G4 Plus Guides, News, & Discussion] indianets:
Same happening here! Doesn't go past the bootloader unlocked warning. Though it vibrates once and adb is able to detect the device.

This is known fact and even with ElementalX 2.0 the phone is not booting after Magisk Flash, I tried both Magisk Stable(16.0) and Beta(16.3). No success.
[Moto G4 Plus Guides, News, & Discussion] arunzone:
If you are flashing stock ROM there is no need to unlock the bootloader. First flash any stock ROM and try the update.
[Moto G4 Plus Guides, News, & Discussion] arunzone:
Try wipe cache. Root working fine for me after the latest update with elementalx kernel and magisksu.
[Moto G4 Plus Guides, News, & Discussion] thorin0815:
Could someone please read out the fingerprint of NPJS25.93-14-15 (only if upgraded with official OTA)?

Inside a Terminal type:

getprop ro.build.fingerprint

Thanks in advance.
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
NPJS25.93-14-15 is a EU update. The XT1625 RETUS updates are NPJ25.93-14.7, NPJ25.93 14.7-3, and NPJ25.93-14.7-5. These are the September, December and February updates respectfully. You can download the full firmware for 14.7 here:

https://firmware.center/firmware/Motorola/Moto G4 (Plus)/Stock/

Be sure to download the non-Amazon version. Next flash the firmware using fastboot following Danny1976's steps here:

https://xdaforums.com/moto-g4-plus/how-to/athene-security-patch-usa-february-t3745147/page11

Your data will be preserved and once you have rebooted you will be prompted for OTA updates for 14.7-3 and 14.7-5. When the updates have completed make a backup by booting into TWRP 3.1.1 (don't install it, just boot into it using the command "fastboot boot <TWRP filename>") and keep it read only, do a backup of your system and boot partitions. then reboot the system check it all out. reboot into TWRP, read only (without installing it) and flash ElementalX-G4-2.00, your preferred method to root. Reboot the system, install flashify and make a backup of the stock recovery.

The backups aren't required for things to work properly, but are insurance for when the next OTA update is released. You'll have to return things to stock recovery and kernel. non rooted before OTA will work again.
[Moto G4 Plus Guides, News, & Discussion] echo92:
athene_f:/ $ getprop ro.build.fingerprint

motorola/athene_f/athene_f:7.0/NPJS25.93-14-15/5:user/release-keys

athene_f:/ $

Note, this is from a XT1642 G4 Plus with a fingerprint sensor, so if you have a G4 your fingerprint may be different from athene_f (G4 Plus, f for fingerprint sensor as I understand it).
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
Great explanation, I couldn't have explained it better. It's good too see people helping each other out.
[Moto G4 Plus Guides, News, & Discussion] indianets:
Tried everything including wiping cache+dalvik but the phone doesn’t boot. I reverted boot,recovery,system from 93-14-13 and everything is fine. I am doing the OTA update proper way too, not sideloading.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Does your device still work after using the OTA update to the Feb 2018 update?

If so, can you describe how you're rooting your device?
[Moto G4 Plus Guides, News, & Discussion] indianets:
Yes, when OTA appeared, I flashed stock boot.img, recovery.img and system.img and proceeded with download and installed successfully (attached screenshots).

After this rebooted into fastboot and then flashed TWRP. Flashed ElemntalX 2.0, wiped cache+dalvik, flashed Magisk-16.0 (tried beta 16.3 too), wiped cache+dalvik. Rebooted into system and stuck on bootloader unlock warning for like 15min before I rebooted back with adb reboot bootloader as adb was detecting the device.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, does your device boot after flashing ElementalX (without magisk)? Just trying to isolate where the issue may be.

I'd try booting/flashing TWRP (3.1.1 shreps or the official 3.2.1 should work), back up your stock ROM, then flash ElementalX. Wipe cache/dalvik and boot. It may take up to 5 minutes for the subsequent boot. If it does boot, then flash magisk in TWRP.
[Moto G4 Plus Guides, News, & Discussion] indianets:
Yes, It does boot after flashing ElementalX kernel, but Magisk simply makes it unbootable. I did everything to isolate the issue yesterday.

I used latest official TWRP, and I have backup images of all the recent versions.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Does magisk flash without issue (no errors in the flash log) and are you able to disable any magisk add-ons if you have any?

Try with an earlier build of magisk, e.g magisk 15, see how you get on.
[Moto G4 Plus Guides, News, & Discussion] thorin0815:
Thanks! I'm using a XT1622 non Plus and can't get SafetyNet CTS profile to pass with the build in fingerprint. I used the full firmware posted a while ago here in the forum. If I use the fingerprint from NPJS25.93-14-13 or your posted one I can solve the SafetyNet problem, but I really would like to know why it doesn't pass with the build in fingerprint. Probably that zip wasn't 100% offical.

So if a G4 (non plus) owner could post his fingerprint, I would be deeply grateful.
[Moto G4 Plus Guides, News, & Discussion] indianets:
Yes, thank you!! Magisk 15.3 did the trick. I was reluctant to flash older builds as 16.0 was stable enough on other phones. But flashing Magisk 15.3 made the phone boot/root properly.

Now I am not updating from inside MagiskManager as that might again cause issues.
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
All the credit goes to you and echo92. :good::good::good::good::good:
[Moto G4 Plus Guides, News, & Discussion] roshan james:
I have a rooted Moto g4 plus with a rr5.5.how to revert to this version of stock
[Moto G4 Plus Guides, News, & Discussion] Danny1976:
I know is off topic, but check out the new stock camera app update. Installed it and work great. I like the new look.

https://xdaforums.com/g5-plus/themes/moto-camera-update-ver-6-2-5-11-t3773243
[Moto G4 Plus Guides, News, & Discussion] abhi212b:
Are you sure, this will not downgrade the bootloader?? :confused: I am not sure! :rolleyes:
[Moto G4 Plus Guides, News, & Discussion] SoNic67:
I am sorry, but that's not true. The NPJS25.93-14-13 works perfectly on my phone, it shows "Retail US" and it's for December. The problem is only with the 14-15 that triggers the US downgrade "update", I just reverted back to 14-13 for now.
[Moto G4 Plus Guides, News, & Discussion] masivb:
On my XT1644 I successfully flashed through stock bootloader from NPJS25.93-14-13

but now when I check OTA updates it wants me to update to NPJS25.93-14-7 ...?

Edit: :good: Above post suggests to revert back to 93-14-13 but i cannot on stock, any suggestion?
[Moto G4 Plus Guides, News, & Discussion] SoNic67:
I have reverted to 14-13 from the 14-15, keeping my data, with fastboot method. Bootloader is 0xB107.

See below. Don't use the "fastboot erase userdata" command or the "fastboot oem lock begin" and "fastboot oem lock" ones.

https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

PS: This is because of annoying "upgrade" offer. I was able to change some files in the system and stop it, but then the phone would fail at using some banking and airline apps.
[Moto G4 Plus Guides, News, & Discussion] masivb:
Thanks for confirming this, I was about to do it myself and it would have been disastrous I do not have current recent backup. :good:

:confused: I should be ok once the USA ota gets leaked and I re-flash it right?
[Moto G4 Plus Guides, News, & Discussion] ex-r-wagon:
G4 plus (XT1644 retusa) rooted on 14.7-3 and bootloader B107 successfully flashed with 14.7, then it updated OTA to 14.7-3 and 14.7-5. Fastboot'ed TWRP and did a full back up. Then rooted and backed up stock recovery with Flashify. No errors, no isssues, everything seems to be working and all data retained.
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
I'm sorry, but that IS true. It may work and show Retail-US on the phone but it is NOT the correct update for the XT1625 US phones. I reverted to the correct Retail updates (e.g 14.7, 14.7-3 & 14.7-5) and have no false update notifications. Once I flashed 14.3, I then installed OTAs for 14.7-3 and 14.7-5 using the standard method..

It is the same for all phones and devices. Just because something appears to work and indicates the correct region does not mean you have the correct firmware for that phone.

---------- Post added at 08:45 AM ---------- Previous post was at 08:37 AM ----------

Reverting to 14-13 is only masking the fact that you have the incorrect firmware on your phone. Yes, flashing a full version of 14.7-3 MIGHT over 14-13 work, but to be safe, fastboot flash 14.3 now and then allow your phone to OTA update 14.7-3 and 14.7-5.

---------- Post added at 08:51 AM ---------- Previous post was at 08:45 AM ----------

Yes it will initially, but it works. Several on this thread have done it successfully without issues (myself included) . And it preserves your data. :good:

Any time you have doubts about advice you have received, then go back over the posts and read.
[Moto G4 Plus Guides, News, & Discussion] tazlooney89:
Full firmware February 2018

ATHENE_NPJS25.93-14-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

https://drive.google.com/file/d/1J31aHAQ7wAY2Qqy1U-9m8VtugD2XUtiw/view?usp=drivesdk
[Moto G4 Plus Guides, News, & Discussion] masivb:
This patch has solved my ghost touch on my XT1644

So despite the constant 14-7 downgrade notification I'm just going to keep 14-15 (EU OTA) until US patch gets released
[Moto G4 Plus Guides, News, & Discussion] SoNic67:
Thanks for clarifying. The other firmwares worked too, but it took me out of US updates path. I have installed like you said and I am on February update. I might stay on this US path... even if the ghost screen appeared again.

It was solved with the 14-15 firmware.
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
Hmmm. I haven't seen the ghost touch issue. I wonder if it is dependent upon something besides firmware? Like maybe a combination of firmware and an app? :confused:
[Moto G4 Plus Guides, News, & Discussion] masivb:
Yes it is interesting. Because as I said the ghost touch on my XT1644 is also mysteriously disappeared....

I cannot wait until the official US OTA gets captures so I can fix my update path

But with that said it is just too good without ghost touch to downgrade to 14-7 , I will stay at 14-15...

I also have noticed battery life standby times improved significantly. OST is still crumy though since my Nougat update from Marshmallow
[Moto G4 Plus Guides, News, & Discussion] SoNic67:
I have miss typed, to me It was the ghost screen, as in screen retention.

Since I could always turn down the RGB values to 200 with a custom kernel and "fix" my screen, I have assumed that Lenovo finally got on the horn and did that in their own firmware kernel.

As i said now I will stay on this US path, and not even root anymore, because... it is time to sell it.
[Moto G4 Plus Guides, News, & Discussion] pastorbob62:
I'm rooted again with ElementalX-G4 kernel, so maybe that is why I am not seeing it.

Mine will be 2 years old in September, so I will hold on to it until then. Unless it dies before that. I just built a new P.C. so my available allowance for new tech is dry for a few months. :D
[Moto G4 Plus Guides, News, & Discussion] ReinaldoAF:
sorry , I try all gpt.bin I found on forum but all get the error

<code>

C:\Program Files (x86)\Minimal ADB and Fastboot\NPJS25_93_14_8_June2017>fastboot.exe flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.006s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.079s

</code>

I try Jan/17, Jun/17, Oct/17 and Dec/17

last version of my software are the Athene NPJ25.93-14/16 geted by stock roms

my boy tape yes on OTA message... and now nothing work

the fastboot is runing ok I think

I can´t upload nothing, no twrp or another the partition ever get this error

please help

tks

Edit:

this STOCK ROM work for me XT1640

https://doc-0k-b4-docs.googleuserco.../1J31aHAQ7wAY2Qqy1U-9m8VtugD2XUtiw?e=download
[Moto G4 Plus Guides, News, & Discussion] andrescm:
Did someone flash this one?. I've just flashed NPJS25.93-14-13 and was expecting an OTA to 14-15 but says it's up to date.
[Moto G4 Plus Guides, News, & Discussion] ReinaldoAF:
in my case, I unlock bootloader and try twrp with oreo RR and another, but have much issues like over RAM usage and bad performance, when I try get back stock rom, I do it with one JAN/18, after all ok, my boy touch on OTA upload for motorola and this brick my phone... the OTA Update security version to FEB/18 and because that the stock rom for jan/18 no work more...

we need make all process my phone don´t power up, but have all information on XDA, thank you all, now all working right with stock rom 7.0, have a stock 7.1.2 but I only find by OTA and i don´t will try it.
[Moto G4 Plus Guides, News, & Discussion] masivb:
The 14-15 works for stock US models.

You WILL get notifications to update to 14-7 (which is US official OTA)... but all you have to do is go into Apps -> Show System Apps -> Motorola Update Services -> Force Stop

Works beautiful. Was about to junk my XT1644 but it feels completely refreshed.
[Moto G4 Plus Guides, News, & Discussion] andrescm:
Thank you. Finally ended up flashing a December 2017 image and then applying a patch to February 2018. Full list of steps taken here. No need to disable update notifications!
[Moto G4 Plus Guides, News, & Discussion] ReinaldoAF:
better disable, I did not know, and my boy took the cell phone to play and pressed in to update :(
[Moto G4 Plus Guides, News, & Discussion] andrescm:
Ha!. My phone is fingerprint-locked :cool: