yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fubar73:
latest build 9/12

So awesome. Now sd card is recognized on computer and all my music is present. Every build gets better and better. erfanoabdi you are the man.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
official LOS 15.1 ?

...Sorry for stupid question... I understand correct..? We will have official, official, Lineage for MotoX4???:confused:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] smmankad:
Absolutely yes! See: https://www.lineageoslog.com/15.1/payton
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
I have finished installing, but I have found some "bugs"

1) The clock appears on the left side, even though it is set to be on the right or center

2) The theme remains white even if it is set to be dark

Edit 1:

I'm using LOS 16

Gesture to lock screen does not work (in fp sensor)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Pretty sure theming is not part of ROM, right?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
yes it is, it's located in Settings> Display> Advanced> Device theme / Style
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Are you talking about LOS15.1 or 16?

I didn't have any of these problems when I was using LOS15.1.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
Sorry, I'm talking about LOS 16
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
LOS16 is under development, the dev are aware of the bugs.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] atlyles:
Im on the 09/12 build of 16.0 on XT1900-1 on Fi. I have been having issues with the Phone app. Incoming calls ring, but there is no way to answer them. I can make outgoing calls, but have no way to hang up unless the remote end hangs up first. Additionally it seems as though the button tones aren't being transmitted. For example trying to type in acct number on while on phone with bank. I can hear the individual tones on my end but they don't appear to be registering on the far end. I tried the same call on Hangouts Dialer and it worked fine. Going to try the 09/13 build shortly and see if this issue is still there.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
I decided to try the 9/13 build, but am getting the message that I need to format SD card.... I will try the 9/12 build.

UPDATE: I get the same message with the 9/12 build the the SD card is corrupt, and cannot mount it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] atlyles:
This issue is no longer present for me in the 09/13 build.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Check phone app permissions.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
You need to go into 'Settings' -> 'Apps & Notifications' -> scroll down to and click 'advanced'; select 'Default apps' -> click 'Phone app' and choose your default dialer.

By default in LOS 16 no dialer is chosen. It actually does this in all builds past, present, and future.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wanb1i:
I'm confused, isn't this thread for LOS 15.1? Why are we discussing LOS 16? Did I miss something or are we way off topic?

Also, where are these builds that are being discussed? I don't see them in the OP... :confused:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] x1357246:
There's a post in page 38 where a user named "Moto X4" post a link with Lineage 16 builds, made by [MENTION=6298645]erfanoabdi[/MENTION] :),

click on that link and go to his androidfilehost page, you can find his latest builds:)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I regret nothing. :p

But I do believe we should have a dedicated thread for Lineage 16 with the clear warning that it is, again, only a developer preview and not stable. I was hoping [MENTION=6298645]erfanoabdi[/MENTION] would make a thread for such a purpose to allow users to help report bugs and debug code, for those of us who are willing and able. Or point us in the direction where we could report such things. -- My general line of thinking is the more folks report issues the more stable the final build would be.

Lineage 16 is clearly in an early alpha stage as I have noticed upward of 2 - 4 releases in a single day (the time stamp changing at times only a few hours apart). If you cannot risk instability, you should not yet be using it. - In my case, I had an extra Moto X4 phone which meant I could take the risk.

---------- Post added at 06:03 AM ---------- Previous post was at 05:44 AM ----------

For the few of you who may not have been clued in that Lineage 16 is still in development (although it should have been obvious), I would recommend you stick with Lineage 15.1 for the time being. If, however, you're not looking at "downgrading" your phone as you're already using 16, my alternative opinion would be you hold on this build for now and wait for the final before processing further.

Lineage 16 developer preview | Upload Date: Sep 12, 2018 | 09:24PM https://androidfilehost.com/?fid=1322778262904004140

I'm using Google Fi (XT 1900-1) and I have over 90+ apps installed on my phone (internal storage) and it seems to be "stable enough".

My only issue, which is more of a personal one, is that I found I could not disable or remove a few of the system apps without losing stability. But that is more of a personal preference and not the fault of this mod. Beyond that, everything for me works. But I digress and strongly recommend that if you absolutely need stability, you should stick with 15.1 for now as 16 is still in development.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
you peeps do realize posting builds by the developer not posted here is rude?

there is a reason he is not posting them here, because they are alpha/beta builds and might not be stable. using them is fine, but posting them here on xda is just outright rude.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wanb1i:
Thanks! :good:

---------- Post added at 07:59 AM ---------- Previous post was at 07:15 AM ----------

No wonder I can't find a thread for this build!

Does anyone have the install instructions for this build or is just a "normal" flash?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
He did post Lineage 16 himself here https://xdaforums.com/showpost.php?p=77573524&postcount=52 and he was the first person to do so. ;) From that point, it became known to myself and anyone else that there was a developer preview.

---------- Post added at 12:34 PM ---------- Previous post was at 12:23 PM ----------

Assuming you are willing to take the risk as this is a developer preview, the steps in post #1 are a good guide to follow. The only difference is you want to use v9.0 Gapps obviously and if you seek to use Magisk, the new 17.x build.

But I think that is enough on this subject here. It was never the intention to hijack this thread (the only intention was to help bug hunt and debug code). I'm hoping he makes a new thread where people can help report issues they discover in Lineage 16 at a later date.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
lineageOS16 is still under development as you all mentioned before

lineage rom itself is under development but device tree, kernel and vendor of payton is 99% done (enforced selinux left)

if it gets to a stable point i'll make a thread :fingers-crossed:

thanks for testing my builds ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Thank you for developing them and being so forthcoming with information. You really are a big help to the community and if you'd share your PayPal link, I'd gladly make a donation too. :cool:

If you could just for clarification, where would be a good place to report bugs? I think what is in question now is whether you're OK with people posting about Lineage 16 here in this thread or would you prefer folks post them elsewhere. :confused: I'm very happy to test development builds, debug code, and submit logs. - As there are many others here also willing to help. :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fubar73:
[YOUTUBE][/YOUTUBE]

Great job on latest build 9/15. Great to see themes and colors workin. SD mount is not working again as I am sure you are aware but just in case I thought I would mention. I use this rom as my primary and it works great! Thanks again for making a great phone even better.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wanb1i:
Me Too for Donation!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
Recently I installed LOS 16 (09/16) and mount SD is working for me
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Will the official build be "trebelized?

I am wondering if we will be able to flash a GSI over the system image. Do we have any post or link that describes what exactly "trebelizing" does, and will there be official LineageOS GSI builds?

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] retro486:
For what it's worth, after I followed the Moto X4 specific steps I was able to flash a few of the GSI images from the Treble forum. I know at least one didn't boot but it didn't brick my phone...

Edit: HavocOS GSI wouldn't boot for me. Resurrection Remix O and ArrowOS did. Both retained X4 specific features like the Motorola chop and twist.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Official thread hype! Build going out tomorrow
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
The updated OP, answers my first couple questions! Thanks [MENTION=6298645]erfanoabdi[/MENTION]!

Thanks for the info! I am wondering if the official builds will work any different - I assume you were using the 7/31 Treble build. I tried a LOS16 build, and [MENTION=1915408]phhusson[/MENTION]'s AOSP build, and it would not boot. Just the [MENTION=6298645]erfanoabdi[/MENTION] P-PR1-sGSI-AB worked so far for me.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] muhmu:
This is awesome! :good:

Anyone tried if the stock camera app (Moto Camera 2) from Play store installs and works fine on an X4 with Lineage OS?

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] lucasbitencourt:
Any information about when the page will be online?

"Whoops - this page doesn't exist

This device has no available builds. Please select another device."
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
On the build schedule today. It should show up at that page soon after the build is complete (sometimes takes a while)

https://www.lineageoslog.com/15.1/payton

In process.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
It works.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
the app works, but not all effects are available (direct color, facial filters, clipping)

---------- Post added at 08:34 AM ---------- Previous post was at 08:28 AM ----------

bug report LOS 16 (16/09) vs LOS 16 (12/09)

- multimedia control (volume buttons), it's working

- Gesture to turn off screen in fingerprint sensor, working

- Screen styles (colors, dark mode) working

- show sd on computer (usb connection) working

- Clock still can not move to the center or right (only shown on the left)

in my opinion, the rom is very stable even when it is in development
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
I may want to try and come back to this now. I had to abandon my last attempt to use this because Android Auto would not work with my vehicle specifically on this ROM. Can someone tell me if this is fixed? Also, if I decide to come back, is the "copy partitions" step still necessary? And what exactly does that do?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Droidge:
First official build is up! Thanks [MENTION=6298645]erfanoabdi[/MENTION]!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
From OP:

"To use a GSI, flash official Lineage, then flash your GSI, it's that simple!" [MENTION=6298645]erfanoabdi[/MENTION] Is it required to flash Lineage zip prior to flashing GSI, or can you flash the GSI on an already installed Lineage ROM, as long as you format data?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Woooooo!

https://download.lineageos.org/payton
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Murtaza Kanchwala:
Volte works in the official build?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
official - congrats peeps :D
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Sparkledonkey:
Visual voicemail can't activate

Any workaround for this after the newest nightly, 9-18?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Workaround for what?

Edit: titles do not come over to the mobile app, and you put your issue only in the title...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
1st bug from the official 15.1 release is you cannot install any APK files. In the previous unofficial builds, I can download a 3rd party APK (without gapps) and grant the default browser or file manager the right to install apps, but in the official build, I do not have the option.

2nd odd thing is your suggest MindTheGApps does not include the store and installing it does not enable support to install 3rd party APK's either (see bug #1), which means I don't know if it has any use. - In short, after it completed the install, I could find no Google Apps installed.

3rd thing is Lineage OS SU Addon will not install. Gave me an error code 7 and told me it had too many symlinks.

:) Congratulations on the new release. I look forward to its continued development. :)

---------- Post added at 03:46 AM ---------- Previous post was at 03:27 AM ----------

4th bug was using the default Lineage 15.1 recovery, everything seemed to be encrypted and so you could not install anything in recovery. There was no presumable way to decrypt as you could in TWRP.

5th bug it was possible to mistakenly navigate to an endless point in the recovery. For example, if I selected ../ I could again select ../ and again and again and again if I so choose. Which means the path could be simply ../data/ or if I followed it enough it could be ../../../../../../../../../../../../data/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
1) Android Auto: No idea sorry I don't use it.

2) Copy partitions is necessary when coming from stock to any custom rom. If you flash stock you must reflash the partitions again before Lineage. A stock firmware install goes on slot A and leaves slot B empty. If you attempted to boot slot B (where Lineage goes) you will bootloop because all the firmware is missing.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
[MENTION=9167870]MotoX4[/MENTION] I have no problems with 1 and 2. I can install apps, and the minimal mindthegapps installed as expected (with play store). I cannot verify the others.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Could have been a bad flash. I did use the phone to download the apps previously. As soon as the TWRP website is back up I will attempt to do another flash and see if I can repeat the issue.

---------- Post added at 04:38 AM ---------- Previous post was at 04:11 AM ----------

FYI - For those finding the TWRP website down, it would seem that the developer [MENTION=6298645]erfanoabdi[/MENTION] had the foresight to keep a copy for himself which can be found here https://androidfilehost.com/?w=files&flid=258022 Version 3.2.1-1 may be older, but it will get the job done (allowing you to mount your phone and transfer files from your computer to your phone).

Another person in this thread asked what the difference was between the official and Treble builds and I'd like to know too. The only difference I notice is Treble builds do not mount for my computer. Which is fine since the official builds usually do. :)

---------- Post added at 05:33 AM ---------- Previous post was at 04:38 AM ----------

You do seem to need the Treble build of TWRP to actually install the ROM https://androidfilehost.com/?w=files&flid=282132 -- That is going to be my pet peeve. Official to mount, Treble to install.

---------- Post added at 05:42 AM ---------- Previous post was at 05:33 AM ----------

I can reproduce this bug. The actual error that it gives me is

set_metadata: Error on lstat of "/system/ect/init/superuser.rc" : Too many symbolic links encountered.

Updater process ended with ERROR: 7

Error installing zip file '/sdcard/addonsu-15.1-arm64-signed.zip'

---------- Post added at 05:55 AM ---------- Previous post was at 05:42 AM ----------

Upon further investigation, this seems to be exclusive to TWRP only. If you use Lineage's Recovery, this will install without issue.

---------- Post added at 06:03 AM ---------- Previous post was at 05:55 AM ----------

Side note: -

Netflix via the Google Store does not like the ROM (Google will not let you install it, giving you the standard "Your device is not compatible with this version"). This is Google being Google and has nothing to do with the ROM itself. You can directly download the older app from Netflix themselves - v4.16-15172 https://help.netflix.com/en/node/57...ur device is not compatible with this version

Or you can do what I do which is bypass Google's non-sense and install the current version using a 3rd party site such as UpToDown or APK Pure.

Again, this is not the fault of the ROM or the development, rather Google's typical nonsense. I only bring it up because I know how popular Netflix is.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] valeriopastore20:
How did you enabled the gesture to turn off screen with FINGERPRINT gesture? i only find the option to lock screen with long press on display navbar
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Sparkledonkey:
Visual voicemail can't activate on fi with the newest nightly and open gapps. Anyone else experience this?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] valeriopastore20:
I cannot go back to stock, every thing that try to flash it says (in this case modem):

"Sending 'modem__a' (95999 KB) OKAY [ 2.280s]

Writing 'modem__a' (bootloader) Invalid partition name modem__a

FAILED (remote: '')

Finished. Total time: 2.323s"

How can i solve this? XT-1900-7
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] murrty:
You need to specify the slot. Instead of "fastboot flash modem" you would write "fastboot flash modem_a" + "fastboot flash modem_b".
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
Guys Official build is up on Lineage updater : https://download.lineageos.org/payton

please recheck OP for installation guide it's also updated (for guys coming from stock don't forget copy partition zip, and for first installing gapps and stuffs don't forget re-reboot to recovery)

official TWRP is also updated (make sure you are in latest version of it) : https://twrp.me/motorola/motorolamotox4.html

also in official twrp we dropped MTP support (Like Pixel devices) it was affecting on many horrible things but "adb push/pull" works so read Installation guide from link above

we will get updates official lineage updated WEEKLY, with OTA support

i was reading posts [MENTION=9167870]MotoX4[/MENTION], you need to use official twrp and for gapps you forgot to reboot to recovery, for safety net you need to install magisk as all mentioned in OP ;)

+ lineage recovery is only for "adb sideload" not for installing zips from internal storage

____________________________

about lineage 16, we will get official los as soon as lineage gets ready, for now there is some platform side bugs like clock... but all device specific bugs fixed

thanks for using lineage :fingers-crossed:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] harg0n:
Thanks so much.

I am curious: How much space will Lineage need on my phone? The stock system is rather fat with about 13GB.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edhunterbg:
I am having issue with second sim card. It cannot be enabled in the official lineagos 15.1. In the sim settings sim2 is visible, but the option for enabling is grayed out.

My x4 is XT1900-7. Before installing lineageos I was on android one 28.46-21-8 and both sims were enabled.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
Settings > system > buttons > (enable NavBar) double-click on home, set "turn off screen" (disable NavBar) > try ...

I tried to put it in holding home, but still starts the assistant
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
use the instructions in this thread.

https://xdaforums.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348

[MENTION=6298645]erfanoabdi[/MENTION]

Please link to above thread for back to stock. We need older version of fastboot for back to stock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ulysse34:
It's really great news that LineageOS has gone official now for our devices!!!

Many thanks :)

Can someone please confirm if VoLTE and VoWiFi (aka WiFi-calling) are working?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wanb1i:
VoLTE never worked on unofficial (no settings) unlikely in official. Even 16 doesn't have it. I had to buy a Z3 to get it because VZW is discontinuing 3g/1x voice and I couldn't make a voice call from my home anymore!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ulysse34:
[MENTION=2856632]wanb1i[/MENTION]

VoLTE and VoWiFi do both work on LineageOS for several other devices!

I would like to be sure about that point before unlocking my bootloader...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
thanks for info and guide but please please... use latest twrp version

that's why i'm saying to not use MTP, try adb pull/push

adb push "rom.zip" /sdcard/
adb pull "/sdcard/myneededfilefromphone" ~/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
What part didn’t work for you? I followed the instructions in OP and they worked great. Sounds like you had driver issues with your computer, no issues here on Windows.

I also used a micro SD card to store all my zips and installation files on the device so that made it easier for me as well.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Push does work. But the latest TWRP still does not install Lineage OS SU Addon.

---------- Post added at 04:22 PM ---------- Previous post was at 04:21 PM ----------

Please read, then post. The issue was with TWRP versions primarily.

---------- Post added at 04:24 PM ---------- Previous post was at 04:22 PM ----------

Also still no working solution for the future as Lineage Recovery has no option to decrypt.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Haha. I read your post. > missing MTP and will not mount in Linux

Just use TWRP recovery for decrypt. Use magisk for root.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
yes, lineage recovery is only for sideloading

adb sideload flashablezip.zip
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
adb push File_name_here.zip /sdcard/

As suggested by the developer using push as opposed to drag and dropping files, seems to resolve most of my issues. ;)

---------- Post added at 04:38 PM ---------- Previous post was at 04:37 PM ----------

Really curious how it would sideload if the phone was encrypted. :confused:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edhunterbg:
No one having second sim issue ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wanb1i:
Well, I can tell you there is NO VoLTE on the Moto X4. If there was I wouldn't have just bought this PoS Moto Z3 and dropped another $500 to get that ONE feature! Now I have a phone that is nothing but a VZW advertising PoS that I can't root or unlock the bootloader! Really pissed off!?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MeowDotEXE:
You're wrong. VoLTE absolutely does work. I've been using it on Project Fi (T-Mobile towers) and it's perfect.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ulysse34:
Thanks, but my question was regarding VoLTE/VoWiFi on

LineageOS

The Motorola stock firmware does support both features (for my operator, at least)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] winpooh:
VoLTE works perfectly on Verizon