yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] spartanfrog:
Can someone make a bootlog. I am trying to debug the dualsim issue. One way to do it is "adb reboot && adb -d > logcat.txt". You need to enable dev options and android debbuging for the commands to work. Please review logcat.txt for any sensitive info before sendig it.

Thank you!
[X Style (Pure) Android Development] kb8no:
Where is the text file saved?
[X Style (Pure) Android Development] spartanfrog:
It should be in the working dir, but I just noticed in my post I have made a mistake. The correct command is "adb reboot && adb -d logcat > logcat.txt".

Sorry about that and thanks again!
[X Style (Pure) Android Development] kb8no:
I will give it a try when I get a little time. You may need to tutor me.
[X Style (Pure) Android Development] AgathosAnthropos:
Got a build with device specifics rolled back to 7/14 timeframe and patch applied. Rest of Android/LOS still more recent though. It's uploading now, I'll update with path when ready shortly. So far, working okay on my Clark. Next week or soon I'll see if I can track down the system ui thing.

https://www.androidfilehost.com/?fid=4349826312261611583

Md5

f1b81aa78f72c1ba179a04fb44409d04
[X Style (Pure) Android Development] kb8no:
Dirty flashed last night easily and so far overnight working just the same as expected. Now on to the UI bug.
[X Style (Pure) Android Development] zohar_ml:
Did a dirty flash.

Boot ok, but the phone don't work!

I get "No SIM card".

Tryied reboot, cache wipe, sim out and in, nothing helps.

Before the phone worked.

Please help
[X Style (Pure) Android Development] kb8no:
You have had some non-standard issues. Do a complete wipe of everything and clean flash with Gapps pico.
[X Style (Pure) Android Development] tigger360:
I had a similar issue before. Magisk was the culprit, but it was easily fixed by wiping only system, and flashing lineage, GApps and Magisk again. Try that?
[X Style (Pure) Android Development] labello29:
hello everyone I wanted to try this custom rom which firmware / modem should I enter first? I hope someone points to the link thanks a lot
[X Style (Pure) Android Development] Strephon Alkhalikoi:
The first post makes it explicit what firmware is required. As for where to get said firmware, while a stock ROM is available on the forum and can easily be found in a few minutes of searching, simply checking for updates on your device should also work. Just be certain a stock recovery is installed before taking an OTA update.
[X Style (Pure) Android Development] zohar_ml:
Thanks, this did the trick!!
[X Style (Pure) Android Development] markboy08:
I'm about ready to take the leap and unlock my stock XT1575 bootloader to install this. I know it's only been a day, but how is this build faring so far? Also, what is the UI bug you refer to, I'm wondering if it's significant enough that I should wait for that fix.
[X Style (Pure) Android Development] kb8no:
Just to make sure, my comments predicate on you having taken the OTA to stock Nougat. Yes?

So Motorola will never release another Android upgrade for this phone. The only reason not to unlock your bootloader is that it might prevent you from upgrading. Since this will never happen, there is absolutely no reason not to unlock your bootloader.

You can unlock your bootloader and still use your stock Nougat but you can install twrp and root your stock Nougat. Many people run rooted stock nougat. You can make a backup of your stock Nougat in case you want to go back.

We have been using a variant of this latest build from July that required a patch. The current build is the same but the patch is included. It has been my daily driver since July and it is excellent.

It has a notable buggy delayed boot. If you try to use it too soon you get a UI error. If you let it sit for a few minutes after the lock screen appears without touching it the boot completes and everything works fine. Read back through the posts for more info. This is what the Dev is working to fix next. It doesn't stop me from using it.

The other bug is a soft reboot when you turn tether off. :shrug

By all means, unlock your bootloader. I like this ROM with its bugs much better than stock nougat. Use gapps pico and Magisk to root.
[X Style (Pure) Android Development] labello29:
yes I entered nougat stock and then inserted this beautiful custom works I believe everything and good
[X Style (Pure) Android Development] markboy08:
Thanks. I have been following this thread for months and reread it many times, just wasn't sure which of the problems discussed that "UI error" referred to. I was aware of the boot delay and tether issues, just wanted to make sure I hadn't missed anything else - thanks for clarifying. The only reason I have been putting off unlocking my bootloader is that unlocking will wipe everything, and since its such a pain to reload/reconfigure I've been waiting until a ROM worthy of the effort was available, and this one is it :)
[X Style (Pure) Android Development] AgathosAnthropos:
Do you always get the "buggy boot"? I'm attempting to duplicate and I only got it on my first power up from power off and I've done a bunch of reboots and power cycles and not seen it again. If you catch a log of it it might help (as per last page "adb reboot && adb logcat -d > logcat.txt").
[X Style (Pure) Android Development] Taffy1881:
My moto x style, is running good. The only issue is the camera,after that...im using dialy.

Justo waiting camera fix
[X Style (Pure) Android Development] kb8no:
Yes. Every boot if Power up from off or reboot from off menu. Very predictable and timed the same. I will get a log but jammed at work and deer season opener this weekend. Next week for sure.
[X Style (Pure) Android Development] kb8no:
Screen shot of process error (UI error as I call it) and clock widget warning that boot is buggy. When you get through this with time and widget starts then it works fine. Aren't you getting the same thing? This has been happening since your first build with patch since July. Maybe earlier with randomblame, can't remember.
[X Style (Pure) Android Development] AgathosAnthropos:
Yeah, I see the same thing but not often. Last night I saw it one time out of like 30+ reboots. I was powering on or reboot hurry and unlock and clock is good and system seems fine. Repeat.
[X Style (Pure) Android Development] kb8no:
Hummm. I get this 100% every time. If I don't touch it then it rights itself in 60 seconds. I've had it with clean flashes with patched ROM but only dirty flashed your latest. Should I try a fresh clean flash?
[X Style (Pure) Android Development] AgathosAnthropos:
I don't know that that is necessary unless you really want to try it. I've mostly been dirty flashing test builds back and forth and as I said I don't see it often. OpenGapps Pico? Any other stuff you have set to run on startup? I also don't run root or Magisk
[X Style (Pure) Android Development] kb8no:
Pico. Yes, Magisk always. Could that be the problem?

Nope. Uninstalled Magisk and no improvement.
[X Style (Pure) Android Development] xabr3:
Is there a way to fix the Pixel Launcher? It keeps crashing, I use it with stock Gapps.
[X Style (Pure) Android Development] labello29:
hello to me camera works
[X Style (Pure) Android Development] moviefirst:
When you take a picture rotation doesn't work.

It keeps the picture in landscape.
[X Style (Pure) Android Development] labello29:
hello to me it all works magisk edxposed camera simcard except email app that gives me incorrect data but installed gmail and enters email without problems , are you sure you have done all the correct steps? proceed to return to nougat by installing this release https://xdaforums.com/moto-x-style/general/moto-x-pure-xt1575-flash-nougat-t3922367

then make root with twrp + magisk make sure you have oem unlock and to finish download run wipw cache dalvik cache cache partition and factory reset and install last build pie that you find here going back a few pages

I did it this way
[X Style (Pure) Android Development] labello29:
work for me ah sorry taking the photo vertically you are not completely right
[X Style (Pure) Android Development] Taffy1881:
i means

i can take photos but not of good quality and also when i use it with whatsapp when looking like postprocessor is the problem
[X Style (Pure) Android Development] kb8no:
OK you guys. Lineage camera works fine. You can only use pico or nano gapps. Larger Gapps overwrites working Lineage camera with non working pixel camera. This has been discussed and reading helps. Everybody knows the lineage camera has horizontal photos rotated and should you care the gallery can rotate and save them.
[X Style (Pure) Android Development] xabr3:
Camera doesn't work at all here, LineageOS Camera takes a picture but after that the app hangs. Whatsapp/Signal doesn't work, as like any 3rd party camera apps. Still a big issue.

edit: using nano gapps now, LineageOS camera works now.

I hope the postprocessing will be fixed anytime, this ROM is so close to perfection. Runs very smooth. Thank you [MENTION=1776875]randomblame[/MENTION] and [MENTION=9796853]AgathosAnthropos[/MENTION]
[X Style (Pure) Android Development] Strephon Alkhalikoi:
Just to point out that a custom .gapps-config file set up to exclude the apps you don't want, such as the camera, will allow the larger packages to be used. In fact, I do this for all my devices running custom ROMs.
[X Style (Pure) Android Development] kb8no:
What is your cellular provider?
[X Style (Pure) Android Development] AgathosAnthropos:
Sprint, and while I have a SIM in it, it currently isn't activated. I'll switch it on and see if that changes the behavior the next time I have a chance.
[X Style (Pure) Android Development] kb8no:
So I began suspecting some issue with my Verizon SIM. At the same time, despite your reassurances that dirty flash should not cause these problems, I started suspecting I needed a complete clean flash.

So I have a backup Moto X Pure with an ATT SIM on LOS 14.1. So I wiped everything including internal SD, the whole thing. Flashed this ROM with latest open gapps onto my ATT phone. BAM. No boot issues, no UI problem.

Hummm... So I went back to my Verizon SIM phone on 16.0 and did the same clean flash including internal SD. BAM. No boot issues or UI problem.

So I think I solved the mystery of why it was working for others and not me. Just needed a complete clean flash. I also proved I think that it is not a SIM problem as well. Sigh.

So far the only thing I found doesn't work now is that crash and reboot after shutting off tethering, either WiFi or USB. Can you look at that?

You have the 10/5/19 Android patch there. Was there any of Randomblame's commitswe aborted look promising or useful? Any LOS updates?

Edit: wrong. Now both ATT and Verizon with clean flash phones have the boot problem. Was not fixed by clean flash. Moreover not fixed by pico or nano Gapps. I am at a loss. It is some sort of boot problem. I have reason to think it is SIM initialization. Try your Sprint SIM and see if you can reproduce it.
[X Style (Pure) Android Development] leonidas.gr:
Call sound problems

As some others have stated there are some call sound problems that affecting this rom. In my Moto XT1572 when calling to landlines call sound is ok and the others can hear me, but when calling to a mobile then my sound reaches the others with problems and cutouts. The only thing to overcome this is to use a headset but this is not a solution. I know that this thing does not affect a lot of people but for me is a major issue because I love the stability of this rom and I want to use it. I am using lineage-16.0-20190714-UNOFFICIAL-clark with the drm patch. Hoping that someone takes a look and provides us with a patch or a solution to this problem. Thank you !
[X Style (Pure) Android Development] joheli:
I can confirm that issue on the same device (XT1572). When calling other people, cutouts make using talking almost impossible. WhatsApp call is not effected though.
[X Style (Pure) Android Development] Taffy1881:
How about the new build ?

Try this

https://androidfilehost.com/?fid=4349826312261611583
[X Style (Pure) Android Development] joheli:
Is it fine to just dirty-flash it?
[X Style (Pure) Android Development] leonidas.gr:
I don't know if I did something wrong but when I flashed it I had bootloops and I had to revert back to stock. But I will try it again and I will let you know. Bootloops confirmes with lineage-16.0-20191101-UNOFFICIAL-clark.zip for me. I know for sure that android 9.0 pie has some weird sound issues on all phones and probably we should look at other roms how they overcame this. There is of course another problem that I saw. when I enable speaker mode noise cancelling is not working and there is echo. Maybe it has to do something with "Fluence" (I am not a tech expert but this is what I read all over google !)
[X Style (Pure) Android Development] Taffy1881:
I did on moto x xt1575 ...work good
[X Style (Pure) Android Development] DjDill:
[MENTION=9796853]AgathosAnthropos[/MENTION] this is your build right?

I dirty flashed from: lineage-16.0-20190714 by randomblame

Appears to be fine, had to flash twice as the modem would not flash reporting that system was read only

Everything else is fine appears to be stable and smooth, good work

Do you have a source tree at all? Change log somewhere?
[X Style (Pure) Android Development] AgathosAnthropos:
Correct, that's my build. No real changeling unless you wanna go through commit history. Repo:

https://github.com/AgathosAnthropos/android_device_motorola_clark
[X Style (Pure) Android Development] Taffy1881:
Hi [MENTION=9796853]AgathosAnthropos[/MENTION] are you continuo working on this rom?

I will be happy if you can fix the camera complete.

thanks
[X Style (Pure) Android Development] AgathosAnthropos:
Yes I'm still playing with it. Though not too often. Order of things I'm looking at is reboot on disable tether, LOS 17 then back to camera rotation.
[X Style (Pure) Android Development] kb8no:
I have 3 weeks off and a phone with only gapps pico for experimenting. Reboot on disable tether I presume happens to you on your phone as well so my making a log for you is not helpful, right?

I'm not highly experienced but have used the app SysLog. Any objections to using that app to make logs?
[X Style (Pure) Android Development] AgathosAnthropos:
Nope, feel free. I am reproducing but my first glance at the logs nothing jumped out at me. I intend to look more at it this week, so if you get a log I can give it a look too.
[X Style (Pure) Android Development] AgathosAnthropos:
Do you know if it is/was rebooting on stock ROM (not LOS)?
[X Style (Pure) Android Development] kb8no:
So you are talking about tether reboot, yes? Absolutely not on stock and not on on LOS 14.1 either. The start up slow boot "UI" problem not on stock or 14.1 either. 15.1 had tether problem but not "UI" problem I think.
[X Style (Pure) Android Development] AgathosAnthropos:
Yeah, tether reboot. It duplicates itself on my phone but I'm getting nothing from the logs so I was wondering if it was the newer firmware causing it and causing me to get no log.
[X Style (Pure) Android Development] kb8no:
My wife using stock 7.1 and no problems, tether or UI on boot. Same for Hashbang 14.1 which I used for a long time and all fine. The main problem with Randomblane 15.1 and 16.0 was no camera so I didn't use them much, only to test. Hence weak memory.

I think tether started acting up on randomblame. 16.
[X Style (Pure) Android Development] jeddy877:
Just Making Sure

Hello y'all. I was just wanting to be sure I had the flashing of this ROM right. Are we supposed to wipe system also or just the data, cache, and dalvick cache?
[X Style (Pure) Android Development] kb8no:
It depends on where you are coming from. You will not be sorry if you do a complete clean flash. System, cache, Dalvik, data, internal storage.
[X Style (Pure) Android Development] Sherrillface:
Hey question i have moto xpure edition and its on nougat but wont except any otas on stock is it my modem or because of unlocked bootloader?
[X Style (Pure) Android Development] Strephon Alkhalikoi:
Off topic to the thread sir.That said, what OTAs? I only know of one stock OTA update for the Moto X Pure after "retiring" from tinkering with mine and restoring the stock Android 7 ROM to it. It worked on mine because my recovery was also stock.
[X Style (Pure) Android Development] Sherrillface:
Mine is also stock everytime i accept the update wich i beleive is a security update it just bootloops and i have install the whole stock rom again just to boot up and get non stop ota notifications untill i accidentally tap on it and i have to redo the above said again..

---------- Post added at 02:57 AM ---------- Previous post was at 02:49 AM ----------

Its a security update 25.201.1 and it will not take it just bootloops

---------- Post added at 02:57 AM ---------- Previous post was at 02:57 AM ----------

Its security update version 25.201.1
[X Style (Pure) Android Development] Strephon Alkhalikoi:
Still off topic. This thread is for LineageOS, not the stock ROM. You might want to create your own thread, rather than cluttering up this one.
[X Style (Pure) Android Development] Sherrillface:
Thanks
[X Style (Pure) Android Development] AgathosAnthropos:
Updated 16.0 build. Still no fix for tether reboot. Working on 17.0, have it compiling and loading but failing to boot. I'll start a new 17.0 thread when it's going.

https://www.androidfilehost.com/?fid=4349826312261681342

md5: 00f77b8d81dbf3834358826f874208bd
[X Style (Pure) Android Development] kb8no:
[MENTION=9796853]AgathosAnthropos[/MENTION] New build dirty flashed fine. See new ROM updates. Slow boot still unchanged too. :(
[X Style (Pure) Android Development] kb8no:
I never use Netflix but my wife is on this ROM now. It installs, loads, but crashes when you click play with error 5.8. Happens same on hers and mine. Magisk tests it good on Safety net. Anyone have information or experience troubleshooting Netflix?
[X Style (Pure) Android Development] RetroUser:
Camera supposed to work with XT1572?

Hi, thanks for your efforts to keep the Moto X up to date.

I installed this ROM on my XT1572 which worked well but have ... a camera issue ... ;) Is the camera supposed to work with the XT1572 or just the XT1575?

After install and configuration I do not have a Camera icon at all.

- Checking the installed Apps in the Settings the Camera App is listed.

- When opening the Camera form the Gallery it crashes immediately.

- When installing OpenCamera it says "Problem connecting to camera. May be it is used by a different App."

I have the same issue with earlier builds (lineage-16.0-20190801-UNOFFICIAL-clark, lineage-16.0-20191101-UNOFFICIAL-clark).

May be I did something wrong when preparing the device? This is the short history.

- went from Stock MM/6 to Lineage official in 2017 (after boot loop late last year decided to go for a new setup)

- installed latest TRWP (3.3.1.0)

- updated just bootloader and modem from Stock Nougat/7 ROM (to enable installation of new images)

- installed the mentioned 16 build(s)

(- also checked latest 14.1 unofficial builds which seam to work fine incl. camera)

Kind regards
[X Style (Pure) Android Development] kb8no:
I think I know your problem. Only LOS camera in this ROM works. No other camera will work. You must use Opengapps pico or nano because they do no not replace the LOS camera. I use nano which gives me Google Assistant. Getting the LOS camera working was a huge breakthrough.

Larger gapps packages replace the LOS camera with Google camera which does not work. Any camera from Play Store also will not work. This has been discussed a lot on this forum.

Stock Nougat was the end of Motorola development. If you have stock Nougat installed properly on your phone you have the latest bootloader and modem and no need to flash them again.

As I understand it, the only difference between Style and Pure is the choice of LTE bands. The Moto X has a nice large group of well chosen LTE bands partly what attracted me to buying this phone. My Pure works well for me in Europe even though it is not the "international" version.
[X Style (Pure) Android Development] RetroUser:
Hi,

thanks for your response.

I actually installed OpenGapps pico to get the least Google pollution possible ;) So this should not be the cause of the issue. It is the LOS Camera App which is a) not existing as an icon (but in the list of Apps in the Settings) and b) crashing when started from the Gallery App.

Regarding Stock ROM: I was on Marsh Mellow when I first installed LOS 14.1 Official back in 2017. Reading the posts here I learned that I need Nougat bootloader and (possibly) modem in order to install anything newer than LOS 14.1 Official. So ther was NEVER a full stock Nougat installed on my device.

Do you think this might be an issue? Should I install the full stock Nougat ROM on my device and then move to the 16.0 image?

Kind regards
[X Style (Pure) Android Development] AgathosAnthropos:
I would try to go to full Nougat load then go to 16.0. I believe that's the safest way to ensure everything is working. The only issues we currently have (I think) are the slow system boot (just below) sometimes, and reboot when turning tether/hotspot OFF.

Do you have any logs from this? I'm mostly working on 17 now and while I can go back to 16, I also wasn't seeing it very much.
[X Style (Pure) Android Development] kb8no:
[MENTION=9796853]AgathosAnthropos[/MENTION] has got it right. You need Nougat firmware for this ROM to work. Firmware is more than just modem and bootloader flashed over Marshmallow. The way to get the whole firmware banana is to do a clean flash of Stock Nougat.

Stock Nougat and unlocked bootloader is the starting point that is assumed. When that is done all you have to do is use fastboot to flash latest TWRP and use that to flash this ROM.

Nano Gapps works just fine. Magisk works just fine.
[X Style (Pure) Android Development] RetroUser:
Hi,

now I did setup Stock Nougat completely, booted it once and then re-did the TRWP and 16.0 installation. All this went smoothly and now the camera is working as well. Perfect!

Thanks a lot for your help.

Two additional questions:

- I noticed the SE Linux is not in enforcing mode > is that on purpose? Why should SE Linux not be fully used?

- What's the proper way to install new builds without loosing apps, configuration and data? (I know this one is a noob question)

Kind regards
[X Style (Pure) Android Development] AgathosAnthropos:
SELinux is set to permissive on purpose. It should be as easy as analyzing the logs and finding where the rules need to be updated but the easiest way was to just set it to permissive. I have been building that way since randomblame was building that way.

As for the second question, so far, I believe, you've been able to "dirty flash" over previous versions. i.e. copy it to your device, boot into twrp, and install the image without wiping anything and it doesn't lose any of your apps/data/etc.
[X Style (Pure) Android Development] RetroUser:
Hi,

thanks for the explanations and especially for your efforts on the build.

I always wondered what "dirty flash" means when reading the thread .... now I get it :)

Thanks again, kind regards.
[X Style (Pure) Android Development] randomblame:
well my shiny new mi9 walked off so I'm back to building for clark. Good news I have a brand new system and builds are fast. Working on 17
[X Style (Pure) Android Development] moviefirst:
Great to hear from you again!

Welcome back!
[X Style (Pure) Android Development] tigger360:
I'm wondering if anybody has discovered what is going on here with Netflix. Does anybody else have this issue? I only started using Netflix recently and saw that I also get the error 5.7 or 5.8. I do have Magisk, but my device passes on Safety net and I have Magisk hidden from Netflix.
[X Style (Pure) Android Development] uniqe13:
Hi,

I install latest LOS 16 for Moto X Style, and it work fine.

My cam app is com.motorola.camera from Google Play, and work.

Problem is LED notyfication.

There is only a white LED behind the handset speaker. How to restore the default original multicolor diode?