yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
I don't fully understand the A/B slots business but is it possible that A) the lock configuration/PIN/pattern is set in /system (which has A/B versions), and B) trwp is sometimes looking at the "inactive" slot for this configuration, so it's wrong? I'm really going beyond my level of knowledge, so reign me in here.

Also, I tried to update about a week ago to the latest nightly and got my phone into a bootloop again. After a few loops (Lineage boot animation until about the time it should prompt for my unlock pattern, then restart on its own), Lineage Recovery would give the dreaded failure message with Try Again or Factory Reset as options.

I was able to save it by reinstalling MindTheGapps. Thereafter, it booted but all the Google apps that could be Uninstalled/Reinstalled kept crashing. Clearing their storage didn't fix them, but Uninstall/Reinstall from Play Store fixed them.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mkfsf2fs:
Hey,

good news for all FM radio interested users. The patch for making oreo FM configurations usable in pie builds has just been merged. Builds starting from tomorrow should include the changes.

Thanks again Erfan :)

review.lineageos.org/c/LineageOS/android_hardware_qcom_fm/+/254200
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fubar73:
sweet fm radio is working
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
REBOOT -- Bootloader

Fastboot TWRP

Format Data

WIPE -- ALL

REBOOT -- Bootloader

Fastboot TWRP

Install ---- Nightly 2019-10-27

Install ---- TWRP 3.3.1-0

REBOOT -- Recovery

Install ---- Gapps 25 October 2019 - Nano *

REBOOT - Recovery

Install ---- Stable Magisk Version: v20.0

REBOOT -- System

Status: Working

USA - Google Fi :)

* A bit off-topic but am I the only person who ever notices that Gapps never replaces the stock apps as they claim it will? It only installs them alongside. It really isn't an issue. Just a pet peeve since it leaves me having to remove them myself. But since this is "normal" and the ROM is working, it really is just me thinking "out loud". Carry on as you were. lol
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DanielZRK:
Does it Lineage 16 better than Stock Pie in usability and performance on payton? Talking about camera and games.

Long time with no flashing.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MeowDotEXE:
I've been using this ROM for about a week now, everything works fine except for these:

The CPU temperature sensor always reads as 0 degrees. For some reason, it works properly when charging.

Sprint doesn't work on Google Fi. T-Mobile is fine, and I can't test US Cell as they don't exist where I live.

Sound is a bit quieter than stock.

TWRP can't decrypt /data.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] timtaw:
Agreed. Working (mostly) stable now.

I'll add to the list above:

No notifications on incoming calls or messages (in fact, no notifications at all)

Sometimes wifi stops working, solution: either wait for some time until it magically reconnects or reboot

Only one reboot since installing 20191028 nightly

Stock music player won't continue to play music when in background for some time and playback has been stopped by user

For me its enough to be my daily driver.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
Google fi works great for me. What i do is flash the gapps super package with a config file that tells the script to only install the apps i want. I'd use a smaller package but the super package is the only one that has google fi. I also flash the universal anti encryption zip after magisk so I don't have to deal with encryption or dm verity.

Flash ROM

Install TWRP

Reboot to recovery

Flash magisk

Flash encryption disabler

Flash GAPPS super with custom config file in the same directory

Works perfectly for me
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
This is the open GAPPS config file i use. Just place it in the same folder/directory you flash the open GAPPS super package from
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SB00:
Here's a weird thing I've noticed about this ROM.

Whenever I move music over, doesn't matter if it's moved to internal or external storage, but it doubles the tracks and albums.

When you click one of them, lets say "Track 1" it says the format isn't supported and it will jump to the next "Track 1" and start playing. If I get lucky I can just delete the duplicate album and be good to go, but what usually happens is the tracks are doubled and I'll have to go through the whole album and delete them. This happens with the default music player and Player pro.

Never had this issue with the many phones and ROMs I've used over the years. It's weird
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
After last clear installation (following stock install) TWRP decrypting was working fine, but after lineage or Magisk update decrypting is not working anymore.

How to bring that working back?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
Do you need encryption? You can disable forced encryption with the disable force encryption zip. Its honestly not worth the hassle
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] exzombie:
Sure it is. If I lose my phone, I don't want to care about the credentials and private data stored on it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
You can always encrypt the data partition after you set it up without encryption
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
Now I noticed (after OTA update) that phone is not booting into slot B - only slot A is working - i think, this causes OTA update or TWRP retention script.

Maybe it is connected with TWRP decryption problems. I set up two different boot images in slot's - that's why I noticed that.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
Slot logic always makes the device boot to the slot that was updated, it won't boot to the other slot unless it needs to fall back to it. TWRP has trouble with FBE, so it might work more reliably if you disable forced encryption and then encrypt the phone with classic encryption through the settings menu. You can also remove your screen lock before entering TWRP so it can decrypt automatically
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
Thank You,

I will wait to next OTA update and try Lineage recovery - maybe this will be working good...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] st0nedpenguin:
Happened to me a while back too. I'm not entirely sure what finally fixed it but a whole bunch of removing files and clearing data for the music app eventually has it back up and running normally again. I suspect it may have been something to do with restoring backups maybe?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
The TWRP retention script just flashes TWRP to the updated slot. This is necessary because the recovery resides in the system partition, rather than a standalone recovery partition in non a/b devices. If you don't use the retention script, you have to temp boot TWRP from fastboot to be able to install it
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
So, it is not necessarily to decrypt user partition before TWRP installation back?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Online Gravy:
You can install TWRP without decrypting data, but you have to do it through the bootloader with fastboot
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rufflove:
I just picked up a second-hand X4, and after reading recent comments here, I was worried I'd have problems. But I just unlocked the bootloader, backed up the stock Pie firmware by fastbooting TWRP and then followed the instructions in the first post, without bothering to install TWRP. The device booted up fine on 20190711 micro-g build. I was then pleasantly surprised to find fingerprint reader swipe navigation working and Moto Gesture support included.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MeowDotEXE:
Is anyone else having strange flickering issues in some 3D games? For me it happens most in Minecraft Earth. Whenever you tap the screen all of the 2D elements start flickering.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SB00:
Updated to yesterday's nightly. Seems the majority of the day I've missed calls and text. I just got flooded with all the text I missed about 30 minutes ago. Not sure if it's the ROM, or just AT&T being weird. I've had missed calls and text before I ever decided to use this ROM, but never this extreme.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mkiker2089:
Ok, I mistakenly followed the intructions on Lineage's site which neglected the copy partitions part. I had to blank flash and try again.

Now my fingerprint scanner isn't acknowledged as being installed. I imagine there's a driver I need to flash. Can someone tell me what it is and refresh my memory on how to do it?

edit- before anyone asks i tried the firmware file. It didn't change anything.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] homeboot:
I made similar mistakes and fixed it by installing the latest available stock firmware (mirrors.lolinet.com/firmware/moto/payton/official/) and then followed the installation guide.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] joe_heaven:
Dear XDA fellows,

I have been a fan of this community for a long time and mostly I was able to fix all my problems just by reading, but now I'm stuck with two problems.

I succesfully flashed Lineage 16 on my Moto X4. After some struggle (hardbrick-->Emtyflash) now nearly everything seems fine. However two things are not ok:

- The fingerprint sensor is not working/recognized/available. I searched quite a while since I thought that this might be a known problem, but maybe not? It used to work with the original firmware, hardware seems ok.

- I get no mutlimedia-sound at all. Ringtones, Alarms, Keysounds: yes, But no sound from spotify, youtube, browser or similar. It is definitely not a hardware problem.

Both issues are serious for me, since this phone should be for my daughter and listening to music is the key-usecase for her smartphone.

I would be extremely grateful for any hints, recommendations or ideas how to obtain a solution.

All the best,

Joe
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] joe_heaven:
Ok, I started over all again, going back to stock, starting from there, not missing the copy partitions part and here we go: Everything works.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Cheatless:
Hello XDA fellows, I have installed in my X4 the Havoc OS but i want to migrate to Lineage OS my doubt is : Wait until Lineage OS 17 release or install right now the OS 16 ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mariotullece:
there's a Lineage OS 17 released in september for the x4, but phone calls don't work and I don't think that a new build will ever be released.

I think that the best for you, if you want an android 10 rom, to go for PE or ion by trpsl already submitted on this board.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dyb-:
I am on 24.12.2019 and I tried to update to 25.12.2019, but everytime I start the update after the download it says "installation error". Can't get any further information. Does anybody know how to get more information to clarify the error?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
I get the same: "Install error"
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] guhvanoh:
Looks like that Christmas present wasn't meant for you guys )-:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dyb-:
Bad luck. Explains the massive batterydrain I'm experiencing, too. Updating to 28.12. right now, hopefully it will fix it.

Edit: Update went well, phone works fine :)

Edit²: Still not sure about the batterydrain. After fullcharge it estimates a runtime about ~9hrs. Will have a look on the trend during the day.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
I guess the Christmas gift arrived 3 days late. Today's build installed (via Updater) without issues.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pombasx:
when receiving a voice call on whatsapp the phone hangs and after seconds it hangs up on its own.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leuko:
I can confirm similar behavior to the last post. When I try to establish a VoIP connection, then payton freezes and then reboots automatically. December build did not have this issue.

VoIP SW: MobileVOIP
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
January 17, 2020 build is bad.

No phone calls

No wireless data

Keeps telling me I am in airplane mode when it is disabled.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] noogi:
January 18, working good.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DanielZRK:
I've been using Lineage 16 from about 3 months without barely any issue, low volume I fixed installing Viper4Androud but only exception is that I can't shot at 16 megapixels on front facing camera using Moto Camera, no matter if I downloaded it from Google Play or flashing ports via TWRP, only shots 2.1 megapixels when I choose 16 on Moto Camera options.

Edit 1: This bug is present in Havoc 2.9, Mokee OS and all those 10 ROMs either.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] craigviar:
Help. Confused.

Lineage OS 16 is android 8 oreo or 9 pie?

the copy partitions zip is for 8 oreo

Google search shows Los 16 is 9 pie

My x4 is on stock 9 pie

Everything in the op says oreo.

When I installed the copy partitions zip there was a bunch of stuff about couldn't read, to many symlinks. But that is for 8,I'm on 9. Did I screw up?

WTF OVER?

EDIT : It's 9,pie. Got everything working fine.

On another note, does anyone know how to make the SD card writeable? I hoped it would be with LOS. It's basically useless to me as is. Phone can't write to it, computer gets really confused as soon as I plug it in (the card, not the phone).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] flieswithhawks:
Is your SD Card formatted as FAT32?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] craigviar:
Yes. The phone could read it but not write to it. Other phones could read it using otg. My win10 machine would get all screwy when trying to view it. Couldn't format it either. Tried to format it using otg on another phone, failed. It's in the trash now. It is a card I've had for awhile and was working fine when I first put it in the x4. Oh well.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] shar88:
Is android auto not working on this phone still a thing?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Quantumstate:
Still busted, I see.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Does your built-in updater take a long time to flash as mine does? It takes over a half an hour

---------- Post added at 05:41 AM ---------- Previous post was at 05:39 AM ----------

I got a similar issue. The unofficial TWRP doesn't seem to recognize the SD card when I write a back up to it. Keep saying fail
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
Yes it takes an extremely long time, maybe even longer than 30 minutes. It seems to help keeping the screen on (plugged in and updater in the foreground). The Updater has a preference to prioritize the update process too. I cannot speak on the effectiveness of that option or why it takes so long.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Did you by chance ever try and make a backup with TWRP? Would it be in reference to one of the slots?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
I have done a TWRP backup. I assume when you choose to include the system partition that it would be in reference to the current slot. But I am no expert on A/B behavior.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
maybe if i try to back up all but that partition it will work.. maybe???

i also had a weird occurrance.. i turned phone off and charged it.. went to turn on and it kept showing the charging icon. i had to access bootloader and restart that way.. ever have that issue?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
after flashing rom zip, i get no os installed when i go to reboot..i chose reboot anyways, but rom still loads..why did it do that? it didnt do that before when i flashed the rom . is this normal?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Anyone having issues with googles contact syncing?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
Sorry [MENTION=8952108]jerryspring[/MENTION], I haven't had those experiences. Getting it working for me required a lot of trial and error. I shared things in this thread that helped me. One significant thing seemed to be formatting the data partition with f2fs.

Also there are reports that some people had to install two times. Maybe there's something that doesn't install right on B but does on A. Install and booting (even if it doesn't work) then sets you up to be able to install to A. I'm speculating here.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Have you flashed viper4android by chance? I flashed on a rom from a different device and it never booted back up. On other devices though it flashed fine and worked fine
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Randy Power:
No, I've never installed viper4android on any device.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
This phone is very touchy when it comes to custom roms.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] craigviar:
So I did figure out why the phone would not write to SD card. I had Frozen the files APK with Titanium Backup. Apparently if that app isn't working then nothing can write to the SD card. That still doesn't explain why I could not format in or do anything with the card in my computer.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
I have a system colors on black and dark. But my notifications on certain apps are being displayed white lettering with a white background. How do I fix that?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Build update seems to fix google contacts not syncing.

---------- Post added at 04:59 AM ---------- Previous post was at 04:13 AM ----------

Why isn't anyone responding to any of our qualms and concerns? Maybe this thread should be stickied
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
Actually, many developers only handle issues received though the official LOS git issue tracking system because over there they don't have to wade through as many qualms and concerns which lack viable bug reporting details and don't inform development.

Are there any viable bug reports with full details and logs here that have been ignored? Are there any such ignored reports at the official lineage git problem tracking system?

I would add that a combination of industry factors has created a bottleneck in the # of available ROMs. Recently there were as few as only 3 Moto devices on the LOS build roster and one of them is this one. This is something you could be glad for, not something you should suggest closing the thread for. If you don't like state of the thread you could just unsubscribe.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Bugs were reported via pm. And I meant stickied
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
Uh huh... and what was issue? What was the reply? Any past references to it in this thread?

Also one last point (which I meant to include in my previous post): It is when there is less development focus on the ROM that such a thread as this becomes even more important because then users can try to work out issues themselves, or even jump in to assume maintenance of the device (as sometimes happens across Android/LOS versions or as people move to different devices).

I'm not intentionally giving you a hard time here; Just making a points that the purpose of the thread is more than chat, and that the value of it persists even if there has been little visible movement.

[EDIT] Oh wait, did you mean that you meant to say stickied when you said closed? OK, we'll there is a big difference. :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
I know you're not giving me a hard time. I remember you on the one X forums.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
That's odd because AFAIK I don't participate in any one X forums. Is my memory failing, am I leading a secret life as a one X user and don't even know about it? :silly:

Anyhow getting back to this device... The X4 with it's absurdly heavy and slippery glass back cover and metal bezel was a design mistake, which impacted commercial interest, which in turn impacted development interest. It's a shame because internally it's nice machine. I don't mean any of this as criticism of the maintainers and developers who contribute to this device. As I said before I'm glad to have it, and this thread.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] oz42:
Has anybody else experienced the auto brightness bug in low light conditions? Every couple of minutes the screen goes from "ok" to "argh, much too bright!" and later on back to normal.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Yes. I assumed it was cuz it was learning.....but after a week, it still did it.

---------- Post added at 09:43 AM ---------- Previous post was at 09:42 AM ----------

I mean atrix hd
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] OverkillTASF:
I flashed this to a Ting MotoX4 righ =t out of the box and am having problems keeping my data connection. I lose LTE (from the status icon, and not able to do data-things) frequently during cell handoffs, or when transitioning back to mobile from wifi. Restarting doesn't work reliably but seems to work _sometimes_. Resetting APN's to defaults and selecting the Ting Data one doesn't work. I can't make sense of anything in logcat. Otherwise, everything is great! How would you troubleshoot this?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
built in recovery is cool...but it would be nice if we could have the option to verify a flash or install. if you accidentally tap on a rom zip while ur on another, it could mess something up. would there be an option in the near future to implement this? thanks

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

toggling wifi seems to work ok. but the wifi has to actually connect to a router in order for it to work. really odd behavior. look at previous posts
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IronTechmonkey:
Wow, going way back. Atrix HD was my intro to Android. :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] OverkillTASF:
I was on data, sitting at my desk, full coverage. LTE. Turned wifi on. Turned it back off. No LTE. Cycled wifi 10 times, waiting for web browsing to work each time, never got LTE again.

So that didn't quite do it.

However in the process of fiddling with things... I found, _maybe_, that having AFWall enabled is related. I have a block by default policy. I added some additional allowed system services and will see if that does the trick.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Made a call and all the sudden my phone shut off. I had to power cycle anyone else with that issue?

---------- Post added at 01:44 AM ---------- Previous post was at 01:43 AM ----------

Did you upon set up use mobile data for set up?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Do you plan on making a lineage 17 for this device? Thanks very much for your development
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jerryspring:
Anyone else getting an occasional non vibration when getting a text message or an email?

---------- Post added at 01:31 AM ---------- Previous post was at 01:30 AM ----------

Status?