yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] jawgee:
Amazon version?

Will this procedure work on the Amazon version of the G5/G5 Plus? It seems like the G4 version with Amazon ads could not be rooted, so I'm wondering if it's the same situation with the G5. Thanks!
[Moto G5 Plus Guides, News, & Discussion] danieljoseph929:
Can anyone tell me if the amazon version is rootable? I can't get past the unlock bootloader part cause it's not letting me via motorolas website.
[Moto G5 Plus Guides, News, & Discussion] abeloman:
You know clearly the answer... Amazon bootloader can't be unlocked

Enviado desde mi Moto G (5) Plus mediante Tapatalk
[Moto G5 Plus Guides, News, & Discussion] steves850:
Is... this sarcasm?
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
Backing up app data is not possible without root, but I never bother to use any backup except Google Backup Transport (built into Android), Google Photo, and SMS Backup & Restore.

My Backup Pro will do everything except app data...

I have gotten to a point that I make sure everything critical is backed up, and I just assume that I will have to factory reset or it will "disappear" once in a while (whether it actually does or not is not relevant), and I have tried to move away from my reliance on the device itself.
[Moto G5 Plus Guides, News, & Discussion] kaodd:
yepp. on the end of the day it's just a phone LOL. before i became old and lazy i always said backups r for chicken.

keep on rockin' buddy!
[Moto G5 Plus Guides, News, & Discussion] robollama:
Using a Moto G5 Plus on NPN25.137-83 -- Installed Magisk v14.0 and Magisk Manager but can't pass either SafetyNet check in Magisk Manager and can't install modules via MagiskManager. SaftetyNet Test says I fail on Reponse signature validation (Response payload validation failed) and I get an "/data/magisk_merge.img" mount failed error when installing modules... Any help?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
The stock kernel is incompatible with Magisk modules for some reason, and it also messes up SafetyNet. But a custom kernel would serve you well and solve both problems - modules and SN (since you could install the Universal SafetyNet Fix module). Plus, you could install systemless Xposed and pass Safety net ;)

Recommend ElementalX.
[Moto G5 Plus Guides, News, & Discussion] robollama:
ElementalX with Magisk and Systemless Xposed worked. No need for Universal SafteyNet Fix. Thanks!
[Moto G5 Plus Guides, News, & Discussion] motoX2ndGener:
How Long??? Have not received email from Motorola with unlock key.

Hello, how long does it take for Motorola to send the unlock key? I submitted it successfully yesterday, no email yet:crying:
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
Usually seconds, maybe a minute or two tops... Check your our spam folder.
[Moto G5 Plus Guides, News, & Discussion] Jey492:
Hello, when I try to flash TWRP the Command Prompt tells me "Image recovery failed validation" , "Preflash validation failed", "FAILED remote failure"

Anyone can help me ?
[Moto G5 Plus Guides, News, & Discussion] ggibby:
The OP links seem to be broken - prompting for a login..?
[Moto G5 Plus Guides, News, & Discussion] mis2417:
valid question.. will it work for G5S plus?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Not a valid question in the G5 Plus thread, but it should.
[Moto G5 Plus Guides, News, & Discussion] cogito808:
How did I miss this post before rooting, stock is clean enough for me. Do you think re-flashing stock recovery would be enough to take updates? Would you even need to unlock the bootloader if you are just using Magisk for root?

+1 for TitaniumBackup. Well worth it.
[Moto G5 Plus Guides, News, & Discussion] Dyscalculic:
Yes. Reflashing stock recovery will allow you to take OTA updates for this phone. Some phones struggle with that like the one plus devices where you need to unroot to take ota updates.

As for bootloader unlock, I think you don't need that absolutely but whenever I get a new phone I do that, to Future proof myself in case a new os root may only be achieved with a custom recovery, cause BL unlocking requires all data to be reset, I'd rather do it early than later in life.
[Moto G5 Plus Guides, News, & Discussion] xdataibai:
do you have the link on how to do systemless root with magisk for moto g5 plus? thanks
[Moto G5 Plus Guides, News, & Discussion] Dyscalculic:
I don't think there's explicit instruction for G5 Plus that I found, but I basically followed the instructions in the Magisk release thread using common sense to apply to G5 Plus. Just had to download the stock firmware from the links here and patched that firmware using the magisk manager app. Then flashed that patched firmware using ADB fastboot commands via a windows PC. Nothing too exotic but this is all based off of memory.

Here goes https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Play safe and be safe - don't brick your device.
[Moto G5 Plus Guides, News, & Discussion] elly36:
Quick question here. Now that there's official TWRP support has the rooting process for Magisk been simplified? I've read that now all we need to do is install TWRP and flash the latest Magisk .zip then install the Magisk manager. I guess I just want to know if any of the steps in the first post would change now that TWRP is supported.

I've already unlocked my phone and have the latest stock build.
[Moto G5 Plus Guides, News, & Discussion] Dyscalculic:
Confusing question. Magisk rooting has always been simple, well mostly at least.

The steps should be the same, just make sure you're using the latest release build of Magisk I suppose.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Magisk app=Magisk Manager
[Moto G5 Plus Guides, News, & Discussion] Dyscalculic:
You're correct, my bad, sorry. I'll edit the post to not confuse.
[Moto G5 Plus Guides, News, & Discussion] kkn14:
Whats the best way to take a full backup before unlock?

Also can X4's multiple bluetooth speaker feature be ported to G5 Plus?
[Moto G5 Plus Guides, News, & Discussion] seed_87:
So I have a Moto G5 Plus US, Model XT1687 64GB.

I'm running stock NPNS25.137-83 and was rooting according to [MENTION=7896819]Jrhotrod[/MENTION] 's process:

1. Unlocked bootloader (long time ago)

1.5. Flashed two OTA's, now i'm running NPNS25.137-83 (some time ago)

2. Reflash stock ROM (didn't do this, figured phone couldn't be more stock?)

3. Flashed TWRP using fastboot as per link

4. Rebooted into recovery, Cancel encryption password, keep system read-only

4.5. Nandroid backup, figured wouldnt hurt?

5. Factory reset

6. Reboot TWRP

7. Transfer Magisk 13.0 ZIP from PC and flash.(couldn't do this, see below!)

Now, according to TWRP:

Back on step 6. I rebooted TWRP, failed to do the button combo to enter recovery, device rebooted into android which is fine. But then since I(in step 4.) kept TWRP read-only then I guess it got replaced. How do you go around this?

I mean, I could (in step 6.) reboot properly into TWRP, flash Magisk and acquire root. But still, what happens with TWRP?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
TWRP will stick as your recovery after flashing.

Personally, I always wait to flash TWRP until the phone has rebooted for the first time, so I have not experienced your issue. But yeah, you can flash TWRP and as long as you don't reflash stock, it will stick, so you can do Xposed/kernels/etc.

If you would like to be able to accept OTAs in the future without unrooting, there is an ADB install method for Magisk that doesn't require TWRP. Sorry for no link, I'm not exactly sure where it is (probably Magisk main thread). I'm the type that with do a clean install for every OTA, so :p
[Moto G5 Plus Guides, News, & Discussion] seed_87:
Sorry [MENTION=7896819]Jrhotrod[/MENTION] for me being stupid but wow I didn't catch that.

If I flash TWRP using fastboot and then reboot into android, TWRP gets replaced with stock recovery.

If I flash TWRP, reboot into TWRP and don't allow it to touch /system (keep things read-only, not allow it to "patch the stock ROM to prevent the stock ROM from replacing TWRP") then when I reboot into android, TWRP gets replaced by stock recovery.

Or maybe I need more sleep.

I could be way off but I think I read about this in the Magisk thread, that I had to patch the stock ROM or something using Odin, Odin? That brings me back to my Samsung Galaxy 1 phone, damn, been a long time since that phone:p
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
My bad, it seems I misunderstood your post. I would recommend reflashing stock firmware, letting it boot, updating to the latest version, and THEN flashing TWRP.

Let me know how it goes or if you have any further questions.
[Moto G5 Plus Guides, News, & Discussion] seed_87:
:):)Tiny possibly annoying questions:

Based on [Updated][Fastboot] Stock N Firmware (Potter)

And my phone model: Moto G5 Plus US, Model XT1687 64GB NON-amazon running NPN25.137-83. (Side question: Is it correct that my phone is the NON-amazon model, even if I did buy it on Amazon, but I got the one without ads?)

By the way, my ROM version succession has been:

NPN25.137-33 (stock), NPNS25.137-33-5 (first OTA), NPN25.137-83 (second OTA)

Anyway, that guide says to download

Which is exactly the same build I'm currently running (NPN25.137-83), and according to the guide above its downloadable here, filename "POTTER_NPN25.137-83_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip".

I also noticed here that there's this firmware: "POTTER_NPN25.137-33_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" (#2 on that link). Which I guess is the original firmware that came with the phone.

Should I "return to stock" using

super stock

NPN25.137-33 or the

latest

NPN25.137-83,

PD: I'm guessing I must "Skip GPT and Boot-loader Partitions" if I do end up downgrading to NPN25.137-33, right?

Sorry for the barrage of questions, as it is my first time doing this :silly:
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Not annoying at all. Happy to help.

First of all, thank you for formatting that post so neatly so I can understand it. Secondly, you do definitely have the NON-Amazon version. Be careful though; flashing the Amazon firmware will likely result in a locked bootloader. The Amazon firmware has an AMZ tag on the name to differentiate it.

Regarding which stock version to use, I would definitely use the latest version (NPN25.137-83). No need to skip GPT or bootloader on this one. There's no real reason to go back to the older stock version since 1) hecking around with bootloaders is asking for trouble (nearly hard-bricked my Amazon Fire once) and 2) -87 has the latest security patches for this device.

I will PM you a full procedure if you'd like.
[Moto G5 Plus Guides, News, & Discussion] seed_87:
If its not too much trouble, everything helps!

Ill be downloading

POTTER_NPN25.137-83_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

in the meantime, and keep reading up on the other things (TWRP, Magisk, etc)

Thank you [MENTION=7896819]Jrhotrod[/MENTION] for clearing up all of my questions!
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
PM sent
[Moto G5 Plus Guides, News, & Discussion] Dyke67ny:
One click root for Moto g5 plus

Hello,

I'm new to this forum but have rooted numerous Android devices through computers & 1 click.

My question is if there is a way to 1 click root the g5 plus for now? Have looked into Towelroot but can't seem to find a working download or further info on it.

Thank you.
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
No... Just no... Never use a one-click root method on a Moto device, 98% of the time it will brick. And even if it works it usually loads you up with spyware or malware.

Manual method is easy and thousands have done it, no point in trying an untested method.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Furthermore, most One Click Root Solutions only work with devices that are lollipop and below. Updated SELinux policies in marshmallow and above prevent most of those from working.
[Moto G5 Plus Guides, News, & Discussion] Dyke67ny:
First,

Thank you for replying. The reason I wanted to do a "1 click root" was because I've read some users who did it through the computer lost their WIFI. Also, it's been awhile since I last rooted (Toshiba Thrive) with a computer. Before that I did Z4root.

Any good videos & links?

Thank you again!

Happy Thanksgiving.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
This tutorial is about as good as it gets, however, I just sent a guy a full-blown procedure on how to do it if you want an exact step by step procedure. I can just copy paste it here if you want to.

By the way, no wifi will be lost.
[Moto G5 Plus Guides, News, & Discussion] Yousie642:
The download links are asking for a login. What is the login?
[Moto G5 Plus Guides, News, & Discussion] easyrider77:
Ok I'm a bit confused.

I've seen 2 methods of root, both the same process except for one thing......one uses no-verity zip to flash and one uses the old standby rooting method without flashing no verity zip file.

So which one is the best or correct way?

Also I asked this in another thread, but I'm curious, and maybe someone might know here.

I'm seeing a lot of no verity zip flashing these days. I've actually rooted an lg k20 doing it.

So to make it a simple root procedure, if I just flashed the normal rom+gapps and twrp of corse, but also flashed no verity zip file, will that give any issues, say if the phone really didn't need to have the no verity zip flashed......like would adding the no verity zip step in the rooting process as a norm, would there be any ill affects or bricking the phone and such?

I hope that all made sense.
[Moto G5 Plus Guides, News, & Discussion] easyrider77:
Making sure I read this correctly.

-I was doing a search on magisk modules and noticed they have listed as viper4android as a module, can you still use the stand alone viper4android and it not be considered a magisk module?

I too will be sticking with stock kernel.

-So that means once rooted with magisk, installing the magisk manager, and enableing hide, it still will not hide root from safetynet? (meaning of corse pokemongo and snapchat won't work of corse, resulting in using another kernel (elementalX) it will hide fine.

I've never had an issue with 3 different phones, so that's why I am asking, because this is news to me, but I have not rooted yet, so as for this phone I am not sure.
[Moto G5 Plus Guides, News, & Discussion] Blake_C:
How to change driver to USB Composite Device?

hi Kufat-

I know it's been a few months since you posted this, but it sounds a lot like the problem that I'm having right now (my PC is not detecting my G5 after starting the TWRP process after the Wipe/Reboot). Could you give me some more details on how I am able to change the driver to USB Composite Device? I tried to look around and figure it out myself, but I'm just not seeing any way that I can do that.

Any help/further instructions would be really helpful as I try to troubleshoot and continue the root process (as I'm unable to get to the point of uploading the Magisk and No-Verity files onto my device).

Thanks!

Blake
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
I haven't used Viper4Android and therefore really can't answer this question; I'm inclined to think the standalone installer works but not sure.

That's correct. Even when you have a custom kernel I'm pretty sure you have to use the Universal SafetyNet Fix module, but I don't use one, so not sure here either.

---------- Post added at 03:03 PM ---------- Previous post was at 02:45 PM ----------

Download Motorola Device Manager and install it from here: https://motorola-global-portal.custhelp.com/app/answers/prod_detail/a_id/79106/p/30,75,27,
[Moto G5 Plus Guides, News, & Discussion] dunderball:
You read it right. There is a bug in the stock kernel that does not allow Magisk modules to work, including magisk hide. The elementalX kernel allows passing safetynet and also allows magisk modules to function again.
[Moto G5 Plus Guides, News, & Discussion] easyrider77:
Very good thanks for the info.

Sure seems like it's getting harder to gain root these days, they are really clamping down in things.

I've been rooting for awhile now and know kernel stuff can be tricky, but beneficial for some things. Elemental has a good track record, and is popular among the community, but I'm curious......I know stock is nice for battery, how does elemental compare to stock when it comes to battery life? I really do not use any of the options within the kernel suck as overclock or sound adjustments or other stuff, I always just leave it be as is. My concern is battery life will suffer by using a different kernel vs. stock.

Also, I'm not a programmer of any kind, I was curious if anyone has looked into maybe decomompiling the stock kernel looking at why it's blocking root and taking that out of the kernel then recompiling it for reflash via a zip. Not sure that's even possible or worth it to do that or not.
[Moto G5 Plus Guides, News, & Discussion] dunderball:
I've had the G5 Plus for 48 hours and I can tell you that I've done a crap ton of research in that time. I haven't rooted a phone in 3 years so I can provide some info that might alleviate your concerns: (1) The kernel bug is not just in the Moto G5, it's in a lot of the Moto phones. Someone at Motorola happened to screw something up in the kernel, so they weren't actually actively attempting to block root on the device. It's called the "f2fs bug" and was uncovered by someone at XDA over at the Magisk forum. (2) Both rooting and flashing custom kernels are now all done "systemlessly", meaning that they never touch the /system partition at all. This means that unrooting/undoing changes is super easy. It also allows reverting back to stock kernel to take OTAs very easy as well (3) I had my phone on for 24 hours straight, 5.5 hours of screen time, and still had 25% battery left. This is while on elementalx kernel. Very pleased with battery life. (4) You won't notice anything about the new kernel unless you happen to take advantage of the new features. You need to download a separate app to take advantage of them. I happened to not do that and don't care too much for them. I was more in it for the bug fix that was made.
[Moto G5 Plus Guides, News, & Discussion] rosel11078:
there is some possibility of risk with Compilation number:"NPP25.137-72" ??????
[Moto G5 Plus Guides, News, & Discussion] easyrider77:
Very good, and thanks for the explanation, I do appreciate it.

Again I'm not much of the programmer type so never really messed much with the settings when it came to kernel. I think the last time I did was on my n5, which I had a kernel with the setting I was looking at some stuff, but never changed anything, was more of a "hrmm I wonder what this is for" sorta thing, while never adjusting anything. Coming from a long long background of PC stuff and overclocking cpu and video cards, I've dabbled a bit with the stuff so was somewhat familiar with the settings in the kernel app, but again I never really set them. The one time I did set things was in adjusting the sound I think it was, and I think this was before viper (I could be way off on that part) but I was usign the kernel instead of viper4android to adjust the sound which worked nicely. This was way back in the s2/s3/s4 days, it's all kinda a blur now it's been so long, that and I've slept since then :).

Glad to hear the battery life is nice on elementalX then, that will give hide as well when I do root. Funny thing is I think this may be more my OCD than anything else, because while I have used snapchat, and actually installed and briefly started up pokemonGO, both of which I rarely if at all use, I guess the OCD part wants that option and it gives me a more sense of the option is there at least sorta thing.

If all else fails, I can go back to stock+root, as it's not all THAT bad honestly, after being rooted on about every phone I've had and rooting it near the first day I get the phone, this is the first one in a LONG time I have waited on root, and I can say it's not been all that bad of an experience, not as much as I thought anyways. I've had root on s2/3/4, two variants of zte phones (zte warp 1 and warp sequent aka: warp 2) nexus 5, and this 5x.

ZTE warps were both a nightmare. Hardware specs were spot on on paperwork, but both, has OS issues I gather because if you loaded the phone more than 1/2 the storage, even just a little you would get stutter, pause and a lot of locking up resulting in rebooting the phone. That burned me majorly on zte, and I've never gone back since. The n5 and 5x were both phenominal phones for what they were and are, in fact the 5x is still a good buy even in 2017 if you can find a decent price for it. It's not high end flagship, but it's not a slouch either.

I will root eventually I'm just waiting to see about hardware failure and/or flaws to take it back and exchange it at bestbuy. SO far a week in and everything is pretty well above my expectations in all aspects of this phone coming from a nexus 5x phone.

Right now the only issue I can see and am trying to track down is, I get this on both sides, it like cuts out, as if I lost the other side or they lost me. At first I attributed it to bad signal in that area, but today I had an issue it did that and I have good signal here where I live and never had the issue on the 5x, so I'm in the process of tracking down if it's like a phone defect or a sim card thing or what.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
That's the Moto G5S. Go to their forums.
[Moto G5 Plus Guides, News, & Discussion] Dishe:
I'm interested in root for the sole purpose of changing build.prop to enable the camera2 api.

I don't need permanent root, however I'm gathering that there is no way to do this without permanent root.

This would be my first time rooting a moto device- What are the downsides?

Aside from the scary warning from Lenovo about losing my warranty if I unlock bootloader (I'm in the US, no EU law to protect me against hardware failure), what else would I lose? I saw some mention of OTA updates not working if root and/or bootloader is unlocked. Is that true? Is it easy to put that back?

And what's this about wifi and camera possibly breaking too?

Seems like a lot of hurdles to change one line of build.prop
[Moto G5 Plus Guides, News, & Discussion] Mustakim.Pawle@gmail.com:
This is work for moto g5 plus NPN25.137-67-5 Build Number??
[Moto G5 Plus Guides, News, & Discussion] mikeyjay199215:
The DL links aren't working for me anymore.
[Moto G5 Plus Guides, News, & Discussion] kkn14:
Whats the best way to backup the phone before unlock?
[Moto G5 Plus Guides, News, & Discussion] dukemagus:
I'm facing a weird error when trying to flash the verity zip: it says that it can't unpack the ramdisk (error 1).

Anyone knows what it means an how to solve it?

On a side note the verity patch was updated to version 6
[Moto G5 Plus Guides, News, & Discussion] Why me?:
Step 16 Powershell
[Moto G5 Plus Guides, News, & Discussion] IGorMcLven:
It does not work for me either. :c
[Moto G5 Plus Guides, News, & Discussion] dxxvi:
Me neither :(
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I'm new to this device and this is the most informing and best rooting tutorial I've found in the whole section. It's a pity that the newer Moto devices have this f2fs bug, so you'll have to decide whether you stay with stock kernel and can't use any magisk modules or flash something like ElementalX.

For me good sound is very important and I always used Arise but as I won't touch system this time I planned to use the magisk viper and Dolby modules but I don't like to use a custom kernel just to fix a bug.

Anyway, thanks for this great guide!