yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] echo92:
Maybe, you'd have to sign up to the Motorola feedback network and be selected for the test. You may or may not be selected. If you are selected, you may get a few soak test builds to test and report back on the bugs. By signing up you've declared you are accepting responsibility to be a tester.

There may well be problems with the soak test, bugs could be minor annoyances or could brick your device. That's possibly part of the soak test. If you're not willing to accept that, don't sign up.
[Moto G4 Plus Guides, News, & Discussion] hemanta12345:
Nothing installs says partition failure no command works OEM locked software modified
[Moto G4 Plus Guides, News, & Discussion] shilagh:
Bro, NPJS25.93-14-18/3 is April security patch firmware??
[Moto G4 Plus Guides, News, & Discussion] echo92:
Yes - this currently is the latest firmware for EU, UK, India, Brazil devices (possibly others), which has the April 2018 security patch.
[Moto G4 Plus Guides, News, & Discussion] Luke1212:
i just downloaded your file and started oe.bat fileand started automatically..

and the error raised...

C:\adb>fastboot flash oem oem.img

target reported max download size of 536870912 bytes

sending 'oem' (96490 KB)...

OKAY [ 3.039s]

writing 'oem'...

(bootloader) Image o failed validation

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 3.082s

C:\adb>fastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

sending 'system' (261013 KB)...

OKAY [ 8.212s]

writing 'system'...

(bootloader) Image s failed validation

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.265s

C:\adb>fastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

sending 'system' (250846 KB)...

OKAY [ 7.893s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 7.918s

C:\adb>fastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

sending 'system' (254613 KB)...

OKAY [ 8.011s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.039s

C:\adb>fastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

sending 'system' (261613 KB)...

OKAY [ 8.232s]

writing 'system'...

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 8.254s
[Moto G4 Plus Guides, News, & Discussion] Riquelmista:
Moto G4 XT1621

I have a Moto G4 XT1621 with the boot loop problem.

I followed all the steps and without errors but i'm still getting the same problem.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Did you have the bootloop issue before flashing the stock firmware?

When flashing the firmware, did you see if everything flashed okay?
[Moto G4 Plus Guides, News, & Discussion] Riquelmista:
Yes, never touched the firmware before the bootloop.

Every command worked and the phone was detected by the fastboot. No problems there
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, just to verify is your bootloader locked or unlocked?

If your bootloader was never unlocked and you were on stock firmware, it's possible you've got a hardware issue. You could try re-flashing the firmware, see if that resolves anything - you may have to include the commands for erasing your userdata so we can rule out data corruption.

Does this bootloop happen if your device is connected to power, or just on battery? If just on battery, you could look into replacing the battery - however, if it happens on power as well, you may have to consider a service centre visit for analysis.
[Moto G4 Plus Guides, News, & Discussion] Riquelmista:
The bootloader is locked, i was on stock firmware i installed the same rom with the commands for erasing data

The bootloop happens with the charger connected and on battery

After days trying everything looks like is a hardware problem after all

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

Forgot to say that with the charger on, the loop never stops and with just the battery the loop happens once and the phone power off
[Moto G4 Plus Guides, News, & Discussion] shrmp:
Hello, I am currently running official LineageOS 14.1 on my Moto G4. Can I simply follow the steps listed here in order to go back to the latest stock ROM, or should I do something else first?
[Moto G4 Plus Guides, News, & Discussion] strongst:
Hello, you can follow the steps in op to get back to stock rom and lock your bootloader. If you don't want to lock your bootloader, skip the commands with "fastboot oem lock..." or execute the oem flash file, not the oem lock file.
[Moto G4 Plus Guides, News, & Discussion] shrmp:
I see, thanks!
[Moto G4 Plus Guides, News, & Discussion] nobuw:
Wow thanks, worked perfectly!
[Moto G4 Plus Guides, News, & Discussion] alejo.z:
Thanks :D, working fine on XT1621 :highfive:
[Moto G4 Plus Guides, News, & Discussion] gutosilva:
My device is XT1626 (Brazilian version with DTV, dual chip).

Question: will my device lose DTV or dual chip if I flash this ROM?
[Moto G4 Plus Guides, News, & Discussion] RohitJainWorld:
Thank you man!:laugh:
[Moto G4 Plus Guides, News, & Discussion] danilomrx:
I have a question. Im on LineageOS 14.1 and I want to restore the stock rom. I have the XT1640 variant.

Do you know if I will have any problems on flashing back to stock?

Also, do I really need to flash gpt.bin and bootloader.img?

The user "echo92" helped me in another post and he said that I wouldnt need to flash those two.
[Moto G4 Plus Guides, News, & Discussion] echo92:
You shouldn't have issues reverting back to stock - I've reverted from Resurrection Remix to this stock ROM without issue on a XT1642.

If you're upgrading your device to NPJS25.93-14.4, then you'll likely want to flash GPT/bootloader, bringing your system up to date.

I recall you mentioned you already had the March update previously before flashing Lineage, thus your bootloader and GPT are already updated to the versions included in this stock ROM. Thus, you don't need to flash those partitions, you can leave them as they are.

You can either omit the commands, or choose to leave the GPT and bootloader flashing commands in, as fastboot/your bootloader may block you from flashing them anyway (and hopefully not stop you from completing the flash) - or may let you flash the partitions to the same version. You can verify if your bootloader is updated to the version included in this stock ROM by booting into your bootloader. The March 2017 update brought the bootloader to B1.05.
[Moto G4 Plus Guides, News, & Discussion] danilomrx:
The bootloader is the B1.05. As so im going to ommit those commands.

Those are the right commands to do the flashing and lock the bootloader again, right?

mfastboot oem lock begin

mfastboot flash logo logo.bin

mfastboot flash boot boot.img

mfastboot flash recovery recovery.img

mfastboot flash dsp adspso.bin

mfastboot flash oem oem.img

mfastboot flash system system.img_sparsechunk.0

mfastboot flash system system.img_sparsechunk.1

mfastboot flash system system.img_sparsechunk.2

mfastboot flash system system.img_sparsechunk.3

mfastboot flash system system.img_sparsechunk.4

mfastboot flash system system.img_sparsechunk.5

mfastboot flash system system.img_sparsechunk.6

mfastboot flash system system.img_sparsechunk.7

mfastboot flash modem NON-HLOS.bin

mfastboot erase modemst1

mfastboot erase modemst2

mfastboot flash fsg fsg.mbn

mfastboot erase cache

mfastboot erase userdata

mfastboot oem lock

mfastboot reboot

Also, why is it "mfastboot" instead of "fastboot", im very curious.

And one more time, thank you very much!
[Moto G4 Plus Guides, News, & Discussion] echo92:
As far as I know, mfastboot is Motorola's version of fastboot and can apparently handle larger files than fastboot https://xdaforums.com/moto-g/help/mfastboot-vs-fastboot-t2902808

I've not used mfastboot before (so perhaps someone can chime in about the mfastboot commands for locking a bootloader), though with fastboot (as mentioned in this guide), the commands you'll want to take should be (for relocking your device):

fastboot oem lock begin
fastboot oem lock begin
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 erase userdata
fastboot erase customize (optional: will erase any customizations if ordered through motomaker)
fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)
fastboot oem lock
fastboot reboot

Or you can use the OEM lock script in the opening post of this guide, which should accomplish the same thing (you may observe GPT and bootloader security downgrade warnings, though they can be ignored). Put the script in the same folder as your adb terminal and the stock ROM files before opening, then use as directed in the guide :)
[Moto G4 Plus Guides, News, & Discussion] danilomrx:
fastboot oem lock begin
fastboot oem lock begin

The first command really should be duplicated?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Okay, then you may wish to try flashing the stock ROM (either by manually copying the commands or using the OEM flash script), then letting it boot. As above, toggle the OEM unlock switch (to the opposite of whatever it was), then reboot to the bootloader and then attempt to re-lock your device again. Fiddly, I know, fingers crossed it works :)
[Moto G4 Plus Guides, News, & Discussion] danilomrx:
Wait, let me see if I understood.

I should try flashing without trying to lock the bootloader and then try to lock the bootloader again?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Yes, that's what I'm suggesting. On LineageOS and custom ROMs, I don't recall there being an OEM unlock toggle under Developer Options. Seems that sometimes, re-locking your bootloader may be checking for what that OEM toggle state is, which you can't control if it's not present... Thus, if you flash the stock ROM without re-locking, we can get to that OEM unlock toggle. Then, once you've changed the OEM toggle setting, you may try to re-lock your device and it might work this time :)
[Moto G4 Plus Guides, News, & Discussion] danilomrx:
Oh, i got it.

Really, there's not a OEM unlocking toggle on LineageOS. I'm going to try to do what's u said tomorrow as soon as I'm able.

Thank you again for all the help and patience! :)
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hopefully it works, relocking can be a bit picky sometimes. Of course, a word of warning applies here, once your bootloader is locked you won't be able to use any custom ROMs/recovery/root without unlocking your bootloader again. Additionally, until you're certain your device is stable after the flash, keep OEM unlocking 'on' (so you can still unlock your bootloader again) to let you flash a custom ROM/reflash the stock ROM should anything happen!

Otherwise, OEM unlocking off (disabling the ability to unlock your bootloader) and a locked bootloader means extra security, however any issues with your system under both conditions is quite difficult to fix without a service centre.
[Moto G4 Plus Guides, News, & Discussion] anupchopra:
Downgrade from Lineage OS to Stock ROM MOTO G 4PLUS

Mod Edit: Removed HUGE TEXT.

i install Lineage OS on my Moto G4 Plus, now I want to install stock ROM (default Motorola Moto G4 Plus Rom), i use above process but unable to install stock ROM on Lineage OS, Please HELP[/SIZE][/B]
[Moto G4 Plus Guides, News, & Discussion] echo92:
We need more info:

What procedure are you using (is it the process in the opening post)?

Have you downloaded the stock ROM, adb drivers (and the Motorola drivers if you choose), and the stock ROM extracted files are in the same folder as the adb terminal ?

Does your device communicate normally in fastboot (e.g if you boot into the bootloader, connect your device to your computer, then in the adb terminal, type 'fastboot devices' without the quote marks. You should get a response with your device serial number).

What errors are you encountering?

Also, posting in big red letters may not mean we reply any faster...
[Moto G4 Plus Guides, News, & Discussion] sanskar1:
IMEI fault

All things of the Stock rom is working fine

but IMEI numbers are messed up is there any fix
[Moto G4 Plus Guides, News, & Discussion] strongst:
Have a look at Q&A section for similar, ongoing discussions ;)
[Moto G4 Plus Guides, News, & Discussion] Pranav:
I was flashing this firmware many times before it was flashing perfect,but this time when I flashed this on my XT1643,both sim cards are getting detected but no service for both.

Edit: Sorry if this question was already asked .
[Moto G4 Plus Guides, News, & Discussion] peoeope:
How can i keep TWRP?

How can i keep twrp after?

Do i just remove the

fastboot flash recovery recovery.img

command?

Thanks in advance
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
No don't remove that command. Flash twrp once again.

fastboot flash recovery <twrp-recovery-name>.img
[Moto G4 Plus Guides, News, & Discussion] sujeet_kumar:
Is there any way to flash stock rom using TWRP? Because due to charging jack problem I am not able to connect moto g4 plus to computer using usb cable.
[Moto G4 Plus Guides, News, & Discussion] strongst:
Please ask your question only once, I answered you here https://xdaforums.com/moto-g4-plus/how-to/guide-newbie-resource-thread-t3386584/post78102957
[Moto G4 Plus Guides, News, & Discussion] peoeope:
I flashed twrp after that again

Okay thanks, did that already but thanks for your answer.
[Moto G4 Plus Guides, News, & Discussion] karan_lvm:
Does this work if I have a locked bootloader?
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
I highly doubt it. However, I would not use this method with locked bootloader.

Edit: Sorry I wrote it wrong.
[Moto G4 Plus Guides, News, & Discussion] mdna1198:
Can i use this rom for Moto G4 ??

ffSc
[Moto G4 Plus Guides, News, & Discussion] Pranav:
Yes, but please use search function from next time as these question is already answered, right here:

https://xdaforums.com/showpost.php?p=77079419&postcount=894
[Moto G4 Plus Guides, News, & Discussion] The_Pacific_gamer:
I can't flash my favorite pie ROM after doing this process and i didn't do the OEM lock commands, any help?
[Moto G4 Plus Guides, News, & Discussion] echo92:
What error are you getting when you try to flash the Pie custom ROM? What version of TWRP do you have (if you flashed this stock firmware as described here, be aware it will replace TWRP with the stock recovery, so you have to re-flash TWRP).
[Moto G4 Plus Guides, News, & Discussion] The_Pacific_gamer:
respond

I'm using the official latest TWRP, and theres no Error code when flashed, it just doesn't boot
[Moto G4 Plus Guides, News, & Discussion] echo92:
One thing to try is to hard reboot your device (hold down the power button for 20-30 seconds, maybe 1 minute, then release). See if your device boots afterwards.

If it still doesn't boot, I'd refer your question to the appropriate custom ROM thread - if it's the Arrow 9.0 PIE ROM, you may have better luck using the unofficial TWRP to flash rather than the official TWRP build. https://xdaforums.com/moto-g4-plus/development/recovery-team-win-recovery-project-t3842903
[Moto G4 Plus Guides, News, & Discussion] The_Pacific_gamer:
Ok so I have an unnofficial TWRP that will help it's ARM64 and it's currently flashing

---------- Post added at 05:04 AM ---------- Previous post was at 05:03 AM ----------

Ok so I got my favorite ROM pixel experience installed!
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
So this might be the next possible update for N with December security patch. Still waiting for this build to pop up somewhere.
[Moto G4 Plus Guides, News, & Discussion] CMKdaGreatest:
You will be releasing fastboot images for that build if you can right??
[Moto G4 Plus Guides, News, & Discussion] echo92:
Interesting, no mention of Oreo so either a typo (and these release notes are for Oreo) or this really is a Nougat only security patch. If it's Nougat only, that might cause issues with those that tried the soak test Oreo OTA, and might require flashing the Oreo fastboot ROM to safely update. Will have to see what firmwares this update is for.
[Moto G4 Plus Guides, News, & Discussion] Diegovich:
I have a question.

I have TWRP installed, if I use this method, will not it work?
[Moto G4 Plus Guides, News, & Discussion] strongst:
This method replaces your current recovery(twrp in your case) and makes your device stock.
[Moto G4 Plus Guides, News, & Discussion] maicoross:
Please, someone can help!

I install this rom with April path on my moto g4 plus xt1641. However she always asks to upgrade to February path ota. I already did dowgrade, already installed custom rom and I returned to this one with path of April and even so it asks to update to path of February. any tips or solutions?
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
That's not possible, you cann not get OTA of downgrading version.

Can you share screenshots of About device and Details of OTA update that you getting ?
[Moto G4 Plus Guides, News, & Discussion] maicoross:
So I think it's very strange, and the worst of it is if you try to install the update the phone is looped. I'm new to the forum I do not have permission to post print

link de prints remove the spaces:

https: //drive.google.com/ drive/folders/1M_sIN5E_5q-rh1gnLUfywc5spVawjDcL?usp=sharing
[Moto G4 Plus Guides, News, & Discussion] sulligogs:
This worked fantastically and flawlessly on my XT1642. Locked again and back on pure stock. Thank you!
[Moto G4 Plus Guides, News, & Discussion] alvintimothyjr:
I'm running stock nougat via fastboot, re-locked bootloader. When Motorola stats rolling out official Oreo in the U.S. , would it be available for my XT1644 Device...?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Possibly, depends on which Nougat firmware you flashed. If it was NPJS25.93-14.7-8, the US specific firmware, then you should get the Nougat OTA when it's released in the US. However, if NPJS25.93-14-18 was flashed, it may not update, and you may have to flash the Oreo stock ROM, if that gets leaked.
[Moto G4 Plus Guides, News, & Discussion] akshitaneja:
thnx bro it really did help i was stuck on twrp loop everytime i started my moto g4 plus it started in recovery mode and after flashing

xdaforums.com/moto-g4-plus/development/rom-oreo-8-1-0-soak-test-t3873367

from twrp it did start correctly and with oreo as expected thank you guys
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
Great news, fastboot flashable firmware of stock Oreo 8.1 build OPJ28.111-22 is now available. The flashing instructions are same just like for 7.0, and are available in the OP of the thread.

Note: Tested on 1643 Model for now, other people can experiment.

Downloads:

ATHENE_OPJ28.111-22_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

MD5: 3380255b16d4f7c96517f1c4bd7e6604

SHA1: d988e30e7d719b4a952c4c89b50718eb8e9e539e

Also, I will be sharing a newer blankflash zip soon, so those who have hard-bricked their devices can recover them now, will update accordingly ;)

Edit 04.15 PM IST:

Here's a new blankflash file from OPJ28.72 build, this should work on OPJ28.111-22 as the bootloader version is same.

Obviously I can't test it since I haven't bricked my phone. Any other news shall be given out whenever it appears.

Download:

blankflash_athene_8.1.0_OPJ28.72.zip

MD5: ada83fc6809218084739ca0cc87c9f4a

[MENTION=613506]strongst[/MENTION] [MENTION=5119654]IronTechmonkey[/MENTION] [MENTION=7970352]echo92[/MENTION] please help out the community as before! Respect to you all for your activity on XDA :)
[Moto G4 Plus Guides, News, & Discussion] shekharendu:
I'm stuck at OPJ28.108. Am I able to install it now?
[Moto G4 Plus Guides, News, & Discussion] SinghD95:
I tried to flash it through stock recovery while Im on OPJ28.108 but it was unsuccessful and said "signature verification failed"
[Moto G4 Plus Guides, News, & Discussion] echo92:
Yes, you should be able to formally update with this firmware. You'll need to flash the firmware via fastboot as per the instructions in the opening post. You do not need to use the OEM lock commands if you do not need to lock the bootloader, and if you want to try to keep your data, omit the 'fastboot erase userdata' command - either don't use it or delete the command from the script. However, ensure you have a backup of your data in case you have to factory reset.

---------- Post added at 03:55 PM ---------- Previous post was at 03:53 PM ----------

You cannot flash this firmware through recovery, you need to flash via fastboot as per the instructions in the opening post, which requires a computer.
[Moto G4 Plus Guides, News, & Discussion] shekharendu:
I already have a locked bootloader. Should I run the lock command line? Sorry, I am doing this first time.
[Moto G4 Plus Guides, News, & Discussion] echo92:
No need, omit the lock commands. Using the lock commands will erase your device as I mentioned in the other post.

Start flashing from the command mentioning GPT. Again, if you want to try to keep your data, do not use fastboot erase userdata.
[Moto G4 Plus Guides, News, & Discussion] poisonofchoice:
Has motorola started rolling out Oreo 8.1 to the devices in India?
[Moto G4 Plus Guides, News, & Discussion] andrescm:
Yes, since about 10 days ago. People in Brazil are also reporting getting the OTA update.
[Moto G4 Plus Guides, News, & Discussion] Walens:
PS C:\adb\platform-tools> fastboot flash partition gpt.bin

(bootloader) has-slot: partition: not found

fastboot: error: cannot load 'gpt.bin': No such file or directory

any ideas why? (moto g4 with first soak test, locked bootloader)
[Moto G4 Plus Guides, News, & Discussion] echo92:
After downloading the fastboot stock ROM, did you extract the files from the 1.1 GB zip, so you should have a folder around 2 GB? Did you copy the contents of that 2 GB folder to your minimal ADB or ADB folder?
[Moto G4 Plus Guides, News, & Discussion] Walens:
:)) realized my mistake right after I made the post. also, the script wasn't working for me, I opened powershell from the rom folder and went through the commands manually. Everything went smooth from there and now I'm on Oreo 8.1.0 - 1 december 2018 security patch, camera and flashlight work great again, haven't tested gsm and mobile data, but I see it doesn't recognize anymore the 5ghz wifi, only the 2.4... not that much of a problem.

Moto G4 XT1622 (non plus)

LE: Apparently it couldn't see the 5ghz wifi on startup, now it does...perfect!!! Too bad this came only a few days after i bought a second phone. Well, I guess I have a nice spare now...
[Moto G4 Plus Guides, News, & Discussion] Monis1234:
grate this one is working good thank you so much:laugh::laugh:
[Moto G4 Plus Guides, News, & Discussion] ong14:
Works great on XT1642 retapac.

Thank you.
[Moto G4 Plus Guides, News, & Discussion] optionalmgrr.la:
Yeah would it affect the software channel or baseband???
[Moto G4 Plus Guides, News, & Discussion] eta82:
How to root OPJ... [emoji780]

Wysłane z mojego Moto G (4) przy użyciu Tapatalka
[Moto G4 Plus Guides, News, & Discussion] strongst:
TWRP and magisk https://xdaforums.com/moto-g4-plus/...4-oreo-soak-test-update-t3871136/post78966322
[Moto G4 Plus Guides, News, & Discussion] Monis1234:
Please help because in 8.1 media volume is very slow