yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] echo92:
Do you have the Motorola drivers installed on your computer and have you disabled driver signature enforcement?

Bear in mind that this stock (Motorola) ROM here is for marshmallow (v 6.0.1), I would advise against downgrading from stock Nougat unless you are certain about what you are doing, but if you do downgrade, do not accept OTA updates else you may hard brick your device.
[Moto G4 Plus Guides, News, & Discussion] saurabh00721:
It worked-

Thanks for your assistance, i disabled driver signature enforcement and then my pc showed a serial no. On typing fastboot devices. But you said that that rom was forandroid 6.0.1 and when i flashed it i got 7.0 - nougat. So does it means that i can update my device whenever any update comes. Now my phone is up to date
[Moto G4 Plus Guides, News, & Discussion] echo92:
Good to hear it worked.

I'm confused by what your reply meant though, so you flashed this stock ROM and updated to Nougat without issue? Were you on stock Nougat previously, if so, which build?
[Moto G4 Plus Guides, News, & Discussion] saurabh00721:
I didnt mean that

I flash that stock rom and it was already nougat 7.0,u were saying that this rom is 6.0.1 so dont accept ota updates but that was nougat 7.0. Before flashing i was on nougat(7.1.2)

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

I did so bcz when i was on reseruction remix (7.1.2) my phone was switching off frequently f ( ex - on playing games with sound on, when someone's phone came, when alarm rings;on DND it doesn't get switched off on incoming calls ; battery also gets lower by 5-20% each time when i switched it on). So i showed it to the company and they saidyou have third party app, you have make changes to os, flashing cant be done, new mother board is required which cost 12000 INR you have third party app, you have make changes to os, flashing cant be done, new mother board is required which cost 12000 INR[/B]. SO i decided to lock oem and flash original rom but still it is getting switched off, so plz tell me howcan switching of phone can be stopped.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Okay, so sounds like you flashed a different stock ROM to the one listed in the opening post (MPJ24.139-63 is the v6.0.1, Marshmallow, stock ROM) so if you had stock (Motorola) Nougat, you wouldn't have been able to relock your bootloader.

If the fault is persisting across RR and the stock Motorola ROM, it does sound like a hardware fault. This is with a clean device, yes - no apps besides the ones already installed? Is the fault reproducible with the same steps or does it occur at random? Have you tried to have your battery replaced?

To help keep this thread clean, you may wish to post about your shutdown issues here: https://xdaforums.com/moto-g4-plus/help/help-thread-question-noob-friendly-t3526598
[Moto G4 Plus Guides, News, & Discussion] saurabh00721:
No i didnt replace my battery

I also think that i need to replace the battery. I flashed rom using this sitehttps://www.google.co.in/amp/s/xdaf...ock-rom-npjs25-93-14-4-march-1-t3608138/page1 and in that rom there is 7.0 version and i am sure that this switching off problem cannot be sorted by flashing different roms as i have been on reseruction remix, aosp and now this original ;before first time unlocking bootloader my phone was getting switched off that is why i decided to change rom but that didn't worked to solve my problem. ALSO THE MAIN THING--While charging at 1.5 A 5V charger my phone doesnt gets switched off but when charging at 1 A 5V or less power charge phone gets switched off few times (lesser than when device is not being charged) AND when it is being charged then it automatically get restarted when it is switched off. ?
[Moto G4 Plus Guides, News, & Discussion] echo92:
So you flashed the latest stock ROM (NPJS25.93-14-10), which answers a lot of my questions.

Ah, if you had taken your device to the service centre before you unlocked your bootloader, you may have been able to have the warranty cover repairs or replacements. Now you've unlocked, your remaining warranty is void (hence the repairs possibly costing 12000 rupees), and relocking the bootloader will not restore the warranty. A service centre may take your device and repair if they just look at the paperwork and see your bootloader is locked, however, if they check the IMEI they'll see the warranty was voided.

You could try taking your device back, with the receipt and paperwork, and ask the service centre to investigate the hardware fault again, maybe have them look at the battery. Alternatively, you could shop around for a new battery (ensure it's from a reputable supplier, do not skimp on batteries, especially batteries that will live in your pocket/clothes) and try to fit it yourself or pay a mobile phone shop to fit a new battery for you, see how you go.

If it is a motherboard fault, then you could try your luck with the service centre, else you may wish to put that money towards a new device.
[Moto G4 Plus Guides, News, & Discussion] saurabh00721:
I unlocked bootloader after 1 year i.e. After my warranty was officially void

I want to know that noe my bootloader is locked so can service cebtre can say that there is 3rd party app, or blah blah.....
[Moto G4 Plus Guides, News, & Discussion] echo92:
If you boot to the bootloader, your bootloader should report oem_locked. Furthermore, you should have no bootloader unlocked warning screen (the one where your device will boot after 5 seconds). Both should point to you having a relocked bootloader.

However, as your device is out of warranty anyway, you may have to pay either way.
[Moto G4 Plus Guides, News, & Discussion] Itemt:
December patch?
[Moto G4 Plus Guides, News, & Discussion] ANKUSHSAJWAN:
i want to downgrade my motog4plus nougat to marshmallow how to do it i am NOOB

i want to downgrade my motog4plus to marshmallow because

after upgrade i am facing a problem where my phone automatically shuts down (INDIAN VERSION) so i ll ask other indians to not upgrade untill it is resolved

battery is showing abnormal temperature

because it is a turbo charge enabled it is normal to heat up a little bit but my phones temperature is abnormal

i am a noob

can u guys guide me how to downgrade with detailed method

plus softwares and files for this thanks
[Moto G4 Plus Guides, News, & Discussion] echo92:
1)Are you currently on stock Nougat? If so, what firmware build are you on?

2)Sounds like you may have either a faulty sensor or a failing battery, from the problems you describe.

3)If you really want to downgrade to stock Marshmallow from stock Nougat, then if you flash the stock Marshmallow firmware, you do not want to accept/install OTA updates. Else, you likely will hard brick your device.

4)Follow the procedure in the opening post of the thread for general setup. You must have an unlocked bootloader to downgrade stock firmware.

a)Download and install ADB software. You may wish to download the latest minimal ADB software, version 1.4.2, here: https://xdaforums.com/showthread.php?t=2317790

b)Download the stock ROM: https://drive.google.com/file/d/0B1MeY85PNSirRmRXX0Q1dHVfQkE/view?usp=sharing - it's the latest MM stock firmware (MPJ24.139-63/64, July 2016 security patch)

c)Extract the stock ROM to your ADB folder (using your preferred unzipping program), and follow the rest of the instructions as in the opening post.

Once you reach the step for the fastboot commands, you'll want to use these commands:

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 reboot

For best results, copy paste each individual command into the ADB terminal. For example, start with:

1) copy 'fastboot flash logo logo.bin' (without quotes) to your ADB terminal.

2)Press Enter.

3)Wait for [OKAY].

4)Then copy the next command in sequence (e.g. fastboot flash boot boot.img )and repeat 2), 3) and 4) until you get to the bottom of the flash list.
[Moto G4 Plus Guides, News, & Discussion] ANKUSHSAJWAN:
build no. NPJS25.93-14-13

STOCK NOUGAT

7.0

MANY OTHERS ARE REPORTING SAME PROBLEM ONLY AFTER UPDATE(INDIAN VERSION)

---------- Post added at 06:48 PM ---------- Previous post was at 06:45 PM ----------

build no. NPJS25.93-14-13

STOCK NOUGAT

7.0

MANY OTHERS ARE REPORTING SAME PROBLEM ONLY AFTER UPDATE(INDIAN VERSION)
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, if you're on stock NPJS25.93-14-13 (Dec 2017 security patch), then you could try a re-flash of the stock ROM, see if that clears the issues. https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 for the stock ROM.

I would recommend you back up your data, move your backups off your device, and flash the NPJS25.93-14-13 ROM including fastboot erase cache and fastboot erase userdata (wiping both cache and userdata) commands. We want to be certain there's no 3rd party apps interfering.

If that doesn't solve things, then if you want to downgrade, then you must unlock your bootloader.

However, by unlocking your bootloader, you void any remaining warranty on your devices. If you do have a warranty, I would suggest submitting your device to a service centre if the fault is still there after re-flashing the stock Nougat NPJS25.93-14-13 ROM.

My device is on NPJS25.93-14-13 (XT1642, retgb) and my battery sensors are functioning, plus I have not experienced any random shutdowns whilst on this patch. It still runs warm when Turbocharging, but that's normal behaviour (and in normal use, I use an Apple iPhone charger for slow charging anyway).
[Moto G4 Plus Guides, News, & Discussion] ANKUSHSAJWAN:
my phone is out of warranty....

I am confused what to do
[Moto G4 Plus Guides, News, & Discussion] echo92:
Try the following

1)Factory reset your device https://motorola-mobility-en-in.cus...-plus/topic/reset/reset-to-factory-settings/1

2)If that doesn't work, re-flash the stock NPJS25.93-14-13 firmware: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

3)If re-flashing the stock Nougat firmware doesn't resolve the issue, unlock your bootloader and you could try to downgrade to Marshmallow. Again, if you downgrade, do not update with OTA updates.

4)If downgrading to Marshmallow does not resolve this, then you likely have a hardware fault. You may have to submit your device to a service centre for repairs, and as it's out of warranty, you may have to pay for the repair.
[Moto G4 Plus Guides, News, & Discussion] hrdy:
can it happen without debugging on ??

bcause phone wont start after updating offical update through phone

it shutdown after boot logo
[Moto G4 Plus Guides, News, & Discussion] echo92:
Can I ask you to clarify what you mean by 'can it happen without debugging on?', I'm not sure what you are referring to?

Can you describe what happened to your device, what update were you on and what update did you install?

What device do you have?

Is your bootloader locked or unlocked?

Did you or can you wipe your cache or do a factory reset (the factory reset will wipe your data, be careful).
[Moto G4 Plus Guides, News, & Discussion] hrdy:
can it happen without debugging on=debugging is off n phone wont start

bootloader locked = yes

factory reset=yes but still shutdown after logo

C:\mfast>fastboot oem lock begin

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) Not in unlocked state

OKAY [ 0.174s]

finished. total time: 0.174s
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, that's odd, I'm not sure if USB debugging would interfere with the boot cycle.

If you've got a locked bootloader, however, your device may be failing the integrity checks performed during boot https://source.android.com/security/verifiedboot/verified-boot which may have been as a result of the update you mentioned.

Can you remember what update you applied or if you don't, can you provide your getvar all data please?

1)Boot your device to the bootloader. Connect your device to your computer via USB.

2)In the ADB terminal, type 'fastboot getvar all' without quotes. Press Enter.

3)Paste the output in a new post here - you may wish to remove your IMEI.

With that info, we can suggest a stock ROM to flash, which may repair your device if it was a failed/corrupted update. Else, it may require a service repair (e.g. if the flash memory on the motherboard has failed).
[Moto G4 Plus Guides, News, & Discussion] hrdy:
C:\mfast>fastboot getvar all

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) version: 0.5

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

(bootloader) product: athene_16mp

(bootloader) board: athene_16mp

(bootloader) secure: yes

(bootloader) hwrev: P2A

(bootloader) radio: 4

(bootloader) storage-type: emmc

(bootloader) emmc: 32GB SAMSUNG RX1BMB RV=08 PV=07 FV=0000000000000007

(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B

(bootloader) cpu: MSM8952

(bootloader) serialno: ZY223PGTVP

(bootloader) cid: 0x0032

(bootloader) channelid: 0xc0

(bootloader) uid: AF93420100000000000000000000

(bootloader) securestate: oem_locked

(bootloader) iswarrantyvoid: no

(bootloader) max-download-size: 536870912

(bootloader) reason: Volume down key pressed

(bootloader) imei: 358223078537434

(bootloader) meid:

(bootloader) date: 11-08-2016

(bootloader) sku: XT1643

(bootloader) battid: SNN5970A

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Sun Jul 31 19: 6:45 UTC 2016"

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

(bootloader) ro.build.fingerprint[1]: S25.93-14-13/3:user/release-keys

(bootloader) ro.build.version.full[0]: Blur_Version.25.226.3.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[0]: M8952_70030.25.03.62R ATHENE_INDIA_DSD

(bootloader) version-baseband[1]: S_CUST

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

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

(bootloader) kernel.version[2]: SMP PREEMPT Thu Nov 23 09:34:10 CST 2017

(bootloader) sbl1.git: git=MBM-NG-VB1.07-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.07-0-gf9b89ba

(bootloader) qe: qe 0/0

(bootloader) frp-state: protected (77)

(bootloader) ro.carrier: retin

all: listed above

finished. total time: 0.331s

C:\mfast>
[Moto G4 Plus Guides, News, & Discussion] hrdy:
phone turn on after flash Moto_G4_Plus_XT1643_ATHENE_MPJ24.139-63 on factory mode

but show battery not charging

when plug out it shutdown
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, sounds like your battery may need replacement, possibly - have you noticed your battery performance decreasing?

Also, as you've previously had NPJS25.93-14-13 (Nougat, Dec 2017) with a locked bootloader, I don't think you'd have been able to flash this MPJ24.139-63 onto your device (this is a Marshmallow stock ROM, July 2016 security patch) unless you unlocked your bootloader?

I saw evidence of an incomplete flash in your getvar all, as your baseband does not match what we expected for the Dec 2017 stock ROM. Your baseband ends in .62R rather than .62.01R.

Before you try anything else, I would suggest flashing thie NPJS25.93-14-13 stock ROM: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
[Moto G4 Plus Guides, News, & Discussion] Ericksinh0:
Hi echo92/all,

I have a Moto G4 (XT1621 - CE0168)

RETMX

Android version: 7

Security patch: February 1, 2018

Baseband: M8952_70030.25.03.62.02R - ATHENE_LATAM_DSDS_CUST

Kernel: 3.10.84-ga9160e1 - hudsoncm@ilclbld36#1 Sat Feb 3 12:16:23 CST 2018

Version: NPJS25.93-14.15

I have battery issues and somehow got to this thread, I have replaced the battery and the issue persist, seems to me like a SW issue. Is there something I can try to fix this issue?. I got this by this thread which is my actual problem.

https://xdaforums.com/moto-g4-plus/help/moto-g4-plus-battery-drain-fast-charge-t3612314
[Moto G4 Plus Guides, News, & Discussion] echo92:
1)What battery issues are you experiencing? Is it battery discharging faster than expected or random reboots?

2)Have you checked your device apps with a battery monitoring app like Better Battery Stats (either from XDA https://xdaforums.com/showthread.php?t=1179809 or from the Google Play Store) or GSAM Battery Monitor? If you install one of these, you could check if any apps are misbehaving and keeping your device from sleeping, which could lead to battery drainage. Pay particular attention to social media apps or other apps which may require a constant data connection.

3)If you find no particular culprits in the apps, you may wish to try a factory reset via stock recovery to clean out all 3rd party apps. Bear in mind this will wipe your data, so you may wish to back up your data/important files and keep safe (e.g. your computer). Also, be warned that if you have a SD card adopted as internal storage, you may lose access to that SD card if you factory reset (so back up the SD card if needed). This factory reset should mean you only have apps that came standard with the stock firmware.

4)If 2) and 3) don't help, you can re-flash the stock ROM to try to fix any firmware issues. Here's a post pointing to the stock NPJS25.93-14-15 firmware : https://xdaforums.com/showpost.php?p=76337066&postcount=769 Flash as per the instructions here: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 You do not have to lock/re-lock your bootloader. You could also try flashing the NPJS25.93-14-18 firmware (April 2018) which is the direct update to your existing firmware, and appears to have better battery life in my experience compared to the Feb 2018 patch firmware: https://xdaforums.com/showpost.php?p=76416801&postcount=785 These firmwares are for athene, which includes Moto G4 models as well as G4 Plus.

5)If a firmware flash doesn't resolve the battery issues, it may point to a hardware issue, which a service centre would be best positioned to resolve.
[Moto G4 Plus Guides, News, & Discussion] Ericksinh0:
Hi [MENTION=7970352]echo92[/MENTION], I highly appreciate your prompt response

1) The battery is discharging superfast, in less than an hour it ran out, then when I plugged it in it started at 58%. Also, when "it had" battery it would randomly reboot. Now it would not even charge, it stucked at 48% but when I unplug it, wont turn off.

2) Let me try

3) I tried that before replacing the battery and did not work. Actually the problem continued after the new battery was installed. I tried as well cache wipe.

4) Will try that after 2)

5) I am out of warranty, so will consider a phone replacement instead. Thanks.
[Moto G4 Plus Guides, News, & Discussion] Ericksinh0:
Hi [MENTION=279333]ECHO[/MENTION]092, seems like Google Photos is consuming a huge amount of battery, I will consider to keep it.

After a few days since applied the April's security patch, the phone has been working smoothly, no sudden reboots, no battery drainage.

Thanks so much for sharing your knowledge and taking the time to response.
[Moto G4 Plus Guides, News, & Discussion] swarupgolui:
yes.....
[Moto G4 Plus Guides, News, & Discussion] samiran das 03:
by what name
[Moto G4 Plus Guides, News, & Discussion] swarupgolui:
Name = Swarup Golui

City = Howrah
[Moto G4 Plus Guides, News, & Discussion] arkadeep2008:
Can I flash any previous build??
[Moto G4 Plus Guides, News, & Discussion] sabithmk:
Even after flashing the firmware, software status is shown as modified. How can I revert it? :(
[Moto G4 Plus Guides, News, & Discussion] swarupgolui:
2 way To Revert Official

-------------------------------------------------------------------

1st way

Wait For Next OTA Update Thane status Automatic change to Official..

-------------------------------------------------------------------

2nd way

1: Download Old Stock Rom And Flash = https://drive.google.com/file/d/0B1MeY85PNSirSHFhdEZET1pIbFE/view

2: Now You Are Available To Receive OTA Update and Update Your Phone And Now Your status change to Official

3 And Now Flash New Stock Rom and OEM Lock Now You Are Fully Official...

Next Time You want 2 Root Your Phone,You Can use Systemless Rooting with SuperSU 2.78 by Bender1987 So Your Phone Showing Still Official

Hope It's Work For You Enjoy.....:cool::cool::cool:
[Moto G4 Plus Guides, News, & Discussion] Marv42:
2. way doesn't work for me, still "software modified"
[Moto G4 Plus Guides, News, & Discussion] swarupgolui:
First Unlock Your Bootloader Thane Flash Old Stock Rom = https://drive.google.com/file/d/0B1M...ZET1pIbFE/view
[Moto G4 Plus Guides, News, & Discussion] Marv42:
I have done it, Firmware for my XT1642, perhaps I used the wrong one
[Moto G4 Plus Guides, News, & Discussion] Marv42:
Flashing via fastboot I get two errors "boot" and "recovery" "image not signed or corruped" and ends with a "okay"

Edit: I locked the bootloader and flashed the old firmware, now the update starts
[Moto G4 Plus Guides, News, & Discussion] t33n:
[MENTION=7714325]swarupgolui[/MENTION]...............You are life saver. I want to hug you :). This is confirm Original Indian Model xt1643 firmware. Don't be confused by flashing other firmware which are available at filefactory or other thread. I personally relocked my bootloader with this firmware and its works fine. The only one thing remember is You must type twice fastboot oem lock begin from the beginning, otherwise your bootloader will not locked. Thanks again for the useful thread.
[Moto G4 Plus Guides, News, & Discussion] shubhamraj2016:
I am trying to re-lock moto g4 plus xta1643.. but in cmd......"fastboot oem lock" but msg- not valid Android IMG...
[Moto G4 Plus Guides, News, & Discussion] Ryan Mudaliar:
Same is the problem with me

Can anyone just explain the prequisites briefly
[Moto G4 Plus Guides, News, & Discussion] imthiaz:
Is this Athene india?
[Moto G4 Plus Guides, News, & Discussion] swarupgolui:
Yes....
[Moto G4 Plus Guides, News, & Discussion] s3hah:
Works just perfect! Thanks a lot.
[Moto G4 Plus Guides, News, & Discussion] harsh9987:
help me pls

hey guys pls help me in this

i just flashed this rom on y moto g4 plus xt1643 32gb (3gb ram) now it doesnt shows me cellular networks and finger print lock is also missing from security !!!!!!
[Moto G4 Plus Guides, News, & Discussion] mkp52mkp:
I also flashed this ROM. Mine's working
[Moto G4 Plus Guides, News, & Discussion] harsh9987:
can you attach screenshot of your device baseband version and build number ??

i dont know why my baseband version changed :confused:
[Moto G4 Plus Guides, News, & Discussion] echo92:
Good to hear your device is working again :)

Yeah, I've found that performance on the April 2018 security patch is actually good. Google Photos is a big culprit for CPU and battery usage sometimes, I've found, especially if there's a lot of photos to sync. When flashing custom ROMs and GApps, for example, I noted that Photos kept the CPU active whilst it was syncing to the servers, and I would not be surprised if the same behaviour existed on stock ROMs. Of course, as the sync happens in the background, it's sometimes hard to determine if it is Photos without those tools or a kernel manager to monitor CPU usage.