yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] wooddale:
Where did you purchase phone? I think if you bought your phone here it won't work. I have tried to unlock with no luck. Thanks for your answer anyway got excited for a bit lol.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
I'm using twrp on XT1687 US 'standard no-ads full-price version' bought from Amazon. Amazon also sells a version with ads at a discounted price, but on those the bootloader can't be unlocked. Maybe you have that version which would explain the situation?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
I bought my phone unlocked at Best buy in new York u.s.a
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] wooddale:
I'm gonna try again I bought mine from Moto when they first came out. You think it should work. I am in Verizon though. Thanks

---------- Post added at 01:45 PM ---------- Previous post was at 01:33 PM ----------

Like I said bought mine right from Moto or Lenovo when they first came out. Only draw back may be I'm on Verizon. Thanks.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
So ur device is not unlocked ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
It should work as long as yours isn't the Amazon-Ads version, and being on Verizon shouldn't matter, lots of folks here are. What happened that you couldn't unlock before when you tried? You followed the procedure on Moto's site, right?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] wooddale:
If you got TWRP it sure is.

---------- Post added at 08:36 PM ---------- Previous post was at 08:32 PM ----------

I've unlocked a few devices on the Moto site that's why I figured I couldn't do it. I tried when I first got it that's why I need to try again maybe I messed up Thanks.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Thebear j koss:
ME too. Got a great deal on the 64gb open box. Lol.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
That's carrier unlocked not the bootloader being unlocked.

Shouldn't matter that you've done it before, actually a benefit since you should be pretty familiar with the procedure. Give it another try and if it fails tell us the error or point at which it does.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] wooddale:
That's my point I have done it before that's why I thought it didn't work. I forgot the fact that I'm old and I may have goofed up lol. I'm gonna give it another try. Thanks for your help and encouragement.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Yeah, wasn't sure how you meant that, now I see. I'm really old: my first device was a **** Tracy wristwatch circa 1959. Now we carry supercomputers around in our pockets!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] wooddale:
Yeah that's why I rephrased it you could have took it the other way. Kind of excited again though give me something to try again. Who a thunk **** Tracy to this thought it was only in the movies.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] earlycray:
What's the difference between gtrcraft's version and the version in the OP ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nsekar560808:
Adopted Storage

I have adopted storage and the zip files just dont show. I f you can, can you fix this? I have a workaround but still..
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Time for a new twrp image:

-Updated to latest twrp commits

-Version numer is 3.1.1-3 now

-You can now backup the modem/firmware partition (Use with extreme caution, it can break your wifi, mobile data, gps, bluetooth etc.)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jayesh Nirve:
Does encryption still work.??,... I mean the encryption data thing.....
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
yes
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Sorry this build can't decrypt my data. It asks for the decryption pattern, but it says 'decryption took too long, decryption failed'(or something like that)... Sorry to say so!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Oh well then use the OP's twrp
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
I already did. Thanks! It was just to inform you... ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
It's working perfectly well for my needs - already did a backup & restored it after doing full wipes & installing another ROM. Not a single error or problem.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] catharsis724:
Does anyone know why these TWRP images might not support TWRP theming? I haven't been able to get any of them to work. I've tried these ones. https://plus.google.com/+CharG/posts/RE5syNsRrVm
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
I did use them without issue, you must be doing something wrong.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] catharsis724:
Basically after I flash the theme (because I believe they are flashable zips), it just goes back to the main recovery menu as if I cancelled an action.

This is the error message: "Custom theme version does not match TWRP version. Using stock theme."

Manual method does not work either.

Do you think it has anything to do with failed digest check? That keeps happening.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] handy5876:
I am on 67 and I unlocked and flashed twrp by OP followed by SuperSU 2.79. Root is holding and all is fine. I am able to take backups etc. Also twrp never prompted me for passwords so that means decryption must have gone right as per OP.

But my phone says Encrypted in system settings.

How do I decrypt the phone ?

Edit: I lost root on SuperSU 2.79 after almost a day. With SuperSU 2.82 it used to last 1 hour or so.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] badtlc:
It seems that Magisk is a more reliable rooting method at this point. You might try that.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dimdom1919:
Can someone please give me the last TWRP Zip. I can not download it. The server rejects the connection. Thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Try this latest one, I'm using it currently:

https://xdaforums.com/g5-plus/devel...to-g5-plus-t3576575/post73260202#post73260202
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] CreasingMass Dev:
No way, magisk will never be a better root option than supersu, magisk is just like xposed used to be, to load non-sense modules or scripts that screws with the roms.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] naturist:
The first rom I flashed on my kenzo was developed by him. I stayed till the end until he stopped developing and now I'm using Lineage. TheStrix is supporting it officially and he is a great developer too.

Btw: Santhosh was the first who provided rom for kenzo which supported Volte out of the box with no modifications. I wonder why he left but it's good to see him back. Really appreciate great talented developers. I still miss his rom, can't explain that feeling in words but it's like you don't get that 100% satisfaction even after so many roms. That's the charm of Santhosh M. :D

So if he's planning to develop for G5+, it's going to be awesome.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] deepakdtg:
Is anyone able to flash twrp successfully? I for one can't get it to boot, even after following the steps mentioned in the previous posts exactly.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] i.snehal.kiran:
g5 plus source

i think source is already available for g5 plus

there is potter config in motorola repo

https://github.com/MotorolaMobility.../arm/configs/ext_config/mot8953-potter.config

also the build tag is same NPN25.137-15 with addison aka moto z play

this source is buildable on https://github.com/Alberto97/android_kernel_motorola_msm8953/tree/cm-14.1 with attached defconfig

the attached defconfig is extracted from the above posted twrp by [MENTION=5480061]Santhosh M[/MENTION]

it builds fine but i dont know yet if it boots or not...my device is yet to come to me.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] abeloman:
Anybody had successfully rooted?

Enviado desde mi Moto G (5) Plus mediante Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fAIyaZ:
Hmm that's some good early news. You can post ur build here. But as guys can't able to boot twrp yet I don't think anyone will be able flash it.

Same like you I also have yet to receive my device. It's in transit.

Btw mate it would be nice if you join us here.

https://t.me/joinchat/AAAAAEDOwdTmPnDPXyYt-Q

---------- Post added at 10:24 AM ---------- Previous post was at 09:46 AM ----------

Did you followed procedure given in op?

Make sure you have unlocked your BL. try flashing with permanent method. And use latest stable supersu.

[MENTION=5480061]Santhosh M[/MENTION] I do have a feeling that img file maybe gets corrupted while trying to dwld. It's not downloading actually. It's opening in browser. If we want to dwld it we have to save it. Not sure if this causing an issue?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Khanov:
Should this work on my 4ghz Ram model?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Santhosh M:
I dwlded myself and see no corrupt image..it just flashes fine

For root i could see that phh root worked (saw in g5 thread)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fAIyaZ:
Yup I seen that in moto z play thread that phh su was working perfectly and than now with g5 too.

Ya dwlding looks ok to me too. Will check twrp maybe tomorrow when I'll get my unit.

Btw is that true that g5+ sources are already available as said by one guy here?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Johny Cipeli:
I've just tried Flash it several times, and after flashing the recovery, it opens the twrp and it working, but when you reboot the System, it stucks on the bootloader screen. The solution was flash stocking again. By tha way, thanks for your work!! :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rayzen6:
did you tried wiping data?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Johny Cipeli:
Yes in both types f2fs and ext4
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 22sumit:
Plz throw some light on: The solution was flash stocking again.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rayzen6:
Not sure now though. :/ maybe dev can able to help us.

Edit:- As per OP u have to cancel when asking for password and than wipe data and than again reboot into recovery. Not directly boot into system. Try this [MENTION=7157402]Johny Cipeli[/MENTION]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Johny Cipeli:
Yeah man, I answered in a simple way, I followed exactly the steps which the DEV said, but I got a bootloop. But it's ok, I'm waiting patiently for a possible solution ;):highfive:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Harsh.gundecha:
A guy having Moto g5 (non plus ) version was able to get recovery+root using recovery made by [MENTION=5480061]Santhosh M[/MENTION]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pankajgavri:
Download link is broken, please check
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Harsh.gundecha:
I just downloaded , its working :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pankajgavri:
On which browser you're downloading
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Harsh.gundecha:
Clicked the link opened in UC then again clicked on file for g5+ which the idiot UC browser loaded as a text file directly in browser, so copy the link to file and downlaod it via advanced download manager(3rd party app) by clicking + button and pasting the link
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Johny Cipeli:
Just click to save the link as, and it will be downloaded.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dimdom1919:
Thanks for this. :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] badtlc:
I was only offering suggestions. I tried SuperSU and had the same issues as the other poster. I flashed Magisk (which includes magiskSU) and it has been working flawlessly. So if you want stable root, magiskSU seems to be the most stable option at this point.

Root is root. If that is what you want, try it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sagarkulkx:
Hi Friends,

Is this Moto G5 plus ever going to get an official TWRP? it seems to long for I guess.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] triggerlord:
WTF are you talking about. Magisk is amazing compared to SuperSU. You can use it without modules BTW. Which then functions about the same as SuperSU. They both modify the boot image. (Also magisk and xposed are nothing alike. Magisk doesn't modify running code, it just mounts files in various places.)

Edit: And SuperSU is owned by a shady unknown Chinese company called CCMT. It's basically spyware.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] CreasingMass Dev:
I personally can't find it better than supersu, idc about spynet or installing modules, algo i'm still using latest version released by chainfire on all my devices running 7.1.2 without problems; with supersu you can just flash and forget it, afaik you need to flash multiple files and enable stuff later on some weird app, such a waste of time.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gagan.yadav.96:
I use snapchat so safetynet is my topmost priority and ios emojis too?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] CreasingMass Dev:
oh yeah it is safetynet lmao, don't know where i got spynet from tho
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] triggerlord:
What? You just flash the Magisk zip and that's it. It even has an OTA survival function that persists through updates. It has the manager app included in the zip too. I feel like you tried the first release and then compared it to the latest SuperSU.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
Well just so you know... Almost everything you said was inaccurate. You should check again
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] asheehanjr:
It's like nothing wants to seem to work. I can't even install a rom. it says its successful but, it reboots and goes straight back to recovery. Wish we had a CM recovery. I hate twrp right now. I'm on vs 3 1 1 0

After, flashing the boot.img from the MotoG5 Toolkit, it's finally booting up Crdroid. Seems to be taking awhile. Somehow the recommended gapps didn't seem to flash neither. TWRP seems to be all acting weird. Even backups didn't work for me

If I try to restart the system from twrp it goes back to to twrp. If i re boot it to bootloader, then boot from there, it will boot normal. IDK..
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] robot_head:
There's a fastboot command to clear your recovery and boot normally
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fastbootflash:
Maybe start from scratch, flash the latest TWRP from this thread and then wipe data, reboot back to twrp and wipe everything. After that just flash a rom( FYI if TWRP prompts to install as app just press do not install and it should boot)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] robot_head:
fastboot oem fb_mode_clear
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Quick question: Does the recovery affect what the "device model" entry is in the OS? I'm getting XT1687, which is correct and all, but I'd rather it be Moto G5 Plus, since Find My Device detects it as a Xiaomi Mi 6 :P [MENTION=5480061]Santhosh M[/MENTION]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] CreasingMass Dev:
It's okay, it says other device's name because it's an unofficial port.. Mine says Moto Z force tho..
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Oh yes, mine is Moto Z as well. But I am wondering if it affects the "device model" entry in about phone... See attachment.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] CreasingMass Dev:
No, it doesn't
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] love4chat:
by any chance is it going to be official in future?

this builds are also good included in this thread

---------- Post added at 01:19 AM ---------- Previous post was at 01:16 AM ----------

working fine,updates are always good
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Phreaker47:
I'm assuming you got this by now... but this happened to me too. Solution was to flash the stock ROM from ADB, boot it once, then start over. All good the second time.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] josephrocky:
Download link not working. please provide alternate link. dont want to brick my phone

Download link not working. please provide alternate link. dont want to brick my phone
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Cronoss:
Links work perfectly and please don't quote the whole first post.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
Only FYI,

At time, three different TWRP versions are useful. I put a short review:

- mr-twrp-3.1.1-potter-20170521.img: This is the Multi-ROM moddified TWRP from [MENTION=5293805]GtrCraft[/MENTION]. You can use this revocery not only for boot multiple ROMs, but also for

boot the recovery without flashing it

! This is the only custom recovery that you can boot safe with the fastboot tool without flashing it. It can be useful when you have unlocked your bootloader and you like to make a backup of the eMMC without flashing anything in your device.

- twrp-3.1.0-0-n3-potter.img: This is the TWRP in the OP. It seems to have some support for encrypted /data. However, it doesn't work in my device with an encrypted /data. But it generates good full backups when you use unencrypted /data.

- twrp-3.1.1-3-GtrCraft.img: This is the last revision of the TWRP. I'm flashed it in my phone. It works great. However, you can't boot it without flashing it, and the decryption of the /data doesn't work (it has support, but the key fails).

- twrp-3.1.1-4-GtrCraft.img: Updated version with OEM patition support for backup/restore.

Recommended version!

https://xdaforums.com/attachment.php?attachmentid=4297255&d=1507541790

I put this here for archive. :angel:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
Hi,

Advise: Using the MultiROM recovery it's impossible to restore the SYSTEM-IMAGE as the file is >2GB. The restore process stops at 2014KB flashed. The only solution I found it's to use the SparseConverter tool and split the system.emmc.wim file, and then flash with the fastboot tool (the regular one, not the Motorola's version).

Suggestion: Fix the last version of the GrtCraft TWRP recovery for boot the recovery without flash. So if this version can restore >2GB partitions, then it will be unnecessary to use the MultiROM version (the only one at time that can boot without flashing it).

Regards!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jDally987:
Version in the OP (twrp_3.1.1-0_potter) works great and fixed my 0mb microSD card problem, THANK GOD. Thanks so much guys.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] creeve4:
When I use the twrp from the OP - twrp_3.1.1-0_potter.img - my phone is identified by Windows 10 as a "Moto Z2 Play". Why is this?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Because it is a port of the Z2 play? Anyway, it doesn't matter. Everything works just fine.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
Hi,

I suggest to all developers of this TWRP port (@GtrCraft & [MENTION=5480061]Santhosh M[/MENTION]) to update the port to enable the backup of the

OEM

partition.

In the Mount section now you can select OEM. However,

in the Backup/Restore menu this partition is missing

.

As this partition is requited for upgrade with OTAs, it's required to have a backup (dump) of it.

So, please, can you add this function? :fingers-crossed:

Thank you!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
Hi,

No developers here? We really need a TWRP version with OEM partition support!!!!

:( :crying:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] franco1387:
Maybe I'm wrong or you are talking about another partition, but the partition where you flash oem file is listed as boot on backup options.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] robot_head:
https://drive.google.com/file/d/0B_c2hdjSBKMAcTZXaU5YVl9Mbm8/view?usp=drivesdk

This 3.1.1-3 by GTR craft. While booting into recovery and setting up it will ask you to format your data not wipe it there is an option to press format data then you type in yes to verify your selection. Just make sure you make a complete backup with your previous TWRP before flashing this one. This build has all the partitions you need for everything even if it's not directly listed it does contain it. [MENTION=5673532]manos78[/MENTION]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rlj4214:
I get a consistent failure no matter what twrp I use

Can't figure out what the deal is.

I'll try this one and see.

always says

C:\Users\rlj\AppData\Local\Android\sdk\platform-tools>fastboot flash recovery C:

\Users\rlj\AppData\Local\Android\sdk\platform-tools\rom\twrp_3.1.1-0_potter\twrp

_3.1.1-0_potter.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:recovery: not found

target reported max download size of 536870912 bytes

sending 'recovery' (12344 KB)...

OKAY [ 0.421s]

writing 'recovery'...

(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.437s

---------- Post added at 04:36 AM ---------- Previous post was at 04:30 AM ----------

Same deal

What am I doing wrong?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] itslels:
Have you tried using minimal adb and fastboot? I always use this for my fastboot command and it works great.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rlj4214:
No

I'm not sure I understand your response, Sorry

I've used ODIN for Samsung before but never tried on a Motorola.

Did my best to follow the https://www.youtube.com/watch?v=TV78iWxQrRE&t=112s guide but I obviously missed something.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kaodd:
yeah, the odin way was easy, missing thar . . .
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
itslels was suggesting that you try this other version of ADB/Fastboot (instead of using the full sdk which might be outdated , etc) which I also use & really like, it might solve it for you:

[TOOL]Minimal ADB and Fastboot [1-6-17]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rlj4214:
Thank you very much for your reply.

I'll see what I can figure out.

The full SDK is a fresh download for what it's worth.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
I'm not saying it'll fix things but worth a try. You're sure your connection was good by doing 'fastboot devices' and it sees your phone? Did you try going to recovery to see if TWRP installed despite the errors?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
For those having trouble with flashing TWRP, I would also recommend trying mfastboot. Just Google it and there should be plenty of downloads available for it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
No. I'm speaking about the 'OEM' partition, not the 'BOOT' patition (aka, 'kernel' partition). The OTAs for this device check and update this partition. So we need support for it.

I'm using this TWRP version (3.1.1-3 by GTR craft). It has support for MOUNT the OEM partition. However, it doesn't have support for backup/dump/restore it. And we really need this function.

Thank you for your support.

So, when we have this support I'll complete my Guide for OTA updates with rooted devices.

Regards!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
New TWRP from me

-Updates from source

-OEM partition backup (to shut up [MENTION=5673532]manos78[/MENTION])

-It says 3.1.1-0 when booting, will fix next version if I don't forget