yashsingh1/xdaforums huggingface dataset:
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] mackikzy:
Which gcam version are you using??
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] I_me_aur_main?:
No... I do not think so...

Prior installing lineage OS 16 I had installed pixel experience 9.0 treble rom on my phone for about week... Later when I inserted jio sim in it... I was not able to make & receive call... So I tried installing Lineage OS 16..
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Dhan...:
Wifi Not Working On latest LineageOS 16.0 ? anyfix ?
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] I_me_aur_main?:
The start up screen looks something like this after I have installed lineage OS 16 on my moto g5s plus... And as I click on reset phone its boots back to this same screen.... Can anyone help
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Saadatrm:
Try some other rom, n if problem persists..there's something wrong in your device
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] doktorspin:
I got the same with TWRP 3.1.1. I then got the most recent TWRP (3.2.1 r20) and there was no problem.

You can get a link from here: https://xdaforums.com/moto-g5s-plus/development/recovery-twrp-3-1-1-r7-t3694910

You can use TWRP 3.1.1 to install the updated version of itself, then reboot back into recovery and install your ROM.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] omegaorgun:
Would it be hard to make this for an Essential phone? I moved from G5S+ to an Essential and there is a shortage of ROMs. I bought mine for $200. It's also a Treble device.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] mackikzy:
I think this rom doesn't support Google assistant or somebody please help me. I can't set it up i tried so many ways but no luck Thanks
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Uchiha Fabio:
I can!

Enter on recovery twrp, go to wipe

Select Data

Choose repair file system

Change f2fs to ext4

Then after it formats change back to f2fs

(If isnt work you will have to uncrypt your device by using your last used password as long as you didnt wipe your password before doing it)

Cheers.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] mad_fitter:
What Gapps package are you using? Certain smaller packages don't come with the necessary stuffs for the assistant functionality. I think anything smaller than nano, iirc.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] mackikzy:
I m using a stock version of Gapps.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] I_me_aur_main?:
Finally after searching ...I have installed stock nougat ROM on my moto G5s plus after finished installing nougat 7.0 ...later than I have installed lineage OS 16.0 ...it's installation succeeded but...my Jio sim network Singal are not showing now...I have tried Airtel 4g sim it's working fine...but as I insert Jio sim it shows emergency calls only with no signal
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] doktorspin:
I just discovered a root browser cannot rename or delete the file bootanimation.zip in this version of Lineage 16. The previous version of Lineage Pie (from the LineageOS site) could perform these operations. The inability here seems to be this version. I would really like to ditch the daggy Lineage bootanimation. Any ideas?

Found that if I get someone else's flashable bootanimation.zip I can replace their internal bootanimation.zip with the one I desire then flash it. This resolves my basic problem, but still, it would be useful to be able to edit stuff on a rooted phone.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] saumyajit:
U should have oreo base before installing the rom.

---------- Post added at 03:56 AM ---------- Previous post was at 03:54 AM ----------

I am using Pico, works fine.

---------- Post added at 04:04 AM ---------- Previous post was at 03:56 AM ----------

https://androidfilehost.com/?fid=11410932744536982651

Flash This , Already mentioned at the first page of the thread.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] mackikzy:
Can someone help me please i cant transfer money using online payment apps(eg.- phonepe) its shows a warning message "you are using a unsecured phone" btw i m using magisk hide and using latest version of magisk. If anyone knows any solution please help. Thanks
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
tried a billion ROM. this one is the BEST for my XT1805. only big problem is fingerprint ain't working and i tried ALL of the solutions available from page one till this one (p 30) i have twrp sanders r20. i didn't try to install Magisk yet since i am formatting and copying stuff on my SD which i will do tomorrow if i get a fingerprint fix cuz i don't want to drop this ROM but i'll have to if FP won't work. battery life is AMAZING. other roms last for like 4 hrs this one is unreal. hope it can b fixed.

Tx, Roger
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] 0ddj0b7:
SElinux is not enforcing on my device and im having an issue with a bluetooth device although i dont think that is Los16's fault, nevertheless Id like to downgrade to 15.1.

As far as downgrading goes the wiki page tells me to follow my devices guide for first time flashing of lineage. How bad/stupid would it be just to flash 15.1 zip from adb as if i was upgrading? Sorry im being lazy
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Can you try this https://androidfilehost.com/?fid=11410963190603905146
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
I'm fixing sepol denials for the next update. I don't know if it will be enforcing yet but it'll get there pretty soon.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
Same. nothing!
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
What bootloader are you on? Also can you get me the logs and dmesg output
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Jagx:
wow good news :good:
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
how to get u logs and dmesg output and which bootloader i have? (and i should PM my stuff right?)

BTW ur ROM rocks if i get my fingerprint to work. not a single problem wotsoever like stock rom
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Jagx:
to know which bootloader you have, reboot to bootloader menu (shutdown and restart with press vol down + power), cek the version of BL, if C2.12 its oreo bootloader and if C2.07 its Nougat bootloader
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
BL:C2.12 (sha-07ff23c, 2018-08-01)
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] sakshamgoyal:
I am not able to use fingerprint. I have flashed given file but it doesn't worked please help me. This rom is amazing but no fingerprint.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
If the guys solve it for me u would also be able to use it ^^
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] sakshamgoyal:
But how can you guide me
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] 0ddj0b7:
mine works most of the time but on occasion it doesnt and when it isnt i get a message saying "too many failed attempts" even tho i hadnt tried. sometimes a restart fixes it, sometimes it doesnt. pretty strange and glad im not alone
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
applied patch - still no FP working

now gonna try the WHOLE update. then reapply FP

K did all of the above; still FP does NOT work. is there an ON/OFF kind of OPTION somewhere for that?

and still Trust -system security / SELinux is not enforcing, your security has been weakened ALERT is on (since last update anyways)

but FP is the crucial one
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Nothing related to FP was changed in this build it still remains at N bootloader firmware. If someone could create a build with my tree and the following patches

https://github.com/MasterAwesome/an...mmit/37f2de34ee780369c34307fd365b691d54961ecb

https://github.com/MasterAwesome/pr...mmit/0ecf90232d1e39c1ea9c176d105df22aa95137de

I believe those are the patches for Oreo bootloader. If someone can upload the built file I can create a patch if it works. My phone isn't with me for a bit I can't test these builds

SELinux isn't enforcing yet. I just need the denials

adb logcat -b all -d | grep denied
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Can someone try the attached zip and check if fingerprint works again. If it doesn't work can someone get the output for

adb shell "ls -Z /system/vendor/bin/hw/*"

for me
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
Quick check, that zip have some typo.

FPb.zip fail to install for me, it yell about mount expecting 4 args but supplied 5.

I did replace script from FPa.zip (remove system folder and replace bashscript), recovery log said biometric.so is inconsistent. Edit: oops, signed, I'm blind

Edit2:

Clean flash, using FPa.zip looking at dmesg there is fp denial. I don't have access to my laptops, but here's from log

594.674408] init: Could not find service hosting interface android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default
[ 595.496784] init: starting service 'cnss-daemon'...
[ 595.500044] init: cannot execve('/system/vendor/bin/cnss-daemon'): Operation not permitted
[ 595.500681] init: File /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice(labeled "u:object_r:system_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? [url]https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials[/url]
[ 595.500726] init: starting service 'fps_hal'...
[ 595.507899] init: Service 'cnss-daemon' (pid 6428) exited with status 127
[ 595.507920] init: cannot execve('/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice'): Permission denied

Edit3, manual placing fpb.zip

[ 16.427592] init: Received control message 'interface_start' for 'android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default' from pid: 440 (/system/bin/hwservicemanager)
[ 16.427725] init: Could not find service hosting interface android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default
[ 16.434350] init: Received control message 'interface_start' for 'android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default' from pid: 440 (/system/bin/hwservicemanager)
[ 16.434446] init: Could not find service hosting interface android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default
[ 16.812631] init: File /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? [url]https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials[/url]
[ 16.812657] init: starting service 'fps_hal'...
[ 16.813703] init: cannot execve('/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice'): Permission denied
[ 16.816266] init: Service 'fps_hal' (pid 2317) exited with status 127
[ 16.816287] init: Sending signal 9 to service 'fps_hal' (pid 2317) process group...
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Oops didn't update the zip properly. Either way I think you can run this binary from adb shell manually and this service should start. Basically the reason it's not starting is because it doesn't have selinux contexts. I'll send a boot.img patch with the necessary filecontexts for this file.

adb shell restorecon "system/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice"

will fix it.

Edit: Try flashing boot.img and then FPb-sign.zip in the current post

Perfect the bug only exists coz init can't start an unlabeled binary. Thanks for the reports a new build will be uploaded soon.

Perfect. thank you :) We should be enforcing soon
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
i dont think i can restorecon on system files... but will try new boot.img

edit1: yep, "read only fs"

edit2: zip work yes, some typo i mean this

rm -f "/system/lib/lib_fpc_tac_shared/so"
rm -f "/system/vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service_32"

also still same denial

02-23 21:28:11.531 0 0 E [ 132.031952,5] init: cannot execve('/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice'): Permission denied
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
mount -o remount,rw /system as root and you can restorecon
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
i should try that, duh. its just i dont have pc on me, and last time i restorecon from terminal emulator, it failed. Perhaps its just me being stupid.

my last post about denial caused by /system/vendor/bin/bio..... not being 755, dont know why. now it works anyway. no other init error except tracing and something, attached

edit: also night light pls...

02-23 22:10:16.213 581 581 W HwcComposer: command 0x2000000 generated error 8
02-23 22:10:16.228 1445 1486 E SDM : ColorManager::ApplyLinearColorTransform: Apply PCC for SetTransform FAILED
02-23 22:10:16.228 1445 1486 E SDM : HWCDisplay::HandleColorModeTransform: Failed to set Color Transform Matrix
02-23 22:10:16.228 1445 1486 E SDM : HWCDisplay::SetColorTransform: failed for hint = 1
02-23 22:10:16.228 1445 1486 E SDM : HWCDisplayPrimary::SetColorTransform: failed for hint = 1
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] I_me_aur_main?:
I was also facing same issue..so came across a post suggesting to upgrade from stock 7.0 ROM to lineage OS 16.0 ..after doing it FP starts working but Jio sim stopped working...then I flashed stock 8.0 ROM ...and then after that I installed lineage OS 16.0 ..now both the things are working FP plus Jio sim...but Bluetooth is not connecting to any devices...

Hope it might help
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Jagx:
I just found on lastest version build, live display and reading mode dont work, please take a look
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
it's caused by it not having context u:object_r:hal_fingerprint_default_exec:s0 it's just a vendor_file so init won't exec
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Uchiha Fabio:
Fingerprint bug

Latest rom february/20 stopped fingerprint function
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
so wot now? wot do i do? i wait till u intergrate it and try?

tx,

Roger
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
I fixed the night light I'll be uploading a build soon. As for the fingerprint yep, the fixed patch will be included
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
Okie dokes; will wait for the latest patch and update u for once installed and tested.

tx for everything man.

Roger
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] Uchiha Fabio:
Thanks for the answer. I am not good at bug reports so I can only report the bugs I find without logcats.

Sorry about that.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] 0ddj0b7:
ive had only minor issues with FP, mostly working for me. As I was going through the new posts in the thread this caught my eye because i upgraded from stock 7.0 ROM to LOS 16 so maybe there is some merit to the above quote. my bluetooth is working well tho

also will flashing the boot.img fix SElinux issues? Im about to upgrade to the latest build as soon as my back up is done

edit: sorry just saw the new update should include the fix for SElinux/boot.img
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
/system/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice permission is 644, have to make it 755 manually after flash to make biometric work.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Is the file context proper now though. ls -Z the file and tell me the output
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
Umm, no, It's labeled as u:object_r:system_file:s0

Edit: manual restorecon correctly set biometrics label

Now that dmesg less chatty,

[ 35.278018] init: File /system/bin/wcnss_service(labeled "u:object_r:system_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? [url]https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials[/url]

[ 35.358483] init: File /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice(labeled "u:object_r:system_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? [url]https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials[/url]
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] EmiAndroid:
Oreo base?
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Does a restorecon make fpcservice run without making it 755? For some reason it doesn't set contexts at recovery
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
installed ROM; restarted. installed FPb, restarted. still no FP working (oreo bootloader)

oh and still this message Trust - System Security (SELinux is not enforcing, your security has been weakened) still on. dunno wot it does don't really care about ^^

hope FP gets fixed

:(
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
It works if you restorecon from system I believe. Like adb root adb remount and adb shell restorecon *theFpcservice* and reboot.

Trust thing is just it being permissive
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
Can u please tell me the exact steps and exact adb commands? I can copy/paste and follow steps to the letter.

tx, Roger
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] flashzzzz1:
can I update my os? I have January version. If yes.. how to update? because I haven't received ota update
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
Just download thru the link above to your SD card or internal memory, reboot into recovery and i stall the zip file. Restart, all done. Is your fingerprint working BTW?

---------- Post added at 02:32 AM ---------- Previous post was at 02:20 AM ----------

just found out also MOTO ACTIONS are not working even if u enable them. previous version they were working fine
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Start the rom if you installed magisk adb root and remount doesn't work. Instead adb shell su -c "mount -o remount,rw /system && restorecon /system/vendor/bin/hw/*fpcservice".

I'll just include an init script next time to restorecon instead of this
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Any logs for Motoactions? Device gestures work for me so does ambient display. Only thing that doesn't should be screen off gestures right
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
Well, to be fair it's a 'bin'ary files that meant to be executed, and Linux won't allow it without execute permission. I doubt a context will allow that. But alright, I'll try it..

Edit: no, it still require chmod

Something to note: kernel changed, it's seems that it's based on therootlord? Since it use eas, you probably want to change init or someone will rage "mUh baTteRY SoT" because it use performance governor by default
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
Init should have the permissions to exec even without the exec flag I believe, anyway I'll set the exec flag and add an init script to restorecon for the file in the next build.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] maosilva:
The ROM is very good, thanks for sharing! In the latest version (V6), Even installing the fingerprint file did not work!
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] testeraphy:
Coming from linux, even regular (non privileged) downloaded files without exec permission, if we try to execute it, it'll yell "not executable files". Tough "chmod +x" is a little habit of mine for any exec files, I might be wrong.

A question, any reason why you're using N fingerprint base?

===========

About this commit https://github.com/MasterAwesome/an...mmit/d1c9fb2b61fec1ec04920b0f214deff09c820e26

The kgsl one, dmesg said it can't write thus not applied. And since I can't find original commit, I just go ahead and look at havoc repo, closest I find is this:

https://github.com/Havoc-Devices/an...mmit/8f01db554497d2a320a3dfb21ba874fb1fec07c5

(I don't think this below is necessary, but to give context)

https://github.com/Havoc-Devices/an...mmit/ad1447fe9c9740f9447729abe851c86c3285aa12

Notice it's using echo, also it write 6 then 7. I did see my device sits at 320, and changing it to 6 did cause GPU drop to 133. (still no idea why 6 to make it drop instead of 7 since we have 7 GPU freq, array start at zero huh). Edit: yeah, seems that array thighy, 6 it is.

The wakelock part, I don't see any directories like that, it's useless. Perhaps it's useful for some rom with built in wakelock manager (like resurrection remix). All wakelock listed is still active anyway.

---------- Post added at 04:47 PM ---------- Previous post was at 04:16 PM ----------

I don't have any means to test nfc (like for payment or others) but I do have nfc tags (my identity card), and I can read it just fine. What is this "does not work"? Did you enable nfc? Are you (at least) able to read nfc tags?

After flashing fpb.zip manually change file permission of /vendor/bin/hw/"biometricsthingidontrememberthename"to 755.
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] TheKicKer69:
I never had any problems with NFC with this ROM (till latest version still working fine)

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

how do i do that?? or where do i do that? After flashing fpb.zip manually change file permission of /vendor/bin/hw/"biometricsthingidontrememberthename"to 755

---------- Post added at 10:13 PM ---------- Previous post was at 09:49 PM ----------

K like you said remount doesn't work:

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell su -c "mount -o remoun

t,rw /system && restorecon /system/vendor/bin/hw/*fpcservice".

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device '(null)' not found

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

ZY322C773N fastboot

So i went to Bootloader:

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices

List of devices attached

* daemon not running; starting now at tcp:5037

* daemon started successfully

ZY322C773N device

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell su -c "mount -o remount,rw /system && restorecon /system/vendor/bin/hw/*fpcservice"

Permission denied

any solution?

tx,

Roger
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] eprieto16:
If the label reads well the problem is that it does not read data from credit cards or transport services like those from my country labels that the previous versions have always worked. he turns it on and off. perfect and detects the labels but. fails to bring the data of the same

---------- Post added at 08:20 PM ---------- Previous post was at 08:17 PM ----------

That is why it indicated that it does not work 100%. and he said that not everyone gives the same use but does not really work as the NFC should if he could review it I would gladly try any adjustment that makes
[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] MasterAwesome:
I'm using N base mostly for compat reasons. No, you're right about the permissions but that's not why the biometrics isn't execing or at least it's part of the reason. Mostly because init won't exec something out of it's file context

Oooh good find on the GPU, I'll patch it up in the next build. Thank you :)