yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MeowDotEXE:
Okay, a few questions:

Does Fi work properly on this (app working, texts, data, calls)?

I have 8.1 April security update installed on my x4 right now, do I have to flash firmware?

I'm getting sick of the "update failed" message when I try to update .
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
In the firmware package for x1900-1 you use the firmware from 8.0. During the flash all part can I use the bluetooth and modem img from my 8.1 so I can keep the newer firmware before flashing LineageOS?

Your baseband is M660_7036.16.01.67R mine is M660_7042.27.01.74R.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
yes you can , infact if you root and know how to pull all those partitions and can create a zip for 8.1 it would be great.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
ok, few answers.

1. please read the posts, we have only 8 pages and answer about Fi is just a page back on page 7.

2. firmware needs to flashed by everyone. if you read OP you will know, clearly mentions in preparation for AOSP roms you need to flash firmware. however, no one 8.1 reported 8.0 firmware being tested (again, if you read through the posts you will know).

not trying to rude, but you do need to read.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pbjr92:
I flashed the update and TWRP in slot A and the gapps/Magisk in slot B. Is that right?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
I'm proficient with linux and might be able to do that with dd. How did you know what partitions to image from all those listed? There are many under /dev.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
please read OP or watch the video.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
here's the list of partitions i got for my device.

https://pastebin.com/TGcK7zRt

as for backing up, you backup all partitions which have a and b slots, except for system, boot and oem.

if you see the flash_all.sh or flash_all.bat file from any zip on second post things will be clear.

Do note, you need to backup _a slots as _b are empty in stock and thats what we are populating in the firmware zip.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MeowDotEXE:
I already read the entire thread. Let me be more specific about the Fi question, does auto switching work properly? Fi runs on 4 carriers, not 1.

The OP never said anything about 8.1. Nobody else in the thread has given a definite "yes" or "no" answer.

Edit: Looked at what was inside the ZIP and seems like I misunderstood what it was for. Still though, I don't think it's a great idea to be mixing different images from different firmware versions together.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] thinkpadler:
sim2 is also not working for me (xt1900-7). It is shown as 'deactivated', can't be activated in the settings, but can receive SMS...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] blconway:
How stable is this ROM? I see there aren't any releases marked stable, but I am looking for a ROM to run without GApps.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] code2k:
Last weekend I've installed Lineage OS (20181122) on my Moto X4 (XT1900-7) and it's working great so far. The system is stable, and it seems that the memory usage and the battery has improved compared to the original software.

I've basically followed the installation instructions in the first post. I did flash TWRP, OpenGapps, and Magisk for root.

Tested and working:

- Phone

- GPS

- Audio (headphone jack, speaker, AudioFX)

- Camera

- SD-Card

- FM Radio

- NFC (read/write Tag)

- Fingerprint gestures (except fingerprint lock)

- Moto gestures

- Notification light

- VPN (IPSec Xauth PSK)

Not Tested: Bluetooth, Dual Sim, Google Pay and maybe more

There are some problems though.

1) The included Lineage camera does not support the wide angle lens of the X4. You can install the Moto camera from the play store, but as reported by others, HDR and portrait mode is missing. I'm using Arnova's v8.3b1 Google camera port as my main camera now.

2) When listening to music with my headphones (connected to the headphone jack) I can't hear the notifications through the headphones. The music is muted, but the notifications are played through the speaker of the phone.

Does this happen to anyone else?

3) NFC is working, but it can't be used with the German eID card. When trying to read the card, the corresponding app returns an error message that the NFC-Reader does not support "Extended-Length"-NFC-chips. It was working with the original Moto ROM.

Here is a fix for this problem for another device.

I build a Magisk module which applies the same change to "/vendor/etc/libnfc-brcm.conf" and it is working again. If anyone else needs this to work, install this module with the Magisk Manager:

View attachment motox4-nfc-fix.zip

[MENTION=6298645]erfanoabdi[/MENTION], can you apply this patch to the Payton device tree?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Thallys Batista:
How to install new updates without OTA brick? :crying::crying::crying:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jonathangrag:
I'm using the last version of LineageOS 15.1 and the ROM is very stable.

However, I'm facing some problem when I want to flash something using the Lineage Recovery.

Anything that I try to flash results in the following message:

Finding update package...

Opening update package...

E: Unable to open '/sideload/package.zip': Transport endpoint is not connected

E: failed to map file

Installation aborted.

How can I fix this?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Toboe3:
Download the update as zipfile from [0]. Boot into recovery, install from zip, install twrp zip if you want [1], boot to system, if you want gapps/other stuff boot into recovery again and install gapps/whatever zip

[0]

https://download.lineageos.org/payton

[1]

https://dl.twrp.me/payton/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] filipepferraz:
If you are in los after 20181117 is secure to update. I'm updating day by day from this version and dont got any brick.

The addond in update is working too. When update now dont lost magisk, just twrp.

I made a module to flash in twrp to add support to addond to twrp too to keep after ota update. Just flash in twrp one time and will keep twrp after ota updates.

Link: https://github.com/filipeferraz/twrp-keep-addond/blob/master/twrp-keep-addond-flashable.zip?raw=true
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jugoslavpetrovic:
Why the hell twrp is needed to flash every time anyway. I don't understand, does this rom flashes stick recovery with zip?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Paximonium:
Is it just me or is the vibration of when unlocking phone with finger print very weak? Im on the most recent build (dec 6)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] LuisAngel321:
anyone know if can I flash over stock pie?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d1r4c:
Sorry if this has already been answered somewhere, but can I flash the AddonSU package through Lineage Recovery? Or do I need to do this through TWRP?

Also, does it matter if LineageOS has been installed for some time already when doing this? Or is it better to flash AddonSU directly after flashing a new Lineage ROM?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] FoxtrotZero:
I don't think I'm the first person to be having problems of this sort; to some degree it seems to be a known issue but I'm having trouble tracking down information on it. My Project Fi phone (with TWRP, Open GApps Pico, and Magisk root) isn't having data problems, but calls/texts/contacts all seem to be intermittently scrambled.

After phone, texts and calls work fine for an undetermined amount of time, but this always changes. I can make and receive calls but am left with no way to answer or hang up. Texts are sent but I don't receive. My contacts list and call log both disappear and apps hang when they try to access them. I think this has been a problem since I updated from the unofficial build to the official nightly, but I faked myself into thinking I had it fixed a few times so I'm not sure. All similar problems I can find are fixed by setting the phone app or an app permission, but I've tried this to no avail. Neither the stock LOS apps nor Google Dialer / Textra SMS will work for more than a few hours after startup. I've tried reflashing my entire setup but still no dice.

I posted a bug report on the official tracker (JIRA I think it's called? New territory for me) but that doesn't seem to be gaining traction. u/jrizzoli on r/lineageOS informed me that this is because Project Fi requires special blobs that weren't available to the device maintainer, but I'm unable to find out if that's true or what the current state of this problem is. I think it counts as a bit of a critical issue, and if it's as systemic as I'm led to believe I'm surprised I can hardly find mention of it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
I have a similar setup on Google fi, only difference is I'm using aroma installer for gapps.

Can't say that I've had any problems such as those.

With aroma installer I make sure I install gcs, phone, messages, hangouts and contacts.

But I also bypass the removal of included phone, contacts, messages.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] chainzuck:
Hey guys,

i just flashed twrp again after updating, but now my phone will not boot to system. whem im clicking on reboot system it always reboots to twrp. what is wrong? can someone help me?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ggouvea:
SD Card works?

External SD Card works?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d1r4c:
Yes.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] omutoz:
Does anyone have second SIM issue?

My problem is similar - my second SIM is half-way grayed out and I can't activate it in SIM menu.

If I try to use both, the second SIM is not recognized. And there is no icon for second SIM at the top of the home screen.

But what is surprising is that both SIMs work and take calls.

My phone: XT1900-7, lineage-15.1-20181210

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jagrut:
My gapps keeps on crashing , I've followed mentioned steps. Please help, don't want to use stock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] assmist:
I have the same issue, it started sometime before being official If i recall correctly
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pancobe:
Dear all,

Have exactly the same problems (-> post #742). Phone is ringing, all notifications work, but no sound for calls or music, headphones and Bluetooth included. Also a third party app for music doesn't work. It's a freshly installed LOS 15.1 on a XT1900-7, coming from stock. Update of Dec. 14, also the updates of the last few days had the problem. Is there a workaround I missed?

Thank you!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mensch72:
For me the problems had disappeared with the nightly of Nov. 16, and since I have not dared installing another update.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] danialbehzadi:
I have this issue too.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skeeterdrums:
Same issue with no volume; just installed the latest nightly, and I don't have any media sound. Anyone have a solution to this or an older copy of the rom (prior to November 16th)?

Also, I'm getting an error with fingerprint hardware not being registered (doesn't show up in security menu, apps say hardware is not detected). Is there anyway to fix this?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mensch72:
same issue again

After installing yesterday's nightly, the exact same issue returned for me as well: no sound during calls or media playback, no fingerprint functionality. Last time I had the issue, it was ultimately solved by a later update, so I hope this will happen again this time.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] apirec:
To all the people with sound/fingerprint/whatever issues:

Install the firmware found in the second post.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mensch72:
just to be sure: will that wipe any of my data, so should i backup anything before installing the firmware? and do i install it via twrp or differently? sorry for being slow, but the whole terminology around "firmwares" still confuses me a lot...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
ohh wow legendary danial behzadi using my rom. :victory:

this is also bug on a few other lineage devices but we will switch to lineage16 very soon and it should be fixed there ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] apirec:
I think not, but I'm not sure. Anyway, having a backup before writing to your phones root partition is always a good idea.

I flashed it using twrp, but you could probably use LOS recovery as well, as it shouldn't have to write it to the encrypted part, I guess.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mensch72:
Thx for this, but my TWRP did not accept the zip, saying "invalid zip file format". I checked the MD5 and tried both TWRP-install and adb sideload. Any ideas?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pancobe:
Had the same issue, not for the first time in TWRP. Unzipped the file and executed flash_all.sh in the terminal. Sound now working, didn't test fingerprint.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skeeterdrums:
See the previous post, you need to unzip and run the flash_all bat/sh file while connected to your phone in the bootloader. Those scripts run a series of fastboot commands to get everything copied over and installed.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mensch72:
OK I didn't know that.

I managed to solve the problem in a different way in the meantime: I just installed the latest nightly freshly as described in post #1, just without wiping data first, and voilà, everything works and my data is still there...

The only remaining question I now have is this:

Since in the original post, it is not described that one should also flash this firmware stuff, is it correct to assume the firmware is included in the nightlies?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skeeterdrums:
The firmware will stick through updates, as those are different storage partitions than the rom itself. You will need to setup twrp, xposed, and root after an update though.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skeeterdrums:
Anyone see issues with Pico tts constantly crashing? If so, any known fixes? Update: this seems to be app related, not os related. Try clearing data for the app if you run into this.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Paximonium:
I cannot reply from the lock screen on ambient display. I have ambient display on and wake on notification. When I get a notification, I hit reply, it tells me to unlock with password or fingerprint, I put in my fingerprint and all that happens is just unlock the phone, and doesnt open up the message app. Anyone got a fix?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d_mouse81:
Does anyone have dual sim working on this yet? It's been a while since I last tried and no-one ever seems to answer when the question is asked
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] assmist:
No, I cant enable or change any settings on sim2. But i can receive calls and SMS on it, so it is enabled.

I think it broke with the first trebel release
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] d_mouse81:
OK thanks, good to know. I'll hold out and hope that they can get it working properly
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TheBassDude:
OTAs are working fine for the most part but a couple times I've encountered an error that says "updater stopped working". It's always worked fine after downloading the update file again and then rebooting before applying the update. Any ideas what's going on?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] code2k:
FYI: Todays update contains the 05.01.2019 security patch. Updated via OTA and everything is working fine (GApps and Magisk still installed).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] easydoru:
No sound during calls

Hi,

I have got a new XT1900-7 and installed LineageOS with basic functions working except there is no sound recording/playback during calls.

While I tried different versions of LineageOS 15.1 and 16.0 preview the problem persists. Also I installed three different firmware packs (all excluding the XT1900-6 8.0 one) and all give me an error writing the modem_a/b partition:

Sending 'modem_a' (112640 KB) OKAY [ 2.926s]
Writing 'modem_a' (bootloader) Preflash validation failed
FAILED (remote: '')
Finished. Total time: 2.927s
Sending 'modem_b' (112640 KB) OKAY [ 2.903s]
Writing 'modem_b' (bootloader) Preflash validation failed
FAILED (remote: '')

May that be the source of the problem?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] thetuber:
Just got a new Moto X4. Is LOS stable enough to be a daily driver? Or should I just return it? I don't want to run stock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dimdom1919:
All the Roms for the Moto X4 are sturdy enough to use. It does not matter if they are Official or Unofficial. The only thing you should pay attention to is that they are from the year 2019 and therefore current.

Here is a list of all the Roms I have found so far. But there is still missing LineageOS 15.1 and 16

https://xdaforums.com/moto-x4/how-to/rome-tools-t3886559
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] 1ster:
Did you manage to solve the issue by flashing the firmware?

I seemed to have the same issue: my Partition A works fine with all the functionalities, but whenever I upgrade to a newer version, my fingerprint and sound would stop working -- I noticed this happens only on Partition B.

Current workaround is to upgrade once again, this will make a switch back to Partition A where everything will be fine again until the next upgrade...

I'm looking for a way to fix this without losing my data, or maybe I should just stick with the workaround? This is my daily driver, so I don't want too much downtime.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
LOS 15.1 has the vendor image included with the ROM. Do you have different bootloaders and radios between the A/B partitions? There are a few other A/B partitions like Bluetooth that get flashes with the factory image that might be impacted. I'm not 100% sure if this is causing the issues, but I think there is a script to sync them or, if your bootloader is unlocked, you can flash them from the ROMs on androidfilehost. Be careful because you'll probably end up wiping your data.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TTUTLC:
Has anyone been able to actually use WiFi calling (IWLAN) on Payton LOS 15.1? I'm on T-Mobile US 1900-1 A1 but curious if any carrier has successfully made Wi-Fi calls.

SIM and home WiFi are known good, I switched directly from Pixel/Sailfish LOS 15.1. *#*#4636#*#* testing claims VoLTE and WiFi calling are provisioned. Mullvad via OpenVPN or Wireguard works perfect, doesn't effect this. MTG from OP, LineageOS AddonSU, TWRP 3.2.3.1 installed. Baseband M660_7042.27.01.74R, lineage-15.1-20190114-nightly-payton-signed.zip.

Any insight would be appreciated. Don't know if this has been answered before, I searched this thread and forum with no joy. I am of course very thankful for the existence of this ROM. erfanoadbi, MotoX4, LOS team and other contributors are saving us from the slow death of living with stock, great work!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Yes I prefer to leave radio off myself.

I'm on project Fi but Wifi calling was alwaus difficult on oreo.

I would always have to install VoEnabler magisk module

And bypass gapps removal for phone, messages, contacts. While installing the Google variants with hangouts too.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skeeterdrums:
Not sure if anyone else tried this, but this didn't work for me. Twrp was gone after flashing this and installing an OTA update. Wish Lineage Recovery worked a little better with local file installs :/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skidoo03:
2nd this and am also very thankful for official LOS for the X4 in general but am curious on if anyone has had success with WiFi calling? I'm in the same situation and can see that it's provisioned (on Verizon) but have not been able to make a WiFi call yet.

---------- Post added at 11:49 AM ---------- Previous post was at 11:36 AM ----------

Also something else to add is that where it is supposed to list my carrier it currently shows " Roaming Indicator Off". Could this have any effect on VoWiFi? I also see under my IMS Status:

IMS Registration: Registered

Voice over LTE: Available

Voice over WiFi: Unavailable

Video Calling: Available

UT Interface: Unavailable

I'm guessing the Roaming Indicator Off + Voice over WiFi: Unavailable line under IMS Status has something to do with it even though it's enabled within my settings and have searched XDA without any luck.

Edit: Odd stuff, I was able to temporarily fix the Roaming Indicator Off issue by switching the preferred network mode to GSM/WCDMA/LTE from Global but after a reboot I had no service, I then switched back to Global and toggled airplane mode which brought back signal and replaced the "Roaming Indicator Off" with "Verizon" even being set to global. After dialing *#*#4636#*#* it then showed VoLTE and Wifi Calling as not being provisioned any longer and my IMS Status as follows and returning the carrier shown as Roaming Indicator Off:

IMS Registration: Registered

Voice over LTE: Available

Voice over WiFi: Unavailable

Video Calling: Unavailable

UT Interface: Unavailable

Thought I might've been on to something temporarily but no such luck still.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
The only carrier that supports Wifi calling, to my knowledge is T-Mobile; this is not a fault of the custom ROM.

I have a question; has anyone tried out the GCam for Lineage?

I have reports coming from another treble based ROM (although pie) stating that is works.

https://xdaforums.com/showpost.php?p=78759895&postcount=11

BSG GCam: https://xdaforums.com/moto-x4/how-to/guide-x4-camera-gcam-hdr-night-sight-t3874674

I made an assumption on which port the post was referring to.

Just do an initial test without touching the system and give me a PASS/FAIL reply.

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Skidoo03:
Thanks! I was under the impression it was Verizon and T-Mobile but it appears you're right. I'm actually running GCam on LOS 15.1 and had a build that worked without any issues at all but just wiped and will have to find it again. The current version I've got isn't what I previously had and will sometimes stop taking pictures altogether.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
I suggest trying the one I have in the previous post.

If that doesn't work, you can try one from one of the two links below.

The second one in the latest post on the topic.

https://xdaforums.com/moto-x4/themes/gcam-mods-google-camera-ports-thread-x4-t3877951

https://xdaforums.com/moto-x4/themes/gcam-best-google-camera-port-portrait-t3827043
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] macin42:
Exact same problem here. Any help would be appreciated.