yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] rajatgupta1998:
Do you even read what I said? Flash the kernel again, it will remove the root binaries. Then root again.
[Moto G4 Plus Questions & Answers] shubh01608:
Flashed it again..nothing changed :(
[Moto G4 Plus Questions & Answers] sankar_praveen:
I'm in serious trouble and in need of help.

I have moto g4 plus xt1643 as my daily driver.

I tried to root my device today again after unrooting it last month. I unlocked my boot loader and flashed twrp.

i was in no need to flash any custom rom so i decided to flash supersu in stock rom. After installing SuperSU.zip file using twrp and rebooting system, the system didnt power up.

I tried to wipe data factory and even that didnt work for me.

i saw a thread which uses UNSU.zip to revert back changes made my flashing SuperSu.zip. That didnt work.

Tried to wipe system,data,cache,dalvik,internal and flash lineage os, Still after installing the custom rom rebootng system wont turn on the device.

I have tried 2-3 customs roms but nothing does the work.

So now i am in a situation where my bootloader and recovery works fine but the system wont turn on.

please help !
[Moto G4 Plus Questions & Answers] CaptnR:
i made a system backup using twrp and flashed the ex kernel. so my question is "is there the stock kernel included in the backup or do i have to flash it in some other way??".
[Moto G4 Plus Questions & Answers] echo92:
Provided the backup was taken before flashing ElementalX and no other kernel modifications were flashed, then your backup should have the stock, clean, kernel in.

In TWRP, you should be able to tap 'Restore' then navigate to your backup, after which the list of partitions show up. You can deselect all of them apart from 'boot' which contains your stock kernel (assuming the above), then you should be able to swipe to flash. Wipe cache/Dalvik after flashing boot and then reboot.

If you've rooted after flashing EX kernel, then you'll want to unroot first (using your root manager's uninstall instructions) before flashing your stock kernel back.
[Moto G4 Plus Questions & Answers] CaptnR:
thanks echo92 for the help
[Moto G4 Plus Questions & Answers] CaptnR:
I'm about to flash resurrection remix but don't know the exact steps , can someone help me through it. my kernel is ex if it means anything.
[Moto G4 Plus Questions & Answers] strongst:
The exact steps are written in the first post of each rom. Did you read it? What exactly did you not understand or where's the problem?
[Moto G4 Plus Questions & Answers] CaptnR:
it says i need to be on N modem. i dont understand it
[Moto G4 Plus Questions & Answers] strongst:
Ok . The question is: have you a stock nougat rom(7.0),then your modem is also on nougat base. N modem. I guess you never did a installation of any other(also stock) rom, right?
[Moto G4 Plus Questions & Answers] CaptnR:
yaa I'm very new to this. and by far I'm liking it
[Moto G4 Plus Questions & Answers] strongst:
Please post a screenshot of the whole page to avoid problems:

Settings - about
[Moto G4 Plus Questions & Answers] CaptnR:
are these enough??
[Moto G4 Plus Questions & Answers] strongst:
That's OK. There's a neewer version of security patch included in a rom, but as there's a lot of trouble people facing after flashing this i would not recommend you to do so.

Hence you can install RR rom. I guess you have done a backup with twrp of all partitions and saved it on your PC or USB drive?
[Moto G4 Plus Questions & Answers] CaptnR:
appreciate your help strongst
[Moto G4 Plus Questions & Answers] shubh01608:
Try to flash all stock firmware using adb

---------- Post added at 12:47 PM ---------- Previous post was at 12:45 PM ----------

You are on n modem as u are having stock nougat indian build

---------- Post added at 12:50 PM ---------- Previous post was at 12:47 PM ----------

Everytime i flash anything through twrp it goes normal but i get the last line in red as- unable to mount storage ..but when i reboot it everything goes well..can anyone tell me why this happen ..
[Moto G4 Plus Questions & Answers] palorent:
If you would buy a new Phone today,would you recommend the Moto G4 Plus oder the Moto G5?

Which one has better Hardware and will get more Updates in the Future?
[Moto G4 Plus Questions & Answers] CaptnR:
i tried updating moto camera from apitode. but it didn't work. and now when i tried to open it it said app not installed. then disappeared. now it's nowhere to be seen. and when i try to install it from play store it says this. someone please help me. its urgent.
[Moto G4 Plus Questions & Answers] echo92:
If you desire Moto camera, then you'll want to download the patched version from here https://xdaforums.com/moto-g4-plus/themes/stock-motorola-camera-t3596659 this is the same link as mentioned in the RR opening post.

See if flashing that brings back your Moto camera.
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
i need blank flash files for march security patch level for my xt1643. plzz help
[Moto G4 Plus Questions & Answers] shubh01608:
I have my motorola g4 plus bootloader unlocked but not rooted.whenever i delete any image from gallery it gets deleted but when i restart phone it emerges again in gallery .any possible reason and solution ?
[Moto G4 Plus Questions & Answers] strongst:
What gallery? You should delete and reinstall that gallery app, it's a common issue where the thumbnail cache won't be deleted. Otherwise clear cache of that system app within app list in settings.
[Moto G4 Plus Questions & Answers] TheXorg:
Does the Moto G4+ fully support 128GB microSD cards? I've got a SanDisk Ultra 128GB microSDXC in mine and it gets "ejected" by Android regularly, causing apps like camera or spotify to switch back to internal storage. It gets remounted pretty quickly after that, but its quite anoying sometimes. I'm in rooted stock 7.0 and i've formatted the card in the phone as exfat. Is there some known Problem? I'm sure the card is fine because it worked perfectly in my Xperia Z3 which i had before.
[Moto G4 Plus Questions & Answers] Cooltango26:
https://xdaforums.com/moto-g4-plus/help/hard-bricked-moto-g4-plus-t3653835

plz help me out

---------- Post added at 08:10 AM ---------- Previous post was at 08:10 AM ----------

https://xdaforums.com/moto-g4-plus/help/hard-bricked-moto-g4-plus-t3653835

plzz help
[Moto G4 Plus Questions & Answers] abhayparmar:
i want to root my moto g4 plus. unlocking bootloader is necessary? and please help with root links it will be helpful.
[Moto G4 Plus Questions & Answers] strongst:
Yep, unlocking bootloader is mandatory! Guide is here https://xdaforums.com/moto-g4-plus/how-to/guide-newbie-resource-thread-t3386584

But also be advised, if you want to install a custom rom, you should install nougat rom instead of stock marshmallow rom you might have.

Please make sure you have the correct rom version.
[Moto G4 Plus Questions & Answers] TudorBrown:
Moto G4 charging at USB 2.0 speeds even with fast charger?

Moto G4 not charging properly, I have Lineage OS on it. Recently I switched from SuperSU to magisk and that's when this problem started. Even when I revert to previous backups, the problem is still there. Should I just flash back to stock rom. Will that fix the problem?

I think the phone is stuck in USB charging mode because when I connect it to a computer, it isn't recognised by the computer even when I change to MTP in developer options.
[Moto G4 Plus Questions & Answers] strongst:
Install ampere app and check
[Moto G4 Plus Questions & Answers] TudorBrown:
I have ampere installed, I'm only getting between up to 400mAh maximum.
[Moto G4 Plus Questions & Answers] strongst:
Try to clean install lineageos again. Turbo charging and even charging above 400mAh is working there.
[Moto G4 Plus Questions & Answers] TudorBrown:
I cleaned install lineageOS and the problem persists. I think it might have something to do with Magisk but I'm not sure why/how?
[Moto G4 Plus Questions & Answers] strongst:
Did you only install lineageos or magisk too on the last run? Magisk won't cut the charging speed. But you can another rom too. I would also suggest to check the cable, charger, port even if it worked before. Grime or bad connection can also occur on the same time you installed magisk :good:
[Moto G4 Plus Questions & Answers] TudorBrown:
I wiped everything and installed just lineageOS and it still says charging over USB. And it is still charging slowly. I also attempted to flash the stock rom but it's saying wrong zip file or something.
[Moto G4 Plus Questions & Answers] echo92:
Hmm, how warm is your device? Turbocharging may not kick in if your device is too hot until your device is in a cooler place.

With flashing your stock ROM, which stock ROM are you flashing? Don't forget you need to flash stock ROMs via fastboot (and thus you'll have to connect to your computer, which might be an issue - does your computer still recognise your device if you boot to the bootloader and connect your device to your computer?)

Also, with stock ROMs, if you previously on the stock June 2017 update (with B1:06 bootloader version update), only revert to the June 2017 stock fastboot ROM, please. Attempts to revert to earlier stock ROMs with the aforementioned June update have resulted in hard bricks (just look at the rest of the Question and Answer forum...). For the June 2017 fastboot ROM: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
[Moto G4 Plus Questions & Answers] TudorBrown:
Device isn't warm at all, Ampere saying 32 degrees Celsius.

Yeah I was attempting to flash via TWRP because my PC still isn't recognising the phone. And I've tried different PCs and cables now. Even through the bootloader, the pc doesn't recognise it. When I run adb devices, it still isn't recognised.

Yeah I was using the same ROM from the link that you sent.
[Moto G4 Plus Questions & Answers] strongst:
Stock rom should be flashed through fastboot so all necessary partitions gets rewritten.
[Moto G4 Plus Questions & Answers] TudorBrown:
Problem is I can't access fastboot because windows does not recognize my device, nothing comes up when I plug it into PCs of different configurations. Even the USB Charging notification doesn't show.
[Moto G4 Plus Questions & Answers] youngsta2010:
Been out of the loop for quite a while and looking to put a rom on my Moto G4, I'm running 25.93-14-4 7.0 at the moment, can this be rooted and twrp installed etc. anyone have any info on how? Thanks. Also I posted here because both devices are athene and have the same roms etc, is that right? Cheers.
[Moto G4 Plus Questions & Answers] Sobhan Bhuyan:
For installing twrp recovery you don't need root but a unlocked bootloader. Yes twrp can be installed. Follow this https://xdaforums.com/moto-g4-plus/how-to/guide-how-root-nougat-moto-g4-plus-t3484672/page31

And athene means both Moto g4 and g4 plus. That is any method working on one device will work one another.

If u want to pass safety net while rooted then try magisk root. Works great. For performance I would suggest go with cosmic os which has a good performance battery ratio but for customisation ressurection remix is you best bet.
[Moto G4 Plus Questions & Answers] fleamour:
Anyone notice Lineage & full aroma gapps sip more juice than stock?
[Moto G4 Plus Questions & Answers] deepakgadhave61:
Unfortunately my moto g4 plus was hard bricked...

If Anyone knows what to do.... plzz...help me...
[Moto G4 Plus Questions & Answers] strongst:
Have a look at Q&A section, there are several threads regarding hard brick. You should also provide more information what you did, what you flashed etc. but have a look at the mentioned discussions. If you have updated to latest update, there's no blank flash at the moment. That's why those members stuck there.
[Moto G4 Plus Questions & Answers] deepakgadhave61:
I have updated marshmallow to first nougat update only....not any security patch update...plz help...m in very bad condition....plz plz suggest something
[Moto G4 Plus Questions & Answers] strongst:
As already mentioned: please give more details what's you're device, which versions exactly did you flash and whats the actual behavior of your phone. It's really important to know, otherwise you flash another wrong file maybe.
[Moto G4 Plus Questions & Answers] deepakgadhave61:
Sorry for bad English but plz help me...M using moto g4 plus (XT1643)....

I having custom rom...then I flash stock rom of marshmallow...after that nougat update is available for my device...then I downloaded the nougat update...after updating process completes my phone shuts down for reboot...but it not started....display screen nothing shows anything....only led near fingerprint sensor is continuously blinking while charging.....plz help me

---------- Post added at 10:40 AM ---------- Previous post was at 09:57 AM ----------

used a custom ROM before but due to some bugs i reverted back to stock ROM i.e.., Stock Marshmallow and as i got update to android N. I started the update and when it is about to complete update installation, mobile turned off and not able power on the device. I'm not able to enter bootloader or able to use fastboot commands. I don't have custom recovery also.
[Moto G4 Plus Questions & Answers] echo92:
Were you on the June 2017 stock ROM before flashing the custom ROM, and the flashing Marshmallow?
[Moto G4 Plus Questions & Answers] deepakgadhave61:
M on nougat with december or march"s security patch
[Moto G4 Plus Questions & Answers] echo92:
So to clarify:

You were on the December 2016 (or March 2017) patch

Flashed the custom ROM

Flashed Marshmallow (uh oh).

Then attempted to update via OTA

Device fails to turn on.

Is that about correct?
[Moto G4 Plus Questions & Answers] deepakgadhave61:
Right...but I hv already downloded ota nougat upadate....n m flashing it through stock recovery....update completes but device not turned on
[Moto G4 Plus Questions & Answers] echo92:
Ah, which OTA update did you download - was it the update to NPJ25.93-14 (the December update)? If so, it therefore suggests you were on the March update which caused the issue.

It does sound like, unfortunately, the downgrade to MM and updating your device via OTA (always a risky procedure) may have corrupted your bootloader (either the downgrade did, or flashing the OTA). :( It's advisable when updating from a downgrade to use the fastboot ROMs, but that's possibly too late now.

As you've already tried the blankflash, then the only other resolutions currently are to have your motherboard replaced or save up for another device. You can try holding down the power button for 2-3 minutes, perhaps attempt a hard reboot or hold down the power key and volume down keys to attempt to reboot to the bootloader, but if not, the motherboard replacement/another device are your next options, unfortunately.
[Moto G4 Plus Questions & Answers] strongst:
You're one out of them who have the problem like in the threads in Q&A section
[Moto G4 Plus Questions & Answers] deepakgadhave61:
It was december nougat update
[Moto G4 Plus Questions & Answers] ____Mdd:
[MENTION=8478420]deepakgadhave61[/MENTION]

One simple solution is missing between this conversation,

Have you tried to hold power button for 2 minutes or more ?
[Moto G4 Plus Questions & Answers] deepakgadhave61:
Yes....but it didn't work
[Moto G4 Plus Questions & Answers] deepakgadhave61:
I have successfully booted to bootloader but im unable to run fastboot command..

Error

C:\mfastboot>mfastboot flash partition gpt.bin

< waiting for device >

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.019s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.093s

Plzz help
[Moto G4 Plus Questions & Answers] ____Mdd:
Don't flash GPT and BOOTLOADER... Downgrading or wrong flashing of any can hard brick it.. skip GPT and BOOTLOADER..
[Moto G4 Plus Questions & Answers] erkme73:
My turn...

I was running stock rooted rom on my US Moto G5 Plus with TWRP 3.1.0-0 as recovery. This morning I got a prompt for an OTA update from moto - indicating a security update. Without giving it any thought, I accepted. Being eyeballs deep in other non-phone issues, when I came back to the phone, it was sitting at the home TWRP recovery page. I rebooted to system, but it just comes back to TWRP.

I've done NOTHING else, as I have a tendency to walk backwards very quickly. Can anyone provide me with an idea of how to get back to a usable system? Obviously, I would prefer the least-drastic/invasive approach, as I would love to not have to rebuild my phone...

I will sit patiently (w/o usable phone) until I hear back here. TIA...
[Moto G4 Plus Questions & Answers] echo92:
Hmm, though this is the Moto G4 Plus forums, can you try:

Holding down the power and volume down keys - that should boot you into the bootloader (alternatively, use TWRP to boot to bootloader)

Then press 'start' to attempt to boot into system.

Credit to: https://xdaforums.com/showpost.php?p=72114657&postcount=170
[Moto G4 Plus Questions & Answers] erkme73:
Many thanks, and sorry for the wrong version. Don't quite know how that happened given that I started off with the G5 in the device field up top. Oh well...

Just did the bootloader trick and IT WORKE! God am I glad I came here before attempting to fix this on my own. I'm sure by now I would have had a bricked phone. Much love to you and XDA once again!

When it came up, however, it said the update was unsuccessful. I will seek help to get that resolved over in the proper forums this time ;)
[Moto G4 Plus Questions & Answers] ravaltech:
Hi,

I use nightly owl a lot, and since I've flashed resurrection remix 7.1.2 I haven't been able to get it into my quick settings. The app is there but there are soon many quick settings that by the time I've dragged it half way it disappears.

Thank you for your help. :)
[Moto G4 Plus Questions & Answers] strongst:
Please read the first post of official ressurection remix https://xdaforums.com/moto-g4-plus/development/rom-resurrection-remix-n-5-8-0-t3507275/post71973302 There's question 9 with your answer :good:
[Moto G4 Plus Questions & Answers] ravaltech:
I tries that but the app is so down low that it just won't work :(
[Moto G4 Plus Questions & Answers] strongst:
You can also drag all tiles above and then remove the ones not needed.
[Moto G4 Plus Questions & Answers] twiddles:
Tried a custom stock rom on my XT1642 yesterday but had a few problems with it so reverted back to a backup through twrp. Unfortunately this went into a bootloop which I haven't been able to get out of. I have flashed various ROMs through various versions of twrp and flashed a couple of different stock firmwares with fastboot. Everything seems to install ok but will go into a bootloop when I try to start system. I've missed something stupid surely?
[Moto G4 Plus Questions & Answers] ____Mdd:
Clean flashing of any ROM via TWRP or stock ROM by fastboot should solve bootloop.

Just need to confirm,

-> Is it loop of boot-animation or logo ? (Loop of Logo: as bootloader is unlocked, you will see loop of unlock message. It happened to one other person while flashing TWRP, but still unsolved)

In other words: is it continues loop or your phone turning off > on > off > on ?

-> which stock build was there before this happened ? And which build are you flashing ?

-> are you still able to boot into Bootloader and Recovery (stock or TWRP, doesn't matter) ?
[Moto G4 Plus Questions & Answers] twiddles:
Whatever I try, the phone will boot, then show the logo, then the boot animation will start for maybe 5-6 seconds then reboot. I can get into recovery with a custom recovery but when I flash the latest stock and try to get into recovery i get a No Command message. I have tried relocking the bootloader and unlocking it again. Tried changing the filesystem through twrp. Tried blankflash but get a Waiting for Device message.. I'm a bit stuck what to try next.

Been on Validus Rom for a while with zero probs. Then tried a Custom stock Rom but had a few errors with play store. The problem really started after trying to revert to my twrp backup of Validus Rom.
[Moto G4 Plus Questions & Answers] ____Mdd:
As you can boot into bootloader and recovery, i don't see any need of blankflash. Fastboot flash should work.

What partitions you had in backup and what you restored ? ( I am using Shreps's recovery and that has OEM, FSG and many more partitions for backup and those are not required to be restored or may harm.)
[Moto G4 Plus Questions & Answers] twiddles:
I am using shreps too now as when I restored the first time I got an error message saying the system was in f2fs and might not boot. Trying again with a different backup and not getting an error message. The only partitions available to restore were System, Data and Boot btw and selected them all.

Tried again with the Validus backup and a LOS backup, both loop on the Rom startup animation.
[Moto G4 Plus Questions & Answers] echo92:
Hmm, are you able to check/format in TWRP:

system is formatted as ext4

cache is formatted as ext4

data should be formatted as f2fs ?

Bear in mind that re-formatting your partitions will likely erase your data, and I don't know if restoring a TWRP backup will change the filesystem
[Moto G4 Plus Questions & Answers] :
Yes, I can check and format. Doesn't seem to matter what they are formatted to though as the boot loop happens anyway.
[Moto G4 Plus Questions & Answers] ____Mdd:
You said that you tried many stock ROMs, that is not good for your device. Flashing wrong/different firmware invites troubles, from now download latest June's Security Patched ROM ( HERE ) and try to flash it.

As your Phone is booting (to bootanimation), i think you can check for LOGs, it may have any line from where your device goes to reboot again.
[Moto G4 Plus Questions & Answers] twiddles:
I appreciate you taking time to answer this, many thanks. Tried to flash 93-14-8 a couple of times and noticed this message during the flash

(Bootloader) Image signed with bad key

This happens when flashing boot.img and recovery.img.

That might explain why the phone won't boot and can't get into stock recovery. I've downloaded the firmware a few times so should be a good image.
[Moto G4 Plus Questions & Answers] ____Mdd:
That's from official Nougat update, after Nougat update in unlock message it also started to show "bad key" so no need to worry about. Just confirm you are getting "okay" after flash of each.

FYI, "no command" is stock recovery, you need to press power and volume key combination again to see recovery menu.

There is March's security Patch ROM which is TWRP flashable, as you have tried June's ROM it is not advisory to flash march's ROM but now blankflash is available, so you can try only if nothing works.
[Moto G4 Plus Questions & Answers] SendMond:
hi i'm in a bad situation whit my moto g4, every rom that i install give me this issues:

-can't making calls

-multimedia don't work (youtube video give me errors or music don't start)

-audio don't work
[Moto G4 Plus Questions & Answers] echo92:
Which ROMs are you experiencing this error with (please mention a few of them)?

What device do you have and were you updated to the latest stock Nougat/as new a version of stock Nougat? The current latest stock ROM is June 2017.

Do you experience this issue on the stock ROM as well?
[Moto G4 Plus Questions & Answers] twiddles:
Ah March's and June's both bootloop and can't connect with blankflash as the phone tries to boot up and I get the waiting for device message.
[Moto G4 Plus Questions & Answers] ____Mdd:
Clean flash or Fastboot flash could have solved bootloop, but not in this case. I don't have more to tell you for this, sad!

Last, i said previously about check if LOG is possible or not as it boots to animation. Use adb logcat commands and analys it. (tell us if you need any help regarding this)

And then we have service centers.
[Moto G4 Plus Questions & Answers] twiddles:
I'll try to get a log through ADB. Many thanks for taking the time to help. You're a goodun :good: