yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d_mouse81:
I've seen this asked a couple of times, but no-one ever responds.

I'd love to find out how to disable the fingerprint scanner being used as a home button I've constantly got the fingerprint sensor going off with long presses in my pocket and opening the google assistant even with pocket detection enabled.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
I join the question
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
I wrote some magisk modules for this.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] onlycash:
If I may ask could you please provide a short explanation as to what each does and does not do?

Just so I can be sure if I'm understanding what they do correctly.

THANKS
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] st0nedpenguin:
Then to add insult to injury you have to enter a pin to unlock because the fingerprint sensor is disabled when you actually DO want to unlock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d_mouse81:
Yes, exactly this. It's almost annoying enough to make me go back to stock

---------- Post added at 01:08 PM ---------- Previous post was at 01:05 PM ----------

Thanks for this SyberHexen!

As with onlycash I'd love a little more info, but I'm happy to experiment with them and see what they do.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
No assist removes Google assistant on long press

No gesture removes FP gestures which includes simulation of the home button.

No assist gesture is removal of both features.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d_mouse81:
Awesome thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] vaidhy2007:
I just installed LineageOS. I am not getting VoLTE selection. Moto X4 from India. Using Airtel

Also not getting phone chat head during ongoing call. Let me know what I should do..
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Crossvxm:
Anyone know if this (or any) custom rom fixes the issue found in stock where voice in calls cuts out?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
If you think this is an actual issue with the ROM you should submit a bug report which includes a step by step description of how to reproduce the problem, and pertinent details such as the providers and type of SIM in use, as well as a log that you captured while reproducing the issue. Then file that bug report at the LOS Gitlab (LOS official problem tracking system, and here at XDA.

If you don't think this is an issue with the ROM then it would be more appropriate to post in a general thread instead of a development thread.

[EDIT]Just to add: volte is fairly popular and others have probably asked the same question, so before going through the trouble of filing a bug report, search this thread for "volte" to see if this has previously been answered.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] vkbhanwariya:
Is moto Action working on lineage OS ?? and how's battery backup compaired to stock ???
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
Netflix crashes constantly on opening. Any ideas?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
I have no standing to demand or enforce anything here but: Please respect that the topic of this thread is Lineage OS 16 Payton development.

There is no evident connection between the issues or questions either of you mention so those posts would be more appropriately placed in a general or Q&A thread. If there were an evident connection to an issue with this ROM you certainly would have provided a bug report includinig details and a log, that the developer could use to work on the issue. ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
My apologies, IronTechmonkey, my intention was in no way offending the developer. You're right, I should have at least attach a log. Because the problem is only with the Moto X4 and my other phones on Lineageos or other custom ROMs are doing fine with Netflix 7.14.0, I thought, it would be of interest knowing about this specific problem. But my short post could sound, as if I'm complaining, which was never intended. BTW Netflix 6.26.1 is running fine, so it's more of a problem with this app. As soon.as I find the time, I'll attach a log...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
No need to apologize to me. I'm not speaking on bahalf of the developer, but rather just nagging about the forum rules which serve development threads; annoying to some people but correct in point of fact. In any event, another advantage of providing bug reporting details is that it narrows down the scope of possible issues (which for Netflix is wide), and also that other users might be better able and more willing to test the reported issue.

Q&A threads can be great places to filter these sorts of reports, some of which may be precursors to actual ROM bug reports so I've asked the creator of a Moto X4 Q&A thread if they would mind the use of that thread for these questions.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
I agree with you, thanks. BTW I updated with the last Nightly, now these Probs are gone...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] onlycash:
No notifications on text

I'll try to make this short.

I am not getting notifications when text messages arrive.

It's not my network etc, the same sim in a different phone works fine.

When I unlock my phone it will give me the notification and the text will be dated 45 minutes ago.

I tried keeping the messaging app from sleeping etc but it didn't seem to help.

I like the ROM otherwise but I can't keep using it if I don't get texts.

Does anyone have an answer?

THANK for any help.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
Yup, I'm in the same boat. I installed qksms. It's a great replacement for the stock SMS app.

QKSMS (Messaging app) - https://f-droid.org/app/com.moez.QKSMS

It might be in the play store, but not gonna look.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] onlycash:
I'm not sure if you're saying that this replacement app is giving notifications or is it behaving just like the stock app?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
qksms gives notifications and makes the light blink.

These are the droids you are looking for. Just install it already.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] onlycash:
I just wanted to be sure what to expect.

Thanks.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] enzodad:
Installed like a charm- Some Aspects a bit glitchy, But One Question, I went back to recovery and installed lates TWRP and when I go back into it, It asks for PASSWORD, which i cant figure out. how do i get around it? I hit cancel and lets me in but shows nothing i xfered to the phone
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
FM Radio not working but...

In Lineage FM Radio is not working so maybe try this command (from Havoc OS) :

' su

setprop vendor.bluetooth.soc cherokee '

I don't have Lineage OS installed and I cannot test this.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kaosb0x:
it'll always do that install twrp-payton

have to install twrp-payton.zip via recovery as when installing the rom it'll overwrite recovery, so ya gotta do it everytime...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
To answer your question, NO it cannot be installed. Side-loading the .apk says: app not installed.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] sbrzezin:
no sound in calls in both sides

Hi,

I installed LOS 16 on my Moto X4. Everything is ok but there is no sound in phone calls. I can't hear and nobody can hear me. There was the same problem in 15.1 when I tried to install it some months before. Searching this forum, I saw, I am not the only one with this problem. Have someone any idea what can be wrong? Thank you in advance.

Sergiusz
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
If that is the case (seems to be fine with mine) I will revert to stock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
Just tested and everything is OK. What is wrong with you, scaring me like that?

Maybe you are having issues. Changing (without disabling) the default phone app might solve any issues you have.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] flieswithhawks:
The Moto FM app requires an additional package FMRadioService.apk in order to work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
I am trying to find the .apk and install it. Then (if it works) install the FMRadio .apk from Motorola to see if it works. Will let you know if it does. Thanks.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
There were two (2) folders for FM Radio - the service (and libs) and the Player. Copied both to /system/app - set permissions and ... application is not compatible with this device. So NOT working :( .
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] sbrzezin:
Change the phone app? How to do that in LOS? I can change the dialer but how can I change the phone app?

Sergiusz
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MirceaViP:
Settings - Apps & notifications - default apps

There you will find "phone app"

Change it to whatever you like.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] sbrzezin:
Ok, I changed the phone app. But I still can't hear and no one can hear me during call :(
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TTUTLC:
Android Security level is up to 5 July 2019, and vendor security is up to March 2019 in:

lineage-16.0-20190707-nightly-payton-signed.zip
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jf.navica:
lineage-16.0-20190709-nightly-payton-signed.zip - FM radio works but no sound through speaker or headphones. Recordings do work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] maximebhardy:
I solved the problem. Forgot to flash de copy-partition. Now it's fine.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
Confirmed
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Knuxyl:
This is perhaps the best most stable lineageos I have ever used on any device. I'm thoroughly impressed. However, there is one significant problem with it, lack of DriveDroid support.

I know resurrection remix android p on another device worked with drivedroid, so I know it is not an android pie issue, but seems to be a kernel issue. Please add support for drivedroid into the kernel, i use it frequently and I'm switching from my moto z2 play to my x4 specifically because this lineageos is so polished. Thanks to all the developers for all their hard work. I was beginning to give up on custom roms looking at moto z2 play's development..
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Knuxyl:
Well I found out why DriveDroid isn't working. The USB system on this rom is very bad. I can get usb and copy files in TWRP just fine, but when phone boots, it's like computer doesn't even recognize something is connected. There's no notification, and changing USB in developer options does nothing. Upon a couple of restarts, it'll come back. Not sure what's going on

I'm pretty sure it used to work on this rom like yesterday, but there is some obvious bugs with it. I can't get adb, mtp, ptp, or usb tether working when it does this. It does say it is charging though.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TheBassDude:
Does anyone know why I get this error every time I try to update OTA? Can't remember exactly how long this has been going on but it's been at least a couple months. The factory reset option here does nothing and the only fix I've found it is to flash stock and start over from scratch. :(
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Richy19:
Are there any plans to add KCal to the MotoX4 Lineage kernel?

https://github.com/savoca/kcal
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
At one point I added this to Havoc's kernel source because we didn't have LiveDisplay for quite a while..

It worked but please correct me if I'm wrong, having both KCAL + LiveDisplay is excessive as in LiveDisplay you can change all these display + color options already.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Richy19:
I guess they are very similar, but I'm not sure how customisable LiveDisplay is, for example enabling at certain times, certain days, etc. With KCal you can automate it or even use an app like Night Light.

But you're right in that maybe LiveDisplay can just be used and built into of
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Richy19:
Just to check, I don't seem to have many options in LiveDisplay, on MotoX4 + Lineage16 do you have options for setting different temperatures based on day or night?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
No its not as configurable.

You can change Temps and color calibration but live display doesn't change color Temps based on time of day.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
If this Live Display mechanism is the same or largely similar to the way it was when it was introduced in CM12...

It's based on location (particularly latitude) along with the date and time which together determine the local end of daylight hours; so it will scale to shortening or lengthening days in the same location or to changes in latitude. After a reboot it will use just the date/time or some programmed best guess (which is about 1 hour off) until a location fix is acquired (in my case device only GPS). Once the beginning of one of the 2 daily transitions is invoked there seem to be 4 or more sub-transitions (temperature value combinations) between day and night, or perhaps it is continuous and only seems stepped.

This can be demonstrated fairly easily by manually changing the system time to various values surrounding one of the daily transition periods. Also, sometimes noticeable after flashing, when the device may be in the wrong mode and the transition period is off by many hours until it gets its first location fix post flash. After that it will be correct, or 1 hour off between reboot and location fix*.

*The 1 hour off after reboot until location fix may have been more recently tweaked (I recall some possibly related commits) the overall mechanism seems the same.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] woelkchen:
Trying to flash it on a XT1900-7 which previously had Stock 7.1.1 on it with TWRP 3.2.1-1 fails - do I need to apply the offered updates of the stock rom to be able to flash the latest nightly?

I obviously misinterpreted a message by TWRP telling me there is no OS installed...kind of a misleading message...seems to boot fine now.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] woelkchen:
Also it seems like I have no access to /sdcard - how come and how to fix?

I can not even try out the camera since it has no permission to write anything on /sdcard
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IngolfN:
I have installed LOS16 yesterday on the XT1900-7 and I can use SD-Card for Fotos (with the LOS-Standard-Foto-App and also with Open-Camera).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] woelkchen:
Yeah this was all me though. Must've rushed it a bit.

Telephony did not work for me either, I could not hear the other side and neither could they hear me.

Also playing videos I captured was laggy and there was no sound output whatsoever.

I just proceeded to flash the latest firmware for XT1900-7 and then ran the usual procedure to flash LineageOS again and now everything is working as intended and internal storage is accessible.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] BERA1985:
I had a problem that maybe someone can help me with:

What's the correct way to update Lineage?

I was on 2019-07-17, and got a notification that 2019-07-19 was ready. Since OTA is not working correctly (as commented by someone before), I downloaded the new version, went to TWRP, checked if I was on the correct slot and flashed it (and also flashed TWRP).

Rebooted and Gapps were broken. Had to go back to TWRP, flashed Gapps and even so had to uninstall and reinstall a lot of Google apps.

Now looks like it's all working, but I'm afraid of future updates!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] woelkchen:
Doesn't LineageOS put its own recovery over TWRP anyways? I would just use the LineageOS recovery and flash the new version with ADB sideload. But I don't use gapps.

Mayhaps this is something similar to what I have: I would absolutely love to have F-Droid installed as a system app and normally one could just flash the corresponding package and use extended privileges.

Flashing it however does literally nothing...Any clues?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
After you flash your ROM + TWRP you MUST reboot back to TWRP Recovery before you install magisk + gapps

This is because of slot changing.. as when you install ROM it goes to the other inactive slot.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] BERA1985:
Thank you! But what I'm trying to understand is if I MUST flash Gapps every time I update! (I first understood that it was not necessary, but since I've got that mess, now I'm not sure!)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Yes if not updating via OTA you have to install gapps again
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] big_edd:
Does TWRP take care of this on it's own? As in when we boot to twrp does it always flash to the currently inactive slot without user selection?

I've wondered about that for a while... I'll boot to recovery and can't remember what slot I flashed to last time.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Yes when in twrp and you choose reboot > recovery

It automatically changes to inactive slot for you to flash magisk or gapps
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] LimeHan:
I've been trying to install LineageOS 16 for a couple days now on this Moto X4 I bought (was on Google Fi before, I'll be using it on Ting with a CDMA) and I can make calls and basic texts but I can't get my 3g data or mms to work, the dang thing won't let me set up the APN settings, I've been slamming my head against it, tried every dang fix I could google up, tried flashing I'm not sure what to do at this point. I flashed back to stock, redid the LineageOS install from scratch, tried manually flashing Sprint APN settings just to get something in that menu (SprintS5_1_.zip). I can't figure it out, it's driving me nuts.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Ting is part/association with with sprint right?

Motox 4 uses a combination of proprietary riddled SprintDM, Ims, and telephony to connect to these networks in LTE.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] LimeHan:
Yeah, Ting's CDMA sim cards go on the sprint network.

Well I went back to stock, let the carrier settings update and flashed back to the latest nightly and it appears I at least have 3g and mms now. gonna call that a win since i've read lte just won't work at all
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] akillenb:
Okay - So after the Motorola July security update failed and went into continuous retry mode, I loaded the 20190727 build of Lineage, plus mindthegapps and the su addon, reloaded all my apps, and things appear to work well. The built in update app worked to load the 0728 build, but was _very_ slow to complete. All in all, I doubt I'll be tempted to go back to stock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] st0nedpenguin:
Are vendor security patches supposed to be included with Lineage, or should I be manually installing them?

If I'm supposed to be installing them manually is there any other way than flashing back to complete stock and letting the phone grab them directly from Motorola? I'm on a Moto X4.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
I think, it is possible to install firmware only - look at the attachment "PAYTON_RETAIL_9.0_PPWS29.69-26-4__A-B_FIRMWARE_ONLY.zip" in post https://xdaforums.com/moto-x4/development/rom-moto-x4-t3890346

I even download last full rom and prepare analogical package form newest files, but didn't try this yet.

Maybe someone can confirm, that it is possible to install firmware only on installed LineageOS?

regards
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
It's easier with the bootloader unlocked. The images can be flashed directly from fastboot.

If the bootloader is locked, you might be able to repackage the ota with just the firmware with the brillo tools, but I'm not sure if anyone had tried this.

What does your firmware package look like? I'd be curious to peek inside.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
Look at the PAYTON_RETAIL_9.0_PPWS29.69-26-4__A-B_FIRMWARE_ONLY.zip file from provided link.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
That zip file uses fastboot to flash the firmware to both partitions. It is not flashed with twrp, but in the bootloader. This requires an unlocked bootloader, but should be OK for most people here.

Unzip it and look at the flash_all.sh script to see what it is doing. The img, mbn, elf, and bin files come from the motorola rom updates. Just be careful to pick the correct one for your device, which is probably never amazon.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] EudeRabelo:
Hello, do you know any custom ROMs that allow you to live and share system audio?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IngolfN:
Hello.

How can I prevent that LineageOS-Updater installs its own Recovery instead of TWRP? At the Moment, I have to reinstall TWRP after a LineageOS-Update.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] onlycash:
As far as I know, you can't prevent it.

It's mentioned in the release notes.

"(Optionally) You can flash the newest TWRP Installer also found at the Official TWRP Project Site if you wish to maintain TWRP, though the pre-installed Lineage Recovery instance will do everything you need it to in most cases. We don't recommend or support the use of the TWRP installer, as it is overwritten on every update (will need to be re-installed every update), and has no addon.d-v2 persistence."
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] 5u4573:
You can do it with the magisk module "TWRP A / B Retention Script"
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] onlycash:
Can you please supply more information.

I tried to find info but what I found seems to show this would be of little use in this case.

"Flash this script zip after each OTA has installed"

If this needs to be flashed after each update what does it do that makes this better then just reflashing TWRP after each update has installed?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] 5u4573:
when you install an update by ota, it is installed in the inactive slot, either A or B, what you do after installing the ota and before restarting is to run the script from magisk as well as install magisk in the inactive slot and so you keep both TWRP and magisk

Enviado desde mi Moto X4 mediante Tapatalk
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IngolfN:
Thank you! I have installed it and will see what happens after the next Update ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] 5u4573:
Remember that the installation of the magisk module is just after the ota update finishes and before the reboot.

Enviado desde mi Moto X4 mediante Tapatalk
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Fuzerator:
I don't have a /vendor/etc/fstab.qcom but I do have /fstab.qcom

I edited that one as above. Still no option to format SD card as adoptable storage. What am I missing?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Vendor/etc/fstab.qcom

Also this doesn't work with encryption