yashsingh1/xdaforums huggingface dataset:
[Moto G5 Guides, News, & Discussion] andyro2008:
Extract of the puntual error is in a code snippet in the OP, also complete logcats, tombstones and straces of the error are available in attachments and in GDrive.

The thread was created to centralize the info about the problem, in order to help the affected ones. And to gather in one place all the logs to help any dev interested in the problem.

NO body is blaming you or any other dev, NO body is complaining about your work or any other ROM maintainer. No body is being impolite, not even pushy.

It's clear that you aren't interested in helping us/can't help us. You don't even want to read the OP, and you aren't suffering the issue on your device. So... Why are you posting here in such aggressive manner? Why are you attacking us?

PS: Please stop creating offtopics and stop repeating "fixes" already tried and failed. Also i'm having a hard time trying to understand what are you writing. At least do and effort and try to improve your writing.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 Guides, News, & Discussion] andyro2008:
Already tried booth stock kernels on my Cedric, of course, they failed to boot LineageOS.

Please note that in our 3gb devices the stock OS is not suffering the segmentation fault error.

My theory is that Lenovo shared only the sources for the 2gb variant, and that our kernel should be different. In short I think that it's Lenovo`s fault. We need a very advanced programmer, to fix the problem.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 Guides, News, & Discussion] infixremix:
OK , sir I will type with a English style ; no dev is going to try and fix this issue unless it affects them , most devs are now contributing to our own ROM project all the other devs are either busy or working on los 15 . You never know the issue might be fixed in oreo as we are using a different kernel . I hope you can understand this .

Cheers

Infixremix

Edit sorry if I'm coming across aggressive , I just wonna know the actual issue and when I said to do things u guys were like no no no not done that get logs with the suggested fixes
[Moto G5 Guides, News, & Discussion] TheFixItMan:
This is why I suggested someone with the knowledge to look at the differences between the kernels - because I don't have this issue as I have the 2gb model and if the custom kernels (lineage kernel) is based on the 2gb kernel source and the 3gb kernel is different then that would cause problems

You shouldn't need to have two kernels because if someone knows how they can create a custom kernel that should be able to pick which values to use based on the variant its being loaded on although it maybe easier just to have two kernels in the short term

But this all depends on if anyone with kernel knowledge can find the differences and implement them in a custom kernel - unfortunately this person is not me
[Moto G5 Guides, News, & Discussion] infixremix:
Please make sure you try this I doubt it will work

/ # export LD_LIBRARY_PATH=/system/lib
[Moto G5 Guides, News, & Discussion] andyro2008:
It is not bad will, we already tried your proposed fixes like formating partitions in EXT4, enabling and disabling SeLinux. Also we tried every root method. We are suffering the problem since January, so since then we tried a lot of things, and it's mentioned trough the thread.

These are the facts:

* Segmentation fault error are present in every custom.

* It's present in commands that don't require root (by example ADB Backup, AM + PM) even in unrooted devices.

* Every action that ends in segmentation fault, if it's repeated 30-50 times it will eventually work.

* In the same fashion, MagiskSU, SuperSU will fail to grant root access to any app asking for it, 30-50 times before to work successfully.

* Devices with stock ROM, and devices with 2gb of RAM with stock/custom ROMs are not affected.

* Changing partitions to EXT4, changing SeLinux trough different methods didn't work.

* The error es always the same "Segmentation fault" referred as "SIGSEV11" in the logcat, that ends creating a tombstone. Strace reports an error accessing some libraries. This is true in all customs ROMs (AOSP or LineageOS based), rooted, unrooted, SeLinux disabled, enabled, EXT4, F2FS. These logs are available on the thread and in the OP.

I'm just creating a resume to help you to know our problem, no arguing o teaching. Thanks for your attention.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 Guides, News, & Discussion] andyro2008:
Thanks ? It didn't work, screencap is attached.

ln this zip file you will find the logcat, tombstone and strace.

https://drive.google.com/file/d/0B_0j4xu8tnkJYkp4VWRtd3BOU1U/view?usp=drivesdk

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 Guides, News, & Discussion] andyro2008:
Don't worry im very grateful to you, you helped a lot in the first stages of the troubleshooting, in the thread of LOS. Great chunks of our actual understanding is from your advices.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 Guides, News, & Discussion] mrfrantastic:
This doesn't work. I also found the command after googling for segmentation fault a few weeks back. Tried it again today but it does nothing.
[Moto G5 Guides, News, & Discussion] andyro2008:
Someone is asking for the source code off our device variant.
[Moto G5 Guides, News, & Discussion] :
Maybe this is a silly question but how can I gather logs that documents wrong working of root??

I have also XT1676 and suffer with (probably) root problem under LineageOS (rooted by TWRP with zip file from LineageOS site).

I can't properly use TitaniumBackup, I don't see any other symptoms.
[Moto G5 Guides, News, & Discussion] wzedlare:
Guys, please test this new build and tell me if you still have problems with root(segmentation fault):

https://drive.google.com/open?id=1uSx1kuve2Wjm0QVN3bob8h9PiFMGQTr1
[Moto G5 Guides, News, & Discussion] pintac84:
I have always encountered segmentation faults using the imgur app, with this build the app runs without errors.

Thanks
[Moto G5 Guides, News, & Discussion] ektus:
Downloaded and installed, booting...

28s: boot logo is replaced by LOS animation

2:55min: prompt for SIM PIN

System is up and running, but with trebuchet as launcher. Pixel is gone.

My Phone Explorer recognized the phone as new???

Commands pm and sm in a shell on the phone didn't segfault. Logcat as of a couple minutes after boot is attached.

Now to restore the Pixel launcher...

Regards

Ektus.
[Moto G5 Guides, News, & Discussion] ektus:
Or stay with trebuchet, works also :)

Live boot test mode seems to work 2 out of 3 attempts, didn't reboot yet and wouldn't work properly anyway without altering the selinux setting.

The google mail program fails to download mail from my POP3 account. This problem has been ongoing since switching the microSD card to external mode. Workaround: Install K9 mail from f-droid.

Re-installed OpenTasks and DavDroid from f-droid, both are working yet again with my private baikal server.

Vanilla Music is playing in the background.

Navit has been successful in downloading a couple GB of map data (germany). The internal storage is filled with 10GB of data now :crying:

FM radio is working as bad as before (distorted sound, poor reception)

Regards

Ektus.
[Moto G5 Guides, News, & Discussion] wzedlare:
Thank you guys, for testing it, I released this build as the new build in my los thread.By the way, the problem was not related to kernel and one kernel source can work properly on all variants.
[Moto G5 Guides, News, & Discussion] ektus:
You're welcome :)

I did some more tests, and am happy to report that both cold boot and warm boot times have improved significantly. Warm boot is down to approx. 21s until lock screen, cold boot approx. 35s until SIM PIN entry dialogue.

Regards

Ektus.
[Moto G5 Guides, News, & Discussion] andyro2008:
It's working perfectly infinite thankssssss!!!!!

Enviado desde mi XT1676 mediante Tapatalk
[Moto G5 Guides, News, & Discussion] LambdaPerl:
From what I can tell from people on the forum, this seems to have worked.

To satisfy my curiosity — please tell: what was it?

Cheers!
[Moto G5 Guides, News, & Discussion] wzedlare:
Every rom has its own dalvik heap and hwui memory props.Our rom was using LineageOS's props which caused the problem.Taking properties from the stock rom fixed the issue.
[Moto G5 Guides, News, & Discussion] ap4ss3rby:
I know that this thread has been offline since a week, but is there any way to patch the ROM'S that were not updated, or is it a must to rebuild from scratch
[Moto G5 Guides, News, & Discussion] rahimali:
+1
[Sony Xperia X Compact Questions & Answers] kekistaneerefugee:
I am running the marshmallow .198 firmware, I backed up my ta partition before unlocking the bootloader. I have been using the androplus kernel with DRM patch but it has never said fido keys provisioned and I have bad camera quality, very low audio, plus a constantly dimming in and out screen with no auto brightness enabled. I have used the root kernel program to make my dk.ftf and flashed it successfully multiple times to my phone but still no fido keys provisioned. Is there something I may be doing wrong? I am trying this over top of andro plus kernel with magisk and xposed so I should try with only androplus but havent tried that yet. And help would be appreciated as I'm getting annoyed with this phone lol
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Moto Mods are not supported
​

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Working

Boots

RIL (Calls, SMS, Data)

Wifi

Bluetooth

Video Playback

LED Notifications

NFC

Not Working/Bugs

Encryption does not work, backup your personal data (photos, music etc) and format your data from TWRP (Wipe->Format Data) (works in 7/10 build)

Camera sometimes does not take photos (apparently after using the flash)

Sometimes saturation is missing in photos (they're black and white)

**XT1635-03 only**: NFC currently does not work out of the box, rename the configuration as explained here. (not an issue anymore on 07/10 build)

Permissive SELinux

Obviously this is an early build thus nearly all the LineageOS features are still missing (Double twist, chopchop and fingerprint sleep are present)

Installation

Make sure you have a nougat bootloader and modem else TWRP denies the installation by throwing a message about the wrong bootloader. Further details and a guide to upgrade what you need without losing data here.

Requires Unlocked Bootloader & a custom recovery (at least twrp-3.1.1-1 is required)

Place ROM & Gapps in your virtual SD

Reboot in Bootloader Mode

Go to "Recovery" (Vol +/Vol -) and confirm (power)

Wipe Data/Factory Reset

Wipe Dalvik cache

Install the ROM zip

Install su for root (get it here, you have to enable it from developer settings) [optional] (not yet available)

DO NOT REBOOT

Install the Gapps zip

Reboot

Downloads

AndroidFileHost

Sources

Device Tree

Kernel

Credits

@vache for fixing RIL and providing initial camera fix that I reworked

XDA:DevDB Information

LineageOS 15, ROM for the Moto Z Play

Contributors

Alberto97

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.x

Based On: LineageOS

Version Information

Status: Testing

Created 2017-10-02

Last Updated 2017-10-07
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Reserved

Changelog

07/10/2017 **WARNING: Wipe data required for everyone**

Encryption is working now

NFC on XT1635-03 works out of the box

Fixed an issue where CMActions (now LineageActions) crashes on incoming calls

IMS/VoLTE is back

02/10/2017

Initial Release
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
Nice, thanks for your hard work :good:

Let's try that
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Where I can found gapps?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka newest AOKP rom
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hucksley:
Encrypted :(
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dado_13:
Well, thank you very much.... Let's have fun!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Damn, totally forgot about that; encryption does not work, sorry. Backup your personal data and format it from twrp (it isn't the normal wipe data, tap on "Format Data" from the wipe menu) this will also erase the virtual sd data (photos, music etc).
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
Sorry, didn't see.

[Solved]
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Greamos:
Hey man! thank you!!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Great work man. Thanks!!!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] nosiobadx:
Omfg yesssss
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Luiz_Vidal:
What does encryption mean? I need to format internal storage to flash this rom?

Thanks
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Yash24:
HUGE Thanks for your work!!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] vvaibhavv:
Amazing work!!!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sillycat98:
Yay! Same gapps from the linage Nexus 7 2013 thread? Thanks for this by the way, been checking daily for awhile hoping it would be here.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] iron maiden:
what gapps using? thanks
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
I'm using it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] iron maiden:
Hello ok very thanks but failed format data for me on twrp

regads
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
What type of error are you expecting?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] iron maiden:
hello I ended up in hard brick I had to use bankflash to revive my zplay so I care sorry my English thanks did not light just white led

regards
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
The battery is amazing on oreo. That's great. And I hope that Alberto do the next build not before next security update. There is a important WPA2-fix for that we should waiting until next month. So, keep relaxing. One build per month is enough ;)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] midhunmanohar:
Yes Jio VOLTE is working without any issues. I am using Jio on this phone. After the first boot, I was not able to make or receive calls. I reselected "LTE" under mobile network menu, then it started working. Not sure if it's one off issue or not.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Sterben113:
Yes it does!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tizza42:
hi I'm running an XT1635-03 fine with the nightlies. I tried to flash the unofficial 15.0 and got Error 7. Removed asserts in updater-script - re-zipped, tried again and got can't find the updater-binary. Can this unofficial 15.0 rom be installed on XT1635-03?

Thanks for any help...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] FreedFromDeath:
Try actually reading the original post.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] user822:
Does this rom use sdcardfs?

Thanks for letting me know
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] karmacoma7:
[MENTION=4480917]Alberto97[/MENTION], Man did you see any commits for fixing the glitch, that in current build we can't speak through BT headset ? (Music goes fine LDAC, APTX, etc) but if I try to speak on the phone or viber, its just dead silence. Its a torture to take off BT headphones and switch the phone back to its speaker every time somebody calls :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sam00561:
Hi is ther any way to clear notifications from constantly showing in the notification bar i cannot seem to clear it at all. Secondly is there any option to store photos to sd card i cannot find this in the camera app options.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Anybody knows if it is save to use files from 7.1.1 retus full rom on reteu MZP ( modem and bootloader). I can't find full stock reteu rom [emoji848]

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] W3ND31:
Idk if someone already reported this here but any app that needs to be displayed over another app won't be able to display over the notification panel. Even the sensors (proximity sensor for calls) don't work with the notification panel opened.

There are some screenshots from Twilight and Rounded Corner to demonstrate the bug.

Ps: keep up the good work!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] e-kai:
Thanks, this was very helpful!

My Addison device was unable to update to the latest Lineagos nightly because of the old bootloader 0xC014, as mentioned in this post https://xdaforums.com/showpost.php?p=74227927&postcount=1106

It was tricky to find the firmware you mentioned. I finally found the firmware in this post: https://xdaforums.com/showpost.php?p=73891944&postcount=10

I flashed the files you mentioned, and afterwards I was able to flash the addison 20171023 nightly. I didn't lose any data.

A note to everyone else, be patient the next time you boot into twrp. It took a few minutes until it proceeded after showing the initial twrp screen.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] felipevsw:
Any plans to merge the BlueBorne fix as well as the september/october security patch? I'm just not using this because it's still vulnerable to all recent security threats.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
There are so many people with older security patches. For example the Media Pad M2, expensive, but on 10/2016 level and no custom roms. So, we are good here ;) Wait, please. It comes anytime, keep smiling :D
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Nimalraj:
Is there any version of google camera that works on los 15. The version i have crashes while taking photos 50% of the time.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] junyamada:
Hopwfully there will be a proper camera for this.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
One month is over. One month with stable aosp-like Oreo on Z Play :D Now the time will come for new features in future builds. Has anyone found any bugs? Was a great month :o No real big bugs, right?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Ultramanoid:
The build is not patched yet for the KRACK WiFi vulnerability, I wouldn't use it until it is or be quite careful about it.

Edit : In a previous post someone else already pointed out the lack of recent security patches. To be honest, this is much more serious than a glitchy camera or any other bug. This should not be used as a daily driver at all in its current state.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
yep, i would add the SE policy set to permissive, for people how want to be secure it is best to stay on nougat.

And guys don't be too much hurry, Alberto is not full time on lineage and he maintain an other device, so just wait patiently

Anyway Oreo don't bring so much vs nougat, so not so hard to wait.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
Come on, I know a person with Huawei Media Pad M2 and he has a patch level from 2016 and do important things with it like online banking and so on. Compare with that is this one here absolutly save :D
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
We all know people who do silly things, that's not why we have to do the same, but to be clear no one prevent you to use it off course, feel free ;)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Ultramanoid:
You'll change your mind very quickly and quite definitely when ( I say 'when', not 'if' ) you're a victim of ID theft, financial loss, work data thievery, or any other crime fallout that takes advantage of unpatched software. As it happens every single day now.

That's not good advice at all.

One of our clients had been running unpatched software on his Android phone. He also kept financial data on it that was stolen because of his carelessness and affected a dozen people. Don't encourage people to use unpatched software, ever.

The same thing with a hotel where we stayed, they got all our credit card data stolen because of having never patched their lousy WiFi router, all the clients had to cancel their cards and contact the bank. This happens everywhere, all the time, every day. Stay away from unpatched software, and tell others to stay away.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
[MENTION=4480917]Alberto97[/MENTION] i'm not pretend to ask for updates but i little worried about security patches, crack and others security things. If it's possible to update the rom, just the security patches, i'm get more relaxed, and i think others user here gonna be happy too.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] felipevsw:
+1
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
Is there any way to make newer version of netflix app work on this rom?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
I think the security patch of 2017-11-06 will be needed to fix KRACK issue. Keep smiling. It's not a big issue, if you don't have criminal people in your house ;)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Ultramanoid:
Please stop writing irresponsible statements, on a developers' forum of all places, about a massive security vulnerability such as KRACK, or belittling the need for security patches for many other ongoing issues.

This is alpha software, posted as-is, and should be used accordingly. If you want to recommend a stable and up to date Lineage build, do so in the 14.1 thread. If you want to keep using this build, do so at your own risk, but do not advise others to ignore the security vulnerabilities.

If you are not a developer and come just to download software, at least try not to speak of things outside of your expertise, whatever that may be.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] ammarr:
I keep getting access denied here. Are these links geo blocked? Still looking for the correct firmware to flash for Canadian Z Play.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
look like some countries can't DL on Motorola , I have used a VPN to be able to DL
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] ammarr:
Which country did you have to use? I can't get the download to work from Canada or US IP.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
I'm in France so i have used Germany to stay EU, with Hola vpn (chrome plugin).

If someone need this version and can't DL from motorola : https://androidfilehost.com/?w=profile&uid=529152257862699209
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] ammarr:
Thanks. I was able to update my Canadian Z Play using this link.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tezman58:
Can't use Bluetooth headphones to talk, phone Audio is on and it indicates on incall menu that Bluetooth is selected but sound is coming out of speakers please help me out with this