yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] retrothegamer:
I'm kinda noob to this stuff but i have a problem. I installed the twrp v3.1.1 , 2-3 months ago and its been working very good for me. My device is encrypted so it asks for pattern each time i enter recovery. On seeing the new version 3.2.2 i decided to flash it so that i can flash 64 bit roms on g5 plus. It flashed successfully but now its not decrypting and not recognizing my old pattern. Thankfully i used adb fastboot mode and reflashed old twrp 3.1.1 and it is working fine and decrypting normally. What should i do? Thank you sir.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
The new TWRP cant decrypt right now, GTRCraft is trying fixes. For 64-Bit, Try this recovery: https://drive.google.com/file/d/1RQL...ew?usp=sharing

Also, check out the official 64-bit development thread.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] retrothegamer:
Thank you good sir. The first link you gave says page not found. Can you provide me another link? or perhaps the name?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
The first link was from the thread itself. Just go through the thread, it has everything. The link is in the original post
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
Has anyone tested to see if the new update supports encryption?

EDIT: didn't read the other pages. My bad nick
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] n0jah:
I tried both the 3.2.0 version and the 64bit 3.1.1 version suggested here - https://xdaforums.com/g5-plus/development/dev-64bits-t3708091

None of them seem to be able to decrypt my data (I get a wrong pattern error)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pss34:
The same here.

I will take log soon.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Moto G5 Plus Announcements, [22.01.18 13:12]

TWRP with time and date fixed:

http://moto-roms.netlib.re/twrp-3.2.1-1-potter.img

Thanks, Nick!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Let's try again with encryption

Please provide logcat and recovery.log.

And use a custom rom that doesn't have enforcing selinux
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PunchUp:
This works! Decrypted successfully. Thank you
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Finally I got it. Everything normal afterwards in rom?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eemgee:
So let me get this right, before have to start a thread with my problems ?

I am fully stock untouched now. If I want to go 64bit.

1. I unlock my bootloader

2. Flash this, the newest version of twrp

3. Back stock up.

4. Flash a 64 bit ROM of my choosing?

5. Enjoy.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PunchUp:
Yep all good so far :good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pss34:
Unfortunately, i was unable to decrypt my /data encrypted by AICP-13.1 20180116.

Dmesg && recovery log attached.

Pattern used as key, it is working ok with ROM.

Sorry, no logcat for now :(
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
Just don't forget gapps if you use them
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Instead of flashing TWRP, boot it up first to back up stock ROM. When finished, flash TWRP
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thekrishna:
I can't find any storage with official twrp.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eemgee:
I didn't know it was possible to back up stock before flashing twrp???
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
We are flashing TWRP but not permanently. You see, the command we usually use to flash TWRP installs the recovery on our phones which is "fastboot flash recovery twrp.img" but we can also temp-boot the recovery without actually permanently installing it on our phones which is "fastboot boot twrp.img". The latter simply boots the recovery by copying the img file on the phone and gives you full functionality of the said recovery and when you're done with whatever you wanted to use the recovery for, you can simply reboot and the temp-booted recovery will be gone from the phone.

Note: Assuming that the name of the recovery img file is "twrp.img"

This way your nand backup will be purely stock and won't have twrp, ready to go full stock if the need arises to.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eemgee:
Ah all those years and I've never known that could be done. I guess if been lucky!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nicolap8:
Tried the last image: doesn't work!

Can boot, decodes data partition but was unable to start an installation and to backup a partition.

In all cases it remains blocked after "Updating partition details..."

No response to "Cancel" button (but it's sensed/pressed).

Edit: also with previous image I'm not able to do backups!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Apparently the encryption still gives Nick headaches... I'll stick to the official TWRP. I'm not encrypted anyway. I have nothing to hyde on my phone ;)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PunchUp:
That's strange. I just tried and everything works fine
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nicolap8:
I've to say that all test was done with last stock: NPN25.137-93 on XT1685.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PunchUp:
That could perhaps be the problem then. I have encrypted using AEX 64 bit and as I can see on Nick's github, the latest image uses 64 bit blobs to fix the encryption issue.

Not sure though. Wait for his reply
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
For stock, use the 32 bit twrp from the other thread. I can't let both customs and stock work
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nicolap8:
So the "OFFICIAL" is a mess or you only forgot to update the first post with this small info?

:D
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
What? The next official build will have it
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
The 'official' installs a 32 bits Lineage 14.1 just fine. Aswell as the 64 bit Lineage 15.1 and other 64 bit roms. I don't know about stock or encryption. Both are permanently banned from my phone!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nicolap8:
I know that (a lot of) people dosn't read the first post but that is the place where important informations must be written.

Eg.: "Warning: this version DOESN't work with encryption."

or

"NOW the encryption is supported."

I, also, know that updating the docs is a work but... a good documentation help the users, who try to do some support and... you!

Thanks :good:

PS: do not take it bad, my real name is **** ;)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
It isn't supported in the official version yet. So I don't change the OP until then.

Don't tell me what to do and get out if you don't like it
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eemgee:
I'm trying to boot in to TWRP to back stock up but it's hanging on the splash screen, any idea what I'm doing wrong?

The other question is, will a normal back up back the efs file up too?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] శ్రీశ్రు:
1 ) A 64bits MultiROM TWRP is available here : drive.google.com/open?id=0B6...Gp2V2ZBRV9TVU

2) Official site dl.twrp.me/potter/

3) Moto G5 Plus Announcements, [22.01.18 13:12]

TWRP with time and date fixed:

moto-roms.netlib.re/twrp-3.2.1-1-potter.img

4) Let's try again with encryption twrp-3.2.1-1-potter_crypto.img on this thread.

I have downloaded file in option:3 (3.2.1.1) and option:2 (3.2.1.0). Which file is the latest and stable? Should I use the file in option 4 as my requirement includes disk encryption support between potter Lineageos 15.1 builds I intend to flash every week or so.

Update:Was able to flash 3.2.1.0 and use recovery.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eemgee:
Fixed that by taking advantage card out but seems to be hanging on updating partition details now..... Unless it takes a long time.....

Edit: after a hour and a half I've given up on it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
Answer to second question is no. You have to enable it
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eemgee:
Thanks, found that when I scrolled down.

I still can't back anything up though, it just hangs at "updating partition details "
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Subhabanner:
Twrp password error

Twrp is asking for decryption password..I can't able to mount the storage...all are showing 0mb
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
Anybody please tell me what to backup in recovery,as many options are coming for eg recovery,system Img....anybody please send me a screenshot of what to mark and backup in recovery... please help me
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pss34:
If your data encrypted, there is no way with new 64bit twrp. The only thing you can is to copy needed files in rom to external sd. Or clean data and leave it unencrypted until twrp get fixed.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Backup the entire stock ROM to be on the safe side
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
But bro what we have to tick ,as many options are coming
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Post a screenshot of the options
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
Bro I have taken screenshot but it is not showing in file manager .
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Look in Pictures folder in SD or Internal storage
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
Bro I have goot screenshot now ..please tell me what to backup up for a perfect backup
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Can I see the rest of the options as well? There are some more options if you scroll down
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
Can anyone suggest me the best Rom for moto g5 plus... Stable.. And with all features.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pss34:
All code sucks :D

You need to walk your own way to find the best ROM for you. I'm trying different ROMs for several month :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aksh295:
But any good rom with all the functionality... Please bro tell me, and also rom that support substratum perfectly
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
Pixel experience
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] chankruze:
Curious Q.!

CAN I FLASH twrp-3.2.1-0-potter.img without flashing previous builds ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
Yes, and don't quote the OP.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kavstubh:
Not able to see the internal storage when in TWRP (on PC)

Hi,

I just unlocked the bootloader of my Moto G5 Plus.

Tried to install the recovery using fastboot.

Booted into recovery to flash Magisk and Lazy Flasher.

-In every tutorial that I saw, it is mentioned to

transfer the files (Magisk & Lazy Flasher zip) from PC to the Internal storage of the phone.

But, my phone doesn't show up on my PC, when in TWRP ( It does when I connect while the phone has booted).

I needed to flash the TWRP recovery for every boot into the system( I guess it replaces TWRP with stock recovery or something like that).

Also, I needed to set up the phone for every time I flashed the recovery. (Because I Formatted data everytime)

Trying with TWRP "twrp-3.2.1-0-potter.img".

PS:

I have updated the drivers and the phone shows up in Device Manager too.

I don't know if this is the right thread to ask this question.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
You have to enable mtp in the "mount" option.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] chankruze:
Thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kavstubh:
Its enabled by default (In TWRP).

The same problem persists even after I "Disable" and "Enable" MTP. (Still not able to see the device on my PC).

Also, the TWRP is not available after I reboot to "System" and try booting back into "Recovery".

- I changed the driver in the "Device Manager". Then the phone shows up while in TWRP.

- TWRP works as I flashed Magisk now.

- Stock recovery is long gone! :D
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
burn in hell
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] chankruze:
hey man i had samsung devices previously...snapdragon os new for me ,don't think that you know everything.

Fix camera problem in gionee s6s if you think you are the genious. !:cowboy:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] monster1612:
Now, now, no need to start a flame war. ;)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
Good point. Some people would take that statement waaaaaaay to serious lol
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] AndroidBR:
Yeah, I saw there's official support for the G5 Plus and wanted to flash it on top of the 3.1.1.0 that I had from Santosh. So I downloaded the latest version and flashed, but after I rebooted TWRP, it always asks for a password... I don't recall adding any passwords so I'm a little confused... I went back to the old version and it stopped asking me for a password. Any help would be appreciated. Thanks!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pss34:
It seems like You have your /data encrypted. Official twrp is not encryption-capable. But it can flash 64-bit ROMs :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Inmortep:
So I could take the password from my bro:

Search on YT: TWRP TRAVADO PEDINDO UMA SENHA? COMO RESOLVER!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nightwo|f:
Decryption works for me on this version, thanks! My data partition was originally encrypted with stock and I've not formatted it since then, had been using previously working decryption possible build by Santosh that was mentioned above. The other 3.2.x versions failed to decrypt as well for me, the last one you attached works.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mikedolo:
u said the last lone works. which 3.2X version is that
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] toyesh.patra:
Sir, after i flashed this twrp, i was able to mount internal sd from twrp after decryption . But after that , when i flash a custom android 8 (tried xenon, pixel experience, cosmic) , when i reboot it to system, it again asks ---

"enter passowrd to start android"

When i give the password, it says---

"Decryption unsuccessful - the password you have entered is correct, but the data is corrupt."

I click the reset button after that, it goes to twrp and wipes the data partition, but after booting the same thing happens again and again.

please help.. i lost my imei no. and i saw in some thread that i need to flash android 8 custom rom, to get beack signal and imei.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Klape:
Hi all,

After flashing last TWRP with the official app, it is not possible to boot into recovery. ROM: twrp flashable stock rom. Device: XT1685 reteu channel.

Regards

Klape
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] chankruze:
I flashed twrp version 3.2.1-0 & it did not work, I flashed it again with fastboot still stock recovery.

Then I flashed as I was thinking, 3.1.1-0 & it worked , then I boot into twrp recovery & flash 3.2.1-0 image.

Well now you should realise why I was asking...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DKaine:
So if we had originally installed the modified twrp by vache a while ago to root, we can flash official 3.2.1-0 over it without any problems?

Thanks!

dkaine

ETA:spelling
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Yes, and it's vache as in: La Vache Qui Rit.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] chankruze:
YES

yes, without any problems.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Lightning407:
Hello folks!

Probably my bad... but i'm quite confused right now.

twrp 3.2 doesn't work yet, 3.1 still does (which is intended for android nougat, or not?).

Does this imply that i currently can't flash any oreo rom?

Thx
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
3.2 works just fine, lots of people are currently on oreo.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrain2324:
I really do have to wipe my internal storage before testing out Oreo goodness because it asks me to decrypt my internal storage? If so, guess I'll need to backup my camera photo folder, my Zedge folder, ringtones, notifications and downloads then?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zkp:
[MENTION=5293805]GtrCraft[/MENTION] is it possible to make a bootable (non- flash) TWRP for our phone?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
You can boot the latest one just fine
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Archangel:
Just tried to restore a back up that I made and noticed that the date was like 1970 and when it restored it asks for my pin and when I put it in it says wrong pin?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] thedr34m13:
Flash this zip.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Thebear j koss:
Noob... Lol

Didn't know you had the moto g5 plus. I traded up to the g5s plus.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Archangel:
LOL what going on my brother! I traded up the Pixel for this and paid three times less, I have no complaints at all, esp with all the development going on here. I google'd,, like I should have in the first place,, and found out you can delete a few xml's in TWRP dealing with the lock screen and viola bypass lock-screen pin LOL Yup def noob moment
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
I had the 1970 date problem too but found it was fixed in the last couple of TWRP versions, so are you sure you're using the latest official 3.2.1-0?

[On the plus side, it sorta made me feel like a 20-yr-old again, the age I was in 1970! :cool:]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Thebear j koss:
Yeah I was going to buy a pixel 2 but for 700$ I got my Moto which is the best phone I have had since my galaxy s3. I love my cheap moto, I can't justify paying almost 1000$ for a phone, I wouldn't pay that much for my computer... Lol
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Archangel:
LOL yeah I am using that one oh well I restored like three times and all of then went fine so not a big deal just wanted to see if it was a problem for others.

---------- Post added at 09:47 PM ---------- Previous post was at 09:44 PM ----------

I hearya, I paid 700 for my Pixel 2 and just wasnt that impressed by it. Not when I can get a phone for 230 and it satisfies pretty much everything I need. I like the fact that it is cheap but doesnt feel or look cheap.Plus It has a huge dev community. Maybe the Pixel 3 will be better but doubtful. I will stick with Moto for a while and take a look at the Moto G6 plus when it comes out.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] bazinga137:
Would it be possible to have /oem backed up block-by-block as an image, just like /system? It's pretty much the only thing standing in the way of painless OTAs.

I wanted to do an OTA yesterday so I wiped the phone and restored a system image backup, which upon reboot auto flashed stock recovery as well. Then the OTA failed due to /oem being mounted before.

After I found some 137-93-4 system images I flashed just /oem, the phone started updating, but failed again at the end, updating everything except for /oem. Later I found out the system images were from retus, and I'm on reteu. The phone booted but I wasn't comfortable with a partially updated OS, so I restored the 93-4 TWRP backup, but now I have to wait for 93-8 system images to update because an OTA will brick my phone.

So how much work would it be to implement an image backup of oem?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] monster1612:
Seconded. I'm glad someone posted the retus 93-4 image, but would like to be able to not have to flash OEM manually and just back it up via TWRP.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Something like this?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I just tried it out. I don't actually see an option to backup the oem partition as an image. Feel like I must be missing something
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
You can't back it up as an image. (you can try to rename the backup file to .img) I enabled flashing oem.img
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
When you say 'flashing oem.img', I take it that that isn't through Restore (since I can't even see any files that I've named oem.img in the restore menu)? How is it flashed exactly?

---------- Post added at 10:02 AM ---------- Previous post was at 09:17 AM ----------

D'oh, it's through the Install menu of course, then Install Image.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gjobjo:
Hi, I tried to go back to stock rom but it failed, and when i Install TWRP again the phone boot first to Stock recovery every time, must press "start"(power butten), and when i reboot to recovery it goes to Stock recovery again and I must choose Recovery to start TWRP, how do I fix this?

PS: I found this and that fixed the problem: "fastboot oem fb_mode_clear"
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tomlogan1:
New to TWRP on Moto

I've used TWRP on my last 2 phones (Huawei) and after unlocking the bootloader, I would boot TWRP, make a nanroid backup of everything. Then I would wipe everything except the SD card. Following that I would flash TWRP and then the new ROM and GAAPS. I never encountered anything regarding encryption and just wanted to be sure my way of wiping everything without having to consider encryption will allow me to switch to a custom, and be able to backup and restore as I had done in the past.

BTW, Huawei is TERRIBLE about software support and upgrades so don't think Moto is the only manufacturer who promises and does not deliver.

Thanks.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] abhijit1998:
I installed TWRP recovery for Moto G5 Plus. Then i boot into revocery, wiped data, reboot to recovery done. But when I boot into system, then went again to reovery, stock recovery booted. Can anyone tell me about this?

I have done unlocking the bootloader today, i am using stock android.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ensboarder:
Did you find any solution ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Did you simply wipe data under Advanced Wipe button, or use the Format Data button where you type 'yes' after the red warning about losing all your data including internal storage? Coming from stock you need to Format Data (backup any personal data first!) on first TWRP boot after flashing, then reboot into TWRP once or twice making sure to swipe to allow modifications if it asks again, then it shouldn't go back to stock recovery. Also if you plan to root, installing Magisk before booting to system may help it stick.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] craigl14:
Has anyone tried this? A full restore of a stock TWRP backup with oem backed up, changed to .img and installed as image? Does it pass the "unmodified" test and allow OTA?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] bazinga137:
You can't "change" it to .img, it needs to be backed up sector-by sector, even the empty parts of the partition.

All the files need to be in the exact same position in memory as they are in a clean install. OTAs no longer copy files, they now overwrite specific memory locations instead (same ones on every phone). A regular twrp restore just copies the files, but not to the same locations as before.