yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] attack11:
Read the second post, its 32 bits
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Just to check, did you go through the steps following installation, i.e. open terminal, su, then props and follow the prompts?

If you did, could you try using the extended kernel?

https://xdaforums.com/g5-plus/development/kernel-extended-stock-kernel-rev-1-t3833814
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gronemng:
What do you mean, i install the module via magisk directly.

or are you referring to how i flash the rom? i just backup everything, wipe everything and flash the aroma 85.17.

did i miss something? or i just miss some steps :S

sorry for my english :P

ohhh just realize what you mean i will test that improve hiding right?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I'm referring to the steps following installing the module. So once it has been installed, you reboot, and then open a terminal and you're in the commands

su
props

After typing in props, you will be prompted with some options.

Select 1 - edit device fingerprint, then f - pick a certified fingerprint, 6 - Motorola, 6 - Motorola Moto g5 plus, then you for yes. Then reboot and try magisk safety net test again.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gronemng:
yep that did the trick :D

i though it was the "improve hiding" settings

thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Ok, so it is enough to just use magisk and that module. If future builds have this issue I might see if I can add an option to modify the fingerprint on installation.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] gronemng:
OK. Keep up the great work man
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] giociampa:
Nor me... Magisk on its own works - but Google thinks I have a Pixel, presumably because of the walleye fingerprints:

[ro.bootimage.build.fingerprint]: [motorola/lineage_potter/potter:9/PPR2.181005.003/39a2ec7319:userdebug/test-keys]
[ro.build.fingerprint]: [google/walleye/walleye:8.1.0/OPM1.171019.011/4448085:user/release-keys]
[ro.vendor.build.fingerprint]: [google/walleye/walleye:8.1.0/OPM1.171019.011/4448085:user/release-keys]

(I know that this isn't a stock build - but I'm guessing the same thing applies)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Yes that makes sense that it works with just Magisk if your fingerprint is already set to a known 'good' one.

For those that had issues with SafetyNet and don't want to install a magisk module on 85-17, give this a try from either a terminal or adb:

su
mount -o remount,rw /system
echo "ro.build.fingerprint=motorola/potter_n/potter_n:7.0/NPNS25.137-33-11/11:user/release-keys" >> /system/build.prop
reboot

After the reboot, check safety net via Magisk Manager again.

Interestingly, using the fingerprint from the previous Oreo build 85-13, didn't pass the CTS profile check. But for me at least, the old one as above is working.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Adding the fingerprint works but why does it not have a fingerprint in build.prop already?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
It's generated by a script on boot. In the file /vendor/bin/init.oem.hw.sh, there is a function set_vendor_config_properties that appears to do it using some of the other props.

set_vendor_config_properties()
{
local vendor_thumbprint=$(getprop 'ro.vendor.build.thumbprint')
local vendor_brand=$(getprop 'ro.vendor.product.brand')
local vendor_device=$(getprop 'ro.vendor.product.device')
local hw_variant=$(getprop 'ro.hw.variant')
local vendor_product
local vendor_fingerprint

if [ -f $oem_file ]; then
vendor_product=$(cat $oem_file 2>/dev/null | sed -n '/ro.product.name=/p' | sed 's/.*=//')
fi
if [ "T$vendor_product" == "T" ]; then
vendor_product=$(getprop 'ro.vendor.product.name')
fi

vendor_fingerprint=$vendor_brand/$vendor_product$hw_variant/$vendor_device$hw_variant:$vendor_thumbprint

setprop ro.vendor.build.fingerprint "$vendor_fingerprint"
notice "ro.vendor.build.fingerprint='$vendor_fingerprint'"
}
}
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Interestingly I tested a Lineage 16 build last night so I needed to format data to remove encryption. After testing I flashed Soak 1 then system from Soak 5 and now I am passing SafetyNet.

I verified no fingerprint is in my build.prop, it's very strange that it now passes.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eric.clay42:
Has Oreo been officially released on the G5 Plus yet, or there still some ongoing soak tests?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Not released in the US
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eric.clay42:
Thanks for the info, are there any issues with using it on a US carrier unlocked phone? It sounds like the build is universal based on the first page.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
This is a US based ROM so no issues.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] shibbu18111997:
Hi sir , i want to move on to stock oreo 8.1 but i am on stock latest android 7.0 with root and latest official twrp recovery and xposed framework sdk24 . So my question is after taking full backup of , should i flash twrp flashable oreo 8.1 oreo rom directly over stock 7.0 or i should wipe the system , data , cache and then flash the stock twrp flashable oreo 8.1 rom ? Thanks in advance:laugh::)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Minor updates

A few updates to the OP and FAQ:

I am starting to mirror all files on Dropbox, links are there in the OP.

The latest release (September patch, 85-17) in Dropbox, now has an optional tweak to change the build fingerprint (for those who had trouble passing safety net). I won't update the AFH version.

I have now made a separate zip for the Soak Test 1 firmware, refer to the FAQ post (this is for those who don't have their original persist). This is of course much smaller than downloading / storing the whole of the Soak Test 1 zip.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
Thanks for that firmware zip.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] agustinsaavedra1:
Hi, if iam full stock oreo and i want to flash custom rom (i updated via ota, locked bootloader full full stock) i need to downgrade to nougat?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Klape:
Hi,

Why should you do this?

1. Unlock bootloader

2. Install TWRP

3. Back up persist and efs

4. Flash custom rom, according to the description in the thread of the chosen rom.

Regards.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] agustinsaavedra1:
I made the question because that "Another potential issue is that, as a result of various partitions being updated, the new Oreo blobs may not be compatible with existing Nougat roms (stock or custom), or even current Custom Oreo roms. This may result in issues such as the fingerprint reader not working, etc. To ensure they run correctly, it is MANDATORY to install one of the latest Stock Nougat TWRP flashables. This will ensure that all affected partitions are compatible with Stock Nougat and Custom Oreo roms. You can get these from this thread here"
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] eric.clay42:
[MENTION=7346927]NZedPred[/MENTION]

Thanks for making these zips. I've finally got my phone working again thanks to you. Originally I was trying to follow the guides for taking OTAs by reflashing the stock kernel for each new OTA and then reinstalling Magisk, but it seemed like every time I did that I would inevitably have to reflash the full stock firmware (which was often hard to find), do all the updates, and then reroot the phone which was a major pain and ended up causing some weird issues like random reboots and app crashes.

I was debating between installing this and your TWRP flashable Nougat rom but ultimately ended up trying this and I'm glad I did with some of the new features and fixes in Oreo.

Your zips worked flawlessly and I'm now running Oreo with the ElementalX kernel and Magisk (and safety net even worked right away without issues). Really like the optional tweaks in the Aroma installer for enabling the camera2 api, now I can finally shoot RAW on my phone.

Thanks again for all your great work!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rjherms:
This is a flashable stock thread. You want custom roms go to one of those roms posts.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] roshuraut:
Please help my moto g5 plus was hard brick and recover by blank flash now my device running on twrp stock rom official . I have also fastboot stock rom file but i unable to lock my bootloader by using fastboot command and also moto g5 plus toolkit . Can anyone tell me how to lock my bootloader and install stock oreo rom without loosing imei and volte. Thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
There are other threads that deal with locking the bootloader - have a search through the forums. This is just for TWRP flashable builds, and you cannot lock the bootloader with these.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] roshuraut:
I know but i am unable lock my bootloader using full fastboot oreo rom file
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
And to say it again, you cannot lock the bootloader with these builds. Locking the bootloader has nothing to do with this thread. Please take your question elsewhere.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] wiceqq:
After updating to Oreo via TWRP and installing magisk in order to pay via google pay, I'd like to keep up with official OTA updates. How to get rid of twrp and replace it with stock recovery image?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Breakthephone!:
I'm getting error 7 while trying to install Release keys showing as .
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rajeshkoshti:
This really helped. [MENTION=7346927]NZedPred[/MENTION] is the reason many users have securely flashed custom firmware of their liking and got out of adventures of flashing troubles.

Keep it up man.:good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Vidhey1707:
Steps to flash oreo stock zip through twrp? And does one looses twrp after flashing stock oreo
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
Can someone help me, please?

Sorry for my poor english.

Here is my story: I was on stock nougat, then I had unlocked my bootloader, flashed firehounds oreo custom ROM and after that I have flashed Arrowos 9x (Pie). I have to flash Oreo stock ROM, to make new Arrowos build working fine, so I flashed this Oreo stock through TWRP,with Erase EFS and disable encryption options. When my phone has started, touch screen was not working, even in TWRP. So I started searching on forum and found a guide to flash stock Oreo through fastboot, without these 3 commands:

flash modem NON-HLOS.bin

erase modemst1

erase modemst2

And after reboot, my touch screen was working fine. Can someone tell me, what I did wrong? I think it has something to do with Erase EFS option or not?

I think that my EFS or Persist partition was intact, because I had no lost IMEI or no Fingerprint sensor issues, so why can not I erase it?

I need to know this, if I will returning back to stock Oreo and I do not want to have troubles with touch screen again.

Thank you.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
please let me how you resolved the issue? what are the commands you used to flash image from the TWRP
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Limatime42:
Hello and thanks to everyone involved! I am running a Pie based custom rom coming from an Nougat base and would like to just go to stock Oreo. I have a few questions and Google is sending me down a few rabbit holes. Would anyone be kind enough to confirm a few things for me?

1) Do I need to do anything special to flash an Aroma zip? The OP says flash through TWRP but do I need "Aroma Installer" or anything as a dependency? I have TWRP 3.2.3-1

2) Do I flash Nougat first? I ask because a very big chunk of the OP is Nougat related. My takeaway is "backup EFS and Persist, but you shouldn't have any problems with Oreo"

3) Should I stop overthinking things and just "flash the zip"

Thanks in advance!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
You have the same issue?

I flashed Oreo from here:

https://xdaforums.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433

There are all commands you will need, but you must omit 3 commands, which I mentioned in my previous post.

You must flash it via fastboot, not in TWRP!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Thanks [MENTION=9264731]DVele[/MENTION] for quick reply, when I am doing adb devices I can see my device but it is not happening for 'fastboot devices' hence I can't flash anything using fastboot. Please help.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
Are you in fastboot mode? Turn off your device by holding power off button - it will exactly restart, not turn off. When you will see black screen (your device is turned off) immediately press and hold volume down button, your device should start in fastboot mode.

Now you can flash Oreo via fastboot.

This is how I did it and was working for me, but do it at your own risk, please.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Thanks a ton for help, it worked.

Could you please let me know now I can flash arrow's latest build without any issue right?

Just need to do a clean flash right?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
In my case I did clean flash and after that I recovered my backup in TWRP.

I also had to format my data, because I forget to turn off encryption, so backup your data just for safe before flashing Arrowos.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Thanks again, appreciate your help.

My data has gone now in the process, not sure how. I will flash the Arrow now.

I really thankful to you, this really saved me.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
You are welcome.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Can you please help one last time. Let me know how did you turn off encryption- i can't do it from phone or TWRP.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] blackroseyagami:
Ok, pardon my noobness if anyone could educate me.

I had my 7.0 Potter phone, I installed Custom Lineage 16 ROM.

If I want to go to stock 8.1 do I need to flash Nougat first then Stock 8.1?

What am I missing here?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
There is TWRP flashable zip to do this, it is calling disable dm verity, try to search on forum or just click on Format data in TWRP, it should be working.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Limatime42:
Alright so I flashed anyway and everything works, except for the touchscreen. Any ideas how I can troubleshoot?

Edit: I am using a keyboard and mouse. Touch is literally the only thing not working. Same applies in TWRP

Edit#2: Fixed! Gave up on the scavenger hunt and used fastboot.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Thanks.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Hello [MENTION=9264731]DVele[/MENTION],

Could you please help me how did you encrypt the storage, as I have tried everything but nothing is working. Please help...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] DVele:
Look here: https://andi34.github.io/faq/faq_twrp.html

I have to do this 2 or 3 times, because of some error message. I have just clicked on Format data in TWRP, typed yes and rebooted my phone and did this steps again and again...

Maybe you can use some fastboot command, try to google it...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] 14C:
Thanks this worked really well.

Thanks a ton.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fivefour:
The last 18 or so posts should be moved, they are not relevant to this thread.

Glad you all got a resolution.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sherry9873:
can i downgrade from stock oreo to stock nougat through twrp ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
I've done a downgrade myself and it was fine, but I did a clean flash. Generally you don't want to downgrade a major version.

Edit: This post was missing a couple of words. For completeness/correctness it should have said:

Generally you don't want to

dirty flash

downgrade a major version.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sherry9873:
should I downgrade through fastboot or twrp I don't want to brick my device (reason to downgrade is after installing Oreo I am not able to use fingerprint scanner and NFC on custom nougat)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
In that case you want to read the first post of this thread, particularly the section entitled "Important information if downgrading to Nougat and Custom Oreo roms"
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sherry9873:
ok so can i use this one potter-twrp-flashable-NPNS25.137-92-14-aroma.zip ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] stark1296:
Download stock firmware on PC and the appropriate windows batch file and flash the stock room via PC.

(I hope you know how to do it).

Also, you'll need to flash twrp again after this and your internal storage will also be wiped.

EDIT: I just noticed that you have already done it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] bishal360:
Is retin for Indian users?

Is retin for Indian users?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
Yes
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Tadango:
I am running PE 9.0 but have lost NFC. Can i dirty flash this rom, boot it and then flash PE 9.0 again to fix NFC? Or is there a flashable zip to fix the NFC issue?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mrkblo:
There's no flashable zip to fix the NFC (only that one for fingerprint, posted on the ArrowOS thread). If you want NFC to work, I'm afraid you will need to flash the stock rom and then reflash PE 9.0.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Tadango:
But does it mess with my data? I have no space left for a backup :(

Verstuurd vanaf mijn XT1685 met Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mrkblo:
Well, the OP recommends a DATA backup, so that would be the correct step to make. Considering that there's no forced encryption on the Stock Oreo Aroma Installer but there is encryption on PE 9.0, which I dont know if is enforced, you might run into a non bootable stock oreo rom if you dont format data. But I'm not sure if you need to boot to stock oreo or only flash system, oem and other partitions. Grab a flash drive and an OTG cable, and avoid problems.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Tadango:
Yes, i think i will live without NFC for now. Without a backup this is to risky :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dunderball:
Thank god for this thread. It is impossible to go from a custom oreo rom and back to stock nougat -> stock oreo. The flashable rom does the trick. I'm hoping this helps in moving onto custom Pie roms.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] AnasElInmortal:
I installed the oreo firmware but I am getting a bootloop
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Just to correct a couple of things. The aroma installer gives you the option to disable dm-verity and forced encryption (under apply patches). Regardless of the setting, you can still use the phone encrypted.

I would also think that custom ROMs generally do not force encryption, but some have problems with it.

When going from any ROM to another however, your safest bet is to do a clean flash. The only exception would be if the ROM is designed to go from one to another, such as stock nougat to stock Oreo.

In terms of what the poster you replied to is trying to achieve though, perhaps only a flash is required, then installing the custom ROM. I'd play it safe though and backup, clean flash, and reboot. Taking shortcuts may work, but may not...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Do do you mean just the firmware, or the full rom? If you mean the full rom, did you do a clean flash? If just the firmware to try and get a custom rom working, best you ask in the custom ROM's thread what should be flashed and how.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Tadango:
Yes, save is better :) But it should be possible to just flash the firmware right? I can extract it from the package and just flash it with fastboot?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Yes, that would work. However, the aroma installers also give the option to just flash firmware (well, modem, fsg, and dsp partitions - they all relate to connectivity etc). Also, if you look at the FAQ (second post - refer to the question "On soak test 2 or later, I have my IMEI but no signal. What can I do?"), there is a firmware-only zip which would also be suitable for such purposes.

Anyway, this is starting to stray towards getting off topic for this thread, so I won't feed it any further...
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] AnasElInmortal:
I do a clean flash, but after install the full stock, touch screen does not work.

Full stock oreo works on XT1680?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Yes it would work on that model, but for some reason the issue with the touch screen happens every now and then. Really don't know why...

Anyway, you'll probably have to flash the full stock rom. You could try this thread:

https://xdaforums.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Vicrol123:
Did you replace the phone's screen?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] AnasElInmortal:
No, I didn't, touch screen worked after install stock nougat and after intall stock oreo from this thread

https://xdaforums.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] TheAntItaly:
XT1685 (Italian)

Hello, I'm a little bit confused. My G5 Plus is XT1685 (Italian). Exactly, which file can I download to upgrade from stock Noguat to stock Oreo via TWRP?

Thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] stark1296:
Read the OP carefully.

It is clearly stated under the heading "differences from previous nougat builds" in first statement that in Oreo, there are no separate firmwares for different regions

COLOR="blue"]Differences from previous Nougat builds[/COLOR]

These roms are suitable for all channels. Previously there was separate firmware for different regions (e.g. retin had a separate build from retus), but it is now clear that this is no longer the case.

The above paragraph has been taken from OP.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rmajc007:
Flashed successfully

Due to number of issues found in this thread I have been postponing this update over and over.

Yesterday I finally made a full backup, applied persist fix, crossed my fingers and dirty flashed Oreo over the latest version of stock Nougat.

So far everything seems to work OK. [MENTION=7346927]NZedPred[/MENTION] thank you again for an excellent job.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
The majority of the issues posted are related to people not reading the OP thoroughly or not following the instructions as posted. I have been using the Oreo TWRP flashable ROMs since the first one was posted without any problems. Glad to see you took the leap. :good:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Anshuman2967:
Safety net fails, some of the apps shows that we can not very safety net by google when try to attach otg finger print machine ( Used to provide new sim cards to customers).

Please its very necessary for me.