yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
Thanks alot bro. Just tired of switching roms. I'm joining a job in weeks so need a stable device
[Moto G4 Plus Guides, News, & Discussion] soccerref80:
[

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

[/COLOR]

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

I can always do the clean root as mentioned in the XDA page for latest 7.0 android, so that is not an issue. I Will not lock the bootloadr not needed.

Last part of the question was;;;;;;;;;;;;;;;

Do I have to update to the latest NJP25.93.14.10 prior to this, or will this flash the correct file(s) from download. Reason I ask is I tried flash the update using Fastboot, but it always fails and the commands return errors, so I have a problem going back to 6.0 android stock.

Thanks for the reply
[Moto G4 Plus Guides, News, & Discussion] strongst:
I can always do the clean root as mentioned in the XDA page for latest 7.0 android, so that is not an issue. I Will not lock the bootloadr not needed.

Last part of the question was;;;;;;;;;;;;;;;

Do I have to update to the latest NJP25.93.14.10 prior to this, or will this flash the correct file(s) from download. Reason I ask is I tried flash the update using Fastboot, but it always fails and the commands return errors, so I have a problem going back to 6.0 android stock.

Thanks for the reply[/QUOTE]

The stock September security patch rom from this thread/pp comes along with all recent files you need. Just backup everything and let's go.
[Moto G4 Plus Guides, News, & Discussion] soccerref80:
[/COLOR]

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

Sorry also if I do not wipe data (Remove the lines of code(from the .bat file)will the present data be saved, or is it needed to do a clean wipe?

After the clean wipe once TWRP and root, can data alone be flashed from the nandroid bckup?//?

Many questions, just do not want to brick this phone.
[Moto G4 Plus Guides, News, & Discussion] strongst:
Sorry also i I don not wipe data i y present data be saved, or is it needed to do a clean wipe?

After the clean wipe once TWRP and root, can data alone be flashed?

Many questions, just do not want to brick this phone.[/QUOTE]

Sorry, but your English isn't very clear... Don't know your worries.

In summary as what I understand:

If you flash the rom given by instructions in op your phone is wiped completely, so do a backup of your apps, settings, data with Google/ titanium backup. You can't flash any data partition from one rom to another.
[Moto G4 Plus Guides, News, & Discussion] soccerref80:
Sorry, but your English isn't very clear... Don't know your worries.

In summary as what I understand:

If you flash the rom given by instructions in op your phone is wiped completely, so do a backup of your apps, settings, data with Google/ titanium backup. You can't flash any data partition from one rom to another.[/QUOTE]

Yep my spell checker was off, edited to clarify, but I understand.

On the first page of the OP it was mentioned (post 4, 5, 6) that leaving out the data commands would NOT wipe and I was asking for confirmation that it would not be lost. In any case I can do Titanium restore if needed. Just a pain going that route.
[Moto G4 Plus Guides, News, & Discussion] strongst:
You can try to leave out the data partition, but since you coming from another rom there will be problems.
[Moto G4 Plus Guides, News, & Discussion] soccerref80:
Got it./ So even though I am on official Moto NJP24, the upgrade NJP25 is considered a different ROM........... seems a little strange. But 6.0 and 7.0 I guess would be.

Lastly Titanium seems not to be able to use the External SD, tried several times but on every re-boot the file is gone, but wants to use internal SD. So when the wipe happens the TT Backup file will be lost.
[Moto G4 Plus Guides, News, & Discussion] jullman:
Hi guys, it work on reteu version ?

Thx good job
[Moto G4 Plus Guides, News, & Discussion] thorin0815:
Yes, it works on my XT1622 RETEU for example.
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
How's the battery life on this latest build?
[Moto G4 Plus Guides, News, & Discussion] thorin0815:
For me it's the same like with the 3 stock builds before, a bit better than with custom roms based on Lineage.

With LSpeed battery saving profiles and ElementalX kernel I usually get screen on times of 5-7h depending on

my usage.
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
Can you provide screenshots of your usage?
[Moto G4 Plus Guides, News, & Discussion] ayush_king:
For moto xt1643

What will happen if a flash nexus rom 7.1.2 for moto g4plus xt1642 on my phone which moto g4 plus xt1643??

Any hazards?
[Moto G4 Plus Guides, News, & Discussion] strongst:
It's compatible. OT end...
[Moto G4 Plus Guides, News, & Discussion] sagarpilkhwal:
Device powering off during/after boot animation

Hi,

Couple of days after installing OTA security path, yesterday night my moto g4 plus turned off automatically at night and since the morning its not booting up.

Device is powering off during/after boot animation i.e before the Lenovo logo comes. I'm able to start phone in "Factory Mode" without any problems but there is no sim network in safe mode.

I tired to flash custom rom (OmniAuto ROM), it didn't fix it. I tired this firmware too, but it didn't work as well.

The only thing left is to flash a firmware which is older than this security path. Is it okay to that ? Anyone faced this similar issue ? Any Fix available ?

Thanks.
[Moto G4 Plus Guides, News, & Discussion] murali1996:
[IMG="screenshot"]https://imgur.com/a/rDQFD[/IMG]

Help needed ^ While i extract this , it shows this message. HELP ASAP [MENTION=613506]strongst[/MENTION]

the file is in correct size though

---------- Post added at 01:24 PM ---------- Previous post was at 01:15 PM ----------

C:\Users\Murali\Downloads\Compressed\ATHENE_NPJS25.93-14-10_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.zip: Checksum error in system.img_sparsechunk.2. The file is corrupt

I get this while i extract zip !
[Moto G4 Plus Guides, News, & Discussion] strongst:
What message? What problem you're facing exactly? Please explain detailed.

Edit: ah okay, you modified the post. You should try to re-download again.
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
Yoo am the guy who quoted you from my friends account !

while i extract the zip i get

C:\Users\Murali\Downloads\Compressed\ATHENE_NPJS25.93-14-10_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.zip: Checksum error in C:\Users\Murali\Downloads\Compressed\ATHENE_NPJS25.93-14-10_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC\system.img_sparsechunk.2. The file is corrupt

HELP
[Moto G4 Plus Guides, News, & Discussion] echo92:
What program are you using to unzip the zip file? Also, how much space do you have on the hard disk that you're extracting the zip file to?

I've used 7-Zip to extract the stock ROM without issue. The stock ROM expands to about 2GB.

EDIT - as strongst has suggested, re-download the stock ROM and try again. The zip file should be 1.05 GB (1,137,674,292 bytes) in size and have a md5 checksum of 65634ae1b58eb9c8a2b968784abc00ac
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
Yeah i have enough space ! I tried both 7zip and winrar , i get the same error

https://drive.google.com/file/d/0B80Bdbl-biZ7VjNNd2NMSXlWNGM/view?usp=sharing

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

Yea md5 is not matching with the one you have provided , but the fize size is correct
[Moto G4 Plus Guides, News, & Discussion] echo92:
You or your friend has a corrupted download likely. Download the stock ROM again.
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
okay boss ! Downloading again

---------- Post added at 02:25 PM ---------- Previous post was at 01:45 PM ----------

Yoo i just flashed the ROM and it automatically rebooted , now its on your device is unlocked screen for more than a minute ? how long ? [MENTION=613506]strongst[/MENTION]

---------- Post added at 02:33 PM ---------- Previous post was at 02:25 PM ----------

need help its been on device is unlocked screen for more than 2 minutes , i heard a little vibration on the first time it was booting . its on this screen now ? HELP

---------- Post added at 02:37 PM ---------- Previous post was at 02:33 PM ----------

@echo92 pleaseeee help its been more than 5 minutes now

---------- Post added at 02:37 PM ---------- Previous post was at 02:37 PM ----------

@echo92 pleaseeee help its been more than 5 minutes now
[Moto G4 Plus Guides, News, & Discussion] echo92:
You do realise these aren't real time forums?

Did you full flash (and did you wipe cache, data etc)? Is it booting at the moment?
[Moto G4 Plus Guides, News, & Discussion] murali1996:
i used the flash all bat file, it did not boot. what to do i cannot login to my account please help ill be replying here
[Moto G4 Plus Guides, News, & Discussion] strongst:
1. Stay calm

2. Stay calm

3. Have patience, we all have a life besides xda and help in our free time. Nobody do this for $€ 24/7 just for you. Keep in mind

4. Check what you did or if you missed a step by mistake.

5. Check again.

6. Try to reboot the device

7. Report back
[Moto G4 Plus Guides, News, & Discussion] echo92:
By not booting, what do you mean? Is it still stuck on the unlocked bootloader screen as described above, or is it stuck on a different screen?

When you used the flashall script, did you verify the flash occurred properly?

What happens when you attach your device to your computer, is your device still recognised as a Moto G4?
[Moto G4 Plus Guides, News, & Discussion] murali1996:
I dint not miss anything , i tried flashing twrp now , twrp is installed and i am not able to wipe any partition . its showing internal as 0 mb and no partitions can be mounted , i did try running the flash all bat file , it exited under 5 seconds
[Moto G4 Plus Guides, News, & Discussion] echo92:
If the flashbat ran in 5 seconds or quicker, that suggests the flash did not work. It should take a few minutes to copy over the data and flash.

I'd probably suggest re-attaching your device to your computer and:

in the adb terminal, verify your device is communicating by entering 'adb devices' into the terminal. It should return your device serial.

Repeat the flash manually. Copy each command in order to the adb terminal, press enter and check it runs correctly. Do not rush this step.

Also, verify that you're flashing the NPJS25.93-14-10 stock ROM and that you're not flashing another stock ROM on your computer.

If you were previously on a custom ROM, can you remember if you formatted your cache to f2fs?
[Moto G4 Plus Guides, News, & Discussion] murali1996:
Bro fine thanks alot. i Flashed via manual method and device booted. THANK YOU SO MUCH [MENTION=613506]strongst[/MENTION] and [MENTION=7970352]echo92[/MENTION]
[Moto G4 Plus Guides, News, & Discussion] sagarpilkhwal:
Rollback to previous security patch

Hi [MENTION=6324159]tywinlannister7[/MENTION],

Is there any link available so that I can rollback to previous security patch update of Stock ROM. I tried diving through other posts all leads to you tywinlannister7 but the link is the same :(

Any help is much appreciated. Thanks.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Which patch level are you attempting to revert back to, and which patch level are on you now?

Be warned that downgrading is risky - not from the act of downgrading, but depending on what OTA update you apply, you may hard brick your device. I would not recommend downgrading unless you are careful.
[Moto G4 Plus Guides, News, & Discussion] sagarpilkhwal:
Hi,

I want to revert back to the June/July security patch level, the issue which I'm facing currently is as follows:

Couple of days after installing OTA September security path, yesterday night my moto g4 plus turned off automatically at night and since the morning its not booting up. Device is powering off during/after boot animation i.e before the Lenovo logo comes. I'm able to start phone in "Factory Mode" without any problems but there is no sim network in safe mode.

I tired to flash custom rom (OmniAuto ROM), it didn't fix it. I tired this September security patch firmware too, but it didn't work as well.

The only thing left is to flash a firmware which is older than this security path. Is it okay to that ? Anyone faced this similar issue ? Any Fix available ?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, sounds like it's more your device hardware that might be an issue, if you've tried both a stock and custom ROM.

If you really want to, then here's the link for the June 2017 NPJS25.93-14-8 stock ROM : https://androidfilehost.com/?fid=889764386195918175

I don't know if it'll work, be cautious when updating via OTA and you'll likely want to clean flash (wipe internal storage and data), plus not have an SD card in for troubleshooting.
[Moto G4 Plus Guides, News, & Discussion] :
Check if you have the correct imei or not. And do check out baseband too. Must be ending with .62R
[Moto G4 Plus Guides, News, & Discussion] echo92:
On the June and September 2017 retail stock ROM (NPJS25.93-14-8 and NPJS25.93-14-10), the baseband appears to end in .62.01R instead.
[Moto G4 Plus Guides, News, & Discussion] sagarpilkhwal:
In "Factory Mode" if i check the IMEI number by using *#06# it show MEID of SIM1 (14-digits) 1-digit shorter than of MEID of SIM2 (15-digits).

Baseband version is

M8952_70030.25.03.62.01R ATHENE_INDIA_DSDS_CUST
[Moto G4 Plus Guides, News, & Discussion] :
Both should be 15 digits.

Go to settings> about phone> status > imei info and check there too

Seems like your imei is changed and that is causing issue maybe
[Moto G4 Plus Guides, News, & Discussion] sagarpilkhwal:
So in settings> about phone> status > imei info I can see 15-digits IMEI number for both sim cards.

MIN (Slot1) -> Unkonwn

PRL version (Slot1) -> Unknown

MEID (slot1) -> 14 digits

IMEI (Slot1) -> 15digits

IMEI SV (Slot1) -> 09

ICCID (Slot1) -> Unknown

IMEI (Slot2) -> 15-digits

IMEI SV (Slot2) -> 09

I have inserted SIM 1 only.
[Moto G4 Plus Guides, News, & Discussion] sagarpilkhwal:
Hi,

I'm getting this error while running fastboot flash partition gpt.bin cmd

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.047s

any idea why ?
[Moto G4 Plus Guides, News, & Discussion] echo92:
If you're flashing the June update, you're getting that error as you cannot flash an older GPT or bootloader onto your device (since they are at the September patch level).

If you really do want to flash the older stock ROM, omit the GPT and bootloader flashing commands, and try again. As I mentioned before, this will leave your device in a mixed state, with newer and older firmware.
[Moto G4 Plus Guides, News, & Discussion] Heyner_Gomez:
I can not flash TWRP with this patch :confused:
[Moto G4 Plus Guides, News, & Discussion] thorin0815:
Are you sure your bootloader is unlocked?
[Moto G4 Plus Guides, News, & Discussion] vdutch:
After downgrading for mistake to a MM stock rom, i've installed the N rom, but now eveytime i get an OTA update my xt1622 hardbricks... i know how to solve the hard brick, but is there anyway or any rom that i can install that can support OTA updates again?
[Moto G4 Plus Guides, News, & Discussion] echo92:
When you recovered from the hard brick, did you re-flash the newest stock ROM available as well (full flash, including GPT and bootloader)? That's currently the only way to get your system to accept OTA updates without bricking, as it should repair and patch your device up to the same patch level. A likely reason you keep hard bricking is that you still have a mismatched system (e.g. newer bootloader but older system), so you're attempting to patch a newer bootloader with an older OTA.

Easiest way is to flash the stock ROM that matched the newest stock firmware previously on your device before you downgraded to MM. If you can't remember, then you could flash this September 2017 stock ROM - be sure to flash GPT/bootloader as well. Afterwards, you should be able to update via OTA.

I'd recommend deleting that MM stock ROM (else later on you may inadvertently hard brick again), or if you really want MM, do not accept OTA updates. If you think you'll forget to not accept OTA updates, then do not downgrade.
[Moto G4 Plus Guides, News, & Discussion] vdutch:
ATHENE_NPJS25.93-14-10 This was the rom i flashed after the Hard Brick... I did use the OEM.bat file to do the automatic procedure, maybe that's the problem... Probably i should have used the fastboot line by line method but honestly i did not see any errors on the bat script

PS: the downgrade was a really stupid mistake, i was working on multiple tasks at the time and inadvertently selected an old MM rom i had on my xt1622 folder... but it won´t happen again ;)
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, I'd suggest reflashing manually then - the OEM flash script should have worked, but it does work quite quickly and can be hard to see errors if they scroll by.

Haha, good to hear - it happens, just lucky there was a blankflash around to rescue your device :)
[Moto G4 Plus Guides, News, & Discussion] vdutch:
Really really lucky :P but honestly i deserved if it got bricked lol i've flashed hundreds of roms and i'm always really cautious when doing the procedures but this time i was watching soccer, taking care of my daughter and reflashing a Galaxy S5 and the Motorola lol not a good mix
[Moto G4 Plus Guides, News, & Discussion] aman19991234:
Thanks

Working perfectly on xt1643, thank you so much. Also now bootloader is locked. Thank you!!!!!!!
[Moto G4 Plus Guides, News, & Discussion] mayank.bhola1:
I used this rom to relock bootloader but boot.img and recovery.img files have some issues got an error saying "bad key" and bootloader didn't lock, maybe because I allowed TWRP to control modifications but I need a fresh and clean device. please help
[Moto G4 Plus Guides, News, & Discussion] echo92:
Did you attempt to flash the stock ROM first, then relock your bootloader?

You may have to enable OEM unlocking in Settings>Developer Options to be able to re-lock your bootloader.
[Moto G4 Plus Guides, News, & Discussion] Lankern98:
Okay, so now I'm running Ressurection Remix v5.8.5 and I want this update. I understand I need to revert back to stock rom to update, but is it enough if I flash the boot.img and recovery.img files and then flash the update through bootloader? Can anyone redirect me into the right path? Any link explaining the procedure would be helpful!
[Moto G4 Plus Guides, News, & Discussion] strongst:
You just need to save everything and then follow op to flash the stock rom except locking bootloader line.

That's it. After that just flash twrp again and you can install custom roms like before and restore data(be careful).
[Moto G4 Plus Guides, News, & Discussion] Lankern98:
Thanks! This worked out very well for me. Is there any real point in this security patch update, since I just installed the latest Resurrection Remix version, and there it is stated that the security patch date is 5. October 2017.. Just wandering :)
[Moto G4 Plus Guides, News, & Discussion] Itemt:
How to root? Pls
[Moto G4 Plus Guides, News, & Discussion] strongst:
Follow this guide https://xdaforums.com/moto-g4-plus/how-to/guide-root-moto-g4-plus-supersu-android-t3587918 it explains all steps.
[Moto G4 Plus Guides, News, & Discussion] :
I'm probably about to ask a stupid question, but since i've never upgraded firmware before, i'll just ask it. When i got my XT1622, i took a TWRP backup of the stock ROM it had on it at that time. I still have the backup, what happens if i:

1. Take a TWRP backup of my current LineageOS 14.1 ROM

2. Wipe the device and restore the stock ROM backup

3. Run an OTA update on the stock ROM, getting the latest firmware (?)

4. Wipe the device and restore the LOS ROM backup

Would this brick my phone or get me the latest firmware? I've a feeling i'm way off the correct procedure here. Or is this even worth doing since i'm not experiencing issues other than the screen lag reported in another thread and on JIRA, which doesn't seem like a firmware issue.
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
First of all, as you said about screen lag, that's right, it is not about newer firmware and it will not solve it. I read before long, it is about Live Display, you can check it by disabling, (Settings > Display > live display).

Another fact is, latest firmware contains latest modem files and other required ones which may be needed for correct working with latest technology.

For getting latest firmware, easiest way is to follow OP, as you have older firmware, it will not brick. [You can also restore backup of your "STOCK ROM" and take OTA, but you will need everything unmodified (system/boot/everything) most important RECOVERY too, as you said you have never took any updates, you are supposed to have more than one updates, that all can be time consuming, so better you go directly with OP. ]

Here take NOTE: after flashing latest firmware from OP or Taking OTA, never try older firmwares over it, that will definitely brick it.
[Moto G4 Plus Guides, News, & Discussion] :
Thanks for the reply. So, running OTA on the restored stock ROM would fail because of TWRP, or would it just get overwritten with the stock recovery automatically?

Also, sadly disabling Live Display doesn't seem solve the screen lag issue, but that's not a problem for this thread. Thanks anyway for pointing it out, i hadn't even tested it before.
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
you will need stock recovery (according to your stock firmware version) installed before taking OTA.
[Moto G4 Plus Guides, News, & Discussion] :
Yeah.. i'll just go with OP. :good::eek:
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
How do I root this? Is this procedure correct?

1) install twrp

2) flash elemental X

3) flash Magisk latest zip aka magisk 14

4) reboot

It'll have root access? Or bootloop
[Moto G4 Plus Guides, News, & Discussion] strongst:
Already asked yesterday, please search a little bit https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138/post74286210

With Magisk it's the same.
[Moto G4 Plus Guides, News, & Discussion] Hari Haran:
Its talking me to some wifi fix post. Can you just tell whether the mentioned procedure is corect or not
[Moto G4 Plus Guides, News, & Discussion] strongst:
The given link is correct, here the post link too. It's on page 38 of this thread on the top of that page https://xdaforums.com/showpost.php?p=74286210&postcount=371 I already mentioned that the steps are the same for magisk
[Moto G4 Plus Guides, News, & Discussion] mayank.bhola1:
I installed this zip but there seems some issue with boot and bootloader it says bad key and bootloader doesn't lock because of it.
[Moto G4 Plus Guides, News, & Discussion] Iamanel:
Some time ago I flashed this (unupdated) to get to N modem, then I took some OTAs that popped up, which got me to baseband M8952_70030.25.03.62.01R

Aigh, I got back to my custom rom all good

The thing is now I'm faced with the need to go back to stock for stuff. But I'm worried that 01R can possibly brick my phone since this stock is 62R (?)

Am I worried for nothing?
[Moto G4 Plus Guides, News, & Discussion] lyroj0:
Help

I installed the update and after that whenever i turn off my phone

It takes me to the bootloader

Can't even install update because of this

Can anyone help me fix this plz