yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] monster1612:
Sorry to negate half your rant here, but I did experience a good chunk of the issues you described. I don't know if Straight Talk supports VoLTE, but I don't think it would be a deal breaker for me. That EFS backup I made ended up saving my butt when I reverted back to stock earlier. (0 imei? honestly?)

As for the OTA, I managed to get it to work by pulling down the -83 potter-retail factory image, then letting it actually run its out of the box forced encryption prior to setting it back up.

Would I recommend Pixel Experience? Unequivocally, but you're going to lose some stock features if you flash it, and there's always the potential for stuff to break.

---------- Post added at 12:15 AM ---------- Previous post was at 12:13 AM ----------

Not at first, but you can get a backup of the stock images. And if you're persistent, the encrypted /data partition. Of course things get easier once you flash Magisk and the f2fs fix module. You're going to have to unlock the bootloader first, but once you do, it's easy to stick an SD card in and back up the stock partitions there (or stream them over USB to your computer, because twrp 3 supports that now).
[Moto G5 Plus Guides, News, & Discussion] eemgee:
I'm having the same problems, apart from mine always locks up on 'updating partition details"

Have you solved it yet, without permanent flashing twrp?

Also if I try to wipe the phone with fastboot format userdata I get a message saying fastboot can't format raw partition. I have a feeling that might be the problem.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
I'm experiencing this issue as well, I can't flash anything like magisk without perma-flashing TWRP. What I would do is grab the stock recovery image from the stock firmware files and fastboot flash it. I know, I know, there's no -93 firmware yet, but you'll just have to wait for it to come out if you're updated to that version, then flashing it from fastboot should work.

---------- Post added at 03:19 PM ---------- Previous post was at 02:55 PM ----------

I like pixel experience a lot, but the included Google apps in the package I do not. They have the habit of really messing up OTA updates and besides, the ROM doesn't have battery life nearly as good as stock.
[Moto G5 Plus Guides, News, & Discussion] monster1612:
What OS + terminal (command prompt vs. Powershell, for example) are you guys using on your computers to type in the fastboot boot command? Using Powershell on Windows 10 x64, I noticed that if there are single quotes around the twrp filename (like fastboot boot '.\twrp-potter-3.2.1-0.img'), then twrp stuck at the partition details message you guys are mentioning. I was so baffled by it, but then I figured removing the ".\" and single quotes around the filename would help, and sure enough it did.
[Moto G5 Plus Guides, News, & Discussion] eemgee:
I'm using command prompt. Tried with Windows 7 and Windows 10 32bit typing ....

fastboot boot twrp.img
[Moto G5 Plus Guides, News, & Discussion] monster1612:
Are you booting TWRP 3.2.1-0? If you're using an older build, there's always the potential for bugs. You can download the latest official image here.
[Moto G5 Plus Guides, News, & Discussion] eemgee:
I've tried both official ones plus the other couple floating around here.

Unless something changes, I might as well stick with stock until after Oreo roles out. Then flash it fully if that works more reliably.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I had some weird behaviour with Windows 10 x64 powershell so I changed to the old fashioned way with Minimal ADB & Fastboot using the command prompt and that's what is working for me with all fastboot and adb commands I used until now.

I booted into latest TWRP too but I didn't make a backup.
[Moto G5 Plus Guides, News, & Discussion] goodjuju:
We need both? SuperSu in Step 11 and Magisk in Step 14? Please clarify I am confused.:confused:

Thanks.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
It says choose your favourite root tool so it's magisk OR superSU. I would recommend magisk as the development of SuperSU has stopped.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
SuperSU development has not stopped. It's just closed source and owned by some Chinese corporation. Wouldn't recommend
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
It's correct that [MENTION=631273]Chainfire[/MENTION] retired a few months ago and that superSU has been sold to CCMT aka Codingcode. The last official build of SuperSU is the beta release 2.82 SR5 dated somewhat about september 2017 and coded by [MENTION=631273]Chainfire[/MENTION] himself. Since then all that CCMT did was a big nothing.

No development, no answers to questions, not on XDA nor on their own forum http://forum.supersu.com which is full of spam.

The last build is working for a handful of Oreo devices but not for all by far and there's no trace of any development.

Even as it is closed source SuperSU has reliable rooted many of my devices and it's a shame that it's treated like that.We can be lucky that magisk is in active development.

So SuperSU may be not stopped officially but in fact it is.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Then SuperSU is truly gone... What a shame.

SuperSU is dead, long live Magisk!
[Moto G5 Plus Guides, News, & Discussion] goodjuju:
Thanks Wolfcity. Much appreciated. :highfive:
[Moto G5 Plus Guides, News, & Discussion] logic88:
Are you able to pass SafetyNet now?

I just rooted my G5+ and ran into a few hiccups.

1. Flashed TWRP (selected "read-only" instead of allowing modifications)

2. Booted into TWRP and installed F2FS Loopback zip. That resulted in a "Magisk Not Found" error.

3. Installed Magisk zip. That went OK and didn't result in any errors.

4. Booted normally and it seemed like everything was working. Magisk passed SafetyNet check and I was rooted but then the F2FS Loopback module wasn't listed.

5. Tried installing a couple of modules and nothing would install. There was some type of mount error.

6. Booted back into TWRP (this time I allowed modifications) and reinstalled the F2FS Loopback zip. This time it installed OK and there were no errors.

7. Booted normally and now the F2FS Loopback module is listed.

8. But when I try to do a SafetyNet check, I get "false" for both "crfsProfile:" and "basicIntegrity".

Is this something to be concerned about? I installed Xposed and that went OK along with Ad Away.

If I don't use AndroidPay or other apps that check SafetyNet, can I just ignore the fact that I can't hide Magisk?

Thanks!

Edit: I noticed in the Magisk Wiki, it says that it can't hide Xposed. Is that why SafetyNet fails? Because I have Xposed installed?
[Moto G5 Plus Guides, News, & Discussion] Psycake:
I don't think you can pass SafetyNet with Xposed install, even if systemless. If SafetyNet isn't something you need, don't worry about it and enjoy your Xposed!
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Correct. Xposed, even systemless will always trip safety net.
[Moto G5 Plus Guides, News, & Discussion] ZubaZ:
Hey guys - I have a few questions. I see this is the latest process to follow for obtaining root. I did unlock my bootloader, and had root prior to taking any security patch updates. Then I reverted to stock, took a few security patch updates and have been waiting for Oreo, but I see that wait might take forever. I want to get rooted again so I can start using adaway again (seriously, the mobile ads are out of control these days). Adaway is the only reason I even root anymore. Anyways, I'm on build number NPNS25.137-93-4, android 7.0, G5 Plus, 01/01/2018 security Patch. Can I follow the steps from the link above to obtain root again with my current build? I did try prior to the latest patch and all I got was a soft brick and no root. Also, if I can follow the steps, is there any way to skip step 7 (factory reset)? Doesn't factory reset take me back before all the security patch updates anyways? Sorry for all the noob questions, but I would rather not lose all my files if possible and also not soft brick again. Thanks!
[Moto G5 Plus Guides, News, & Discussion] Just_a_fan:
Sorry, after some more research I finally found out, there are already threads especially for my loosing root-problem.
[Moto G5 Plus Guides, News, & Discussion] _m_u_j_a_h_i_d_:
I can't unlock the bootloader lemme know the solution

---------- Post added at 03:04 PM ---------- Previous post was at 03:03 PM ----------

Please help me out
[Moto G5 Plus Guides, News, & Discussion] HerrMumpitz:
TWRP stuck at loading screen

Hello everybody,

I've been reading up for two days and have finally started the process to root my G5+.

The bootloader has been unlocked without problems. I've been following the noob-proof guide up until step 16b.

I am then stuck with the teamwin logo and the writing teamwin Recovery Project 3.2.1-0.

I have tried both twrp-3.1.1-0-potter and twrp-3.2.1-0-potter to no avail.

I'm afraid have not found a solution in the forum search too. Is there something I might have overlooked?

If anyone has a suggestion, it would be highly appreciated. My nerves are running a little thin after

trying for hours. If there's any additional information needed, I will gladly provide anything needed.

Kind regards,

Mumpitz
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I know this behaviour from several devices when you're booting into the recovery instead of flashing it. For some devices it works,for some it doesn't.

The main reason to boot into the recovery is to make a backup before you flash it.

For me it wasn't possible to create a backup while booted into TWRP and I read of other users with the same problem.

There are some custom recoveries around in the android development section and you can give them a try if you want, I don't know if it's worth the effort.

I recommend flashing the latest TWRP instead of booting into it

fastboot flash recovery twrp-3.2.1.0-potter.img

Make a backup then, system and data are untouched and you can restore them if needed.

(If you want to catch a OTA like me you can flash the stock recovery again or because in most cases the system partition gets tampered by something flash a whole stock rom).

After that you can flash the magisk16.zip.

I think you have read the additional notes in the guide too and so you know that our device suffers from a bug (called loopback bug) that results from the facts that our /data partition is formatted f2fs and a bug in the stock kernel. That's why magisk isn't fully working, modules aren't installable for example. The rooting part is ok but if you want to use magisk completely and without issues there are two ways you can go:

1. Flash a custom kernel as ElementalX.

2. Flash a mod called loopback bug module

I did 2. because I didn't want to flash a kernel just for fixing a bug.

If you want to go that route flash the latest version through TWRP, maybe twice until it shows up in the magisk module section. It's a flash and forget module, it moves the magisk installation from the f2fs formatted /data partition to the ext4 formatted /cache partition.

Hope that helps.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
As [MENTION=5237901]Wolfcity[/MENTION] said, TWRP sometimes doesn't work with simply booting recovery. I'm beginning to think it's model-specific, but at any rate you have to flash it at this point.

If you grab your model number I can point you in the right direction for restoring stock recovery once you're rooted.
[Moto G5 Plus Guides, News, & Discussion] HerrMumpitz:
Thanks for the quick reply Wolfcity.

I took up your recommendation of flashing the latest TWRP, using:

fastboot flash recovery twrp-3.2.1.0-potter.img

The flashing has worked without a problem. Of course I didn't install the latest OTA, as I did

before and have flashed the stock recovery with the flashall.bat from the guide.

I have been using the

POTTER_NPNS25.137-33-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

My build number is: NPNS25.137-33-5

Baseband: M8953_02.03.07.06R

Everything seems to be working, so hope I did everything right here.

I will repeat flashing the TWRP after everything is updated. I hope the ghost in the machine will not decide to come up with a roadblock.

I have read about the loopback bug you mentioned, our device suffers from. I have just glanced it, but have saved the loopback bug module

for optional later use, when I had time to read up on the topic more. I'm confident flashing it after reading your answer.

I'd also like to not flash a kernel. This sounds like the right solution for me too.

You saved the rest of my sanity slipping away today.

I hope my Titanium Backup from my old Acer E700 will work too, after everything is done.

Jrhotrod,

thank you for your support too. If you could point in the direction of the right stock recovery, that would be great.

After half a day of reading and trying to get everything working, my concentration wanes a bit.

There is one question still on my mind. When there is a new system update. If I did flash the stock rom,

I understand, I'd be downloading the prior system updates, up to the newest, and then repeat flashing twrp,

magisk, unrooting the device again?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Glad I could help you. I know how it feels, it´s not so long ago I bought my potter and my head was smoldering of all that input, [MENTION=7896819]Jrhotrod[/MENTION] helped me that time, it´s never easy to get this all sorted with a new device.

I flashed POTTER_NPNS25.137-33-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip and my plan is to capture the Oreo OTA if it comes at all. ;)

I recommend to make a backup of your data & internal storage (also EFS if you can) via TWRP before flashing the stock firmware. That way, once you took the OTA´s, you can factory reset via TWRP, back up the new stock partitions, and then restore your data and internal storage once you have Magisk and the f2fs fix flashed again.

Just in case...for me it´s not such a big deal to start from scatch again.

There are ways to unroot the device, flash stock recovery.img and then apply to the OTA but my experience is that in almost all cases something has tampered the system partition (just mount it r/w is enough to let the OTA fail!) and then you have to start all over again. If you are interested in this you´ll find it here: https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips.

Good luck!
[Moto G5 Plus Guides, News, & Discussion] ZubaZ:
[MENTION=5237901]Wolfcity[/MENTION] You seem to really know your stuff here about rooting/unlocking/G5. Sorry to ask again to the group, but any chance you would have thoughts on my questions from this post? If not, np, if yes, thanks in advance!

https://xdaforums.com/showpost.php?p=75796182&postcount=296
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
So your state is stock rom, january security patch?

You should be able to root your device just the way you did the first time, I followed this guide: https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post74673573

I doesn't matter from which build your coming.

What you shouldn't do and what may be your problem:

Don't reflash the linked firmware.

Your bootloader is upgraded now and you can only flash the stock firmware you're on or a newer one. As there is no newer one out atm and as far as I see there's also no link to your 93-4 firmware you will have to skip the first part of the tutorial.

So flash TWRP, make a full nandroid backup, everything you can choose except cache, external SD and maybe system image (not to mix up with system) and then flash magisk16 and maybe f2fs loopback bug module.

You didn't write if your data partition is encrypted, if yes magisk should decrypt it. If not you can go to TWRP, wipe, format data and confirm with yes.

Your problem is that if anything goes wrong or Oreo arrives you don't have a full firmware to flash back to.You can only hope that someone will load up the 93-4 firmware until then. You can try to find it, I don't look for it everyday but the last time only the asian variant 92-4 was up.
[Moto G5 Plus Guides, News, & Discussion] ZubaZ:
Ahh ok, most of that is making sense. Yes, I am currently with an unlocked bootloader, stock, jan security patch. I have also looked for a 93-4 firmware and I have not been able to find it either. I was afraid if I rooted I could not upgrade to Oreo easily. Grr...I will think on it some more. Oreo could be in a few weeks...or never at this point. Ha. Thank you very much for the info. I guess I don't know if my data partition is encrypted or not. I don't remember that step the first time around.

edit - Thanks for sharing the link to that rooting method. It sounds MUCH easier and is much more in line with what I am familiar with. Rooting on my galaxy nexus and my original Moto X was so much easier and straightforward. They seemed almost idiot proof, lol.

I'm going to search around for a 93-4 build and also for any possible update on a US Moto G5 Oreo OTA date. I will probably try rooting next weekend if I can find a build or if Oreo seems rather far off yet. Thanks!
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You're welcome. If you find any 93-4 firmware let me know, the US and EU version are the same builds. My personal opinion is that Oreo arrives when Lenovo releases the Moto 6 series shipping with Oreo. It's been the same with Moto 4 to 5.

Hope dies last, I read there's a partial roll out for some Moto devices in Australia but as far as I know there hasn't been starting any soak tests for potter until now.
[Moto G5 Plus Guides, News, & Discussion] huntinator7:
The links you provided to all of the files are broken, they redirect to some Brazilian email website now
[Moto G5 Plus Guides, News, & Discussion] HerrMumpitz:
I stumbled over this too at first. There has been an update to the links, but it's not referred to in the initial post.

Here is the post with updated links from Johny Cipeli, that should help you out:

https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post75114774#post75114774
[Moto G5 Plus Guides, News, & Discussion] gigagb:
Appreciate for your help.
[Moto G5 Plus Guides, News, & Discussion] _xda_:
Does this still work, here in April of 2018? Mine is the amazon ads edition, so I don't know if that means the answer is no.

I don't mean to sound so beginnerish but what's the best way to ensure that the files listed at the beginning of this thread are safe.

I have rooted my Galaxy S3 in the past.
[Moto G5 Plus Guides, News, & Discussion] Smeagal192:
Amazon ad versions have locked bootloader, which cannot be unlocked.
[Moto G5 Plus Guides, News, & Discussion] 5c0ttR:
Thank you

I followed the updated instructions and they worked perfectly... Thank you!
[Moto G5 Plus Guides, News, & Discussion] ConquerSoftware:
Could someone please post the twrp image to fastboot flash recovery twrp33333353. I have unlocked bootloader and i cannot get it to flash the twrp on to my Motorola Moto G 5S Plus, please help I am lost and this is only my second phone to root any and all help will be greatly appreciated.
[Moto G5 Plus Guides, News, & Discussion] gumpysitruc@gmail.com:
This is the Moto G5 Plus forum, not Moto G5S Plus.
[Moto G5 Plus Guides, News, & Discussion] skorpyo60:
Video tutorial?

Where is the tutorial that was mentioned?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Just read. It's mentioned in a quote of me on this very same page a few posts above.

But anyway..

https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post74673573
[Moto G5 Plus Guides, News, & Discussion] logic88:
So what's the procedure to install a system update? I see that Moto is trying to push a 911 update. I tried hiding the update notification but it keeps popping back up.

So are the steps something like this?

1. Remove things like Xposed or anything that might touch system files

2. Unroot

3. Install update

4. Re-root

Any extra steps that might be needed?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Make a backup of your current ROM including data, flash your current stock ROM incl. recovery and boot.img, get the update. Just removing thing like magisk, xposed and root apps wouldn't be enough as the /system or /vendor partitions have been touched already. Just mounting /system rw is enough to let the OTA fail.

After that follow the instructions to root and decrypt the device again. If you decide to don't take the OTA you can freeze Motorola update service to stop the update from popping up.
[Moto G5 Plus Guides, News, & Discussion] logic88:
Ah, thanks for clarifying the steps. Sounds like a bit of a PITA to get just a 911 update so I will probably skip installation.

What's the best way to freeze the update service so that it doesn't nag anymore?

Thanks!
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I did it with Titanium Backup but there are several similar apps like SD Maid or else in playstore that can do the job too.
[Moto G5 Plus Guides, News, & Discussion] akshaygowda1998:
My device does not get recognised in the PC during fastboot mode to unlock bootloader.Only adb is recognised.How to unlock bootloader in that case????
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Latest Motorola drivers installed?

https://drive.google.com/file/d/0B0WGdtNWubBJYnlDcWRBZXltanc/view?usp=drivesdk

Minimal ADB & Fastboot?

https://drive.google.com/file/d/0B0WGdtNWubBJZTFtNnk0dXlTTms/view?usp=drivesdk

Fastboot should work when you bring your device in fastboot mode.
[Moto G5 Plus Guides, News, & Discussion] akshaygowda1998:
My brother had bought this.If he had bought from that amazon ads,this problem occurs??And yes I have all the latest drivers installed.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Amazon ads version isn't unlockable. No way.
[Moto G5 Plus Guides, News, & Discussion] akshaygowda1998:
I'm asking if he had bought from that, The problem appears like that??

---------- Post added at 03:05 PM ---------- Previous post was at 02:46 PM ----------

I mean How do I know that can't be unlocked??

---------- Post added at 03:52 PM ---------- Previous post was at 03:05 PM ----------

How do I know that the phone was bought with amazon ads????
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Has it Amazon ads on the lockscreen?

And no, the normal behaviour of an unlockable Moto device is that it says "Device not unlockable" on the Moto website when you paste the code you got after typing

fastboot oem get_unlock_data

there.
[Moto G5 Plus Guides, News, & Discussion] akshaygowda1998:
I couldn't get it recognised in the PC while it was in fastboot mode.:(
[Moto G5 Plus Guides, News, & Discussion] jerryspring:
I have the xt1687.. unlockable or no?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Have you tried it? Best way to be sure. XT1687 just says it's a Moto G 5+. If it's not an Amazon ad version it should be unlockable.
[Moto G5 Plus Guides, News, & Discussion] jerryspring:
It says xt1687.

What about motochopper? I remember that being able to root

---------- Post added at 06:37 PM ---------- Previous post was at 06:34 PM ----------

Also...links are dead for the verity. Any active links? I looked on Android file host. I googled by copying and pasting verity description. There's one there, but not sure if it's same
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Follow this guide: https://xdaforums.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post74673573

No need for a dm-verity zip, just use latest magisk (16.0) , unlock, flash twrp, make a full nandroid backup incl EFS, flash magisk zip and you're good to go.
[Moto G5 Plus Guides, News, & Discussion] jerryspring:
Could u help with the bootloader? Motorola isn't allowing me to unlock it

---------- Post added at 12:07 AM ---------- Previous post was at 12:03 AM ----------

I don't wanna flash a stock room. I just wanna go from where I have it now. Unlock bl, flash twrp and magisk. Tyvm