yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] 451plus:
Hello,

I just got a used X4 and installed lineage-18.1-20210824, following the steps at the top of this thread (coming from stock Android 9 something) but without installing optional gapps.

Everything I tested so far worked fine, except there is no email app and it is impossible to add accounts.

Should I

go back to stock and install LOS again or

install the missing email.apk from somewhere?

Not sure if something went wrong during installation, as there where no errors reported. Upgrading to to most recent lineage-18.1-20210831 with LOS built-in updater did not change the missing email.apk.

Also tried out fresh install after factory reset and applying most recent copy-partitions, but that did not change anything. Installing lineage-17.1-20201117 (that version worked perfect on another X4 device for a long time -- thanks for the great work!) unfortunately failed.

Thanks for your suggestions!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
LOS 18.1 has no stock mail app anymore, try FairEmail or K9-Mail instead.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jeremywh7:
The latest LOS Email' is from a year ago, or there's other 'stock' email app options available too (Asus, Samsung, Google, Lenovo, LG, Huawai, etc.), if you didn't want to use wkn000's suggestions:

https://www.apkmirror.com/?post_type=app_release&searchtype=app&s=email

:-)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @451plus , the AOSP email app was dropped since Google neglects it and I believe there's security flaws with it anyways. There's plenty of great email apps on the Play store which work fine with exchange email servers

@H0ss1 , hmm, which device firmware are you using by chance? I'm on XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC and I don't have any audio issues when calling when using earpiece of loudspeaker.

@zerolam , sorry for the late reply but I can replicate that super weird bug, so I'll try to figure out what is causing it as it is very very odd
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] H0ss1:
@maelopam @ThE_MarD

I finally found the solution to the Mic issue. It was dust inside the tiny Mic hole (along side the finger printer) in the front of the smartphone. Also cleaned the tiny hole in the back side of the phone. Used isopropyl alcohol on both hole and vouila! Problem fixed!

Source:

https://www.reddit.com/r/MotoX4/comments/83cwss/_/dvhjaf3
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@H0ss1 , that's great news! Glad to hear your mic is fixed and you posted the solution here for others to see
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
Something similar happened to my X4 Within a month of purchasing it but I damaged the microphone by attempting to clean it with a toothpick. Thanks for sharing a more sensible solution than what I tried. The alcohol I might have guessed but not the sonic toothbrush.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] htsmi:
Well I finally got around to trying this, patching fstab.qcom like so:

--- a/device/motorola/sdm660-common/rootdir/etc/fstab.qcom
+++ b/device/motorola/sdm660-common/rootdir/etc/fstab.qcom
@@ -8,7 +8,7 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/system / ext4 ro,barrier=1,discard wait,verify,slotselect
/dev/block/bootdevice/by-name/userdata /data ext4 nobarrier,noatime,nosuid,nodev,discard,data=ordered,noauto_da_alloc wait,check,formattable,latemount,fileencryption=ice,quota,reservedsize=128M
-/devices/soc/c084000.sdhci/mmc_host* auto auto defaults wait,voldmanaged=sdcard1:auto
+/devices/soc/c084000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/dev/block/zram0 none swap defaults zramsize=1073741824
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt ext4 ro,nosuid,nodev,context=u:object_r:firmware_file:s0 wait,slotselect

It appears to work at first, but the contents turn out to be double encrypted and I remember that caused corruption for people in the past. Beryllium is on a newer kernel also. So I still might have to go back to FDE.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
Same issue here .lineage-18.1-20210914-nightly-payton-signed installed today

I see flickering on plus messenger and telegramma official. When typing in the browser or other apps no problem.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
I confirm the workaround of disabling hw overlay works. however it must be set at every reboot :(
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@htsmi hmm that sucks it didn't work... I guess the safest bet is to stick with FDE then...

@Afgil hmm, any chance you can get a video of that and also logcat please?

I've tested out different brightness configs that AndrewHexen made for sdm632-common and luckily they seem to work great on payton so I'll release a test build with it. I'm just waiting on also being able to add some vendor blob updates with it as lake got a new OTA on the stock ROM.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
For the video i can try. I don't know how to extract a logcat
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@Afgil here is a guide

How to capture logs | LineageOS Wiki

wiki.lineageos.org
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
Ok i found a way to give you all the informations. in the video the flickering is well appreciable at 00:13 and 00.20, but it was more frequent.

thank you
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
the video was not loaded. you can find it in the zip
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Dukenukemx:
Does WiFi calling work with T-Mobile because I can't seem to get it to work on this rom. I'm on 20210706.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Thanks @Afgil , hmm, unfortunately it didn't give me any hints as to what is causing it and I can replicate it on my payton too, so I think I'll need to maybe check props and other display related configuration parts and see if I can get lucky and pinpoint what is the error.

Off topic, I saw you have a smart watch, can you please tell me which and if you recommend it? I've thought about getting one, just not sure which and how much I'd be willing to spend heh
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
I am using an amazfit GTS 2 mini. 80€. It is not bad, i am using just for heart monitoring and fitness. It shows notifications with limited reply bit do bit makes calls. It has GPS include andò interfaces with smartphone for music. Battery good, it lasts around 3 days with my settings, doing fitness everyday.

There is another newer model having also storage and built in player.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
Hello!

I have a new big issue here!

Once i was watching a video, once the Screen was in lock, once i was on messenger, once i was in the car, but the car was completely off.

In this 4 cases i got an incoming call, the phone was ringing and vibrating but

I was not able to reply! There was nothing on the Screen, i mean not the usual interface to reply the call.

NOR if i manually opened the phone app

I just had to wait the caller to end the call, then i received the SMS of lost call, and had in the hystory the lost call, so i was able to recall.

This is very annoing!!!

Do you nave any idea?

Could you do something?

Thank you
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Vlad_mir:
Hello,

I'm new here, never messed with flashing ROMs before and not much of a developer. Just installed LineageOS 18.1 with TWRP (official LineageOS18 image didn't work), and I'm amazed with the results. It's almost like a got a new phone. Many thanks to team Lineage and whoever ported it to payton!

Now, I'm having one big problem with my XT1900-6: Connection with LTE is VERY spotty. Most of the time it's only GSM and GPRS or just disconnected from the network.

I checked APN settings for my carrier and it looks ok. @ThE_MarD mentioned "carrier overlays" but I couldn't understand exactly what are these.

So, my questions are:

a) I flashed my phone from stock, but without the carrier (Claro BR) chip. Does it have any influence on this matter?

b) If that's not the case, what logs should I get to begin looking into the problem?

c)Should I post it here? I got to LineageOs Gerrit page, but it looks like a developer's thing. It looked way out of my league...

Thanks, and sorry for the newbie questions!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@Afgil , hmm, can you please logcat that? Maybe it'll give us a clue as to why in this case it isn't working for you. Hopefully we can find out all these graphical bugs... So far no luck from my testing...

Heyyo @Vlad_mir , that's great it's running good for you! Erfan was the main guy who got Payton working amazing on custom ROMs, so most of the thanks goes to him. :)

Just to check, before flashing LineageOS, were you on the latest build of Android Pie for your Payton?

You can post logs here and hopefully we can locate what the issue is.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
I installed the app google phone and worked well.

Today i was going to extract the logcat, but there was the notification of update.

I applied the update and removed the google phone app to make the test.

I don't know what happened, but now it is ok. and works well.

by the way the problem of flickering is instead always there.

do you have a suggestion to enable by default the option for Hw overlay?

thank you
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@Afgil tbh I'm unsure of a way to force that setting, but I'm still looking into this bug as it should be something we can fix in our device trees or something I think. That's good news that the issue might have just been the default dialer setting, nice find!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] htsmi:
FDE doesn't work either on 18.1, at least without more debugging which is beyond my level. It fails to encrypt and then bootloops. So I'm stuck with unencrypted portable storage. At least I got a 64gb model recently so I've got a little more internal space.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@htsmi , We might be able to use FBE on adaptable storage if we do the prop as mentioned here

File-Based Encryption | Android Open Source Project

source.android.com
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TomBz22:
I'm trying to install this and I'm stuck on the boot animation. I've followed the instructions here: https://wiki.lineageos.org/devices/payton/install

Unlocked the bootloader, used fastboot to boot into twrp, sideloaded the copy-partitions.zip, formatted the data (and also chosen all options in wipe), sideloaded lineageos nightly and it hangs at the boot animation.

Eventually, after around 35 minutes, it drops into the lineageos recovery.

Where should I go from here? I can get back into the bootloader, recovery and twrp so it's not bricked but LineageOS itself never boots.

I've tried the process multiple times and all the options in the wipe list.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @TomBz22 , tbh for the first install I find it is easier to just use Lineage Recovery as our device is A/B so TWRP gets removed after flashing a ROM install anyways. Also, sometimes I've noticed that TWRP format data doesn't always work correctly too...

Just to check, were you on the latest build of Android Pie for your payton? It is a requirement to be on Android 9.0 firmware before flashing the ROM.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TomBz22:
ah, thanks. It's a brand new phone, and was on Android 7 stock.

edit: Thank you, installing the stock Android 9 ROM and then Lineage works perfectly.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@TomBz22 great news! Hope you enjoy all the team effort that went into Motorola sdm660-common devices for LineageOS :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
Hello!

I have a small issue with speaker volume. It is very low! Never had this problemi with stock ROM.

Any idea?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Francesco Libera:
When I installed LineageOS 18 for the first time, the overall sound was cleaner than STOCK ROM sound despite the lower volume. I think there are 2 audio modes: a "normal mode" and a "phone calls mode" that introduces a compressor that squeeze the sound to make it louder reducing distortion but at cost of less quality. And I think STOCK ROM was always set to "phone calls mode" as I remember how it used to sounds like. I made a test yesterday: play a song on YouTube Music app... great clean sound. meanwhile I started a phone call and ended it few sec later. The playback continues but now with the "phone calls mode" audio. I stop the playback. audio returns to normal mode.

XT1900-7, 12 October Build
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] htsmi:
I just had a similar issue with an incoming phone call while I was on the line with another phone call. There were incoming call beeps but no way to answer the call until I missed it. I'll try to reproduce this and see if I can get a logcat.

Another issue I've noticed is that notifications will stop sounding at a certain point, and the only way I can get them to start again is rebooting. It still vibrates though. It may have something to do with bluetooth audio which I use occasionally, google really confused notification and media audio streams and volumes in recent versions and it seems like a lot of bugs resulted from that.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TheDanMonster:
Has anyone tried MotoCam2 after this update?

https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/317781/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
I tried to reinstall but no way.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
MotoCamera2 also not working for me after today build update (using com.motorola.camera2_7.2.32.61.apk, which worked flawlessly on LOS 17.1). I did a reinstall too, App starts, ask for permissions and afterwards it goes in "background). Try to select in task manager lets the app crash (App closes too often/Close App popup).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
Apk? I don't have apk i'm using the .zip file to ne installed from recovery, ad one can find in this forum section mods. And that do noto work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
@Afgil

Yes, i know the zip, but you have to flash it after every update, for me that is uncomfortable. And as said, the same apk worked in 17.1
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Afgil:
Avere can i find the apk?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
APKLinker

Get APK of popular android apps. Either it is alpha, beta or final release, download now from APKLinker. Don't wait for staged roll-out.

www.apklinker.com

But newer versions just not install at all.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] flipguyfromthepi:
One of the Lineage people answered, "this isn't intended to fix things for just installing it, it may by proxy, but this is for devices who pre package this in, Nash as example. we also edit the camera app in multiple ways, go look at the device repo to see."
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, a new test build is up! lineage-18.1-20211022-UNOFFICIAL-payton contains tweaks to the brightness during always on display and also some blob updates from the latest Lake build released.

Mainly need automatic brightness tested in all scenarios (AOD, in light areas, dark areas, while charging in dark areas, etc)

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

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

osdn.net

As for LineageOS 19.0? I have it synced on my PC meow, I just need time to start building it for all my devices
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IW4:
Now this is a username I did not expect to see! Just wanted to thank you for your work on these builds, as I installed it on my partner's phone. Much obliged, and keep up the good work!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @IW4 , you the one I'm thinking of too!? From the Pure Pwnage community!?!? Haha great times :)

Yeah I've been doing the LineageOS and TWRP thing for a while meow. I maintain the Lenovo Z6 Pro (zippo), Lenovo Z5 Pro GT (heart), Asus Zenfone 5z (Z01R), Motorola Moto X4 and LeEco Le Max 2 (x2). I pretty much do this stuff in my spare time as I have a little noob of my own to raise heh. How have you been!?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] andyrtr:
The recent update doesn't accept my 64gb sdcard anymore. Reformating it finishes but it keeps reporting an unsable sdcard. The sdcard works in a card reader on a different system. Is this a new bug?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
This is not to doubt that you may have discovered a bug but those are the same symptoms which might occur when an SD card failure is impending or already occurring. As simple as those SD card seem, they have mechanisms to detect failure and sometimes lock bits. It might be worth testing a different card. If the same thing does not occur with a different card than it probably is a card issue.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] andyrtr:
After some testing it seems indeed to be a faulty card issue. A replacement card works well now. So the update was not the culprit.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Francesco Libera:
I confirm that my 100Gb SD card works as always
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, a new test build is going up! lineage-18.1-20211112-UNOFFICIAL-payton contains a different way to fix the automatic brightness that restores the old values and just fixes the brightness slider via status bar bug. It also has some tweaks for testing adoptable storage.

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

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

osdn.net
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] aczlan:
Looking at coming back to Lineage and putting it on my X4 (had it on the Motorola G4 Play that preceded it), any big issues that would preclude using it for my daily driver on a Verizon MNVO?

Thanks

Aaron Z
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jtnc:
Works fine for me on Verizon's prepay plan. WiFi calling has never worked for me on Verizon for any custom ROM. VoLTE used to work, but I lost it at some point and haven't managed to get it back with LineageOS, so simultaneous talk and browsing doesn't work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] aczlan:
VoLTE hasn't worked till this point (poor switchover resulting in dropped calls), so I already had it turned off and won't miss it.

Aaron Z
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Has anyone tested that last test build by chance? My payton for some reason is giving me errors when flashing so I think I need to blankflash and start over on it, oof...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] htsmi:
Wow, I've had Verizon (USA) VoLTE working fine all along. A few times after flashing I've noticed it not working but I do a TWRP backup, install the last stock rom and make a test call, then restore and it all works again reliably. I haven't dealt with switching over much though because most of my area is LTE-only.

The biggest problem I have is the speakerphone volume, I know some changes were made but it's still pretty unusable for me. I haven't tried with a factory reset though.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] aczlan:
Sorry if I was unclear, some combination of my previous X4 (stock Motorola ROM), my previous MNVO and/or the signal in the area I drive through on my commute resulted in dropped calls about where there would be a handover between cell towers, nothing related to Lineage.

I have VOLTE enabled on Lineage and have had no issues to report to date (granted its been less than a week).

Aaron Z
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @htsmi , it looks like adoptable storage with FBE does indeed work on Android 11 on that test build I have up ;)

It does show SD card missing upon reboot before unlocking, but once you unlock? It'll also unlock the SD Card and the apps stored on it will work (I used APK Pure as my example).

https://review.lineageos.org/c/LineageOS/android_device_motorola_sdm660-common/+/319683
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Kilogrm:
I had issues when I was on AT&T, but I'm currently running the latest build of Lineage 18.1 and I found that after I switched over to T-Mobile both VoLTE and WIFI Calling have been working just fine.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] zerolam:
I recently reboot my Moto X4 (build 23 November 2021),

notification shows "Issue with SD card, Tap to fix"

This should be the first reboot after the update (23 Nov 2021)

not sure whether the issuer is related to sd card or OS.

this situation likes I removed the SD card directly from the phone without any decryption.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] aczlan:
I have had a few call quality/dropping issues, but I think they are due to cell data connectivity issues as it is not keeping the APN that I have selected (keeps switching to TRACFONE.VZWENTP when it should be using VZWINTERNET).

Aaron Z
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, anyone got feedback on this build? Automatic brightness is fine for me, same with adoptable storage but I'd like a community member to also confirm.

Update: a Beckham maintainer tested both and they said it works fine for them so I merged both the automatic brightness fix and the adoptable storage. The next official build for Payton will include both. ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jtnc:
Hey @ThE_MarD, a question on the auto brightness issue. Is this trying to fix the brightness to not reset to minimumafter you have set it to a non-min setting? If so I don't think it is fixed in The 12/5 build which I thought had the fix.

To be clear.here is an example. I set brightness to non-min as shown below

And then sometime later I see it dim too much and it is back to the following.

It will typically hold the modified brightness for a while, but eventually some light to dark transition will flip it back to the min setting.

Thanks, and thanks for the device builds!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jeremywh7:
I had this happen a couple times last weekend; first time I'd ever seen it. I didn't know there had been an auto-brightness issue... mine was always fine. :-)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] aczlan:
Anyone else seeing issues with the microphone in calls using the built in mic?

I am constantly told that they cant hear me unless I am almost yelling into the phone and them my audio comes and goes faintly.

Doesn't seem to matter of I am in "regular" or "speakerphone" mode, but if I switch to a Bluetooth headset or the car handsfree and its fine.

Talk to text seems to work fine, audio quality via the "Recorder" app might be a little quiet, but its decent..

Has been this way since I switched to Lineageos, before that on the stock OS it wasn't an issue.

I have the 21 Dec build installed with the Opengapps Nano package.

Aaron Z