yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] Droid_Nut:
I some how messed up my Moto G5 Plus, I have it unlocked, I can boot TWRP, when I boot the phone, it is stuck on "device has been unlocked and can't be trusted screen" and goes no further, how can I get it to boot to Moto and Nougat again? :p

Thanks
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Flash stock firmware via the bootloader screen.
[Moto G5 Plus Guides, News, & Discussion] attack11:
Flash this

https://www.androidfilehost.com/?fid=673368273298927206
[Moto G5 Plus Guides, News, & Discussion] Droid_Nut:
So it looks like I did not finish the process is my problem? How do I get it into the phone memory for flashing if TWRP is not able to read an SD card yet? Sorry I am a little rusty, I do not flash or root phones all that often enough.

Thanks
[Moto G5 Plus Guides, News, & Discussion] washoq:
Boot to recovery, connect phone to your computer and copy the file. SD card is working in most recent TWRP version I guess.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
The verity disabler is not required for the process. Read back along the thread.

---------- Post added at 05:57 PM ---------- Previous post was at 05:51 PM ----------

1. Unlock bootloader

2. Reflash stock ROM

2. Flash TWRP

3. Cancel encryption password, keep system read-only

4. Factory reset

5. Reboot TWRP

5. Transfer Magisk 13.0 ZIP from PC and flash.

Done. Profit. And no extra zips.
[Moto G5 Plus Guides, News, & Discussion] attack11:
Yes, but this trwp is outdated look for the twrp in development section

If he wants the phone to boot after flashing twrp he need to flash the verity disabler zip, seems that latest magisk already disable dm-verity like in your case, like supersu does,and he is following op method,not yours
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
I originally used Magisk 11.6 before I edited the post to include Magisk 13. And the factory reset removes the encryption, defeating the purpose of the verity disabler zip. I've used it myself. The phone does boot if he follows my process. But his choice, I personally think that this method is easier. :good:
[Moto G5 Plus Guides, News, & Discussion] Droid_Nut:
Guys thanks for all the great help, I have my phone booting normal and have root with Magisk V 13! :laugh:

I don't know what I would do with out XDA, where do I send the beer money? :good:

So will Titanium backup work with Magisk, can you install Super Su from the play store, and can I take OTA updates with this phone modified?
[Moto G5 Plus Guides, News, & Discussion] Droid_Nut:
Being new to the Magisk exploit, I noticed the saftey net says, ctsProfile false and basicintegrity false, is that a concern?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Not really, unless you want to use Android Pay (which isn't possible if you have the U.S. variant without NFC) or play Super Mario Run. It's a Google security placement known as SafetyNet, its purpose being to protects apps from exploits that can be achieved with root. Passing SafetyNet has always been an issue with this device.. don't worry about it too much.

---------- Post added at 12:41 AM ---------- Previous post was at 12:33 AM ----------

Titanium Backup: Never tried it, but it should.

SuperSU: Nope. Not unless you use the SuperSU rooting method, which I personally don't recommend. SuperSU is now maintenenced by Coding Code Mobile Technologies, and is closed source because of that. I'm a security freak so I like most of my apps being open source, unless I can control their permissions, which you can't with SuperSU since it has root access. Plus, it doesn't have cool stuff like Magisk Modules and the ability to pass SafetyNet.

OTAs: Nope, gotta unroot and flash stock recovery to accept them. It's not really that difficult. Let me know if you would like a detailed procedure.

Regarding the beer money... You can donate it to whoever you feel helped you the most. Not many people have a PayPal donation line on here unless they're a dev, so in that case just give the person thanks on their post whenever they help you.
[Moto G5 Plus Guides, News, & Discussion] Droid_Nut:
I do not use Android pay or play games, so not a problem.

I use Titanium on all my phones, makes it easy to back out of a bad app upgrade, or restore your apps and data should your phone get hosed. I think it used to complain about Cyanagenmod root, that is why I went with super SU.

I still have the older versions on Super Su on my devices, and wont upgrade for that reason, that they sold out.

Looks like I have a lot to learn about Magisk, and will do it when I get more time?

I am still running my Nexus 6P on MM because I have to back out of the unlocked boot loader and flash back to stock, no big rush, but Nougat looks nice.

Thanks for the help, no sense in cluttering up this thread any more.

Take Care :cool:
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Don't worry about clogging up the thread; as long as your posts are relevant to the topic you're golden ;)
[Moto G5 Plus Guides, News, & Discussion] isTos:
Hello, hope someone can help me.

I followed this steps: 1. Unlock bootloader

2. Reflash stock ROM

2. Flash TWRP

3. Cancel encryption password, keep system read-only

4. Factory reset

5. Reboot TWRP

5. Transfer Magisk 13.0 ZIP from PC and flash.

I used latest twrp_3.1.1-0_potter.img. Since it did not ask me for a password, I went ahead and swiped for Factory Reset. When I boot up into system after the steps above, my phone still shows as encrypted. Is that normal?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Yes it is. The newest TWRP image (the one that you used) can now decrypt /data, which is why you weren't asked for a password. I'd better go back and edit my procedure to exclude the encryption password.
[Moto G5 Plus Guides, News, & Discussion] isTos:
OK, thanks. I bit the bullet and installed RR. Seems to be working pretty good. At least, if I ever need to go back to Stock, I can use this procedure to Root again.
[Moto G5 Plus Guides, News, & Discussion] joshk89:
I'm on stock rom,.67 firmware. Magisk 13 and have the safety net fix module. I lost wifi, anyone know the fix for that?
[Moto G5 Plus Guides, News, & Discussion] marcol87:
try flashing a custom kernel (e.g. ElementalX)
[Moto G5 Plus Guides, News, & Discussion] joshk89:
This worked, thanks!
[Moto G5 Plus Guides, News, & Discussion] brandonsisco:
Anyone confirm Magisk Hide is working on G5 Plus with Amazon Flex as of today 6/29/17? I am having a lot of difficulties
[Moto G5 Plus Guides, News, & Discussion] RaiderWill:
1...2...3..

This is how I thought it would be when I purchased this device.

Thank You Very, Very Much for posting this.. took 8 minutes.. :cool:

You really should start a short thread with this alternative method.. ;)
[Moto G5 Plus Guides, News, & Discussion] Schrotty35:
I have install latest SuperSU and this work but every time whene i reboot i see first Bootlaoder. How can i disabled this?
[Moto G5 Plus Guides, News, & Discussion] RaiderWill:
Hello..

Hi..

There is a Zip: "Moto_boot_logo_flashable_g5_+ fix"

that you need to track down and flash in TWRP... That will replace the warning screen.. :cool:
[Moto G5 Plus Guides, News, & Discussion] Schrotty35:
Dont find it. Have you a link please?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
https://xdaforums.com/g5-plus/how-to/logo-fix-g5-logo-bin-t3610456/page1

Steps for flashing:

1. Power off device and head into fastboot/the bootloader.

2. Turn on a Windows PC with ADB installed. If you don't have ADB see this thread: https://xdaforums.com/showthread.php?t=2588979&page=106

3. Open the folder where the logo.bin is. Hold down the "shift" key and right click. Select "open command window here."

4. Type this exact command: fastboot flash logo logo.bin

5. Reboot and enjoy your new boot logo :good:

Leave a thanks if I helped.
[Moto G5 Plus Guides, News, & Discussion] :
I'v got the following problem: I tried the method in the video first with the verity disabler zip, but it didn't work; root checker still said "You are not rooted". So I searched and found Magisk v13.2.

I then followed your above way, but on step 5 while flashing it says:

- Constructing environment
- /data/magisk.img detected!
- Mounting /data/magisk.img to /magisk
! Magisk image mount failed...
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Magisk-v13.2.zip'
Updating partition details....
...done

Any ideas what I did wrong?

EDIT: I managed to get Magisk v13.2 installed via the Magisk Manager. But root checker still says "not rooted" and Magisk Manager also says "Rooted without root permissions".

EDIT2: I am rooted now. I don't know, what I did other than just rebooting once or twice..
[Moto G5 Plus Guides, News, & Discussion] Droid_Nut:
Did any one try the 13.1 Magisk update, does it work or does it stop root?
[Moto G5 Plus Guides, News, & Discussion] Anujatwood:
Data loss??

What dose it happen when i fogot to backup my data after flashing it can i recover my data again or not??:confused:
[Moto G5 Plus Guides, News, & Discussion] jnsson:
Fails installations in recovery. Error 1 with image mount failed. So can't install at all for me
[Moto G5 Plus Guides, News, & Discussion] KingCartman:
Magisk Version

Does sombody know if I can use the Magisk-v13.3 or do I have to use the v11.6 to root the Moto G5 Plus. And if the old Version is required can you tell me where I can find a Download -Link?

Kind regards
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Latest Magisk works fine. OP is outdated
[Moto G5 Plus Guides, News, & Discussion] fireman644:
Magisk

Can anyone confirm if the new Magisk works to root the Amazon variant of the Moto G5 Plus? Thank you.
[Moto G5 Plus Guides, News, & Discussion] KingCartman:
You cant unlock the Bootloader from the Amazon branded device. You can read it here: mobilesupport.lenovo.com/us/en/solution/MS87215 No flash -> No root.

But I rooted my normal device yesterday with Magisk 13.3 and it worked fine.
[Moto G5 Plus Guides, News, & Discussion] IamRage7:
Need help

Helpful but can i root my device without unlocking boot loader cuz I don't want my data to be wiped.
[Moto G5 Plus Guides, News, & Discussion] matrixzone:
This is one way ticket right now. I will take the courage to root when we have working procedure to un-root and re-lock the boot loader.
[Moto G5 Plus Guides, News, & Discussion] KingCartman:
No because you have to flash a Custom Recovery like TWRP to flash the required Zip files. And you can only flash a Custom Recovery with an unlocked Bootloader.
[Moto G5 Plus Guides, News, & Discussion] Armando Lopez:
Help

Can you help me plz? Followed all your steps, and the root works, the problem comes when i reboot my phone, enter directly to recovery over and over again, what did wrong? Sorry for my poor english.
[Moto G5 Plus Guides, News, & Discussion] jplum22:
Is it possible to flash stock when I've already installed TWRP? I messed up the process somehow because the Magisk install is giving me error code 1. Currently my version is NPN25.137-33. Is it okay to flash a NPN25.137-35 on top of this?
[Moto G5 Plus Guides, News, & Discussion] roberte1342:
What model do you have? I'm looking for one that can be rooted and still work on Verizon.
[Moto G5 Plus Guides, News, & Discussion] ZubaZ:
Hey all, this is a noob question, but I somehow confused myself. I had root, then flashed stock back to take the latest OTA update (npns25.137-33-5). Now I am not rooted (as expected). My question is, do I still have to follow all of the steps in the OP to perfection? Mainly I'm asking about the factory reset part. If I factory reset, won't I be back where I was before installing the OTA? Then get bombarded with notifications about updating again? So I guess I'm wondering if I can get root without factory resetting, or if I do the reset, does it keep my latest update? Thoughts?
[Moto G5 Plus Guides, News, & Discussion] bnhf:
Rooted my new Moto G(5) Plus which is great -- thanks for the guide!

I've got my phone setup just the way I want it and now I'm getting a "nag" message about updating to NPNS25.137-33-5. I'm currently on NPN25.137-33. I'm guessing that this isn't worth doing, but I'd like to get rid of the message if that's true. I've tried blocking the notification but it keeps coming back.

If I can't get rid of it, I guess I'll upgrade, but it looks more involved that rooting in the first place. Has anyone come across a good procedure that works for this phone. Also, I'm hoping there's away to backup all my apps, settings, data and my homescreen layout to restore after the upgrade. The nandroid backup I did recently obviously isn't going to help after a system upgrade.
[Moto G5 Plus Guides, News, & Discussion] Darkcommand:
Need help

I have moto g5 Cedric and there is no supersSU for it yet .

So if I root via magisk will I get full root access to my device or only the systemless portion of the files ?

So is rooting via magisk getting me full root but the app only Controll systemless root so I can install phh'superUser and change system portion or magisk rooting method itself is systemless ?

Thanks
[Moto G5 Plus Guides, News, & Discussion] tandon.ayush:
Quick question, can anyone confirm if this will work on NPN25.137-67?
[Moto G5 Plus Guides, News, & Discussion] LLegion:
i cnt get the files link? where can i find them? its cause its leading me to a page without links?!?!?!
[Moto G5 Plus Guides, News, & Discussion] kingbor1cua:
im trying to root my phone i just bought. when i click on downloads it takes me to a website in another language and wants me to sign up for something. any one have direct links ??
[Moto G5 Plus Guides, News, & Discussion] codingfrank:
Was in same situation 2 days back.

I googled files and found some links, but since I am new here it is not allowing me to post the links here, sorry about that.

Worth noting:

my phone is now rooted, but when I received my new phone earlier this week I installed an update, and after completing all the steps, Magisk was not opening properly (asking me to download from Google Play and then Google play would open to a blank page). I then downloaded Magisk 14.0 and flashed it from TWRP and after that all was fine. I don't know if I did something dangerous here, but I can say it worked for me.
[Moto G5 Plus Guides, News, & Discussion] kjus:
Different stock version

Hello everybody,

Is this going to work with my stock version NPS26.116-26.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Never seen that build number before. Are you sure you have the Moto G5 Plus?
[Moto G5 Plus Guides, News, & Discussion] kjus:
It's actually G5S Plus, wrong thread my apologies
[Moto G5 Plus Guides, News, & Discussion] artician:
I'm unable to download the no-verity zip. That site doesn't require login or something, right?
[Moto G5 Plus Guides, News, & Discussion] Dyscalculic:
Same boat. Hating the message and I don't feel going from 137-33 to 137-33-5 will give me a lot more, probably just security updates from prior months.

To answer your question, buy Titanium Backup Pro app for $6 - will be the best $6 you will EVER spend. It'll backup anything you want including system settings and all. Do a restore later on and your phone will be just like before.

As backups and restores go though - best thing I would recommend is to have a backup but do as much manually to restore back to your intended state as you manually can. Then top it off with Titanium Backup Pro. Sometimes, notifications or specific things about certain apps don't perfectly work after restores. Not a fault of the TiBP app but has to do with how cloud based apps identify your device ID.

If you can live without TWRP, try systemless root with stock recovery, using Magisk. That's how I have done it to be able to take updates OTA rather than each time going through the motions as it is actually just as, if not more, involved as rooting first time itself.

---------- Post added at 06:21 PM ---------- Previous post was at 06:18 PM ----------

Can't answer your question but for clarity, did you mean xxx137-33-5 or what you wrote up there. Would be nice for everyone to know. Thanks.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Hmm... So if you keep stock recovery but are still rooted with Magisk, you can take OTAs? That makes sense, since Magisk is systemless, but I haven't actually seen anybody who put my theory into action. Guess I'll flash stock recovery when Oreo comes :good:
[Moto G5 Plus Guides, News, & Discussion] bnhf:
Titanium Backup Pro looked good when I originally loaded it on my phone. Somewhere along the way though, it starting crashing every time I tried to open it. Deleting the app and reinstalling hasn't helped. Any chance you've had this problem too? I originally bought this phone to help with supporting customers I have on Android devices (I spent ~10 years using jailbroken iPhones). To my surprise, I really prefer it to the iPhones I've had. If I can get this rooted phone update issue figured out and another I'm having with the phone rebooting itself every couple of days, I'll be especially pleased.

Hopefully I can get TiBP working. I bought the 32GB version of the phone (not thinking I would use it as my daily device), but have since loaded about 150 apps on it (all of which I use at least occasionally). Somewhere along the way, the phone went from being flawless to this problem I'm having with TiBP and with the spontaneous reboots. Too many apps maybe? Using the thing too much? IDK.

I like the sounds of this approach. Do you know if a procedure has been written up anywhere on rooting this way?
[Moto G5 Plus Guides, News, & Discussion] long2ski:
I would like to know this too. I did it on my old Asus by booting twrp and installing supersu, but I don't recall exactly. This twrp installation is more involved with the added zips to install so I've left it on stock.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
[MENTION=8491562]bnhf[/MENTION] [MENTION=5867675]long2ski[/MENTION]

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

Instructions for installing Magisk without a custom recovery are in the OP.
[Moto G5 Plus Guides, News, & Discussion] ~Unify~:
May i use this method for root my g5plus with built no NPN25.137-67?

HELP....
[Moto G5 Plus Guides, News, & Discussion] mrfrantastic:
I am also trying to find the zip file.
[Moto G5 Plus Guides, News, & Discussion] suryaprakash99:
can i use method for moto g5s
[Moto G5 Plus Guides, News, & Discussion] bblr:
So I had this problem too. It had to do with a poorly timed OTA update.

What fixed it for me was rebooting to the bootloader and then doing:

fastboot oem fb_mode_clear
[Moto G5 Plus Guides, News, & Discussion] kaodd:
hey guys!

bought a g5 + yesterday. sooo i have some questions: 1. i have to unlock the bootloader, oem unlock is not enough (coming from samsung s5 neo)? 2. just install magisk and get root is not possible?

btw. there r no sound issues at all ;)
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
I think you need to do some research and understand that Samsung≠Moto... "Enable OEM Unlocking" in itself does NOTHING except for allowing the bootloader to be unlocked, without that enabled you cannot unlock the bootloader even if you have the code.

And root is not possible with the bootloader locked, you can't "install" Magisk without unlocking the bootloader in this device, and thus voiding your warranty.

Basically in this device, it is not possible to mod it at the system level (root, TWRP, etc) in any way without the bootloader being unlocked.
[Moto G5 Plus Guides, News, & Discussion] kaodd:
thx man! that was fast! yeah i've read the 1. page and it was unhappily clear for me that i have to unlock the bootloader and follow the instruction. maybe i'm just a lazy dog searching for the easy way ;) i have to say i'm quite happy with the device but i need TB . kinda adiccted LOL

edit: just read that chainfire stopped the supersu development - sad

btw. i'm listen to "Nashville *****"
[Moto G5 Plus Guides, News, & Discussion] kaodd:
[MENTION=2001582]acejavelin[/MENTION] reading about kingroot, any solutions? usually i don't like 1-click-root apps, but . . . . u know ;)
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
N-E-V-E-R use King(o)root if a traditional method is available... Period. With a locked bootloader it won't work anyway and will likely soft brick, maybe even hard brick if you don't have OEM Unlocking enabled. Not to mention the spyware...
[Moto G5 Plus Guides, News, & Discussion] kaodd:
so there is no easy way to root. I still don't like to ask lenovo for a code, maybe i'm not desperate enough, yet LOL.

Thx for ur fast reply.
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
Honestly... Haven't had a rooted device in a year it so, don't see the benefit over the issues anymore.
[Moto G5 Plus Guides, News, & Discussion] kaodd:
never had a non-rooted device . the reason was TB and one or two other things like viper4android, and ofc removing bloatware. since the g5 plus is clean like a virgin i can forget the bloatware reason.

so i have to find a way to backup the phone, v4a i just can forget and find something else. listen to music is very impotant to me, do u have some hints?
[Google Pixel XL Questions & Answers] Eutility:
Can you tell me if bluetooth is ON or OFF by default at startup after a factory reset? I swear that it was off the first time I booted up but now it is on. Makes me wonder if it was infected or changed. Anyone know if the default was changed? Thanks
[Google Pixel XL Questions & Answers] CZ Eddie:
Bluetooth may or may not be "on" but it should not be "connected" or "remember" any devices if you did a factory reset.

However, without wiping internal SD and data, you are subject to "potential weird things" that can happen.

It's why I never report a bug unless I made absolutely sure to wipe data and internal SD before trying to reproduce an issue.
[Google Pixel XL Questions & Answers] alluringreality:
Bluetooth has been turned on by default for all the software versions I've used.
[Google Pixel XL Questions & Answers] noidea24:
Upon a factory flash or reset, Bluetooth will be enabled but no devices will connect/be remembered.

On a side note, No application can "infect" an android. Most of these antivirus applications are complete bullcrap. Dont get me wrong, there are some dangerous apps out there, but you would still have to give the app permissions and accessibility access For it to do any damage. even then, simply uninstalling them Will remove everything.
[Google Pixel XL Questions & Answers] Eutility:
Thanks for your responses. I do appreciate it. Well, unfortunately I have had multiple phones infected by ex-neighbors. I literally would lose control over the phone and during calls they would make beeping sounds like I had hit a key. Once I flashed my phone outside of town and they kept messing with it. I had always thought they had a tool which enables persistence even through flashing, but it may be that they are using Signaling System 7 (SS7) and are just reinfecting them remotely. (you can watch a 60 minute special on SS7 if u like, available online) They were using an IMSI catcher when I lived next door to them. With the Pixel XL I was having ALOT of data use and reset the phone after some weird stuff happened that I had come to recognize as likely signs of being compromised, and I think put in a new SIM with a new phone #. It was much better after that. It was a nightmare with them and one of them even followed me home after work a month after I moved away. Not to mention steal things like laundry soap and put them on their side of the street in front of my house. Creeps. At this point it is just pathetic and weird. Just trying to take reasonable precautions now and live my life. If they want to waste their time that is sad.

Really glad to hear the bluetooth being there is not a deviance from default. Thanks