yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
Working! Thanks a lot! :good:

Suggestions for the "next" release:

- OEM partition dump (like "system dump").

- Identified as version '3.1.1-5'

:highfive:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
U have a personal reviewer nice
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
You still not happy...

You can backup and restore OEM, you don't make dumps with twrp backup.

And I told already why version is wrong.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
I rather didn't want him
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] soaringowl2145:
So what will it take to make this official and put on twrp.me download section?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
:highfive: Peace... it's only a suggestion for a (posible) "future" release!

I'm quite confortable with the last version.

Thank you! :good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Santhosh M:
Upvote for the changelog :p ;)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mikeandrd2292:
How do I update twrp to this?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] EdgA#1:
Flash the Image in twrp,choose flash Recovery and go

Gesendet von meinem XT1685 mit Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
Click install and then change from zip to image and then find the twrp image and flash it
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mikeandrd2292:
Weird. I clicked on install image and nothing is there.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manos78:
And the OTA guide is now up:

http://xdaforums.com/g5-plus/how-to/guide-complex-ota-update-magisk-rooted-t3688175
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
Download the img file. Boot into TWRP. Hit install image (same place you go to flash a zip). It will switch to the image file. Select and flash. Reboot recovery. Done.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mikeandrd2292:
The image doesn't show up.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
You may also need to tap the Select Storage button to switch between Internal Storage and external SDCard depending on where you put the IMG file. If you didn't specify a certain location it could be in your Download folder under Internal Storage so maybe check there.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] e23eba:
I,m use flashify

it's working [emoji2] [emoji2] [emoji2] [emoji173] [emoji173] [emoji173]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mikeandrd2292:
Yeah it's in my downloads folder but isn't showing up. Is it because it's a zip file when I download it from here?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Yeah, that's the problem - the one from the OP comes as a zip so you'll need to extract the .IMG file first.

I'd recommend the bottom choice from this post which is newer and downloads as a .IMG just click on the link.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
Hi, i flashed ur version of twrp, but im stuck at No command screen. I cant seem to boot recovery, it gets stuck at No command screen then reboots. ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Then you didn't flashed it
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
But i flashed it through fastboot. Idk whats the problem though. Any ideas/suggestions?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Wyvern1998:
Need help guys

Phone keeps rebooting back to recovery after i unlocked bootloader and installed twrp normally. Please suggest what can be done.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
You didn't flash it. 'No command' screen indicates you are on stock recovery. Did you unlock your bootloader prior to flashing TWRP? Which fastboot command did you use?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
Yes my bootloader is unlocked and I used the command fastboot flash recovery twrp.img.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
And twrp.img was the full filename? What was the output on your computer screen when you gave this fastboot command? (For instance, on my Linux computer I'll have give the commands as root). And what version of fastboot did you use?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Diehardshorty:
try booting the image without flashing it

recoveryFILEname.img obviously the recovery image location/name goes there

fastboot boot [COLOR="Red"]recoveryFILEname.img[/COLOR]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] carloandreaguilar:
Potential bug

Cache partiton is almost always at 0mb.

I have tried chaning the file systems and changing it back to ext4, repairing it, wiping it.

When i wipe it, sometimes i come back to TWRP and it has some memory, like 15mb or so.

but then i come back later and its at 0. It this twrp not recognizing the cache partition? what is going on
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
I renamed the file to twrp.img. And the result was normal, no error afaik. Idk about the version tho, 1.4.3 i think, not sure, ill have to check when i get back home.

---------- Post added at 10:01 AM ---------- Previous post was at 09:58 AM ----------

I tried that right after flashing the recovery, but it wont boot as well, its stuck at twrp logo screen.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Try it on Linux (Ubuntu): first install fastboot 'sudo apt-get install fastboot' (it'll install all the dependencies like ADB aswell). Then go to the directory where you have your twrp.img file. Open the terminal in that directory and give your command again as root (sudo fastboot flash recovery twrp.img).

And sorry, I don't know exactly how to do this in windows. I don't use that. It's more complicated. I think you have to install extra drivers and use a special fastboot called mfastboot (motorola fastboot). Furthermore you'll have to put your twrp.img file in the same directory as where you have mfastboot installed.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
This method is a little unnecessary imo. Personally, I wouldn't install Linux just to flash TWRP onto my phone :p

If you're on Windows (which I'm assuming you are) you can download mfastboot from https://androidfilehost.com/?fid=95916177934532795.

Unzip the folder, move the TWRP image to the folder, and open a command/PowerShell window inside it. Then, all you have to do is run the same commands you did earlier, only with "mfastboot": mfastboot flash recovery [filename].img
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
I can understand that, but I assumed most hardcore XDA ers already have a Linux distro running [emoji12]. But of course I could be wrong [emoji15]... Just sharing my knowledge the way I know best!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
Yep. Thanks for not taking it the wrong way, haha.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
So moto devices need a special fastboot and adb to flash stuff? I've always used minimal adb and fastboot for flashing ROMs and recoveries.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
Same result, stuck at No command screen. And when i try fast boot twrp.img, its stuck at twrp logo screen as well. Or is it supposed to take that long? Literally 10 mins stuck.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Are you sure your bootloader is unlocked?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
Yes, i think, because I got the "bootloader is unlocked" warning screen when i boot up, but it says "ID:bad key", idk if thats normal or what.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Maybe the downloaded twrp file is corrupt. Try to re-download it. And do you have a right twrp for potter?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kryptonify:
Yep, i redownloaded it and worked! Am now using RR ROM. What rom do u use btw?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
I'm actually using 3 roms. I'm using a special twrp (https://xdaforums.com/showthread.php?p=72266654) which allows me to run multiple roms. At the moment they are: Stock rom (Nougat), AOSP Extended (Oreo), and LineageOS (15, Oreo). All working fine. What do I like most? I tried about every rom there is. But I always keep coming back to LineageOS... That's the rom I use the most!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] matttbe:
Hello!

First, thank you for supporting this recovery rom for this phone!

I am using the latest version from Gtr Craft released the 9th of October. I was able to flash LineageOS 15 Oreo. Then I encrypted my data partition from Android settings. Everything went well, I can boot, etc. Nice work!

But I am now unable to mount my data partition from TWRP. From TWRP, I don't have more information, I would need to connect my phone to a laptop to have some debug.

Could it be possible that encryption setup from Oreo is not supported?

I saw that TWRP had to be updated to support the new encryption for Pixel 2. I didn't check the source code yet (I didn't see a ref to the code of Gtr Craft but should be somewhere in Github I guess)

Cheers,

Matt
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
My twrp doesn't support encryption
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
My TWRP doesn't support encryption
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] matttbe:
Thank you for your reply. Sorry I didn't know about that.

I don't know well what is the architecture behind TWRP (kernel and OS) but from what I quickly saw on your Github repo, there is no clear reference to TWRP repo on Omnirom Github. Is your version based on their "android-8.0" branch? (or does it use it?)

Or does it need additional development specific to this phone?

Thanks,

Matt
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
It's built on android-7.1 with minimal TWRP manifest
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] matttbe:
Thank you for this info!

I guess it is not obvious to switch to android-8.0 base. I don't know when I could have a look but I am interested by knowing more about that!

Thanks,

Matt
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] helix0203:
I had the same problem, other TWRPs were also not able to mount storage(why would they). Will flashing stock again solve it?

Edit- i am one of twrp flash-able stock(67-5).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
TWRP 3.1.1-r5 is here:

-Need someone to test encryption/decryption in TWRP

Reuploaded Again with fixed sd (for real now) and version number
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aaronrw:
I'm off to work or I would test for you...I'm sure in the next 8hours someone will. Thanks for keeping us all up to date bro.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] robalbino:
I tested the new trwp 3.1.1.5 it does not recognize the sd card
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sjrmac:
[MENTION=1829889]vache[/MENTION] gave me permission to submit TWRP to be official for this device and I got that done last night. TWRP will be using his android-7.1 branch from his trees in the Omnirom vendor. I've also submitted the device for official LineageOS support as well, so our vendor blobs for this phone will hopefully merge into TheMuppets GitHub for easy syncing. Where are your sources linked to for working on TWRP?

Thanks,

SJR
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Redownload
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
You talking to me?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sjrmac:
Your the main Dev here :) sorry I was not clear, my apologies!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
Didn't test encryption but it shows the correct version and sees the SD card, plus it now looks great too!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Well I dont get why I dont get a reply back from the TWRP devs and you do. I would like to get write access to that tree if you want to use mine.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
I know it looks great but I need to know about encryption
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sjrmac:
Have not gotten a reply back yet. Waiting my friend... Wrote that last night. We can figure it out. You have telegram?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Yup
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sjrmac:
Cool, message me on telegram. Username is [MENTION=4363397]sjrm[/MENTION]ac. Let's make this official :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] matttbe:
Thank you for the new version!

I just checked with my phone encrypted from LineageOS 15 Oreo. I now have a screen to decrypt the data partition but it times out (no more details from TWRP). Unfortunately I don't have any SD Card to export logs.

Could I do something else to help?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] aaronrw:
Is this link the newest new .IMG? Thanks [MENTION=5293805]GtrCraft[/MENTION] donation soon bro you on fire
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] robalbino:
I do not know if and as it goes more use decrypt data in the stock rom and worked, at least in the image below shows that it is not encrypted. Thank you for the great work..:)

my image does not open here sorry
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Logcat
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Karlinski:
Recently, I have been unable to do much or anything in TWRP. I cannot seem to find anything to the system partition, although flashing kernels and such seem to work fine.. I get various 'system is read only' type of errors when trying to flash. When trying to backup, I get a failed to create fork with error code 255.

The only thing I can think of is that I installed Xposed recently. I cannot even run the uninstaller, as it doesn't flash. Any ideas on what to do?

Error still happens on the latest r5 version, FYI
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eduardorfbastier:
here recognized the SD card normally
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] matttbe:
I cannot have a logcat at this stage:

logcat read failure

But dmesg is telling me that one binary is missing

<3>[ 55.251743,0] EXT4-fs (mmcblk0p30): Unrecognized mount option "noatime" or missing value
<6>[ 55.254407,0] EXT4-fs (mmcblk0p30): mounted filesystem with ordered data mode. Opts: (null)
<7>[ 55.254433,0] SELinux: initialized (dev mmcblk0p30, type ext4), uses xattr
<3>[ 55.268863,0] EXT4-fs (mmcblk0p19): Unrecognized mount option "ro" or missing value
<6>[ 55.273499,0] EXT4-fs (mmcblk0p19): mounted filesystem with ordered data mode. Opts: (null)
<7>[ 55.273518,0] SELinux: initialized (dev mmcblk0p19, type ext4), uses xattr
<11>[ 55.273887,0] init: avc: denied { set } for property=ro.crypto.state pid=398 uid=0 gid=0 scontext=u:r:recovery:s0 tcontext=u:object_r:vold_prop:s0 tclass=property_service permissive=1
<13>[ 55.273983,0] init: Starting service 'sbinqseecomd'...
<11>[ 55.274620,4] init: cannot execve('/sbin/qseecomd'): No such file or directory
<13>[ 55.274868,0] init: Service 'sbinqseecomd' (pid 445) exited with status 127

While this binary exists with exec permissions for root user:

~ # ls /sbin/qseecomd -l
-rwxr-x--- 1 root root 18240 Jan 1 00:00 /sbin/qseecomd
~ # /sbin/qseecomd
/sbin/sh: /sbin/qseecomd: not found
~ # getenforce
Permissive

Maybe something to do related to SELinux (I have no idea how it has been configured in TWRP)? strace is not available to get more info why sh doesn't want to execute it.

Matt
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] shadowxp13:
So we're already in TeamWin's Jenkins? That was fast

EDIT: Builds are failing though.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Great help, can you try this image? Or anyone else with encryption?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] KingCartman:
It asks me for a decryption password but i didnt set one. If i skip that the internal storage is shown with 0MB. Is that a bug? [MENTION=5293805]GtrCraft[/MENTION]
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
You are running my latest image? If you have you must have a pincode setup. Otherwise, wipe data partition
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PSMDRT:
Hi I was trying to use this method in my Moto G5 Plus which was stuck in bootloop. I got this response. Could you please see what went wrong?

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.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.406s]

writing 'recovery'...

(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.422s
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] standard notebook:
Alright dude you are busy here.

*Rovage*

your friend
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] matttbe:
Thank you for the new image.

I have very limited Internet access but I did a quick test and still the same message in DMesg and the timeout:

<3>[ 9.643629,0] EXT4-fs (mmcblk0p30): Unrecognized mount option "noatime" or missing value
<4>[ 9.645938,0] EXT4-fs (mmcblk0p30): warning: maximal mount count reached, running e2fsck is recommended
<6>[ 9.646194,0] EXT4-fs (mmcblk0p30): mounted filesystem with ordered data mode. Opts: (null)
<7>[ 9.646207,0] SELinux: initialized (dev mmcblk0p30, type ext4), uses xattr
<3>[ 9.662771,0] EXT4-fs (mmcblk0p19): Unrecognized mount option "ro" or missing value
<6>[ 9.667905,0] EXT4-fs (mmcblk0p19): mounted filesystem with ordered data mode. Opts: (null)
<7>[ 9.667925,0] SELinux: initialized (dev mmcblk0p19, type ext4), uses xattr
<11>[ 9.668278,0] init: avc: denied { set } for property=ro.crypto.state pid=405 uid=0 gid=0 scontext=u:r:recovery:s0 tcontext=u:object_r:vold_prop:s0 tclass=property_service permissive=1
<13>[ 9.668369,0] init: Starting service 'sbinqseecomd'...
<11>[ 9.670341,5] init: cannot execve('/sbin/qseecomd'): No such file or directory
<13>[ 9.670926,0] init: Service 'sbinqseecomd' (pid 442) exited with status 127
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] chanta96:
problem with twrp

i have a problem i flash the debloated moto g5 plus rom, install an ota, but never boot again, i wipe sytem cache an etc, install the system new again, but every time boot to twrp, some solution? plz
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Jrhotrod:
You can't install OTA updates with TWRP. You'll have to flash stock recovery to successfully install them.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] KingCartman:
To solve that problem you need to Flash the stock rom. But a temporary solution for me was to select in twrp reboot to bootloader. And from the bootloader you can press "start". Your device will boot then.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] PSMDRT:
This is exactly what the problem with my phone is. I've requested in the forums here https://xdaforums.com/g5-plus/how-to/motog5-plus-stuck-bootloop-t3695184 and have been trying various solutions. Could you please point me to the correct stock ROM file?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] TheFixItMan:
we solved the problem of the phone booting into recovery instead of booting normally and can only be started normally through the bootloader on the G5 a while back - this will work as long as your misc partition is the same - if not just amend it

https://xdaforums.com/g5/how-to/fix-phone-reboots-recovery-mode-started-t3705325
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Codenaam:
Well, finally got a rom after unlocking an install of twrp. I flashed with adb and now everythings seems to be working.

One thing still bothers me, when i restart it says:

your device has been unlocked and can't be trusted.

some link to learn more and then: Your device will boot in 5 seconds.

It boots to twrp :(

I have to go in bootloader mode and press start to load my rom.

Is there a solution for this problem?

I searched but cannot find this specific problem
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ST Dog:
Really? Try the post just before yours in this thread.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Codenaam:
Oh, thought that was a g5 solution not for g5 plus.

Will try, thanks!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Yousie642:
edit: ignore. wrong thread
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ST Dog:
Same concepts apply.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] spiritflare01:
Tried this (Moto 5g plus) but got the enter password prompt and encryption failed. So I had to wipe data which left me with no factory image ? and thus no way to put on a file via USB. I used adb push to place lineage on and flashed.

Now it's okay.

Twrp on my Moto 2015 (osprey) never had this issue.. so not sure why it fails.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] joshndroid:
Thanks to you guys i gave this a whirl and it works just fine on potter. (y)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] abracadabra11:
Is there a version of TWRP for 64-bit ROMs that also has decryption working properly?

The official 3.2.1-0 version (from https://dl.twrp.me/potter/) doesn't decrypt.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] KingCartman:
I think that for now theres no working release. But [MENTION=5293805]GtrCraft[/MENTION] is working on it I think. Maybe he can solve youre question as the official maintainer.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dj611:
Other than having unlocked the bootloader my phone is stock. The question I have is when I flash this TWRP onto my Moto G5 Plus and boot into recovery for the first time, if I don't "Swipe to allow modifications for /system" will I be able to perform a successful nandroid backup that can be restored if need be or do I have to first allow the modifications for /system? I'm planning on flashing LineageOS 14.1 but want to have a fresh go back if things go wrong. Sorry if this is a dumb question but I'm coming from an iPhone and didn't see anything in my searches. Thanks!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Cronoss:
Guys, is the version over at https://dl.twrp.me/potter/ safe to flash?

I'm guessing yes, but I'm asking just in case.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] KingCartman:
Yes
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 42o247:
i just got a used xt1687 and it was rooted with twrp installed. the previous owner was getting stuck at the bootloader loop which i resolved by flashing the most recent official twrp 321 and the december stock firmware. fixed the bootloader loop.

so i tried to install aicp 13.1 and now i am getting stuck at the aicp logo. i tried with system modifications and without. tried all the verity zips. tried the supersu zip (fails at patching sepolicy). tried wiping data. tried magisk.

what did i do wrong?

edit: as soon as this posted my phone booted
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dyke67ny:
Failure to mount

Hello.

I've been attempting to install a new rom using TWRP.

While trying to do a factory wipe, I'm always met with "Failed to mount system (operation not supported on transport endpoint)." Failed to mount cache (operation not supported on transport endpoint)." "Failed to mount data (operation not supported on transport endpoint)." Unable to mount storage.

I've attempted to install the rom without doing it & when I click to install, the phone reboots to TWRP.

Can someone please help as I don't know what to do now.

Thank you!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Wolfcity:
Did you try the official TWRP?

https://twrp.me/motorola/motorolamotog5plus.html