yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] fAIyaZ:
This twrp supports encryption so u won't need wiping data. But we haven't tested that since we were already decrypted before. U should give a try if you are doing it first time. But before anything do take a backup just in case.
[Moto G5 Plus Guides, News, & Discussion] sharan.nyn:
Well actually all TWRP would require wiping to remove encryption. CMIIW though!
[Moto G5 Plus Guides, News, & Discussion] avvgopal:
It should have been in a separate thread.
[Moto G5 Plus Guides, News, & Discussion] schleima:
Thanks very much for posting these root instructions.

I'm having a couple of strange things happen, and I wonder if the community might be able to help.

I've successfully unlocked the bootloader, installed the latest version of TWRP, installed SuperSU, and my favorite custom rom, Dirty Unicorns along with Open GApps.

Here's the issues:

1. First time booting into DIrty Unicorns, I noticed my carrier signal was indicating strength, but no LTE/3G connection. Assuming it just needs to be reactivated with my carrier (Sprint)?

2. I downloaded the Root Checker app. SuperSU is in my apps. Had to grant root permissions to Root Checker. Says everything is OK. Several standard reboots later, the app says I am NOT rooted! I re-flashed SuperSU, and now Root Checker is telling me that the phone is rooted, but the SuperSU app is not installed. Huh?

https://drive.google.com/open?id=10fRGxMnK5L3ebgZl4y87ZGLxGbdCjcjH

3. I tried to find the SuperSU app to manually download from the app store, but all I see is the SuperSU Pro key.

4. If I want to go back and try to flash Magisk for root, how do I safely un-root my phone (without a SuperSU app present) so that I don't end up soft bricking the device, or something?

2.

I'd very much appreciate your insight into any (or all) of these issues.
[Moto G5 Plus Guides, News, & Discussion] stark1296:
Something like your first issue regarding network has happened to me once with the 'Pixel Experience' rom.

All I did was:

1) Connected to PC and opened command window.

2)Ran command :"fastboot erase modemst1"

3)(pressed enter)

4)After waiting for 3-4 seconds ran the command : "fastboot erase modemst2" (enter again)

5) Disconnected the phone from PC.

6) Rebooted into system.

At this point, I found my 4G and VOLTE restored.

Hope it does the trick for you as well.

But before trying any of it, PLEASE do backup your persist and efs (and important data to PC).
[Moto G5 Plus Guides, News, & Discussion] schleima:
Thanks very much for this. I've already returned the phone to factory settings and locked the bootloader, so I'm debating whether or not to go back in and try again. If I do go back in again, I'll certainly backup EFS-- is persist also an option on TWRP menu backup? I don't recall. If not, under what TWRP backup option is it found?
[Moto G5 Plus Guides, News, & Discussion] stark1296:
Yep, persist too is an option.

And , also sorry because I replied 5 days later than the time you actually needed help.
[Moto G5 Plus Guides, News, & Discussion] schleima:
It's OK, I'm really glad to get a reply! I spent 4 days in smartphone hell trying to get this to work... my other phone no longer holds a charge and the data/charging port is dead so it has to live on top of a charging pad to function at all.

Oh, and the Sprint tower near our house went out on Oct 12 and was down for 4 days, so I actually had to beg the neighbors to use their wifi so I could continue researching a fix (we use our rooted phones as mobile hotspots for the house, so when my wife left the house with her phone I had no internet connection!) So, you could say this was a bit of a crazy weekend.
[Moto G5 Plus Guides, News, & Discussion] stark1296:
Man! The device really gave you a major trouble.

Anyways , since it's working fine now , you better enjoy it.
[Moto G5 Plus Guides, News, & Discussion] schleima:
There's no enjoying any Android phone without root (and free mobile hotspot!)
[Moto G5 Plus Guides, News, & Discussion] XPUser99:
I'm probably Noob enough if I ask these questions:

- Does it matter which TWRP I install? I have the latest (3.2.3-1) already installed. Clicking on the link provided brings me to the user page of Johny Cipeli, only now that I'm replying and see the source text of this post, I can see the link is supposed to be https://dl.twrp.me/potter

- "18) Now that you're in TWRP, "Keep system read-only." " - where do I find that within TWRP?

Thanks a lot!
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Latest TWRP is absolutely ok, I use it too.

When you install TWRP the first time it'll ask you if you want to "keep your system read-only".

It doesn't matter what you have replied, the rooting process will work anyway. To keep system read-only is just a protection to not change things in system accidentally.
[Moto G5 Plus Guides, News, & Discussion] eduardobastier93:
How do you root for kingRoot?
[Moto G5 Plus Guides, News, & Discussion] TargetedNuke:
You shouldn't. From what I've heard, it has tons of adware, and safety net apps Ex: banks, Pokemon go. Won't work.

My advice:use magisk
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Yeah, what Targeted Nuke said. KingRoot is known malware and spyware, and plus, it doesn't even work on Marhsmallow and above due to updated SELinux policies in Android. Trust me, you don't want to be the one guy who bricked his phone using XXRoot.
[Moto G5 Plus Guides, News, & Discussion] Bobbis2000:
Thank you very much for this guide. Couple of issues after following this:

On my Moto G5 plus, my bluetooth seems to be having issues after following these directions. Every 10 seconds or so I get a message that Moto is "Updating Bluetooth Context" and my bluetooth connections seems to be going in and out. I am no longer able to make calls using my car's interface and my audio connections are spotty.

Also, how can I prevent it from trying to install the latest updates.

Thanks for any help.

R
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Never heard of this bluetooth issue but if you google it you get some hits.

For not getting the update notification all the time freeze Motorola Updateservices with something like Titanium Backup or SD Maid.
[Moto G5 Plus Guides, News, & Discussion] Bobbis2000:
Yeah, I have been googling around. Tried deleting the bluetooth cache, deleting all my BT devices and restarting, disabling Moto notifications about the error... Nothing is working yet.

I tired to pay for and install Titanium Backup from the play store today and it never would install for me. I paid for it and cancelled twice. Maybe because I tried a "free" version beforehand. It was uninstalled so not sure what is going on.

I appreciate your reply
[Moto G5 Plus Guides, News, & Discussion] Bobbis2000:
Do you think changing the Bluetooth AVRCP version might help? Audio Codec? Sample Rate? Etc?

Thanks
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Try it. Have you installed VLC player? It brings a lot of codecs with it. If nothing helps you may consider reflashing the firmware.
[Moto G5 Plus Guides, News, & Discussion] Bobbis2000:
Yes, I do have VLC installed. Which bluetooth setting do you think I should change first?

Thanks,

Rob
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I'm not sure if downgrading to Bluetooth AVRCP 1.5 would help because normally bluetooth is working with magisk rooted Oreo, I use headset, speakers and pairing with other phones without any problems. If it happens only with your car audio I would try other bluetooth devices to make sure it's not related to your car system.

If you haven't done it until now delete all bluetooth connections, force stop bluetooth system app, delete data/cache and reboot.

As said before maybe reflashing the firmware would help. Was bluetooth working with the same Oreo build before you rooted your device?

Which magisk version are you running?

Tried another one?
[Moto G5 Plus Guides, News, & Discussion] Bobbis2000:
The bluetooth problem seems to be across all bluetooth devices. It's most evident with my car as it doesn't connect at all when I want to make/answer a call. When I am playing podcasts to another device, it with pause briefly, over and over again.

Bluetooth was working fin before I rooted and flashed the rom. I believe it was the same build as I always kept my system up to date with the latest updates.

Thanks,

Rob
[Moto G5 Plus Guides, News, & Discussion] hxalfa:
Thanks!
[Moto G5 Plus Guides, News, & Discussion] MannyTMM:
I've been following this guide up to this point. the flashall script only appears briefly and then disappears. I'm assuming this is an issue since it doesn't look to have done anything. I have already unlocked the bootloader and have all the drivers up to date. Any help is appreciated. First time rooting since one click rooting my optimus V so I am very unfamiliar with rooting as of right now.

I am on 8.1 latest ota update and want to root so i can get the benefits of camera2api and more. Thanks.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
If you're on Oreo you need another flashall.bat file, I think the one of the post above is for Nougat, this one is for Oreo: https://www.dropbox.com/s/zfh67uzfle9hsco/flashallO.bat?dl=0

I hope you haven't downloaded and flashed the above firmware when you're on Oreo!

As you have your bootloader unlocked just flash the latest TWRP (3.2.3.1), reboot to recovery again and flash latest magisk (18.1). If you have problems regarding the encryption of your data partition flash

Disable Dm-Verity-ForceEncrypt:

https://yadi.sk/d/HLr5vjnkA8gaqw

TWRP: https://eu.dl.twrp.me/potter/twrp-3.2.3-1-potter.img.html

Magisk:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Moto G5 Plus Guides, News, & Discussion] HerrKomissar:
I think Magisk itself. No manager, and "Magisk Checker" from the play store says it's not there. I don't know if it looks for the manager app or the root itself. I'll try manually installing the manager, though.

No matter how many times I try to do the wipe, it throws the same errors. The format doesn't take, and then I can't even mount data at all.

That's only useful once I get /data decrypted in the first place, right?

Tried that one too, when I saw it skipped the "Format /Data" step to remove encryption. No dice, but I'll give that one a go and then manually install the manager.

---------- Post added at 01:16 PM ---------- Previous post was at 01:06 PM ----------

All right! It looks like it works if I manually install the manager.

Is there any downside to leaving /data encryption in place that's gonna come back and bite me on the arse later? Should I keep trying to find a resolution to that problem?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Depends on your needs. If /data stays encrypted TWRP isn't able to create a backup of it, also there's no way to look into it. On the other hand it's the safer solution if you lose your device.

One thing that comes to my mind:

Have you toggled OEM unlocking to ON (Developer options)? And how does your security/encryption settings look like?

I have my /data decrypted since I'm rooted and that's how it looks like for me:
[Moto G5 Plus Guides, News, & Discussion] HerrKomissar:
Yep, it's turned on. The rest of the options in that section are all turned off.

Under security, it says my phone is still encrypted.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
What build of TWRP are you running? Should be the latest official (3.2.3.1).

May have something to do with it.

Also found this related to error 255:

https://xdaforums.com/showpost.php?p=69980946&postcount=2497

If you're on the latest official TWRP I'm running out of solutions.

Have you by any chance considered to move on to Oreo stock? Maybe a complete fastboot flash may solve the problem.

You could ask in the TWRP thread or maybe bask [MENTION=7346927]NZedPred[/MENTION], the guy who builds the twrp flashable stock ROMs, he's got a lot of knowledge about stock firmware issues.

Last solution would be to stay on encrypted data partition if everything else is working ok.
[Moto G5 Plus Guides, News, & Discussion] HerrKomissar:
Yep. twrp-3.2.3-1-potter-eu.img

I'm waiting on Oreo for a bit until Xposed stabilizes a bit. At this point, I pretty much refuse to run without XPrivacy and AFWall. :) I did do a complete fastboot flash of Nougat every time the format blew out, though.

I'll try the TWRP thread, and consider this a pretty acceptable backup plan.

Thanks for the help!
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You're welcome, good luck.

One question, you've downloaded the TWRP from here: https://eu.dl.twrp.me/potter/twrp-3.2.3-1-potter.img.html ?

Because the original file from the site has no "eu" in it. It's just twrp-3.2.3.1-potter.img. Or do you use the twrp app?
[Moto G5 Plus Guides, News, & Discussion] HerrKomissar:
No, I downloaded it from there, I just added the "eu" myself. In hindsight, I think the two download might be hosting the same files, just mirrored geographically, rather than being a different version for international phones.

I might have been pre-coffee when I was collecting all the files. :D
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Known problem;)
[Moto G5 Plus Guides, News, & Discussion] Tom Powers:
I have the amz software variant/channel, it's the non-ad version, does that still mean it's unrootable?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Question is if the bootloader is unlockable.

As far as I know it's not possible for the amz variant but best would be to try it out on the Motorola site:

https://motorola-global-portal.cust...sion/L3RpbWUvMTQ4NDU2OTQxOS9zaWQvQ1hTallQOG4=

If they send you a code it's possible and you can decide whether you do it or not.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Ah shoot, that needs to be updated to Oreo - super sorry. I'll do it when I get some time, school is really demanding at the moment and I haven't had an hour to update the whole guide.
[Moto G5 Plus Guides, News, & Discussion] Tom Powers:
Thanks for the reply- I guess since it's removing a bootloader, it'd factory reset- my intention was to recover some data which somehow went missing, but needing to go to the effort of restoring everything else after, I don't suppose is worth it for me.
[Moto G5 Plus Guides, News, & Discussion] stark1296:
What do you mean by "REMOVING" a bootloader?
[Moto G5 Plus Guides, News, & Discussion] inexplicabro:
does it work on stock android oreo?

I am able to root android 7 but not android 8. When I try to root android 8 it gets stuck on the bootloader unlock warning screen.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
If you provide no information, none is able to help you.

What firmware/ROM are you running?

How do you update to Oreo (OTA of fastboot flash)?

What's your location?

Which rooting tool do you use and what version?

TWRP version?

Flashing order?

Is your data partition encrypted?

What exactly happens and when do you get stuck on the booting screen?
[Moto G5 Plus Guides, News, & Discussion] adu1982:
Just used the bat file for oreo, restarted to set it up and it wont connect to sprint anymore. Just says invalid simcard.....
[Moto G5 Plus Guides, News, & Discussion] adu1982:
Never mind, after reading, flashing, reading, 0 imei, I'm up to oreo 8.1, February, rooted, all working good so far...Thanks guys
[Moto G5 Plus Guides, News, & Discussion] HaXed_out:
Okay.. Someone PLEASE Help me here..

I am trying to download the files needed for the Root and every link takes me to a Portuguese "zipmail" website, in which i am trying to sign up for.. But can not figure out a correct form of the phone number that is being asked of me.. I do not know Portuguese, and yes i have already translated, but still do not know their phone number configuration!

Is this truly necessary in order to download the files needed? Do the link need updated? or.. is there any other posts on the forums in which is compiled to root the G5 Plus!?

Help is greatly appreciated, as i am a fellow developer from years ago, but took a break the past couple years, just now wanting to get up & running again..

Much love & Respect for my Brothers here @ XDA:cowboy:
[Moto G5 Plus Guides, News, & Discussion] meunomedeusuario:
There's an updated method right at the top of his original post with working links, just click on it. :silly:
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Magisk and Magisk Manager:

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

TWRP:

https://eu.dl.twrp.me/potter/

Stock firmwares:

https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL/

Links to updated tutorials:

https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post75114774

https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post74673573

Good luck.
[Moto G5 Plus Guides, News, & Discussion] totalconfused:
Okay, I trying this for 3 nights but for some reason no version of Twrp will install through fastboot.

The OEM is unlocked and fastboot recognize the device but Twrp potter either can't load or cannot be recognize.

What am i doing wrong , anybody an idea why?
[Moto G5 Plus Guides, News, & Discussion] meunomedeusuario:
Maybe you're using the wrong version of TWRP. Maybe you have a Moto G5 instead of G5 PLUS? Which command are you using to flash the recovery?
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
Did you go through the official unlock procedure? You cant load TWRP without unlocking first, meaning using the code obtained from Moto. Make sure you are using the TWRP for Potter... Attach screenshot of the error would be helpful.
[Moto G5 Plus Guides, News, & Discussion] totalconfused:
failed to load

So I used the instructions from the site androidinfotech (didnt knew this site existed).

My phone is a moto g5 plus (xt 1685).

The phone is unlocked because everytime it start it said " this device is unlocked and cannot be trusted"( have unlocked through motorola unlock site)").

How do you post a screenshot?( I really don't know).

The orders i typed are:

fastboot devices

fastboot boot twrp recovery.img

And then it failed: (cannot load 'twrp': no such file or directory) or similar

I put the files in the folder "platform-tools", am I putting them wrong? Cause everytime I tried to load a file It fails ( accaording to fastboot I do have a connection).

P.S.: Sorry for my poor English, not used writing it.

---------- Post added at 11:48 AM ---------- Previous post was at 11:44 AM ----------

I would post a screenshot but the site won't let me.

I downloaded the potter version.

The device is unlocked through official moto page.

Fo more details look below( rather don't post the exacte comment again).
[Moto G5 Plus Guides, News, & Discussion] massima:
i remember the right syntax is:

fastboot flash recovery recovery.img

fastboot is searching the "twrp" file or folder without success.

Verify the fastboot syntax on internet, i think is correct before to destroy your phone
[Moto G5 Plus Guides, News, & Discussion] meunomedeusuario:
Yeah that's the correct syntax. In that case if he's using the latest twrp it should be fastboot flash recovery twrp-3.3.1-0-potter.img (unless he renames it to make it easier)...
[Moto G5 Plus Guides, News, & Discussion] acejavelin:
By "TWRP recovery.img" it means the TWRP IMG filename... Such as "potter_twrp_recovery.img" or whatever the TWRP filename is. If it's as I stated, it's "fastboot boot potter_twrp_recovery.img"
[Moto G5 Plus Guides, News, & Discussion] Souravskrba:
SIr,

After running the command fastboot boot recovery.img (twrp) my phone boots in twrp but i am not able to use the touch screen this is very frustrating. Please can any one help , I can not swipe or do any thing :(
[Moto G5 Plus Guides, News, & Discussion] Souravskrba:
Brother,

If you can help me with a correct TWRP installer in zip format it would be highly appreciated.

I will try flashing though

cheers

---------- Post added at 11:05 PM ---------- Previous post was at 10:49 PM ----------
[Moto G5 Plus Guides, News, & Discussion] Souravskrba:
I also want to view your view video please please grant me access

I also want to view your view video please please grant me access

---------- Post added at 01:01 AM ---------- Previous post was at 12:40 AM ----------

Please grant me access

---------- Post added at 01:53 AM ---------- Previous post was at 01:01 AM ----------

Need the TWRP installer please!!!!! :( :(:(:(:(
[Moto G5 Plus Guides, News, & Discussion] Tianhe:
Moto G5+ has official TWRP support,, just go to TWRP website and download it. Also if you can use fastboot then it is easy to install TWRP, just check guides.
[Moto G5 Plus Guides, News, & Discussion] massima:
Here you can download it.
[Moto G5 Plus Guides, News, & Discussion] Souravskrba:
Thank you friends, for your support. Please note I have Baseband Ver "SANDERS_INDIADSDS_CUST " will potters version of twrp work for me? I am currently using twrp sanders 20r version 2018 build. If there is a better version I can use please do share. I tried using the latest version of twrp but that made my t.screen go unresponsive ......

My Moto G5s Plus details -> https://photos.app.goo.gl/b2sTUXFn87VoMSXC7

:confused:
[Moto G5 Plus Guides, News, & Discussion] massima:
Wait!! you have a moto G5

s

+ not a G5+. You are in the wrong place, obvious twrp doesn't work:rolleyes:

Here there is the forum, and here TWRP
[Moto G5 Plus Guides, News, & Discussion] PreciousChaos:
In English, please.

Wow. Very poor instructions. If you actually want people to read and follow carefully, perhaps you should take more care in the structure of a sentence.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You can try the updated tutorial, linked here,just make sure to use the latest tools/firmware. The second one is better to read imho.
[Moto G5 Plus Guides, News, & Discussion] artsnjiw:
Hi, i am wondering. I have a Moto G5 plus XT1685 (buildnr. OPS28.85-17-6-2). Anyone else succesfully root this device?
[Moto G5 Plus Guides, News, & Discussion] meunomedeusuario:
Yes. Just follow the updated guide.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Just above your post.
[Moto G5 Plus Guides, News, & Discussion] Zaxx32:
Am in need of assistance...following this guide:

https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post74673573#post74673573

Tried to flash twrp and got this...

Follow it step by step....dunno wat to do. Phone is US ver. on Oreo
[Moto G5 Plus Guides, News, & Discussion] meunomedeusuario:
Did you unlock the bootloader?
[Moto G5 Plus Guides, News, & Discussion] Zaxx32:
Yeah...I figured that out after I posted.

I bought this phone as a "Factory Unlocked' open box return. At the time, I was stuck with a crap Tracfone (Alcatel Raven)...so I bought this Moto G5+ and did Tracfone's BYOP (Bring your own phone) which transferred my banked up minutes and 1 year activation over. I gave 'em my serial & IMEI and they mailed me a SIM card..

I assumed it came unlocked...never checked it before I put the Tracfone SIM in. I was a total noob back then...sorta still am, obviously...lol I put the SIM in and powered it up for the first time, set it up with my google account ofc...then it updated from Nougat to Oreo right off the bat...so I thought everything was fine.

I made sure de-bugging was on and toggled the 'Allow bootloader unlocking.' Used ADB to get my unlock string. I went to the Moto site, entered my string and it said no PU# and then 'Not eligible' to be unlocked or whatever. I triple checked my data string...no mistakes.

So...I guess my (Noobish) question is:

Did the seller lie about it being factory unlocked? Or is the Tracfone SIM screwing me up?

Or should I have maybe have unlocked it before putting the Tracfone SIM in?

Thanks in advance., Ken

fwiw...When I boot to the recovery screen (Vol Dn + Pwr) the little consol window says it's locked.

I checked....the carrier is AT&T.