yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] fritzophrenic:
If you flashed your custom ROM before the official stock Nougat releases came to your phone, then you can go to download.lineageos.org and get the latest weekly build. You'll need a recent version of TWRP recovery installed, but as you're already running a custom ROM, you probably have that handled. There are official installation instructions linked from the download page from each supported device. The official build is a Nougat build.

If you received the official stock Nougat update, then the official build will not install. The modem firmware is not compatible. Hashbang is the device maintainer and has posted links to his androidfilehost page in this thread. If you go there you can download unofficial builds for your device that will work with the stock Nougat updated modem. These install just like the official builds. However, they are signed by test keys, so migrating to an official build later will either require a clean install (wiping data) or a special process to switch signing keys during the installation. This is documented in the wiki linked from the build instructions.

Speaking of build instructions, in the last couple pages I posted my config for building my own loads, using Hashbang's repositories for his unofficial builds. If you're feeling up to it, you can use those to build your own loads which are signed with your own signing keys instead of test keys.

The unofficial builds available on androidfilehost are in two flavors: a relatively stable Nougat build (14.1) and an experimental Oreo build (15.1). The Oreo build does not have a working camera. The Nougat build is mostly stable but has some weird battery issues a couple of us have observed. I need to clear app cache and wipe cache partition every day or two to avoid rapid battery drain and high temperatures due to a runaway system process taking a bunch of CPU time. If you have the correct firmware flashed, the official build that only works with the Marshmallow modem is probably the best daily driver. If you have the Nougat firmware, then the unofficial Nougat build works fine for a daily driver, but keep an eye out for battery drain and temperature.
[X Style (Pure) Android Development] GabryBSK:
Ok, thanks very much :D Now, how can i check if i've received/flashed stock Nougat? I don't remember that, because it has been a long time since i flashed my latest rom.

Do i need to check only the modem, is it correct? If i were on Nougat, could i flash only the Marshmallow modem?
[X Style (Pure) Android Development] ianoob:
Would you mind sharing the edited file? I am getting the same error, don't have time to edit myself.
[X Style (Pure) Android Development] acr2d:
I am stuck with the version 20180220 ROM, but i am having issues with the battery (rapid drains and turn offs). I wonder if I do this updater-script edit and install a newer ROM could solve this issue.
[X Style (Pure) Android Development] fritzophrenic:
I don't actually know how to know whether it's Nougat or Marshmallow, but you can see your firmware version from the "About Phone" in settings under "Baseband version". I'm sure there is a list somewhere that tells you which string goes to which version. Either way, if you try flashing the wrong version of Lineage, you'll just get an error 7 message and nothing bad will happen. Yes, I've seen people say they've had success flashing the Marshmallow modem over the top of their Nougat modem. I didn't go that route because I wanted any security and performance improvements Motorola may have put in between the two.

I think Nougat didn't really roll out until October-December or so last year. So if you flashed much earlier than that, you probably have Marshmallow.
[X Style (Pure) Android Development] KC69:
OT. I know we are all anxious for a working camera for Oreo. Just curious, still. Does the newest 7/27 , 15.1 build have a working rear camera? That's my only gotta have to start using the phone as my DD. TIA
[X Style (Pure) Android Development] Chris001:
Still no working camera :(
[X Style (Pure) Android Development] Chetan-123:
Few days back i flashed lineage os 15.1 for moto x style

I found it much problematic as it could not even read sim cards,the front camera was also failed to open.

Is there any solution for it....????
[X Style (Pure) Android Development] AsquareX:
There is no solution for the bugs you mentioned above. Lineage OS 15.x is not stable for Moto X Pure/Style yet so you'll need to switch back to some other ROM which is based on Nougat 7.x.
[X Style (Pure) Android Development] SMMmmm:
With Android P releasing, is there any hope left for this device?

I'm stuck with rooted stock Nougat. The batt. life is terrible and I feel that I used to get a much better batt. life with stock MM. Installing a custom ROM is my last option to see if I get any batt. life improvements, but with stock Nougat, there are so few options. :(

I don't have money to get a new phone, I'm stuck with this device for the next year at least. I need a working camera so can't install the unofficial Lineage 15.1, I am really sad right now. :(
[X Style (Pure) Android Development] hangnail:
for those with battery problems like rapid drain and random shutoffs: my phone developed the same problems and it progressed rapidly. in the span of a few months it got to the point where i would get about 1.5hrs SOT and the phone would shut off with as much as 40-50% battery life indicated. i replaced the battery last weekend and its like a brand new phone. no random shut offs and i get over 7 hours SOT. still on stock N btw
[X Style (Pure) Android Development] SMMmmm:
On my best day, I get around 1.5 hrs SoT, but I don't have the problem of random shutoff at 40-50% yet. I was reading about battery replacement from the post about it here. Unfortunately, neither I have the tools to do a battery replacement, nor I have the money. Also, there's about a 75% chance that I'll screw up the phone if I do the batt. replacement on my own. :(:(

Just for the record, can you share the procedure and your experience with the battery replacement? :)
[X Style (Pure) Android Development] hangnail:
I can do a proper write up if necessary but I basically followed a YouTube video I found. I'll post a link if I can find it. The kit I bought was around $16 with prime shipping on Amazon and included tools although I would not use the screwdriver as it didn't fit well and wanted to strip the screws. The kit also doesn't include a new back cover or adhesive so try to be careful with it or get a new one.

The hardest part was removing the back cover which required a little heat and some prying with the included tools. Then you remove about 20 tiny screws a couple ribbon cables and separate the back frame from the main chassis. Swap the battery and slap it all back together. The whole thing took about 2 hours being super careful and most of that was carefully heating the back and prying the cover. There's a LOT of adhesive. I also wasted some time having to file and remove a screw stripped by the junk included screwdriver.

At some point I'll be ordering a new colored back cover or maybe just some adhesive tape as I had to remove enough of the factory adhesive that the original back cover doesn't stay flush everywhere. It's not a big deal for me because I almost always use a case.

Here's the video I followed to open the phone but you don't have to completely tear it down to replace the battery, just separate the 2 halves of the frame. Note the power connector for the NFC transmitter is glued to the bottom of the battery and needs to be pried off an stuck to the new battery. Alignment is pretty easy.

EDIT: some videos show removing a silver screw and siding out a metal piece from the frame. this is not necessary to do for battery replacement. also some videos show unplugging the thin 's' shaped ribbon cable that goes to the volume buttons but I'm pretty sure you don't need to mess with this. another thing to mention is that the original battery has a bit of curve to it that the replacement will most likely not have. you can probably shape your new battery to fit better with your hands but i didnt and it made reassembly a slight bit more difficult

https://youtu.be/SEaO9CRJxAo
[X Style (Pure) Android Development] SMMmmm:
Thank you so much for the explanation. I was searching on youtube and watched the same video just before seeing your reply. :)

Thanks again, appreciate it.

I hope I can gather the money and courage to do this at some point. :p
[X Style (Pure) Android Development] hangnail:
My pleasure. This is only the second or third phone I've opened TBH. It wasn't terrible
[X Style (Pure) Android Development] pilotbob3:
Wondering if someone can point me in the right direction. I had this problem with a different ROM, and loaded LOS to see if it would help, but I have the same issue. Problem is that my WiFi connection disappears. From the settings menu, it shows Wi-Fi disconnected, and although I select an access point, it only shows "saved" and does not let me connect.

I need to reboot the phone to be able to access WiFi again, it stays up for a while, but then something eventually causes it to disappear.

Kindly request any advice, thanks in advance
[X Style (Pure) Android Development] aybarrap1:
It really wasn't too bad opening it up. Just keep in mind to have everything you need to do the job on hand and have some patience. The worst part is getting the back plate off and removing the old adhesive as these are the most time consuming.
[X Style (Pure) Android Development] Chetan-123:
Waiting for next update LOS,AOSP or nulcea!
[X Style (Pure) Android Development] stevejohnson42:
Latest for N modem ?

https://androidfilehost.com/?fid=818222786056030247 ( lineage-14.1-20180513-UNOFFICIAL-clark.zip )

This seems to be the latest N Unofficial ( Need N modem , official TWRP ? ) from Hashbang

Rolled through months on the thread - anyone have inputs on it ?

I have installed a few of the ROMs for N - Nuclea seems the best I have looked at - there are some unofficial of Carbon and AEX Extended - but ambient display wasn't working for me

Any inputs welcome - I did a quick install ; Ambient display seemed to pick up randomly - but that just maybe because I didn't let the phone do all the updates and "settle" -- for now went back to rooted stock just until I have more time to dig into it
[X Style (Pure) Android Development] kb8no:
Hashbang Nougat 15.1 has worked well for me since it first came out. I flash each of his new releases. It works on my Verizon and my ATT SIM perfectly. I have used it as a DD and I find it lovely. If the camera worked I'd be done with 14.1. Negative reports don't agree with my experience.

Having said that, my DD is Hashbang 14.1. Occasional random reboot but otherwise it too works fine. Battery life is adequate if you keep the screen dim. Charger is amazing so who cares?
[X Style (Pure) Android Development] sm3691:
hello guys

please answer me i need your help

if i want to install lineage OS 14.1 Or 15.1

1- is 15.1 fully working ? is there any bugg list or something like that ?

2- is 14.1 finally released ? is any bugg in it ? is it good for daily driver ?

3- what TWRP version i should use? official ? unofficial ? HashBang version ? what is the best and correct one ?

it must be Official N firmware on my phone if i'm not going wrong ( excuse me for my terrible En language )

thank you for your helps
[X Style (Pure) Android Development] ghurkan:
1- 15.1 is not fully working. Rear camera does not work. Front camera only takes videos.

2- Official 14.1 is available and gets frequent updates. Unofficial 14.1 is also available by Hashbang. In my opinion, unofficial is better than official one but it uses Nougat modem. So you need NM for unofficial 14.1 and 15.1. MM is for official 14.1. Both 14s are DD material if you don't mind occasional reboots or lags, nothing serious. 15.1 is also a quite good DD but lack of camera gets you after sometime :D

3- AFAIK, all

latest

releases of all roms (off. 14.1, unoff 14.1-15.1) can be flashed with official TWRP. Unofficial TWRPs were required at the beginning of the development but thanks to the devs, no need anymore. (Feel free to correct me if I'm wrong)

If you have flashed the Stock Nougat Firmware, you have Nougat Modem. From this point, your ROM options are quite limited since not every ROM uses NM. There is a list of compatible ROMs in the device forum, check it out.
[X Style (Pure) Android Development] big_marcolino:
Why unofficial 14.1 is better than official?
[X Style (Pure) Android Development] ghurkan:
It uses the newer modem which for me resulted in a little better battery life. It also had fewer random reboots, hangs. However, in order to use unofficial ones you need to upgrade your modem which limits your ROM choices which means I cannot use some of the ROMs anymore (AICP for example, [MENTION=4630246]Hashbang173[/MENTION], please release a NM AICP :D ).
[X Style (Pure) Android Development] biggy238:
Last two nightlies have both broken my SIM.

No magisk, no SIM installed during flash. What's going on?
[X Style (Pure) Android Development] creeperlwd:
Will 0x5A bootloader get support? When i bought my new phone flashing stock rom updated my bootloader. stock doesn't boot so i want to be able to atleast use my device. I'm not sure if support is planned so i would like to know.
[X Style (Pure) Android Development] hasekev99:
Hello, flashed the last ROM of Hashbang from 27.07.2018. Is there actually a newer version. thanks in advance
[X Style (Pure) Android Development] sideeffects:
Last working official build for me is 22.08.2018. After that the modern no longer works.
[X Style (Pure) Android Development] hasekev99:
Where can i find it ?
[X Style (Pure) Android Development] sideeffects:
I was talking about the official release that is on the official Moto x style (clark page) designed for the marshmallow bootloader. The last working version was from 22.08.2018 the three newer versions all have broken modem issue.

I think you are wanting the unofficial build. I wasn't referring to your post sorry for the confusion.
[X Style (Pure) Android Development] hasekev99:
Yes it was for the unofficial Version.
[X Style (Pure) Android Development] hasekev99:
No News about LineageOS 15.1 for MotoX Pure ?
[X Style (Pure) Android Development] xabr3:
No. Camera is still the issue. It is not sure if this ever will be fixed.
[X Style (Pure) Android Development] DoctorRzepa:
How does the camera not work if the same sensor is mounted in Moto X Play and works on unofficial LOS 15.1? Different processor is such a hassle?
[X Style (Pure) Android Development] kadopt:
Different implementation.
[X Style (Pure) Android Development] randomblame:
Been building 16 for giggles this weekend will post if I get her booting ? squashing compile errors by the dozen tonight
[X Style (Pure) Android Development] xabr3:
Hope you get camera working.
[X Style (Pure) Android Development] randomblame:
Hope I get a build ?
[X Style (Pure) Android Development] randomblame:
Running into storage issues holy forking shirtballs I thought 180gb would cover it but noooo need bigger ssds but tonight I'll be moving things around should have a build I've gotten past all the big issues. Our kernel is starting to show it's age may want to backport 0_tmpfile feature in the future

edit2 build completed overnight issue preventing boot fixing and trying again
[X Style (Pure) Android Development] randomblame:
*woot got adb and logcat!
[X Style (Pure) Android Development] GeneralVerdacht:
n1 - enjoy 1 month adfree! Maybee open your own thread?
[X Style (Pure) Android Development] randomblame:
yeah i'm spamming this lol I'll delete and make a thread just sort of logging each step like a dork it helps me think :silly:

*thread - https://xdaforums.com/moto-x-style/development/development-thread-lineage-16-0-t3854208
[X Style (Pure) Android Development] ResistanceIsFutile:
Sorry with the fact that I don't know how to help ya.

But wishing you great success and offering many hardy Cheers Cheers Cheers

By chance, when you've reached success with Lineage-16.0

could you or would someone else be able to base a Custom ROM

on it for a Stock Nougat Kernel and Modem ?

Wished you'd consider making a custom rom using Lineage-16.0 clark for the Moto X Pure, and to have a look at the fork that antariksh made off the OP3 and OP3T, giving us the NucleaROM Nougat for Moto X Style (Pure). Antariksh sold his X-style and is not maintaining the NR anymore - though it was a stable rom from it's start and nice UI.

We (Pure owners) don't have all that many active developers for nougat base.

Your thoughts are most certainly welcome and thank you !

Good luck, karma and success...
[X Style (Pure) Android Development] stevejohnson42:
Not really ...it is work in progress... personally, I see no reason to create new thread until you are at point where you want some testing / have a beta

Precedent has already been set with some of Hashbangs work on O

For me...and assume others . It is encouraging to see someone working on this... PM me if you need some testers....wish could do more to help ...
[X Style (Pure) Android Development] lucifersam69:
bootloop

Hi there. My moto x is stuck in bootloop. I flash the last nightly by TWRP. I had stock rom previously, but I wiped everything, then flashed.

Try with and without Gapps.

Any idea?

Thanks
[X Style (Pure) Android Development] Strephon Alkhalikoi:
Was your stock ROM Android 6 or Android 7?
[X Style (Pure) Android Development] lucifersam69:
It was Android 7...

Something I didnt mention was that I had my phone rooted with Magisk. But I wipe the device completly (as instructed in lineage official web)
[X Style (Pure) Android Development] Strephon Alkhalikoi:
That's your problem. The official ROM if I recall correctly is for devices with Android 6.x as stock. So search the thread. I believe there is an unofficial version available for devices running Android 7.

EDIT: The official version conflicts with the Android 7 bootloader, causing the bootloop.
[X Style (Pure) Android Development] stevejohnson42:
Suggestion would be to use the instructions to flash stock... depending on variant...look for thread on xda. I found reflashing stock helped clear up bad flash... especially review posts by resistanceisfutil for good details

Link here for what I use - be absolutely sure you have the same variant :

https://xdaforums.com/moto-x-style/general/guide-return-to-stock-relock-bootloader-t3489110
[X Style (Pure) Android Development] ShapeShifter499:
[MENTION=4630246]Hashbang173[/MENTION] If LineageOS 14.1 for the Nougat modem is stable enough, how come support has yet to be added to the official LineageOS build system?
[X Style (Pure) Android Development] randomblame:
It would require two separate builds. Best to move everything to support devices with the latest firmware and ask users to update their firmware.
[X Style (Pure) Android Development] writely:
Can anyone advise the best or most convenient way to switch between N & MM modems?

Want to try other builds but afraid to mess up.

Thank you.
[X Style (Pure) Android Development] stevejohnson42:
To my knowledge it can't be done

There are a number of custom ROMs that can be flashed with N modem
[X Style (Pure) Android Development] Strephon Alkhalikoi:
My Nexus 6, a Motorola-made device, has stored in its internal storage the last three modems available for it as flashable zips, and I can flash between them at will. If I needed older modems I can download zips for them easily enough. On that device it is somewhat important because some modems worked better than others.

I'm surprised no one in the Moto X Pure forums here has extracted the modems from copies of the stock ROMs and made flashable zips out of them. Then again, given the relative lack of development perhaps I shouldn't be surprised. Regardless, it's something you guys may want to look into, if only so the developer doesn't have to maintain two versions of the same ROM.
[X Style (Pure) Android Development] ShapeShifter499:
Right, ok, but this has not happened yet. [MENTION=4630246]Hashbang173[/MENTION] went as far as to get code merged into the official LineageOS Moto X Pure (Clark) builds restricting installs for devices with Marshmallow modems. That change can be found here, https://review.lineageos.org/#/c/LineageOS/android_device_motorola_clark/+/207528/ Right now I don't know which OS to install since I regrettably upgraded to a official Motorola build with the Nougat modem.

It seems right now if I want to have a somewhat more up to date build with slightly newer code and possibly better security that is stable enough I should install one of [MENTION=4630246]Hashbang173[/MENTION]'s unofficial builds for LineageOS 14.1 This would leave me having to reinstall everything if I ever wanted to jump to the official code when or if LineageOS officially starts supporting Nougat modems.

[MENTION=1776875]randomblame[/MENTION] I've seen you posting unofficial builds of Android Pie 9. Right now my phone is messed up, it hesitates and sometimes crashes with reboots, I know it needs a good reinstall. I'm on a older official Moto Nougat build. Maybe you could suggest which OS is the best to be flashing onto my phone? It is a Moto X Pure XT1575 with single sim. I just want something that is up-to-date and everything (camera included) works.
[X Style (Pure) Android Development] randomblame:
Stock nougat works just fine if you want everything functional :) I'm working on newer builds for nougat firmware but no time or room to spare on the computer for 14.1 builds at the moment maybe if I get a chance in the next few weeks I'll look into it
[X Style (Pure) Android Development] Andreyson:
I'm having issues when trying to install Lineage OS 14.1.

I was using Nougat 7.0 provided for OTA. I've rooted and installed TWRP. When trying to install LineageOs I'm getting the error:

Updater process ended with ERROR: 7 and getting the following message: This package supports bootloader(s): 0xA01C, 0xA042, 0xA048, 0xA04A, 0xA04C, 0xA04D; this device has bootloader 0xA052.

I've downgraded to Android 6.0 and did all the procedure again, but still got this message. Can anyone help me?

I see people telling to use Hashbang's unnofficial release of LineageOS 14.1 instead. Is it the only option for me? Is there a way to downgrade modem? (I don't even know what is that)
[X Style (Pure) Android Development] thetuber:
I have a Moto X Pure with the Nougat modem and the latest (May 13th) unofficial 14.1 build from hashbang. Quite often the phone gets hot and battery life plummets (dies in an hour or so). The battery stats doesn't show any app that is chewing up the battery. However, when I disable cell data, I don't get this problem. Note that when it gets hot, turning off cell data is not enough. I need to power off the phone for a little bit first. The phone signal display usually shows no bars, and the signal strength under Settings->About phone->Status->SIM status shows -120 dBm 99 asu, even though cell data actually works fine. I reverted back to the stock ROM, and I don't get this behavior so it doesn't seem like it's a hardware problem. The signal display and signal strength is fine, and there's no phone heating. Any ideas on what to try? I don't want to use the 15.x build if the back camera doesn't work.
[X Style (Pure) Android Development] Andreyson:
I installed LineageOS 14.1 Hashbang's unnofficial release and it has been a great experience.

But now, I noticed some problems. I can not log in with my account in some applications as Dropbox, OneDrive or TransferWise, for example.

Is it caused because my device is rooted or is the custom ROM itself? Can anyone help me?

Update: It seems to be caused by Account Manager. I'm not able to create a account related to many apps...