yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kocj:
The updater has a new ROM again. Has anybody tried it jet?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pamau:
Hi @kocj, Hi all,

yes, I did a short test, now. It seams that the reboot issue is fixed. But I´m not sure if this is only a work around or the final solution/fix.

I could find in the following error messages in my logs:

...
...
01-05 06:44:40.230 3824 3824 E SensorManager: sensor or listener is null
01-05 06:44:40.230 3824 3824 E LineageActions: Failed to registerListener for sensor null
01-05 06:44:40.230 3824 3824 E SensorManager: sensor or listener is null
01-05 06:44:40.230 3824 3824 E LineageActions: Failed to registerListener for sensor null
...
...
01-05 06:47:40.303 3824 3824 D LineageActions-GlanceSensor: Enabling
01-05 06:47:40.304 3824 3824 E SensorManager: sensor or listener is null
01-05 06:47:40.304 3824 3824 E LineageActions: Failed to registerListener for sensor null
01-05 06:47:40.304 3824 3824 E SensorManager: sensor or listener is null
01-05 06:47:40.304 3824 3824 E LineageActions: Failed to registerListener for sensor null
01-05 06:47:40.305 3824 3824 D LineageActions-ProximitySensor: Enabling
01-05 06:47:40.305 3824 3824 E SensorManager: sensor or listener is null
01-05 06:47:40.305 3824 3824 E LineageActions: Failed to registerListener for sensor null
01-05 06:47:40.307 3824 3824 D LineageActions-FlatUpSensor: Enabling
01-05 06:47:40.307 3824 3824 E SensorManager: sensor or listener is null
01-05 06:47:40.307 3824 3824 E LineageActions: Failed to registerListener for sensor null
01-05 06:47:40.307 3824 3824 E SensorManager: sensor or listener is null
01-05 06:47:40.307 3824 3824 E LineageActions: Failed to registerListener for sensor null

If more logs or tests ar required, please let me know.

Update: also Moto Gestures no langer crashes

Best Regards
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Dante_XDA:
Hey @pamau

What about the wifi and the SIM card, it's everything ok?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pamau:
Hi @Dante_XDA

I only did a short test with wifi. This was working for me, but I don´t used a SIM card on this device. So I don´t know if a SIM card is working. But as far as I understood @Jleeblanch this is only the half of the fix if you are coming from a stock ROM. If you are coming from a stock ROM you have to wait until next week.

I will wait until next week for my LineageOS installation on the moto x4 device.

See post: https://xdaforums.com/t/rom-official-lineageos-17-1-nightlies.4076569/page-15#post-84231405
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, a good solution is merged that just skips sehash on the persist partition so that restorecon always runs on persist and so we will never have to deal with this sehash headache. The next official build will have it.

LineageOS Downloads

download.lineageos.org
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] braveheart_7:
I just installed the lineage-17.1-20201206-microG-payton.zip on my wife's new-to-her X4. Upon boot, I encountered the reboot issue. I used the step mentioned above to install PixelExperience Rom and then wipe and re-install Lineage. Now, I do not get the reboot. Not sure why it fixes it, but it did.

My wife is not tech savvy. If she encounters this issue later it will frustrate her. Is it safe for me to go ahead and give the phone to her now? Or, when will the software release come that will fix this?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pamau:
Hi @braveheart_7

I don´t know if you could go ahead with this workaround. But the next build with the fix should be available next Tuesday (a release is all 7 days). I will wait for this release before I go ahead with my device.

Best Regards
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerm8832:
I have just installed the LineageOS nightly. I followed the instructions from Stock Android 9. Wifi works, but when I put in a SIM card, I don't get a mobile connection. Any help would be appreciated.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @jerm8832 ,

do you have a backup of your persist partition by chance?

Also, were you using TWRP or Lineage Recovery?

If you were using TWRP, what version?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerm8832:
I do not have a backup, and I belive I was using Lineage recovery. The SIM card will get recognized as AT&T, but thats about it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@jerm8832 , please try this test build for payton that I'm uploading. It will be done upload in about 30 minutes.

https://osdn.net/projects/lineageos-for-payton/releases/74219
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] braveheart_7:
Thanks. Waiting a week is no problem. Appreciate what the developers do!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerm8832:
I tried flashing that file, and I get some sort of signature error, I hit yes to install, then it errors out and doesn't install.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] frazazel:
New nightly 2021-01-12 is out now. I'm going to give it a try soon.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Dante_XDA:
I'm with the new build. Wifi, SIM card ok and no reboot problem.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerm8832:
Installed the update, and the SIM is now working. That is great news. What was causing the SIM to not work before?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pamau:
Hi all,

same to me. With the new version lineage-17.1-20210112-nightly-payton-signed.zip all my issues are fixed. No reboots any more, Wifi and SIM is working.

Thank you for the solution and your work on LineageOS!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, yeah the new build of LineageOS is live and it contains the persist sehash fixes! W00t! Glad to hear it helped you guys out (y)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Dante_XDA:
Hi guys,

I have a x4 XT1900-6 and in december i tried the lienageOS, but because of the erros i had to install the stock rom. I had some issues and i had to install the stock rom from the XT1900-1 version 7.1.1 an then the 9.0 from XT1900-1 for the phone to work. It was the android one. Now i'm with the latest lineage and it's working perfectly, but when i turn on the phone the android one boot animation appears and then the lineageos.

Did I forget to delete something? I follow the installation instructions from https://wiki.lineageos.org/devices/payton/install
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
@Dante_XDA

That is fully usual during boot to system. Near 10 sec the Motorola screen and after that a few seconds trhe LOS boot animation, then the lock screen comes up.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] braveheart_7:
The LineageOS with microG download still has the problem.

Found here at https://download.lineage.microg.org/payton/lineage-17.1-20201206-microG-payton.zip.

Does anyone know when that one will get updated with the fix?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] braveheart_7:
Please see post 1864. Thx!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
@braveheart_7

LOS for MicroG are unofficial builds, so it is hard to say when updates arrive for them, mosty a longer time period afterwards.

For me, i use official LOS for my device, installed Magisk, installed MicroG GMScore.apk und used Nanodroid patcher for signature spoofing. Keeps me a lot more independent on updates of each component (i update LOS with System / Updater and Magisk and MicroG persists).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
So Payton is added to the LineageOS 18.1 initial device roster! (y)

Special thanks to the Motorola sdm660-common maintainers for the main bring up as I've been busy trying to get my other devices going on LineageOS. :)

Here's a test build that I'm uploading now of it. It will be done uploading in 30 minutes from this post. lineage-18.1-20210117-UNOFFICIAL-payton also contains some audio adjustments to try and fix echo issues and also audio not working in some cases. If you folks want to test all audio functions that would be good.

Update: found and fixed an audio bug when recording videos with the front facing camera. I'll do a new build later with the fix

Release lineage-18.1 lineage-18.1-20210117-UNOFFICIAL-payton - lineageos-for-payton - OSDN

Release lineage-18.1 lineage-18.1-20210117-UNOFFICIAL-payton - lineageos-for-payton #osdn

osdn.net

I'll ask Erfan if he wants to make the LOS 18.1 thread as well

I've tested camera functions and a lot of other stuff like upgrading from 17.1 to 18.1 and it worked fine for me, but it would be good to get any feedback in case I missed any serious bugs.

Afaik, only WiFi Display (Miracast) is currently broken as we don't have a good source to kang WFD blobs from for Android 11 as we cannot use BSP blobs so we can only use OEM ROMs as our sources.

Recently, my Asus Zenfone 5z (Z01R) was added to the official 17.1 devices, and my LeEco Le Max 2 (x2) is also on the initial 18.1 devices roster, but unfortunately, I'm having serious issues with my Lenovo Z6 Pro (zippo) so that will take some time...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Rix4:
Hello,

I have a XT1900-7 and started with the lineage 17.1 2021-01-05 using twrp and updated to 2021-01-19 with no gapps, everything is working except i get no mobile internet connection beyond edge. SIM works in another phone just fine, any ideas for a solution would be greatly appreciated.

Thanks a lot!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
Installed last Android 9.0 stock rom for payton before installing LineageOS? As described in installation wiki?

https://xdaforums.com/t/guide-video-text-how-to-flash-official-factory-firmware-moto-x4.3808348/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Rix4:
Yes I did
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pamau:
Hi @Rix4

Don't use version 2021-01-05 for the first installation via USB because it has a bug. Use a newer version for the first installation with twrp. An update via OTA will not fix it as far as I know.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Rix4:
Thanks for the answers, so just to be sure: do I flash back to stock before trying a newer version to start with?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pamau:
For me, it was enough to reinstall the newest lineageOS over 2021-01-05. But before I started with the first installation, I had the latest stock rom on my device.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Rix4:
I guess I'll give it a try then. Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ozero.blue:
Hello there is sound distortion & crackling when I increase volume both in loudspeaker & media.anybody facing it?

edit:also in phone calls.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @Ozero.blue , to me it sounds like your speaker could be damaged. My x2 exhibits the same behavior where-as most users don't have any crackling/distortion. Your best bet is to replace the speaker as I am on my x2.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ozero.blue:
@ThE_MarD, yep its busted!checked with other rom,funny thing it was working fine right before flashing lineage.this device has gone throw so many rough days & survived like a champ.i think i should leave it as it is to keep waterproofing.

thank you.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
OOF! So I bricked my payton while trying to test out flashable device firmware zips via recovery (NOT a good idea on payton I guess lol) and I was able to get blankflash going thanks to SyberHexen and eventually got Fi Pie stock ROM flashed... but my payton's super messed up. Meow I can't even use fastboot to flash anything...

PS E:\modding\payton> fastboot flash boot .\twrp-3.5.0_9-0-payton.img
(bootloader) max-downlo: not found
(bootloader) partition-siz: not found
fastboot: error: cannot get boot partition size
PS E:\modding\payton> fastboot flash boot_a .\twrp-3.5.0_9-0-payton.img
fastboot: error: Couldn't parse partition size '0x'.
PS E:\modding\payton> fastboot --version
fastboot version 30.0.5-6877874
Installed as C:\platform-tools\fastboot.exe

So it might just be safest if users just flash the actual full stock ROM instead of a device firmware flasher on this device... yikes...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
I found a tiny bug on latest Lineageos 17.1. When I record my voice in Anki to check my pronuction, then it doesn't play the record of my voice. I granted permission for recording and it works with normal lineageos recorder .

Below there is the logcat .

And here is the link for the video of the bug.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @Sujanth thanks for the bug report! Turns out we needed another update to our mixer paths for handset-dmic-endfire. If you could please try out this test build

https://osdn.net/projects/lineageos-for-payton/releases/74547

It also contains some extra echo-reference fixes for headphones/aux voice calls and also VoIP calls if anyone could also please test that stuff out too.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
micropohone bug is fixed. Thank you.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Thanks @Sujanth , the change is merged and will be included in the next official build.

It seems more work is needed for the echo-reference stuff, so that change isn't merged yet
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, another test build is going up! The upload will be done within 30 minutes. lineage-17.1-20210202-UNOFFICIAL-payton contains some more adjustments to echo-reference to try and fix noise cancelling during VoIP calls, so please test it.

Release lineage-17.1 lineage-17.1-20210202-UNOFFICIAL-payton - lineageos-for-payton - OSDN

Release lineage-17.1 lineage-17.1-20210202-UNOFFICIAL-payton - lineageos-for-payton #osdn

osdn.net
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
I just made a whatsapp call. Echo is still there.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @Sujanth , can you please provide logcat?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Hello @ThE_MarD,

Sure. Should I test it on the latest official lineageas or on the latest test build?

Edit:Here are the logs-

bug1 without bluetooth or wired headphones. This time there is not a loud echo like in the latest test. The other person is just hearing a annonying rustling. I made a whatsapp call.

bug2 switch in a whatapp call to my bluehooth earbuds. Then the other person could hear me clearly
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mihaum:
Hi all,

does anyone has an issue with 'do not disturbe' schedules not being turned off? Neither the alarm override, nor default time seems to disabled the DND.

I think that the issue came in late December / beginning of January.

I mostly update the LOS on weekly basis. I am currently on 02.02.2021 build.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Crystawth:
Is anyone having issue using amazon and yahoo mail apps?

At first i thought it was because I didn't install Google apps. But still having issues after installing and logging in.

Amazon said no internet even though it was downloading things, and Yahoo says unknown error I believe
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
I am preparing (I think) to try installing LOS on my XT1900-1 again. I tried several times last month and always ended up having no signal/data. Looks like this issue (for some) may have been fixed in lastest builds, hence my decision to wipe all and try again: (link). I'll report back if I'm successful (or not). CC @ThE_MarD

EDIT: Sure enough, I finally have LOS loaded with cellular. Now to see if I end up with any other issues.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tikisbytyler:
Is anyone experiencing reboots while using maps/navigation? I have had this issue with this ROM as well as others, when using navigation, the phone will unexpectedly reboot, sometimes loop until I long-press power.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Crystawth:
I just want to point out that I am in fact a moron... Adblock is the reason it won't work...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] maplewood5:
Big thanks to the devs for getting Lineage on the X4 and fixing so many bugs. Downgraded to an X4 specifically for a "degoogled" Lineage experience and it's gone fairly well... Certainly easier going than the last time I played with custom roms something like a decade ago.

I finally flashed my wife's X4, the speaker volume is much lower than with the stock rom. I tried bumping everything to +15 in AudioFX as a bandaid, but it didn't seem to do anything. My own X4 has the same issue, so I have to think it's a "real" issue and not just just some weird anomaly. Anyone else experiencing similar issues, or have a fix?

For the record both phones have:

* Lineage 17 Nightly (her's is the 02/09/2021 build, mine is one behind)

* MicroG via NanoDroid w/ patched Services.jar via NanoDroid-patcher

* Rooted via Magisk

* TWRP

* Her phone was bought from Fi but is now on Mint, mine is used, no idea the source

* Neither have gapps installed
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Francesco Libera:
I also face the same problem since I flashed Lineage the first time. But running some tests i found these results:

Cases where AudioFX works:

• YouTube playback (sometimes stops when "double tap" to send forward or backwards)

• YouTube Music streaming playback

• Soundcloud playback

• Whatsapp audio and video playback

• Google Photo video playback

• Google Drive video playback

• Google Chrome audio and video playback

• Instagram video playback (It random works)

• Facebook video playback

• .WAV files on the internal storage and external SD (tested on Eleven, Google Play Music, YouTube Music)

• System sounds (only for few seconds after booting: after the first unlock screen, systems sounds return to be played with normal audio)

Cases where AudioFX not works:

• .mp3 files on internal storage and external SD (Tested on Eleven, Google Play Music, YouTube Music. The only way to listen to mp3s with AudioFX on, is that the file is downloaded and played through Chrome's download tab)

• Games (don't really care but just to be precise)

• Phone Calls (maybe with this is different)

• Sometimes AudioFX just does not work at all (even with the app setted correctly). In this case, a reboot is needed.

09/02/2021 Build, XT1900-7

I'm still testing and the situation isn't changed. If I noticed some changes, I will update you asap.

I hope to be have been helpful.

Thanks for all the time and effort you put into this project! Have a great day!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Hello. I think I'm experiencing what's a not uncommon situation in LOS builds: Links from apps (e.g., Slack) result in net::ERR_UNKNOWN_URL_SCHEME. Does anyone know a relatively easy way around this issue for this ROM? Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
@ThE_MarD why there isn't a weekly build for the last week?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
Some issues with the signing server, many builds have failed that day. Next build expected for tomorrow.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, a new test build is up. It includes some changes that SyberHexen is testing on river to fix echo during VoIP calls

Release lineage-17.1 lineage-17.1-20210306-UNOFFICIAL-payton - lineageos-for-payton - OSDN

Release lineage-17.1 lineage-17.1-20210306-UNOFFICIAL-payton - lineageos-for-payton #osdn

osdn.net
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
Just tried. The called has still echo on Telegram. And on Signal also. WhatsApp ok. None of these probs on my wife's stock Payton.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Yeah echo is still there, but it is temporary. At the beginning there is a echo, but after some seconds there is no echo. On earlier builds, there were always a massive echo, so that I can't talk with Whatsapp. Now it is possible to talk with Whatsapp. So there is an improvement. Anyway, I have attached the logs.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] sbrzezin:
Hi,

I try to install on XT1900-7. After installing and starting, the logo of LineageOS appears and it remains forever. Does someone know what could be wrong? I repeated the procedure many times. Also with earlier firmwares (2 months ago) - with no luck.

Sergiusz
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Crystawth:
I can't seem to get a GPS lock of any kind.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Crystawth:
Ok, so I've been trying to run with no google services what so ever, and apparently because of that, GPS doesn't work. I installed the nikGapps core package and GPS locking started working.

Been looking at another way to add GPS functionality and apparently there's some apps on F-Droid that can replace the needed framework. Gonna play with it later.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
@ThE_MarD Here are two logcats I made during Signal and Telegram video calls with echo for the called. Official lineage-17.1-20210309-nightly-payton.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
... No Chance to attach files
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, thanks man! I do see something I haven't seen before

E audio_route: unable to find path 'echo-reference handset'

So maybe we need to address that

You can always upload them to Google Drive or something and PM me a link
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
I did
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, a new test build is going up! lineage-17.1-20210312-UNOFFICIAL-payton contains some changes for handset echo-reference paths and an audio platform config change by SyberHexen for adding a missing ACDB ID when fluence is enabled. I'm uploading it meow, so it might take up to 10 minutes from this post before it's available.

Release lineage-17.1 lineage-17.1-20210312-UNOFFICIAL-payton - lineageos-for-payton - OSDN

Release lineage-17.1 lineage-17.1-20210312-UNOFFICIAL-payton - lineageos-for-payton #osdn

osdn.net

@Sujanth and @leetripper if you could both please test this build as your logs both show missing echo-reference handset in them
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
Thank you! Will do.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
The echo is still there. I put a new log from telegram video call on Gdrive.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Notare:
How much does the camera quality degrade with this ROM?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
What camera app do you use? Stock LOS, Moto Camera 2, Open Camera or a GCam 7.3 Mod?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Notare:
Stock LOS, this will be my second time installing a custom ROM so I don't have a lot of experience about what apps are worth etc so I end up using the default ones.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Thanks ThE_MarD. Finally the echo on whatsapp call is fixed.(y):) I only tested it with whatsapp
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@leetripper , thanks I'll try to take a look at those logs

@Sujanth , w00t! That's good news! :)

So it sounds like Telegram might be the last holdup for echo issues
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
Haven't tested Signal yet ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
As i asked, i use all of rhen, thex have all theit avbantages and disadvantages. You may try yourself and decide what is applicable for yourself. At least i would give Open Camera a look on.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Dukenukemx:
Anyway to stop this rom from installing LineageOS recovery? Its bad and I like my TWRP.