yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fubar73:
erfanoabdi great to see so many regular builds for lineage os 16. On the last few builds music doesn't seem to work and themes not workin. Just gives a lineageos settings stopped working error. Also for these builds would it be better to do clean installs? I have been just flashing on top of older ones which seems to work ok. Thanks.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Dirty flashed 20180919 and the quickstep launcher keeps crashing. Clean installed back to 20180916 and may try the 20180920 this weekend. Up till now dirty flashing was just fine.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] robsharp78:
I have Voice over LTE(VZ), it's under settings ->mobile network-> advanced settings ->enhanced 4g let mode (enable)

SORRY this was for Stock Firmware
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DavidJVitale:
TL;DR: Official installation instructions almost caused me to brick, didn't work at all: should maybe be revisited?

To also add more evidence of instructions not working: I followed the instructions on the main lineageos (dot) org (slash) devices (slash) payton (slash) install, and I was not able to successfully install LineageOS. The installation instructions actually caused me to almost hard-brick my phone: After finishing the instructions and rebooting from TWRP, my phone was completely black: no buttons would do anything, I could not boot to fastboot mode, fastboot devices showed nothing. I was thankfully able to unbrick by downloading a `blank-flash.sh` file from another thread, which forced me into fastboot long enough to flash the stock ROM.

My model of the X4 is XT1900-1. I am happy to provide more information if it will help devs debug. I will be trying some other things to hopefully get LineageOS installed, will keep this thread updated.

UPDATE: When I followed this post's instructions exactly,

LineageOS installed correctly. Installing the SU-addon from the recovery didn't work,but it did work from TWRP. Interestingly enough, the TWRP install commands had a lot of red error messages, but it still worked

Again, I am happy to answer questions if my weird case might help developers.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] foxpersonman:
I noticed that Google hotword detection with the screen off does not work, and the HDR option is missing from the Moto Camera app, which I downloaded from the Play Store.

Is there any way to fix those issues? Those are the only problems I could find with this ROM, it's faster and more battery efficient than stock in my experience.

I have a XT1900-6, Dual SIM, 32/3GB model.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Z3RO2K:
Can I simply just flash this after a factory reset on 8.1?

I have unlocked bootloader with TWRP installed with Magisk Rooted. It's stock ROM but I flashed it manually and not from OTA.

XT1900-7 / 3GB RAM / Dual-Sim / UK
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] shonmac11:
Do I flash the whole zip in twrp? Sorry I'm new to the whole flashing a/b firmware thing
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Copy Partitions Zip, yes. The firmware, no (run the command flash_all.bat in windows or flash_all.sh in Linux)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] xLuis92x:
Tested and works on XT1900-4 (RETMX)

Using 20180918-NIGHTLY
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
A bit off topic.

Testing the current developer preview and the latest build is so stable, that I couldn't crash it even when I tried. lol - Super fast too.

16.0 Developer Preview | Upload Date | Sep 21, 2018 | 12:26PM https://androidfilehost.com/?fid=1322778262904010828

The only personal preference I disliked is how you cannot disable and/or remove the phone or messager. I usually replace those with my own (Google's from the store). But that is my personal preference. -- Beyond that, the developer is doing a wonderful job and it's coming along nicely! :D
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
edit: I did find 2 minor issues in both 15.1 and 16.0 developer preview.

The system download manager does not always download even on WiFi (at best it just adds to query to which is never revisits) and the default file explorer sometimes crashes.

Personally, this had little impact on me since I don't use either and replace them by installing ES File Explorer (which takes care of both the file explorer and download manager).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] xLuis92x:
I can confirm this in 15.1 some APK's were unable to install with default file explorer, but FX explorer did the trick
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Official Nightly with GSI?

Has anyone been able to flash a GSI with the latest official 9/18 Nightly? If so, could you outline the steps you took, and specific GSI you flashed?

Re-stating my question above, should I be able to factory reset, and flash the GSI, OR is it required to re-flash the LOS Nightly prior?

I have tried both ways (including making sure I reboot recovery, if I am re-flashing nightly). It just hangs at the Android One screen with the "verity mode" info.

Any help would be appreciated.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ry_t:
I flashed this last night and I'm unable to login to Google.It keeps saying checking for update but it never gets to the login screen.Also keeps saying Google services keeps stopping after 3-5 mins
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] milhouselucas:
Hello, friends

Could you guys recommend a step by step of how install this rom?

Yes, I'm a newbie, so any help would be appreciate

Thanks and regards
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] murrty:
Step 1: Go to the very first post

Step 2: Read.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] milhouselucas:
I've already read...

thanks for nothing, otário
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
I think the point is (perhaps a bit too direct for your taste), is that the steps are already there.

Folks are willing to help each other out, but don't expect to be spoon-fed. If you can share which steps you have questions about, that is a good place to start.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ozero.blue:
there is no sound for music for last few builds of los 16 from sd card,currently I'm on 21/9 build.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
It's a known problem, LOS16 is still under development and the SD card still need more fixes, it's a common problem for all devices.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ozero.blue:
works fine on 16/9 build though & I got constant crash on security & fingerprint on official los15.1,have you faced this problem?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Things like adoptable storage never worked properly on any build of LOS16, they're trying to fix the SD to work without a problem, sometimes bugs appears.

The issue regarding the crash, I'm using LOS16, I never installed the official 15.1, only the unnoficial, and I never faced this problem.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] shonmac11:
Is there a written tutorial on this process? If so that I can't read over it
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TheBassDude:
Thank you [MENTION=9167870]MotoX4[/MENTION] for the detailed walkthrough! Followed your instructions exactly and everything seems to be running just fine. And another whopping thanks to [MENTION=6298645]erfanoabdi[/MENTION] and [MENTION=921457]munchy_cool[/MENTION] and everyone else who contributed to making this ROM happen!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I assumed after reading the full instructions that I provided that it would be obvious. TWRP, after all, has a big button labeled 'install" (it is actually the first thing you see). However, there is always room for improvement so allow me to be a little more specific. :angel:

Download the latest Official TWRP https://dl.twrp.me/payton/. You want the .img file.

Restart your phone to your bootloader (press and hold both power and the lower volume key at the same time). From your Windows Command Prompt (as administrator) or from your Linux Terminal (as root) run the following command.

fastboot boot '/your_path_here/twrp-X.X.X-X-payton.img'

Be sure to use your path on where you have the file on your computer. Be sure to replace and use the correct file name for your file (Do not just copy and paste example posted here). Finally also sure to run fastboot as administrator if using windows or as root if using Linux ( sudo fastboot boot '/your_path_here/twrp-X.X.X-X-payton.img' ).

1st if coming from stock, wipe your device, reboot to bootloader and reuse the previous fastboot command listed above.

fastboot boot '/your_path_here/twrp-X.X.X-X-payton.img'

Next format your DATA and again reboot to bootloader and reuse the previous fastboot command listed above.

fastboot boot '/your_path_here/twrp-X.X.X-X-payton.img'

Next reboot your device to bootloader and reuse the previous fastboot command listed above.

fastboot boot '/your_path_here/twrp-X.X.X-X-payton.img'

Now upload "Copy Partitions Zip" to your phone using "ADB Push" command to /sdcard/ (run as admin if on windows or as root if on Linux). For example.

adb push copy-partitions-payton.zip /sdcard/

Now INSTALL "Copy Partitions Zip" (click on Install and select the zip). https://xdaforums.com/showpost.php?p=77490529&postcount=2

From there reboot to your bootloader and use the firmware download (extracted on your computer) https://xdaforums.com/showpost.php?p=77490529&postcount=2 and run flash_all.bat (windows as administrator) or ./flash_all.sh (Linux run as root).

Note: I have modified my instructions to include this. https://xdaforums.com/showpost.php?p=77703386&postcount=472
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Can't hear music in Google Music app. Volume is maxed. Other sounds (notifications, rings, incoming messages, etc...) play just fine. Music is streaming it's not from local or sdcard storage. I read people had problems with sounds, etc. playing from the sdcard so might be related somehow. Lineage OS 16 20180921. I will try to get a logcat.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Oegen:
Fingerprint sensor isn't working

Hey, I have a new Moto X4 (*-7) Phone.

I came from STock (7.1.1, NPW26.83-34-0-1) and did all these steps.

I installed lineage-15.1-20180925-microG-payton.zip and Magisk-v17.1.zip and everything except the fingerprint works fine.

I don't have a menu for the fingerprint options and during installation there I wasn't asked to setup fingerprint delock. There is also no com.fingerprints.service* running as system apps.

Meanwhile, I did the installation twice. I tried the version without microG, but it has the same effect.

(I even tried Carbon ROM, same behaviour).

Is is maybe necessary to Update first to an Offical Oreo Stock Rom, before flashing any Custom Rom.

Any help is appreciated.

Best regards

Oegen

EDIT:

I flashed an Oreo Stock Rom "PAYTON_OPWS27.57-40-14_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml" and started over.

Booting TWRP 3.2.3.1, copy-partitions.zip flashed, lineage-15.1-20180925-microG-payton.zip flashed, restarted recovery, went to bootloader, booting twrp again, flasing magisk v17.1

Now my fingerprint sensor was recognized and is working. The navigation bar was missing within the first startup. But activating and deactiving it at settings > system > buttons worked fine.

Only weired thing I see at the moment: When I restart my phone, it automatically boots to bootloader. When I press "START" (On Button), then it boots to LinageOS... I repeated it for 3-4 times, and it doesn't matter if I Reboot or Shut down and Restart the phone.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I think this issue is exclusive to Google Music as I have Pandora Radio and Spotify playing music just fine. I also can watch Netflix and YouTube videos with full audio.

edit: Using 20180921 (September 21, 2018) found here https://xdaforums.com/showpost.php?p=77686685&postcount=463

---------- Post added at 05:44 PM ---------- Previous post was at 05:35 PM ----------

For reasons, unknown Official Lineage OS 15.1 has been removed from Lineage's homepage. https://download.lineageos.org/payton
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] firestormapps:
I noticed that the builds for the x4 were removed earlier as well. I also noticed other devices on the site were missing. It looks like LineageOS 15.1 has been restored now: https://www.lineageoslog.com/15.1/payton
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Z3RO2K:
Can anyone confirm if anything is broken?

I flashed the 8.1 update manually with unlocked bootloader and TWRP / Magisk already so can I just factory wipe and install this or do I need to do the whole guide with partitions etc?

Also is there an auto update feature like previous Lineage versions, used to run it on the Moto G 2014 Thea.

Cheers.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
If coming from the stock ROM, a different ROM, or the previous unofficial Lineage ROM, you'll have to wipe everything (including, most likely, format DATA). You should back up your photos, videos, and anything else you do not want to lose before proceeding.

The instructions found here should answer your further questions https://xdaforums.com/showpost.php?p=77703386&postcount=472
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] lazy-o:
Phone is rooted already but can't install busybox.

I see a delay sometimes when opening a setting or some apps.

Some artifacts playing some games.

I had none of them using stock rom, but I'd rather dealing with these things for a year than going back to stock

Gonna grab logcat or whatever I have to today later
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
lineage-15.1-20180925-microG-payton.zip is neither the previous unofficial build nor the official build. It could be why you are having so many issues. That ROM was a side project that was either not completed or only being explored. The official Lineage ROM can be found here https://download.lineageos.org/payton

I would suggest you follow these instructions from the start (wipe everything, including format data, install copy partitions, and then use the firmware too). https://xdaforums.com/showpost.php?p=77703386&postcount=472
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
How do the base images work with these? So does each new nightly come with the new base rom version? How are the security updates encapsulated? I am still on the fence for installing this ROM and I just feel like I need to understand it all before I pull the trigger. Right now I am on a stock rooted and I end up having to reflash these every time an update comes out just to avoid the nag screens.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
The Official Lineage 15.1 has the internal updater and should update similar to your stock ROM (with you not having to flash everything or starting over). :good:

Upgrade | Side Note: If in the future you upgrade Lineage OS (either manually or using the upgrade tool) and you were using TWRP and Magisk, will need to manually reinstall TWRP and Magisk. The good news is you do not need to start from the beginning. :good:

Once you are done upgrading Lineage OS, reboot back to bootloader and once again use TWRP to boot your phone.

fastboot boot '/your_path_here/twrp-X.X.X-X-payton.img'

Install TWRP

Reboot to recovery (TWRP)

Install Magisk -- And you're done. :)

---------- Post added at 01:47 PM ---------- Previous post was at 01:44 PM ----------

I've included that little explanation into my instructions just now :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
After multiple attempts, I managed to "remove" this warning.

I installed magisk, through terminal I executed the following command

magisk resetprop ro.boot.veritymode

then install through fastboot the bootloader (N version)

fastboot flash bootloader bootloader.img

Attached link to download files that I use

https://drive.google.com/drive/folders/1YrG2SCIUjgTh4A7gnkU7synf-xVKJgGW?usp=sharing
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
I tried letting the Lineage OS installer do the upgrade, and my phone is bricked currently. I am stuck in a different bootloader screen with a line of red text saying "AP Fastboot Flash Mode (Secure)". Anyone have any suggestions how I can get out of this, I would really appreciate it!

I cannot boot a recovery image - "failed to load/authenticate boot image: Load error"

....or flash factory files, when doing flash_all.bat I get the response, like....

writing 'abl_a'...

(bootloader) Invalid partition name abl_a

The same for every partition.

UPDATE: I was finally for some reason able to flash the factory image, and I am at least seeing the normal bootloader (I believe that red "Secure" message was there before), with the android, and selection arrows.

I followed this guide:

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

I can hot-boot recovery, but for some reason it keeps booting back to bootloader, even after installing TWRP. In progress....

found this command, and it seems to have resolved this issue, and now I am able to go to recovery...

fastboot oem fb_mode_clear

fastboot reboot
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] TheBassDude:
I too had this happen with trying to update OTA. Was able to flash stock image no problem and am re-installing Lineage 15.1 now. Think I may have missed a step the first time I installed, going to see if that makes a difference trying to take the update again.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
I had the same problem... I'm trying to fix now...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] retro486:
Mine bricked too after attempting the OTA update to the latest nightly.

---------- Post added at 10:27 AM ---------- Previous post was at 09:44 AM ----------

How did you flash the factory image? I can't get the phone visible to fastboot. Just stuck on the "AP Fastboot Flash Mode (Secure)" screen.

Edit: changed USB ports and now it shows up and I was able to flash the stock firmware.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] megacar@gmail.com:
Lineage OS 16 warning

Hi guys,

just wanted to give heads up everyone not to be misleaded like me, no, LOS16 is not good as daily driver as there is no sound in phone calls.

I saw people only mention minor bugs, like settings crash, no sound in music player etc, but stable enough for daily driver - you cannot have daily driver if telephone does not work.

I'm running latest build from 21092018.

my baseband is M660_7020.05.01.52.01R - maybe it should be upgraded? what is the latest? should I flash latest stock will it get upgraded?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jagrut:
Can you help me out, I am not able to flash stock rom or twrp.

I am not able to flash stock rom or recovery can you mention the steps you used.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
After last OTA update I was able to fix my moto x4 XT1900-7 by flash all bat procedure then just instal TWRP and flash recovery from SD card . after it phone has a bootloop... this I was able to fix flashing in TWRP first LOS 15.1 that was given to us. After I had flash SU addon and gapps...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
16.0 is, after all, a developer preview. Which means it can and may have bugs.

Using 20180921 (September 21, 2018) found here https://androidfilehost.com/?fid=1322778262904004140 since its release (last week) and it has been solid for me. The only flaw I could find was the default file manager would sometimes crash and the default download manager would not always download. I personally use "ES File Explorer" which replaced both and that was good enough for me.

I have full sound on everything... ie... Calls, rings, messages, text, e-mail, alarms, Pandora Radio, Spotify, YouTube, and Netflix (and more).

I stop using The Official Lineage 15.1 because it somehow didn't feel right and I'd stumble over a few random problems here or there. Nothing of great significance, but enough to recall the unofficial was a little better.

edit: Fixed URL
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] megacar@gmail.com:
Interesting...can you tell me which broadband you have? you can check with Droid Info.

I can see that I dont have the latest one...as I went from stock Nougat directly to LOS16. I should probably upgrade to stock Oreo first to upgrade broadband.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
I was able to finally restore my backup, but now TWRP is not accepting the password. I have removed the password, and can access TWRP without password. I re-add password, and the TWRP asks again for password, and does not accept it.

Not sure what is going on here, or how to resolve this, as I need to keep a PIN/Password for security/Google Pay.

UPDATE: I was able to get TWRP password issue resolved by restoring my stock ROM backup. The password was then synced up with TWRP. I then could restore my LOS backup, and everything is back to normal as far as I can tell. :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
So I am still unclear about something. If I am coming off of a previous stock rooted rom, and then if I do a flash all, then wipe... do i still need to do a copy partitions? or is the flash all + wipe good enough? It seems like the last time i did a copy partitions, my performance sucked for a good couple of days, then it seems to snap out of it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Do you know why it is recommended to use the TWRP 3.2.3.1 version for this ROM?

My stock backup has the 3.2.3.0 version (I could not boot this backup with the 3.2.3.1 version). I have not any issues with 3.2.3.0.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
The previous TWRP build would not install everything correctly (or mount correctly). I documented this here (https://xdaforums.com/showpost.php?p=77665152&postcount=441 ) in my older guide (when I was trying, just like you, to figure out WTF was going on).

I'm not a developer, so I honestly don't know why the zip works in the current, but not in the previous. Or why one decrypt, but the other does not. -- I just know the timing of the releases really makes little things like this really inconvenient.

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

For best results (in my opinion), you should act as if you're coming from stock (even if you're not). Follow me guide from the start. https://xdaforums.com/showpost.php?p=77703386&postcount=472
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] megacar@gmail.com:
Great, thanks!

One last question - does fingerprint work for you in that LOS16 build from 21 SEP?

T
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] zenstonetiger:
My 9/21 build is perfect. SD is recognized (Samsung card), and sound is great, with or without headphone. Only bug I've noticed is the os style/theme doesn't actually change. It's my daily atm.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] assmist:
Have using lineage OS ota update worked for anyone? Or should i skip the update?

Btw, why all the posts about 16 in this thread? Shouldnt that be in an other tread as this is about 15.1?