yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] null_null:
Hi I bought a Moto G4 plus from ebay and it has turned up in the bootloop state. Before sending it back I want to try and get it working as I can boot into Fastboot, and Recovery. So it should be possible?

I have requested the unlock code from Motorola, but when I enter it in fastboot. It says I need to check the allow oem unlock option, so no go.

$ mfastboot getvar all

(bootloader) version: 0.5

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

(bootloader) product: athene_16mp

(bootloader) board: athene_16mp

(bootloader) secure: yes

(bootloader) hwrev: P2A

(bootloader) radio: 3

(bootloader) storage-type: emmc

(bootloader) emmc: 16GB SAMSUNG QE13MB RV=08 PV=07 FV=0000000000000007

(bootloader) ram: 2GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=1F

(bootloader) cpu: MSM8952

(bootloader) serialno: ZY2239CHT7

(bootloader) cid: 0x0032

(bootloader) channelid: 0x41

(bootloader) uid: B0A6B20000000000000000000000

(bootloader) securestate: oem_locked

(bootloader) iswarrantyvoid: no

(bootloader) max-download-size: 536870912

(bootloader) reason: UTAG "bootmode" configured as fastboot

(bootloader) imei: #removed#

(bootloader) meid:

(bootloader) date: 06-04-2016

(bootloader) sku: XT1642

(bootloader) battid: SNN5966A

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Sun Jan 25 23:54:25 UTC 1970"

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

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

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

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

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

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

(bootloader) kernel.version[0]: Linux version 3.10.84-g478d03a (hudsoncm

(bootloader) kernel.version[1]: [MENTION=387459]ilc[/MENTION]lbld26) (gcc version 4.8 (GCC) ) #1

(bootloader) kernel.version[2]: SMP PREEMPT Fri Jan 6 05:12:56 CST 2017

(bootloader) sbl1.git: git=MBM-NG-VB1.06-0-g57d1343

(bootloader) rpm.git: git=MBM-NG-VB1.06-0-ga970ead

(bootloader) tz.git: git=69dd24b-dirty

(bootloader) hyp.git: git=69dd24b-dirty

(bootloader) keymaster.git: git=69dd24b-dirty

(bootloader) cmnlib.git: git=69dd24b-dirty

(bootloader) aboot.git: git=MBM-NG-VB1.06-0-g0edfb0d

(bootloader) qe: qe 0/0

(bootloader) frp-state: protected (75)

(bootloader) ro.carrier: retgb

all: listed above

finished. total time: 0.079s

When I boot into Recovery and wipe data/factory reset. It just hangs on Formatting /data...

What strikes me as odd is that the md5 field is empty, does that relate to anything?

Is there anything I can do to restore and get the phone working again please?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Try flashing the September 2017 fastboot ROM onto the device. https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

Alternatively, as it looks like that boot mode is configured as fastboot, you could try:

Boot into bootloader.

Connect your device to your computer.

In the ADB terminal on your computer (assuming you have minimal ADB installed), type 'fastboot oem fb_mode_clear' without quotes and execute.

Reboot and see if that clears the bootloop.

It's odd that you've got a device that has a locked bootloader and appears not to have been unlocked previously (warranty is not void), yet has the June 2017 bootloader (B1:06) but a December 2016 system (NPJ25.93-14)...
[Moto G4 Plus Guides, News, & Discussion] makinox:
that restore the original guarantie?
[Moto G4 Plus Guides, News, & Discussion] strongst:
Motorola already knows that you unlocked your bootloader by requesting a unlock code from their website.
[Moto G4 Plus Guides, News, & Discussion] quiquetdelcampet:
Hi there from Spain.

I bought a Moto G4 Plus in Amazon.es in december.

I have XT1642 version, Stock ROM NPJS25.93-14-8, june security path, locked bootloader.

I have read about problems with Amazon Exclusive version, and I prefer to ask before getting a paperweight.

I have tried to unlock my device writting "fastboot oem get_unlock_data" in Minimal ADB and Fastboot 1.4.2 and I got that before the unlock data:

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) Unlock data:

[Bootloader code]

OKAY [ 0.119s]

finished. total time: 0.120s

After that I have copied/pasted the code in the Motorola Unlock Page and I can click in the blue Request Unlock Key, but I have not done yet.

So I think that in spite of the fact that I have an Amazon Moto G4 plus, and I got that "not found" problem in the ADB and Fastboot I would be able to unlock without brick my smartphone. However I prefer to ask before doing anything first. I'm worried about that two problems. What do you think? I haven't found anything about that.

Sorry for my noob dudes :S

Really thanks to you.

---------- Post added at 01:47 AM ---------- Previous post was at 01:41 AM ----------

I have found that post, but it's not for Moto G4 Plus:

https://xdaforums.com/moto-e/help/bootloader-slot-count-t3552375

As I could read, is it because of the version of the fastboot?

---------- Post added at 02:05 AM ---------- Previous post was at 01:47 AM ----------

I have tried with adb 1.4.3 here https://xdaforums.com/showthread.php?t=2588979 and it does not show that "not found" error.

Do you know what means?
[Moto G4 Plus Guides, News, & Discussion] echo92:
As far as I know, those adb messages are normal for our device as we don't have A/B partition slots such as them found in the Google Pixel. Thus, those messages are informational for us, else we'd have to tell which slot to flash firmware to. So long as you see [OKAY] at the end of the command, that means it's worked.

You are unlikely to get a brick with simply unlocking your device. If you do have an Amazon Prime device, then the unlock key may reject your request. Easiest way to confirm if you have an Amazon Prime device is do you have adverts on your lock screen? Also, if you go to Settings>About Phone, is your software channel amz or reteu? Amazon do sell devices locked to Amazon (amz software channel) and also devices that are retail (i.e. not locked to any network/provider), but obviously the latter would be more expensive.

Be aware that unlocking your bootloader will wipe your device, so back up as necessary and keep those backups off your device. Also, the act of requesting the key (clicking that blue link you mentioned) appears to void your warranty, regardless of whether you use it or not. I don't know if Amazon will honour its warranty or defer to Motorola if a repair is requested.
[Moto G4 Plus Guides, News, & Discussion] Nis882:
I need a custom recovery for my device Micromax Q491 (Canvas amaze 4g), I dont know anything about this..

Can you please create a custom recovery for my device....

I would be thankful to you
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
This is not for devices other than Moto G4/G4 plus, READ XDA RULES FOR DEVICE SPECIFIC FORUMS.

If your device does not have specific forum, those questions should go in general questions and discussion threads,

Search/post HERE: https://xdaforums.com/general/help
[Moto G4 Plus Guides, News, & Discussion] quiquetdelcampet:
Nice to read you.

I have all my backups ready, was trying to unlock my device but got that not found error and I was scared :)

I thought it wasn't anything important but I prefer to ask.

I have a reteu version, but in the Amazon Spanish web ad says 'Amazon exclusive', I don't have ads in my device and I can click on the blue request to unlock key, so I think I will not have any problem.

I will try tomorrow :D

Do you recommend me to update first to the September's path and the bootloader after unlocking, and before flashing twrp and a custom Rom? I'm on OTA June.

Thanks echo92
[Moto G4 Plus Guides, News, & Discussion] echo92:
Regardless of whether your bootloader is locked or unlocked, you can still update via OTA. However, you need a stock recovery, unmodified system/logo/kernel.

Thus, I would recommend the path you've suggested: update first, then unlock your bootloader, then flash TWRP (3.1.0 or later, preferably), then flash the custom ROM.

Be aware that as your device has been updated to the June/September 2017 stock firmware, you need the corresponding stock firmware to revert back to the stock Motorola ROM. Thus, ensure you have the latest stock ROM - September 2017 is here: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 Any attempts to revert with older stock firmware (older than June 2017/Sept 2017) on your device and then attempting to update via OTA may corrupt your bootloader and render it inoperable (a hard brick). We have a possible rescue blankflash available, but I would prefer avoiding a chance of a hard brick if at all possible.
[Moto G4 Plus Guides, News, & Discussion] prabhakaragaddam1729:
unable to get request unlock key

i have done all the things listed above .but i cant find request unlock key when copy and paste the code in the motorola website.

please help me
[Moto G4 Plus Guides, News, & Discussion] echo92:
Did you check your device id on the website as directed? You have to copy your device id and press 'can my device be unlocked?'

Did you also agree to the legal disclaimer down the bottom of the page?
[Moto G4 Plus Guides, News, & Discussion] quiquetdelcampet:
https://www.youtube.com/watch?v=A3tu-IvVmCk

---------- Post added at 11:21 AM ---------- Previous post was at 11:18 AM ----------

All works flawless, really thank to you! Using RR 5.8 like a child with new shoes :o:o

I also tryed to flash recovery, lock bootloader and stock ROM flawless.

Nice to meet you and XDA ;)
[Moto G4 Plus Guides, News, & Discussion] jonathin.r:
This also works for the Moto G5 Plus, however, you don't need the "m" before `fastboot`
[Moto G4 Plus Guides, News, & Discussion] Axesboy:
How can i unlock this device? but problem is my device cid: 0x0002.. Help me, Unlocking Boatloader several times but fails.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, that cid corresponds to Verizon, did you buy the device from Verizon? If so, Verizon bootloaders do not appear to be unlockable, unfortunately. https://forums.lenovo.com/t5/MOTO-G...der-Unlock-Help-Please-post-here/td-p/3024663
[Moto G4 Plus Guides, News, & Discussion] pizza_pablo:
I've read that this also works on the Moto Z2 Play. What does it look like, please?
[Moto G4 Plus Guides, News, & Discussion] ____Mdd:
Since display size is same it can work but it is not suggested (i don't know if anything device specific stuff is there in logo.bin or not).

you can extract logo.bin from your device's firmware and create from your own image. Following this link: https://xdaforums.com/moto-g4-plus/themes/guide-t3588090/
[Moto G4 Plus Guides, News, & Discussion] pizza_pablo:
Thanks!

My question is what does this splash screen actually look like?

Screenshot? Video? Pic?
[Moto G4 Plus Guides, News, & Discussion] DJRepresent:
Does this get rid of that error message or just cover it?
[Moto G4 Plus Guides, News, & Discussion] echo92:
Generally, these custom logo.bin files only hide the error message. You'll still have the 5-10 second delay before booting and depending on the logo.bin, you may see the N/A from the error message appear.

Only way to fully hide the error message is to re-lock your bootloader (which would erase your device and also stop you from flashing anything custom).
[Moto G4 Plus Guides, News, & Discussion] cdhigh:
Excelent!
[Moto G4 Plus Guides, News, & Discussion] pissgoat:
After making it stock, can I just straight upgrade to 7.1 again?

Is this basically like resetting your phone completely?
[Moto G4 Plus Guides, News, & Discussion] echo92:
I'm not sure what question you're asking as there's no stock ROM at v 7.1. (only 7.0).

If you mean if you can update via OTA after reverting to stock, you can, but you must revert to the stock firmware as new or newer than the stock firmware you had previously (before you modified your device or flashed custom ROMs). Flashing an old stock ROM and then using OTA updates may hard brick your device. This NPJS25.93-14-18 April 2018 firmware is the latest for EU devices: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 so flashing this fully would mean you're safe for the next OTA update at the time of writing this.

If you're asking if you can flash custom ROMs after reverting back to stock, yes, as long as you did not lock your bootloader.

EDIT - if you're coming from custom ROMs, you must clean flash (including erase userdata). So, yes, it is like resetting your phone. You may be able to back up app data with Titanium Backup but you will have to root on the stock ROM to restore your app data.
[Moto G4 Plus Guides, News, & Discussion] sujeet_kumar:
Is there any way to fash 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:
No, there's no way to flash the stock rom except the given one through fastboot
[Moto G4 Plus Guides, News, & Discussion] Jleeblanch:
Now you can [emoji6] I've added a TWRP flashable zip of NPJS25.93-14-18 to my stock ROM thread in the ROMS/Kernels section
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=8423597]sujeet_kumar[/MENTION], there is your answer!
[Moto G4 Plus Guides, News, & Discussion] charmokete:
This procedure doesn't flash my device does it? or I have to back it up before doing this?
[Moto G4 Plus Guides, News, & Discussion] :
Technically, unlocking your bootloader itself will void your warranty. Even if you flash back stock, it will still show up as some bootloader code. But if the guy at the service center ain't a bright fellow, you can just flash back stock and give it to service. That is what happened for me when upgrading to Lollipop in my Moto G1. I tried to downgrade, bricked and the service center guy replaced the motherboard for me(free of cost) because I was in warranty(though I had flashed CM and unlocked bootloader). It is upto you to unlock or not. I have put the facts straight. :)
[Moto G4 Plus Guides, News, & Discussion] garva1:
Do i need android SDK or just the fastboot adb is enough and have you got any success in rooting and installing TWRP in Moto G4 Plus.
[Moto G4 Plus Guides, News, & Discussion] JerryGoyal:
hey this was very informational. Thanks.

So there is no way to re-lock the bootloader in moto g4plus?

cuz we can re-lock the bootloader in MOTO E afaik.
[Moto G4 Plus Guides, News, & Discussion] :
Its the same method. I havn't done in G4 Plus yet. Will try and let you know.

Check my links for adb fastboot. You dont need sdk necessarily. Bro, I made the TWRP, i did succeed in TWRP and Root. Why?
[Moto G4 Plus Guides, News, & Discussion] garva1:
I mean you are saying mfastboot and previously on G3 i have done this with fasboot command

My question was

Where to find Allow OEM unlock option.
[Moto G4 Plus Guides, News, & Discussion] :
Kindly read my first step clearly and more carefully. There is one step extra need than previous Moto devices, they have mixed a few of Lenovo's own features I guess :D :p
[Moto G4 Plus Guides, News, & Discussion] garva1:
Sorry, but where i can download mfastboot or this is just a command or fastboot oem unlock will also work????
[Moto G4 Plus Guides, News, & Discussion] :
Mfastboot is the newer version of fastboot, it is recommended not to use fastboot(use mfastboot instead). https://drive.google.com/file/d/0B5jlU9JnLAZGbVU0UzJ3N3p4X2M/view?usp=sharing . I had posted the link already. Kindly check my other posts as well. A simple google search can lead you to the above link.
[Moto G4 Plus Guides, News, & Discussion] JerryGoyal:
thanks. please let me know if u do so.
[Moto G4 Plus Guides, News, & Discussion] bunty786:
rooted successfully.. but now my camera is not working. not even torch.

any fix?
[Moto G4 Plus Guides, News, & Discussion] bunty786:
after flashing stock rom my ph wifi is not working,not even the sims are working>???

what to do now?
[Moto G4 Plus Guides, News, & Discussion] :
Number One : Please don't quote the whole OP.

Number Two : You surely flashed the wrong firmware. Can you link me the file you downloaded? If your having an Indian version then use this : https://drive.google.com/file/d/0B1N6dGU7FEXsSjR3QUtsRU1RTVk/view?usp=sharing
[Moto G4 Plus Guides, News, & Discussion] bunty786:
sir my model is XT1643 will this work?

moto g4 plus 32gb INDIAN?

i've earlier flashed this Rom- http://www.filefactory.com/file/6jg...24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip

---------- Post added at 01:53 PM ---------- Previous post was at 01:32 PM ----------

thankyou bro! this firmwire works and sim and wifi started working again..

i was flashing the wrong firmwire! thankyou :D
[Moto G4 Plus Guides, News, & Discussion] tasar:
My G4+ is on the way, iam not sure but i think its the Xt1642 (from german Moto maker) . So is there firmware for this model and is root possible? I read that many has problem with Wifi after flashing the boot.img.
[Moto G4 Plus Guides, News, & Discussion] karthikreal:
Cant able to Flash TWRP-3.0.2-0-athene.img for MOTO G4+

I cant able to flash this, itz showing error

Not signed or Corrupted
[Moto G4 Plus Guides, News, & Discussion] nrp31:
Can I re-lock the bootloader once I unlock it? [MENTION=6484426]yeshwanthvshenoy[/MENTION]

Also does unlocking the bootloader affect the OTAs on Moto Devices?
[Moto G4 Plus Guides, News, & Discussion] :
That has been fixed. Check the rooting thread for the fix.

I have already answered this to another person. It will show the same error even if you flash stock recovery, just go ahead and boot into recovery.

Yes, you can relock any time.

Typically, I am answering this for the nth time. YOU WILL GET OTA. But you will not be able to install the OTA if you root the device, since it will check for a lot of md5 and that will fail and it will abort the install. If it is only unlocking, don't worry you can still install AFAIK.
[Moto G4 Plus Guides, News, & Discussion] nrp31:
Thanks for answering!:)
[Moto G4 Plus Guides, News, & Discussion] tasar:
Has someone test TWRP only as temporary recovery with "fastboot boot twrp.img" so it is not permant and OTA was easier (only unroot before OTA)?
[Moto G4 Plus Guides, News, & Discussion] yash989:
Is it necessary to download Android SDK without that not possible

My laptop is fresh nothing installed new can u tell what to do next
[Moto G4 Plus Guides, News, & Discussion] strongst:
What do you mean exactly, please elaborate.
[Moto G4 Plus Guides, News, & Discussion] charmokete:
I was referring to the process of flashing the animation logo at the beginning of the booting process to remove the screen where says that my device is not trusted anymore, my doubt is, if i just flash the boot logo my phone doesn't get factory reset
[Moto G4 Plus Guides, News, & Discussion] strongst:
Nope, you need to flash the stock rom(don't downgrade the bootloader!!!) and the fastboot oem lock commands.

But please make sure you don't have any newer rom version than provided in this thread, otherwise it won't work!

Be careful and ask if you have any concerns :)
[Moto G4 Plus Guides, News, & Discussion] sieger007:
Root g4 plus with no USB connection op

I have an XTnnn43 series G4 Plus whose USB connector isnt working. That means I can charge via USB but data port is hosed.

How do I know its a H/w issue ? I found a CL phone mech who ripped it open and showed me the connection snap. Tried to solder but failed.

So My question is WITHOUT USB connection ( that means all modes fastboot , ADB etc.. that need PC connection are n/a)

how can I root. I tried kingoroot - it gave up. EVEN if I can temp root with a chinese root - I can get TWRP in and then magisk iit and get rid of the temp root

Any takers ?
[Moto G4 Plus Guides, News, & Discussion] iPraShri:
Can't flash anything from adb/fastboot

Hello Yashwant,

Few days ago, I flashed an older version of firmaware on my Moto G4 plus & now I can't flash anything in bootloader mode.

Fortunately, I could run TWRP from bootloader & then I flashed TWRP flashable ROM to get on the latest stock rom.

But still it is showing the 5 second bootloader warning. Do you have any solution for this problem ?

Thanks in advance
[Moto G4 Plus Guides, News, & Discussion] echo92:
If your bootloader is unlocked, I do not recall if you can do anything about the 5 second delay before booting. The most you can do is to hide the bootloader warning by flashing a custom logo.bin. There's quite a selection in the Themes section including https://xdaforums.com/moto-g4-plus/themes/simple-bootlogos-collection-miui-apple-t3650738 https://xdaforums.com/moto-g4-plus/themes/minimalistic-android-bootlogo-n-covered-t3728434 https://xdaforums.com/moto-g4-plus/themes/bootlogo-dev-edition-black-n-removed-t3609835 or https://xdaforums.com/moto-g4-plus/themes/guide-t3588090 if you choose to make your own.

The only way to remove the delay and the bootloader warning together is to lock your bootloader. Of course, this will erase your device, removing TWRP, root and any other modifications and flash a full stock firmware to your device.
[Moto G4 Plus Guides, News, & Discussion] iPraShri:
Thanks for the useful links to replace the warning.

Surpringly, phone's bootloader is locked, still it is showing the warning.
[Moto G4 Plus Guides, News, & Discussion] echo92:
That shouldn't be happening. How are you confirming that your bootloader is locked? Do you see OEM locked on the bootloader screen?

If you have TWRP or are using the TWRP flashable stock ROM, your device bootloader cannot be locked, else your device likely would fail to boot. You cannot have TWRP/root or anything non stock on a locked bootloader.
[Moto G4 Plus Guides, News, & Discussion] sieger007:
TGF for anyone who answers this c' mon !

---------- Post added at 05:47 AM ---------- Previous post was at 05:43 AM ----------

I also wanted to check what is the feedback of other members on the purported g4 plus laser focus feature

how do I know that laser is working I do not see a single blink from above the lens near the flash area to suggest that the laser is being used

is it expected for that Little red or whatever blink to happen if that laser is getting used

has anyone had a chance to see if it works like above in a custom rom and which one ?
[Moto G4 Plus Guides, News, & Discussion] echo92:
For your root issue, do you have TWRP already on your device, or is your bootloader unlocked?
[Moto G4 Plus Guides, News, & Discussion] sieger007:
no I cannot install TWRP because any USB mode of connection to the device is unavailable. that is the problem. bootloader is unlocked.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Thanks, I was asking as I saw from your previous posts that you posted in the custom ROM threads, hence hoping that you had TWRP still on your device.

Unfortunately, I can't think of a way to get TWRP or root onto your device, at some point you'd need access to fastboot. Either with booting TWRP or directly rooting with a magisk modified boot image.

I'm also guessing that why no one else has replied as the lack of a fully working usb port nullifies the usual techniques.
[Moto G4 Plus Guides, News, & Discussion] sieger007:
well I have two of these with me

the custom rom threads reflect the experience with the one that working and this one is squat as far as anything to do with USB is concerned
[Moto G4 Plus Guides, News, & Discussion] iPraShri:
It is unlikely, but in the developer options, I can see bootloader is locked, while I can use TWRP & flash any roms, but I can't flash anything via ADB. There is always a warning like "slot not found".