yashsingh1/xdaforums huggingface dataset:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Last note for the day. Please let me know if NFC works, so that I could remove BETA tag from title tomorrow morning my time.

Thanks for all your support. Have a great day.

Regards

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Stupid me, is just have a Nexus 5 and can use android beam.

Send a image form nexus 5 to moto g5s with NFC.

NFC works!!!!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FAFAŁ:
Yep for me work .

sending a file to another phone was successful .

I installed versions from the nfc folder:

lineage-14.1-20180117-UNOFFICIAL-montana.zip

Runing in xt 1794 as a clear instalation
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
For now, dirty flash (both nfc and non-nfc) resulted in bootloop.

I'm taking a backup and will try a clean flash...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
The ROM is beta and there are a lot of big changes in kernel, device and vendor tree. At this point you can't do a dirty flash.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
My first dirty flash was from 2017-01-11 to 2017-01-14 and it worked.

Anyway, I'm restoring from TB and I'll see how it goes :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Kernel changes are to support fingerprint sensor as home button. There are changes related to dt2w as well. Double tap to wake changes could be reverted back. That would make kernel changes minimal.

Clean flash shouldn't end up in boot loop. If so please let me know.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Membrillo007:
What do you mean with OMS support? Themes are not working? (Compared to stock ROM)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Current one is plain lineage. Theme support needs to added as extra.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
this is screenshot，display boot failed, please help me, I really like LOS.

Thanks:victory:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
install the stock rom and then start the whole procedure again, twrp> rom> flash.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
I retry it, but still failed boot. My phone model xt-1799-2 , it is for China.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
I already look for rom for your model, but they are nonexistent.

Did you make the wipes before flashing the rom? try with sevenmaxs recovery, I find it works better.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ShattrdChain:
Dude, it's the wrong phone. Moto xt-1799-2 is not the Moto G5S we're talking about here. Your phone is a completely different phone. I'm afraid you'll have to take it to a service centre for reflash. I don't think you'll get the stock rom for your phone online as your phone is still a very new model.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Maintaining kernel source tree separately is always a pain. I have some plans for the weekend.

1) Instead of current kernel source tree, use Wzedlare/android_kernel_motorola_msm8937. This code base already has fingerprint gesture support.

2) Pull montana_defconfig from kyesk/android_kernel_motorola_msm8937.

3) Cleanup vendor blobs (remove unused files)

Make a build and test it thoroughly before publishing.

Please let me know your thoughts.

Thanks,

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
IGNORE THE ABOVE POST. I cannot use Wzedlare/android_kernel_motorola_msm8937 kernel source. Because it doesn't have all DTS files for montana.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
I can flash stock ROM(zui base Android), full feature is OK. I also can flash g5s rom，the all features work well except the front camera and NFC. So I think xt-1799-2 should use g5s ROM. I will thanks very much if developer can adapter my phone.

Thanks
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ShattrdChain:
Our G5S has 1.4 gigahertz processor. While your phone has 1. 5 gigahertz processor. The cameras are of different megapixel. And I believe, The memory setup is also pretty different.

You should check out all the specifications before flashing a rom or a recovery. There's a pretty good chance that you could have bricked your phone. Anyway, all the best.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
I can flash g5s twrp，but flash the Los ROM can't boot successfully
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
The zui base android is not for the G5s version. Twrp can run because of the same kernel and partition.

Can you share the zui base ROM?

---------- Post added at 11:13 AM ---------- Previous post was at 11:05 AM ----------

4. Disable debugging at boot?

Can you give me your:

getprop ro.boot.radio ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
It seems my device (XT1794) doesn't have NFC after all. Maybe that's why it lags sometimes.

The speaker volume seems better but still a bit louder than stock. And my fix doesn't work now. It has no effect. I'll try some other libaudio* files from stock and I'll see if they make any difference.

In-call volume is still louder than it should be.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
The XT1794 has NFC support. Where did you buy the phone?(country?)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I would disable debugging at boot in next build.

ro.boot.radio := India

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
Greece (Europe)

I tried to read a credit card with a card scanner but it didn't do anything. It was constantly prompting to put the card on the back of the phone. The same app with the same card work fine on my Nexus 5.

According to this site, the phone lacks NFC connection.

Dirty flashing actually works. The reason it failed for me was because I had a substratum theme installed. I used the recovery (legacy) solution and it booted successfully!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
I have the 1794 and yesterday I paid with the NFC function. Maybe because you are doing dirty flash :silly:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
:D No, the test was done after a clean flash.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ShattrdChain:
How to completely hide the navbar? It still pops up when I'm typing and persists for a few seconds. Kindly help. I want the navbar gone.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
I have compared, NFC build with no NFC build.

And this is my code. Only I have no idea where to put it in the ROM. Also the code is not tested.

########################################################################
# Remove NFC for non NFC devices - Credits to GoldeneyeS2
########################################################################
if [ "`getprop ro.boot.radio`" != "emea" ]
then
rm -rf /system/app/NfcNci
rm -rf /system/app/NfcSetup
rm -f /system/lib/libnfc-nci.so
rm -f /system/lib/libnfc_nci_jni.so
rm -f /system/etc/libnfc-nxp.conf
rm -f /system/etc/libnfc-brcm.conf
rm -f /system/etc/permissions/android.hardware.nfc.xml
rm -f /system/etc/permissions/com.android.nfc_extras.xml
rm -f /system/etc/permissions/android.hardware.nfc.hce.xml
rm -f /system/framework/com.android.nfc_extras.jar
fi
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
Well, it seems my 1794 does support NFC.

I was placing the card in the middle of the phone but the sensor is behind the camera. So, [MENTION=1163024]kalyansundhar[/MENTION], NFC works fine :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] igna.98:
Lineage 14.1 doesn't support OMS by default, but this may be useful for you to add it

https://xdaforums.com/apps/substratum/reference-lineageos-substratum-support-t3580276
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] bycabraljr:
I noticed one strange behavior after updated to the latest build. When I make phone calls, my phone enable the "do not disturb" mode and after the call ends, sometimes it stays enabled. There was some other strange things too, like airplane mode activate during a phone call, but I think it's solved after an cache wipe.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Membrillo007:
Can someone please provide me the stock recovery for this device? (XT1790)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Settings > Display > Expanded desktop.

I think that is the option you are looking for.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
this is zui base ROM download URL: https://pan.baidu.com/s/1dHcZp0d

It's used download tool called 百度网盘.

Thanks for your help.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Thats a brilliant idea. I will take care of including it part of update-script.

I just want an information. For me when I do,

getprop ro.hw.nfc

I get blank.

Could you please let me know what do you get in your device with NFC?

Thanks,

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Can you maybe share it with google drive?mega?Dropbox?

I don't understand Chinese.(I think its Chinese;))

---------- Post added at 09:45 AM ---------- Previous post was at 09:42 AM ----------

Of course in the update script. I did not test the script!!!! What's out for error's.

When I do getprop ro.hw.nfc also blankline.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
[MENTION=1163024]kalyansundhar[/MENTION]

Stop editing update-script. We must make use of releasetool.py

LINK

Edit this in BoardConfig.mk

# Release Tools
TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)

And make this file releasetool.py

# Copyright (C) 2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import common

def FullOTA_InstallEnd(info):
info.script.AppendExtra('if (getprop("ro.boot.radio") != "emea") then')
info.script.Print("No NFC on this device!")
info.script.Print("Deleting NFC files.")
info.script.Print("Credits to Kalyansundhar, GoldeneyeS2")
info.script.Mount("/system")
info.script.AppendExtra('delete("/system/app/NfcNci/NfcNci.apk");')
info.script.AppendExtra('delete("/system/app/NfcSetup/NfcSetup.apk");')
info.script.AppendExtra('delete("/system/lib/libnfc-nci.so");')
info.script.AppendExtra('delete("/system/lib/libnfc_nci_jni.so");')
info.script.AppendExtra('delete("/system/etc/libnfc-nxp.conf");')
info.script.AppendExtra('delete("/system/etc/libnfc-brcm.conf");')
info.script.AppendExtra('delete("/system/etc/permissions/android.hardware.nfc.xml");')
info.script.AppendExtra('delete("/system/etc/permissions/com.android.nfc_extras.xml");')
info.script.AppendExtra('delete("/system/etc/permissions/android.hardware.nfc.hce.xml");')
info.script.AppendExtra('delete("/system/framework/com.android.nfc_extras.jar");')
info.script.Unmount("/system")
info.script.AppendExtra('endif;')
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Thank you. I did the same.

def FullOTA_InstallEnd(info):

info.script.AppendExtra('if (getprop("ro.boot.radio") != "emea") then')

info.script.Print("Non-EMEA variant detected !!!")

info.script.Print("Disabling NFC configuration...")

info.script.Mount("/system")

info.script.AppendExtra('delete_recursive("/system/app/NfcSetup");')

info.script.AppendExtra('delete_recursive("/system/app/NfcNci");')

info.script.AppendExtra('delete("/system/lib/libnfc-nci.so");')

info.script.AppendExtra('delete("/system/lib/libnfc_nci_jni.so");')

info.script.AppendExtra('delete("/system/etc/libnfc-nxp.conf");')

info.script.AppendExtra('delete("/system/etc/libnfc-nxp_ds.conf");')

info.script.AppendExtra('delete("/system/etc/libnfc-brcm.conf");')

info.script.AppendExtra('delete("/system/framework/com.android.nfc_extras.jar");')

info.script.AppendExtra('delete("/system/framework/com.gsma.services.nfc.jar");')

info.script.Unmount("/system")

info.script.Print("Disabled.")

info.script.AppendExtra('endif;')

Regards

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
New unified build is up. File name: lineage-14.1-20180119-UNOFFICIAL-montana.zip

It is a single build for both NFC and non-NFC devices. Please do a clean flash.

Thanks to [MENTION=7376763]GoldeneyeS2[/MENTION] for making this possible.

[MENTION=7376763]GoldeneyeS2[/MENTION], Please check if NFC is working.

If something was working with previous build; but not now, let me know.

Regards,

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Thanks for sharing. I went through the post. The option we can go for is "syncing current code base using their manifest". But it is mentioned that "The one issue with this is you will be fully reliant on me for updates".

I am not sure how frequent Lineage-OMS code base would be updated. I would give a try though.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
yes，it's Chinese, I am in China, can't use Google drive, I try mega.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
NFC is not working. The script also runs on mine phone.

I am going to debug the error.

I think i found the error.

EMEA in capital letters.

Testing right now!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I think it should EMEA; not emea (in small case). Since linux is case sensitive, using EMEA may solve the problem.

If it is OK with you, could you please quickly tweak the updater-script and try again?

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Let's party:D:D:D:laugh::laugh::silly::silly::good:

Change EMEA in capital letters.

Script is not running and NFC works great.

Many thanks

[MENTION=1163024]kalyansundhar[/MENTION]

I think its time to update all information in the first post of you.

Beta can be removed! :laugh:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
WOW !!! Excellent !!!.

I will make the change and upload new ZIP file.

For everyone else, please wait for a new upload notification in this thread.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FAFAŁ:
You can enter the entire list of changes. And what is this script? What he does exactly
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
If you want to see all the changes you can go to Github.

https://github.com/kayesk/android_vendor_motorola_montana

https://github.com/kayesk/android_vendor_motorola_montana

The script looks if your device is from EMEA(Europe, the Middle East and Africa).

So yes, it don't delete NFC function and when it isn't removed the NFC function.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
The script would be run at the end of flashing the ZIP file. If the region is not EMEA, the script disables NFC.

The script was using the region as 'emea' in lower case. That is the issue. The change is to make it upper case (EMEA).

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
New zip file: lineage-14.1-20180119-UNOFFICIAL-montana.zip

Fixed issue with updater script.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Are you going to update the thread?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I will do it tomorrow morning my time. By that time, most of the ROM users might have flashed the new update. I would also come to know if anyone sees any new issue.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] motafoca!:
KS, I think there's no more huge problem with the ROM... The experience are amazing so far.

Anyway, I'll ask you somethings:

First, can you mirror the builds to another drive? I mean, Onedrive's download speed and stability sometimes are desperating. More, can you force to hidden the navbar? Or maybe teach us of how to do it... (Moto)Actions haven't any problem.

But, for now, I only can say thanks for the initiative and dispensing ur time in this hard dev task. The next step is LOS 15.1 :D
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Thanks a lot for your appreciative comments. I would like to thank [MENTION=7376763]GoldeneyeS2[/MENTION] for his great help. I also thank all users/developers who provided their valuable input and helped in making the ROM better.

I went with onedrive as it was readily available and I have 1TB space there without any use :). I would try with AFH (androidfilehost).

For navigation bar stuff, if I understand your requirement correctly, It could be made auto hidden by enabling Expanded desktop.

Settings > Display > Expanded desktop

But if you don't need nav bar at all, then give me some time, I would see if there are any build options to do it.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Cube8:
Next stop: OMS support ;)

And time for a small feature request :)

Is it possible to make easy switching for mobile data in small icon (not expanded mode), just like wifi, bt, without opening details first?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
I think for OMS support you must make another thread and call it LineageOMS 14.1.

LineageOMS is not lineage. They use a another code for the following things.

Read this code. They remove lineage and add LineageOMS.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Get rid of Lineage repos -->
<remove-project name="LineageOS/android_frameworks_base" />
<remove-project name="LineageOS/android_frameworks_native" />
<remove-project name="LineageOS/android_packages_apps_Contacts" />
<remove-project name="LineageOS/android_packages_apps_ContactsCommon" />
<remove-project name="LineageOS/android_packages_apps_Dialer" />
<remove-project name="LineageOS/android_packages_apps_ExactCalculator" />
<remove-project name="LineageOS/android_packages_apps_PackageInstaller" />
<remove-project name="LineageOS/android_packages_apps_PhoneCommon" />
<remove-project name="LineageOS/android_packages_apps_Settings" />
<remove-project name="LineageOS/android_system_sepolicy" />
<remove-project name="LineageOS/android_vendor_cm" />

<!-- Add repos for Substratum support -->
<project path="frameworks/base" name="LineageOMS/android_frameworks_base" />
<project path="frameworks/native" name="LineageOMS/android_frameworks_native" />
<project path="packages/apps/Contacts" name="LineageOMS/android_packages_apps_Contacts" />
<project path="packages/apps/ContactsCommon" name="LineageOMS/android_packages_apps_ContactsCommon" />
<project path="packages/apps/Dialer" name="LineageOMS/android_packages_apps_Dialer" />
<project path="packages/apps/ExactCalculator" name="LineageOMS/android_packages_apps_ExactCalculator" />
<project path="packages/apps/PackageInstaller" name="LineageOMS/android_packages_apps_PackageInstaller" />
<project path="packages/apps/PhoneCommon" name="LineageOMS/android_packages_apps_PhoneCommon" />
<project path="packages/apps/Settings" name="LineageOMS/android_packages_apps_Settings" />
<project path="system/sepolicy" name="LineageOMS/android_system_sepolicy" />
<project path="vendor/cm" name="LineageOMS/android_vendor_cm" />

<!-- Track ThemeInterfacer -->
<project path="packages/services/ThemeInterfacer" name="substratum/interfacer" remote="github" revision="n-rootless" />
</manifest>
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] bycabraljr:
I have the link to the ZUI G5S Rom

here is: https://mega.nz/#!Ql9iSTxS!S2a7vXAYOlTm2vi12ZRjlb0-S0taLc2qWDwj0UOBqws

I did flash to my phone (XT1792) but as it is completely in chinese and the english translation isn't complete, I got back to stock.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] deejoy li:
thanks for your help, this is zui base ROM for xt-1799-2.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FAFAŁ:
My battery is very hot when charging. I found these settings in the original build.prop file.

# set cutoff voltage to 3200mV

ro.cutoff_voltage_mv=3200

Although there are two entries

#set cutoff voltage to 3400mV

ro.cutoff_voltage_mv=3400

I added 3400 and it's cooler battery when I charge
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] maciek_by:
Small bug. Camera writes "Phone" as model in exif data. Reproduce: tap details on selected photo.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I verified the code. Build properties has only one entry for ro.cutoff_voltage_mv with value 3400.

Not sure why you see 2 entries. Could it be because of dirty flash? Is it OK to do a clean flash again? I understand it is a painful process reinstalling all apps once again. Just wanted to make sure.

Thanks for letting me know.

Regards

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FAFAŁ:
these are entries from a file from this topic https://xdaforums.com/moto-g5s/development/flash-official-firmware-moto-g5s-montana-t3687768

. I have copies for comparisons .

But I see that my addition of 3400 should not change anything. Because the kernel has the same setting .

It's weird but it's a cooler battery
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] govind1233:
Any plans for working on oreo?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] UryuuChangAmanno:
you can add the option to Disable the navigation bar, because LOS only the Hidden. It ends up returning when you open the keyboard, and when you get notifications it reappears, Thanks and great Rom ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] MoonPWR:
01.19 build, clean install, no user apps installed, only open gapps pico and android pay.

1) No nfc icon in status bar when it enabled (or it is normal in lineage?)

2) Android pay doesn't work (says that my device is rooted etc.. but i dont install magisk or something like that). Build issue or because of unlocked bootloader?

And sound is so flat is this build, imo.

Just some notices, thank you [MENTION=1163024]kalyansundhar[/MENTION] for you work :good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
As of now, I haven't thought about it. Getting appropriate vendor HAL libraries are main concern .

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
NFC is currently enabled only for EMEA devices. Europe Middle East and Africa. Could you please let me know your device radio property? Property name is " ro.boot.radio"

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
1. Its normal in lineage.

Try this:

https://www.google.nl/amp/s/xdaforums.com/xperia-z/help/nfc-headset-icons-missing-t2194719/amp/

2. Did you install Android pay by your self? On my phone x1794 (with NFC). It works right out of the build.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] MoonPWR:
Of course. In result of getprop I got EMEA. I see NFC in settings, also quick tile switcher. By the way its all don't call FC or something like that, so, seems like, all working good. But I can't be sure because I don't have any other device that has NFC to check if it works. Thats why I downloaded Android Pay and try to make a transaction and stuck at attached message. By the way, an app called SafetyNet Test says CTS Profile match fail. Then I install Magisk and got ctsProfile:false in SafetyNet check. Do you need logs or something that I can do that solve this? Or AP will not work anyway on our build of LOS?

Yes, from Play Store. And yes, my device is XT1794 with NFC (EMEA), I just wonder why after clean install, without root I can't use it, strange. Thats why I am point on unlocked bootloader, because I don't know what else can prevent AP.

Sorry, if my questions sounds funny, but I never had device with NFC ( with working NFC :D ) and, as a result, don't face any problems with SafetyNet and etc.