yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] niks23:
I am gonna try this ... will get back to you whatever will happen....
[Moto G4 Plus Guides, News, & Discussion] eta82:
Read other forum what exactly should upload resumes from 7 to 6 in order not to brick your phone.
[Moto G4 Plus Guides, News, & Discussion] niks23:
have a look
[Moto G4 Plus Guides, News, & Discussion] niks23:
Getting this ... i am also following this thread "

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1643-updated-signed-t3460695/page1
[Moto G4 Plus Guides, News, & Discussion] niks23:
And got this file around 1.10Gb of stock "ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip"
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
Mpj24.139-13.1 is not for INDIAN variants.. it will successfully installed but in future it can give you unwanted problems..

Download 139-23.1 or 139-63 Firmware...

Then flash again..
[Moto G4 Plus Guides, News, & Discussion] niks23:
From where i can get those... or i was on nougat so should i download this "XT1624-XT1643_ATHENE_NPJ25.93-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip"

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

also i am stuck on moto logo.... its not installing either..... can somebody guide me???
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
Download from same link you have got yesterday...

Then follow commands mentioned by OP ( 1st page, 4th post )

If GPT and BOOTLOADER give error, skip them...
[Moto G4 Plus Guides, News, & Discussion] niks23:
Ok.. Thanks

will get back to you.
[Moto G4 Plus Guides, News, & Discussion] niks23:
I followed commands and did as you guide i tried both method......

Downloaded this "ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip"

but still stuck on same.... you can see in pics .... now what should i do??
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
I already said don't use 139-13.1 firmware...

If you don't have enough knowledge about flashing, i suggest you to don't do anything with your phone now..

Look at this worst situation [https://xdaforums.com/moto-g4-plus/help/moto-g4-pluss-model-changed-to-g4-lost-t3496912 ]

you can also have anything like that...

Just go to service center or find any experts in your area...

Wrong flashing can make your phone NOTHING.....

Edit:

If you want to try flashing again, this time downloaded nougat firmware... [ http://www.filefactory.com/file/ikh...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip ]
[Moto G4 Plus Guides, News, & Discussion] aravindmj:
The problem is that Moto doesn't allow old bootloader to be flashed on new one .

Try this

https://xdaforums.com/moto-g4-plus/how-to/guide-downgrade-to-marshmallow-nougat-t3515961
[Moto G4 Plus Guides, News, & Discussion] niks23:
Hi... sorry i tried this "XT1626-XT1640-XT1641_ATHENE_6.0.1_MPJ24.139-23.1_cid50_subsidy-DEFAULT_CFC.xml.zip"
[Moto G4 Plus Guides, News, & Discussion] niks23:
When i turn on Moto device serices... it says there is no update. and current version is "NPJ25.11.12.athena.en.us"

So should i try the link of nougat which you sent.
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
If it gives downgrade error you can try with nougat...
[Moto G4 Plus Guides, News, & Discussion] eta82:
[MENTION=4265726]niks23[/MENTION]

Read this topic https://xdaforums.com/moto-g4-plus/how-to/guide-downgrade-to-marshmallow-nougat-t3515961
[Moto G4 Plus Guides, News, & Discussion] niks23:
Moto g4 plus xt1643 stuck on bootloader

Thanks to all who tried to help me out... but somehow wen i clicked on Run.bat file it worked .... now i am on 6.0.1 and rooted also.... really thanks to members.

but now have one problem root checker say Phone is rooted but when i am trying to download 3g/4g speed optimizer apk. it says your phone is not rooted.... i am not getting this also i am getting OTA for nougat and my boot loader is unlocked.... Should i download update??

but i dunno i will be rooted or not if i download update....

Can some one guide me???
[Moto G4 Plus Guides, News, & Discussion] eta82:
Hi.

Could you write exactly what method did you use?

Do you miss any files when you downgrade?
[Moto G4 Plus Guides, News, & Discussion] 777Braveheart:
Hi,

I have an XT1644 Ret US model. Can I use this procedure if I have already unlocked the bootloader, installed twrp, and rooted?

Will this give me first time out of the box functionality?

Thanks for any help.
[Moto G4 Plus Guides, News, & Discussion] eta82:
Yes you can.
[Moto G4 Plus Guides, News, & Discussion] 777Braveheart:
Thanks for the help.

So once I'm finished with this method, will I need to unlock the bootloader again too?

(The reason I'm trying to go back to stock out of the box is because LTE isn't working anymore. I installed the Lineage OS and came up with 3G only. (Probably because I didn't flash the N Soak like the instructions said.) I then used TWRP and restored my Stock OS and it would only get 3G. It was getting LTE on stock before I erased and installed Lineage. So then I thought it might be my SIM. I have another G4 xt1644 still in the box for my wife. Nothing has been done to it. I placed my sim in her G4 and it got LTE no problem. So the problem is isolated to my phone. That's why I want to restore back to out of the box, stock functionality.)
[Moto G4 Plus Guides, News, & Discussion] eta82:
No

If I understood it without install the update OTA [Nougat] uploaded Lineage OS. You can try to flash stock [M] or download Nougat and flash it. I'm not sure if it will help but it does not hurt to try.
[Moto G4 Plus Guides, News, & Discussion] 777Braveheart:
Thanks! I restored the Stock Rom and it left the bootloader unlocked just as you said.

Restoring the Stock Rom also fixed my issue of not being able to get an LTE signal. LTE is working again.
[Moto G4 Plus Guides, News, & Discussion] koolyugam:
Phone not starting

hi there.... after since i have rooted my phone, my phone is not loading up, it gets into a loop and returns to twrp recovery mode after i try to power on..its not working. please tell me what to do?
[Moto G4 Plus Guides, News, & Discussion] eta82:
Flash stock rom

Wysłane z mojego Moto G (4) przy użyciu Tapatalka
[Moto G4 Plus Guides, News, & Discussion] dheerubhai:
I had updated my G4 Plus XT1643 (32GB, India) with Android Nougat and Unlocked the Bootloader.

I tried flashing all firmwares for my phone model and I learned one thing that Bootloader can't be relocked. Followed all the steps.

I tried with these Images:

1. XT1626-XT1640-XT1641_ATHENE_6.0.1_MPJ24.139-23.1_cid50_subsidy-DEFAULT_CFC.xml

http://www.mediafire.com/file/1o9sh...24.139-23.1_cid50_subsidy-DEFAULT_CFC.xml.zip

2. Moto_G4_Plus_XT1643_ATHENE_MPJ24.139-63_Stock_Img

https://www.androidfilehost.com/?fid=24727334850396285

3. athene_oem_user_7.0_NPJ25.93-11_12_release

https://xdaforums.com/moto-g4-plus/how-to/android-7-0-install-nougat-official-t3531612

I can only remove bootloader warning msg by flashing Moto logo provided by thread admin [MENTION=3805562]yeshwant[/MENTION]shenoy

But Bootloader is still unlocked. (3rd line from bottom of bootloader screen - "flashing_unlocked")

If it is still possible to re-lock bootloader, please make a video tutorial.

A lot of thanks to admin and all the members for help :D
[Moto G4 Plus Guides, News, & Discussion] suryavansh:
igot stucket at twrp i cant go to android pls help
[Moto G4 Plus Guides, News, & Discussion] chaitu@95:
What did you do? Please eloberate your problem
[Moto G4 Plus Guides, News, & Discussion] :
https://m.youtube.com/watch?v=ZRe2PrAjnHg this is a script by root junky to install a recovery, and root moto g4/g4 plus it works great, and its free. so watch tutorial, and follow directions. download links are in description. have fun happy flashing
[Moto G4 Plus Guides, News, & Discussion] sam9s:
no matter what I try it does not root, and hangs at boot logo, after flasing supersu (v2.4 and 2.8 beta all tried),

Thank god I took a backup of the phone and so I was able to restrore it. It booted , but ofcourse without ROOT. So whats the solution???

tried BETA-SuperSU-v2.74-2-20160519174328.zip and now phone wont even start, I can boot in to bootloader, but not normally. The phone does not even switches on, via normal power button. The only way I can power on is with volume down, in which case I boot in to bootloader ......What is wrong here.???
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
What have you done? Just flash stock ROM to recover the device and then flash the unofficial twrp 3.0.3-n3 by shreps. Also which Android version are you trying to root? The method for rooting Nougat is different from that of Marshmallow.
[Moto G4 Plus Guides, News, & Discussion] sam9s:
Hi tywinlannister,

Thanks for the reply, I am on nougat (The phone did an OTA months ago), so that might be the issue here ....... Is there a need to flash stock rom, coz I took the backup via TWRP (on my SD card) and if I restore and boot the phone it boots normally and I can see the welcome start screen of the phone (like when you have purchased a new fresh phone) So I believe the backup took the stock rom backup on my SD card. (or do I still need to flash stock ROM ????) ..... Can you assist where do I go from here?

Regards

Sammy
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
Stock ROM flashing is just to be done so that you're on the latest bootloader and modem.

Just be sure that you're on Nougat ***.93-14.

To root stock Nougat, flash twrp>flash ElementalX Kernel v1.02 > flash SuperSU v2.79 - SR3.

Sent from Lord Tywin's athene (xt1643)
[Moto G4 Plus Guides, News, & Discussion] sam9s:
How do I check I am on Nougat ***.93-14., and any links to flash ElementalX Kernel v1.02 on Moto G4 plus? ... it would be easy for me else I will be shooting in the dark ..:)
[Moto G4 Plus Guides, News, & Discussion] sam9s:
Ok solved ,,,"To root stock Nougat, flash twrp>flash ElementalX Kernel v1.02 > flash SuperSU v2.79 - SR3." ..... WORKED!!.. :)

Many Many Many thanks for the assistance here, looke like ElementalX was the key here .. :)
[Moto G4 Plus Guides, News, & Discussion] Keon24:
I restored a backup using twrp and now when my phone boots, it boots into the fastboot screen first and i have press the power button to select start in order to boot up. Any resolutions?
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
Maybe flashing stock ROM via fastboot helps.

Sent from Lord Tywin's athene (xt1643)
[Moto G4 Plus Guides, News, & Discussion] schoebi_zh:
Two/three questions:

1. Is it possible to reduce the 5 second waiting too?

2. If I relock the bootloader, can I ...

a) ... still access TWRP or is that overwritten?

b) ... still be root in the OS?
[Moto G4 Plus Guides, News, & Discussion] echo92:
1) As far as I know, there's no way to shorten the 5 second timer without relocking your bootloader. The custom logo.bin will make it nicer to look at though :)

2)I've not seen anyone try to re-lock their bootloader with a custom recovery on Moto G4s, on other devices however there are reports that devices will not boot and/or experience a hard brick if there is not a stock recovery and kernel with a locked bootloader. (e.g. https://xdaforums.com/nexus-5x/help/relock-boot-loader-rooting-t3283745)

I understand that re-locking the bootloader may be more secure, though you'll have to flash a stock ROM to take advantage of this, which will remove TWRP and root.
[Moto G4 Plus Guides, News, & Discussion] hojotogo:
I have owned my g4plus since October. I bought it retail. I only received an initial security update but I keep reading about new security vulnerabilities in Android. Is my phone vulnerable and is there anything I can do to get security updates other manufacturers are reheating fur their phones?
[Moto G4 Plus Guides, News, & Discussion] strongst:
You need to install an update for yourself. Custom roms or official updates if you don't get an ota for your device. That's the only way.
[Moto G4 Plus Guides, News, & Discussion] MK+2017:
Damn, I've been trying around this for 2 days, even someone with my experience in CLI! Just because I "literally" followed instructions. Many error claims will be posted and too many users will report "remote validation failed" because the unlock command has to be run *TWICE*

It is like "are you really sure you want to unlock the bootloader?", only written by an English language retardo. I was looking at it all time and I never figured out what it means to "run *this* command again to continue". It should have been "Re-run the command again" or "Do it once more..." or anything to point out that the command has to be repeated, which dumb in itself, BTW.

I'm finally on latest lineage OS, XT1642!
[Moto G4 Plus Guides, News, & Discussion] blue_ranger:
I just got my G4 plus and I'm starting to make backups before i start playing with it.

FileFactory seems to be blocked in India, is there any other website where i can get the stock firmwares so i always have a copy whenever i need to go back to stock?
[Moto G4 Plus Guides, News, & Discussion] strongst:
Make a twrp backup of your stock rom. That's the easiest insurance you can get.
[Moto G4 Plus Guides, News, & Discussion] echo92:
In addition to strongst's advice (the safest approach since you'll be backing up/restoring a ROM you know works), you could look at the XT 1643 stock Marshmallow ROM here as well: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1643-updated-signed-t3460695
[Moto G4 Plus Guides, News, & Discussion] Tom Mix:
info for post #3 - supersu flashing

[MENTION=7920082]yeshwanthvshenoy[/MENTION]

please can you edit the post #3 much outdated info

first:

the 'official twrp' development for athene is halted

one should use shreps unofficial 3.0.3 find it and infos here:

https://xdaforums.com/moto-g4-plus/development/recovery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337

second:

it is not necessary to do these steps before flashing super su

chainfires supersu 2.79 detects the correct method.
[Moto G4 Plus Guides, News, & Discussion] Vyrus69:
Ok guys, dumb question I know, but I've searched and I can't find it.

A lot of the 7.1.1 roms mention that I need install N Firmware before upgrading to those roms. I just got my phone yesterday and have already rooted, install TWRP and xposed. But I miss tweaking my phones like crazy and itching to start flashing ROMS.

First question, where can I find the N firmware to flash.

Second question, can I flash that firmware with TWRP, or do I have to go back to stock recovery?
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
You should follow the fastboot guide, it'll be the best:

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369

Then you can again flash twrp
[Moto G4 Plus Guides, News, & Discussion] Jamesblond005:
I seem unable to obtain root was running a custom ROM RR Remix. So I reverted to stock using the manual guide to NPJ25.93-14 without relocking bootloader. I then istalled TWRP 3.0.1 as Sherps version didnt seem to work then flashed SuperSU-v2.79-201612051815. Then the phone wouldnt boot just got a blank screen. So I utilised a recovery that I installed in TWRP. So Ive got noghat installed and TWRP but cant seem to root, please help. Yes my bootloader is unlocked , help apreciated thanks
[Moto G4 Plus Guides, News, & Discussion] echo92:
If you wish to root in stock Nougat, you need to flash the ElementalX kernel before flashing SuperSU, else you'll run into the boot issues you mentioned. https://xdaforums.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836 for the kernel. Make sure you back up your boot.img (with your stock kernel) before modifying the boot.img with ElementalX, so you can revert to a stock kernel if need be.

You may find the steps in this post useful:https://xdaforums.com/showpost.php?p=71309046&postcount=163
[Moto G4 Plus Guides, News, & Discussion] Jamesblond005:
Still no joy unfortunately installed elemental x & flashed super su as previously mentioned, phone rebooted and currently stuck on the blue motorola icon
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, did you clear your cache and Dalvik in TWRP (or even a factory reset) after flashing? Also, with TWRP, did you mean the 3.1.0 official version?
[Moto G4 Plus Guides, News, & Discussion] Jamesblond005:
I think i may have cracked it, this time, used the updated SuperSU-v2.79-SR3-20170114223742.zip via sideload after system wouldnt boot to os, cleared cache and davlik, root checker confirms system is now rooted thankyou
[Moto G4 Plus Guides, News, & Discussion] irishmyles003:
When I try to flash TWRP via fastboot I get Image not signed or corrupt. I am using an XT1644 with Android 7.0 on build MPJ24.139-64. Any help as to what I am missing? My bootloader is unlocked as well if that makes any difference?
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
As long as the flashing process returns OKAY it's fine.

The 'not signed/corrupted' message afaik is because these aren't signed by moto.
[Moto G4 Plus Guides, News, & Discussion] irishmyles003:
ok thank you. I guess TWRP flashed to my device. I booted in fastboot and clicked recovery and can boot into TWRP. Next issue I am having is that I just attempted to root, copied the file SR1-SuperSU-v2.78-SR1-20160915123031 to my device and wiped davlik and cache.And when I go to start it just goes black and nothing happens, but I can access fastboot.
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
To root Nougat, flash ElementalX kernel v1.04 for stock >reboot >flash supersu v2.79 sr3 >reboot.
[Moto G4 Plus Guides, News, & Discussion] irishmyles003:
For right now, nothing is booting. So I guess I wiped something I shouldnt have. So where is there a flashable zip file I can flash for nougat?

---------- Post added at 09:54 PM ---------- Previous post was at 09:26 PM ----------

Please anyone with some help. I can boot into TWRP. But when I try to boot the phone up nothing happens. I believe I may have wiped /system and that is why it is not booting up. Is my phone soft bricked or hardbricked? And what can I do to install either 6.0.1 or 7.0 Nougat?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Did you flash ElementalX via TWRP as tywinlannister suggested above? If you try to root stock Nougat without replacing the stock kernel, you'll experience bootloops.

If you are sure the system was wiped by accident or you're otherwise unable to copy files to your device, you may be able to recover by flashing a Nougat ROM via the bootloader (which i'm hoping you're running, the build number and version number of Android you posted earlier don't match - MPJ24.139-64 is a Marshmallow build). Here's such a fastboot ROM: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369 This is NPJ25.93-14 (Dec 2016 security patch, v 7.0).

EDIT - if you did have Nougat 93-14 installed prior to things going pear shaped, you may have some luck with flashing this 93-14 TWRP backup https://xdaforums.com/moto-g4-plus/how-to/android-7-0-moto-g4-plus-npj25-93-14-t3544601
[Moto G4 Plus Guides, News, & Discussion] irishmyles003:
I am able to flash Elementals X kernel. You're stating that MPJ24.139-64 is a marshmallow build but when I was able to boot up prior to this issue it stated Nougat 7.0
[Moto G4 Plus Guides, News, & Discussion] ++Addy98++:
Any way to relock the bootloader?

I tried the fastboot oem lock, but this didn't work. It says it needs signed boot.img or oem.img

What does this mean?
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
This thread is deprecated now. See here:

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
[Moto G4 Plus Guides, News, & Discussion] niks23:
Hi.... I am on rooted MM and getting OTA update for Nougat..... can i update for nougat ?

IT will be stable or should i relock the bootloader 1st or go to on proper stock MM then will go for update??

KIndly guide me.
[Moto G4 Plus Guides, News, & Discussion] kurianvinil:
after all this steps done , will the device's status is official?

will it be get the new OTA 7.0 and 7.1.1 ??
[Moto G4 Plus Guides, News, & Discussion] andrescm:
Thanks [MENTION=7920082]yeshwanthvshenoy[/MENTION], this guide was very useful. I would advise however to warn the reader that your root method only works on Marshmallow, not Nougat. I know because I followed your instructions and right after flashing SuperSU my phone refused to turn on. Had to restore a nandroid from recovery and start again following another guide.

Also a question: does your custom logo.bin remove the 5 seconds delay too?

Thanks!!!
[Moto G4 Plus Guides, News, & Discussion] echo92:
I think that's a fair warning to add as well, though this guide was written in May 2016, people may not be aware of the kernel changes introduced with Nougat. It's not as straightforward to root on v7.0, with a custom kernel required to prevent a boot loop.

As for the custom logo.bin, don't think it removes the delay, just makes it nice to look at. Here's some more logos https://xdaforums.com/moto-g4-plus/themes/customized-logo-t3451349
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
No don't do it.

Even if you try installing the OTA, it will fail as flashing a System Update needs unmodified system and stock recovery. If you want to update to Nougat 7.0 the best and the easiest way is to flash it via fastboot method.

See this: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
[Moto G4 Plus Guides, News, & Discussion] jose palacio:
amgio que debo de hace si despues de un comando me dice fail
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
XDA is an English only forum. Please go through the rules once. :) And I think you're seeing some commands fail?
[Moto G4 Plus Guides, News, & Discussion] jose palacio:
If some commands fail and the device restarts but remains the same

The problem that my phone presents is that it turns on and stays in the menu recovery I acquired it and since then it has not been able to solve it
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
Your bootloader is locked. So the best will be to flash stock Nougat. https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
[Moto G4 Plus Guides, News, & Discussion] echo92:
Just asking, was this device bought from Amazon or from a carrier? That error you encountered with unauthorised flashing could result from trying to flash on a carrier locked device.
[Moto G4 Plus Guides, News, & Discussion] jose palacio:
Greetings friend is the version of amazon xt1625, how can I solve this problem?

Greetings friend is the version of amazon xt1625, how can I solve this problem?

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

Greetings friend, I'll try and let you know
[Moto G4 Plus Guides, News, & Discussion] echo92:
Oh, that's what I was afraid of, that your device was locked by Amazon.

You may choose to look and follow this guide to get your phone working. https://xdaforums.com/moto-g4/development/unbrick-hard-bricked-moto-g4-amazon-t3486578 I've not tried it so I'd strongly suggest reading through the thread, though I see you've already commented in it. Also, this other thread might be of use https://xdaforums.com/moto-g4/help/xt1625-amz-unlock-key-unlock-due-to-t3486426 as well as perhaps seeing what others have tried to repair their XT1625 https://xdaforums.com/moto-g4/help/soft-bricked-prime-exclusive-xt1625-t3470693

Failing that, you may have to ask amazon or Motorola for assistance, I do not know if they will charge you for repairs.
[Moto G4 Plus Guides, News, & Discussion] jayeshaupe90:
Can you update the link..i too have the same oroblem

Can you update the link..i too have the same oroblem
[Moto G4 Plus Guides, News, & Discussion] flroots:
A real newbie question. I just ordered the:

Moto XT1644 G4 Plus (4th Gen) 5.5 Inch full HD 64GB Storage 4 GB RAM , Unlocked, U.S. Warranty - (Black)

from Amazon. Does the reference to 'Unlocked' refer to carriers or bootloader? I have always assumed carriers, but just want to be sure. Thanks.