yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] leetripper:
On my device fast charge works. With the original charger, that came with the device and with the one, that came with a pixel 4a. But not anymore with the one, that came with a poco f1, which worked before...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
I also use original charger and cable as ever.

It worked in build before as it didn't work in first 18.1 build. Now same again for me since last build yesterday.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boomerxyz:
Is anyone else experiencing major lag / slow down after the 4/13 update? I did a clean install of the version before this update and it was very speedy then.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ferrazrafael:
Anyone knows a way to make netflix installable with this rom? Magisk can help it? I need to do a clean install of lineage+gapps+magisk or I can just sideload it over my current installation?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, can anyone with quick charging issues please submit logcat? It's working fine for me, so I'm unsure if maybe your charging blocks are different? We haven't changed anything to do with chargers since 17.1 so it should just work the same as 17.1 did.

@ferrazrafael , that has to do with SafetyNet. Netflix won't natively install on any device that SafetyNet fials on. You will need to either sideload the apk from somewhere or use Magisk Hide and maybe other stuff (I dunno, I don't install any root on my devices as it weakens security as root itself is a security bypass).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ferrazrafael:
SafetyNet failing is the reason that I can't install over play store the Moto apps too?

Ps: My fast charging is working too with the latest update (13/04/2021).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
@ferrazrafael tbh not too sure about Moto Apps... Can someone with Magisk and SafetyNet passing please check?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
Here is some logcat from connecting charger to the phone:

Normally, it starts with "charging" and after a few seconds it switches to "charging fast". But here, it stays with only "charging".
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rahulg09:
Safetynet failing even in magisk hide enabled. Safetynet app shows can't access google play services. But, play Store shows device certified and I can use banking apps. Then why magisk shows failed?

Fast charging working on Apr 13 build.

@ferrazrafael We cannot install any moto app from play store. It will show your device isn't compatible with this version.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, so it turns out Google changed the way attestation works, so Topjohnwu confirmed he needs to update Magisk so that Magisk Hide works again. No point reporting SafetyNet bugs in this thread and just wait for Magisk to be updated.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bojnice:
Hello. Answer. IS Google camera working?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] artu72:
Yes, even Lens app.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
I am using this one: https://www.celsoazevedo.com/files/android/google-camera/f/changelog1500/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ferrazrafael:
When Booting up I get the "Verity mode is set to disabled" text over the bootimage. There is any fix for that? Or is it "normal"?

I also get the motorola cant verify software integrity or something message asking to pause the boot process, this can be disabled?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] doug.passerini:
@ThE_MarD is there any chance to have the feature "long press on fingerprint sensor to LOCK screen" on LineageOS 18.1 just like the stock ROM?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] artu72:
It si normal, since you are using a not-certified ROM. You cannot disable it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @doug.passerini , I asked other Motorola maintainers and they said that the provided fingerprint kernel drivers are very bare, so it isn't something that would be simple to do as we would need to entirely recreate the driver from scratch and tbh it's well beyond my skill level... o_O
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikedeaster:
Hi

usb modem not working (can`t activate from settings when cable connected)

on los 17 its work, but after upgrade i have this problem
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
Build 20210420 seems to fix "Fast Charge" for me again (hopefully is stays that way now).

Any patches for the build belonged to that?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Err, @wkn000 , I haven't touched anything still for charging as I wask asking other Moto devs a few questions like if we needed hvdcp_opti which it turns out we didn't... So I'm starting to think it is probably your charger or cable that could be faulty
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] YunKuro:
PS app work?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Same thing. How did you fix it? :(

Edit: wipe data and install the previous rom until solution is found. That fixes the location problem for now.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Moto actions (fingerprint gestures) in general like enhanced screenshot, quick screenshot (with 3 fingers), or one button nav for example aren't in this ROM. I miss those functions so much...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
So it broken on los too

Ahh
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] artu72:
I have upgraded from 17.1 to 18.1 without wiping data. Geolocalization works flawlessly with GPS, GLONASS and GALILEO.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] spiral777:
Rom installed and works fine (official Los 18.1) :)... But I ran into some trouble installing magisk 22(.1)...so I flashed 21.4 and that's doing the trick for now so I can get Viper4android to work...

*I formatted data before installing and got almost 10gb of usable storage space back 🙌

https://www.dropbox.com/s/wn5c3o6hl8gpnhn/magisk-v21.4.zip?dl=0
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] buttens:
First post here so please be kind.

XT1900-1 [Payton] 64gb Android One variant that I just installed 18.1 on and have updated twice now over the last two weeks. No Gapps, just bare lineage via TWRP.

I'm attempting swapping in my Verizon SIM and found VoLTE is not working nor present in the network menu as it is on my XT1962-1 [River] running 17.1. Looking at SIM status it shows voice network type is 1x.

Is this a known issue or non-feature? Something obvious that I'm missing?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
@ThE_MarD this fixed screen flickering. Can you add it to lineageos? https://github.com/ancient-devices/...mmit/47c40c88b081d61c783675780cb269d3bd0875a8
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @Sujanth , thanks for the heads up! I'll try to add this to a test build whenever I get a spare moment. (y)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] st0nedpenguin:
Updated to 18.1 from 17.1 following the instructions and everything went great. Thanks for all your work. My phone feels noticeably snappier than it did on Android 10.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] flieswithhawks:
I too lost VoLTE when upgrading a custom ROM with this phone before. You will probably need to restore to stock by manually installing with the correct commands and then verify that it's present in the stock ROM settings. Then you can reinstall Lineage and VoLTE should be present again.

That's what worked for me anyways...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] buttens:
Thanks for the reply. I was about to return to stock and/or try the last 17.1 version.

So you are saying that reinstalling the stock image, inserting SIM / reboot / verify VoLTE in settings, then re-installing 18.1 may do the trick? This all assumes that the stock ROM works (which it should afaik)..

PS Everything else seems to work very well. It's very snappy and all the sensors and features work that I've tried. The only thing that is disappointing is the speaker volume is pretty lousy. Full volume is about half or 2/3 of what I'd expect.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Hi, all. I've been watching this thread and am tempted to upgrade from the solid 17.1, but want to figure out the best way to go. It looks like the standard procedure is basically wiping cache and sideloading 18.1, but are others doing more than that, like factory reset or wiping data?

And have others found that it's necessary to go back to stock first to retain VoLTE? I can't tell from this quote whether it's a reference to LOS or other ROMs, and I believe I read that GPS works fine if you go the suggested upgrade route (not wiping data, e.g.).

Guess I'm just confused. Thanks for any advice.

Rephrasing my question: Has anyone upgraded directly from 17.1 to 18.1, using the recommended cache-clear/adb sideload -- without first going back to stock -- and retained VoLTE, WiFi calling, GPS, etc? Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] BraneGenius:
Hey, first time poster here, but I had the same issue as you: LOS 18.1 installed on payton X1900-1, everything seemed copacetic, but VoLTE and WiFi Calling weren't working in practice. Inspired by your conversation with flieswithhawks, I attempted to do exactly as you inferred: reinstall the stock image, confirm that VoLTE/WFC work, then re-install LOS 18.1. I'm happy to report that it worked! Here are some notes I'm hoping can help out:

Like you, I'm using a 64GB AndroidOne Moto X4. However, I'm using a Mint Mobile sim card, which others have reported as working . I'm not sure if there are additional considerations for a Verizon SIM.

I recently returned to this device after using another phone as my daily driver, so it was already unlocked and running an old version of Pixel Experience. I suspect I caused the issue when I installed PE, but it could have happened while installing LOS 18.1.

I flashed the stock firmware using munchy_cool's guide here on XDA (https://xdaforums.com/t/guide-video-text-how-to-flash-official-factory-firmware-moto-x4.3808348/).

At first, I used the Android One Android 9.0 Pie firmware link in the thread's first post. It flashed without issue, but on start up none of the modems were working (no LTE, WiFi, nothing).

Trying again with the most recent firmware (XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC) yielded positive results. The stock image booted, all modems worked and connected, and VoLTE and WiFi both worked without issue.

Once everything was confirmed working on stock android, I reinstalled LOS 18.1 following the guide on the LOS website (all steps, including the copy-partitions.zip part) and everything is still working. IMS registration looks good, VoLTE and WFC work, it looks like the problem is totally solved!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, a new test build is going up! Link as always in the first post. I'm uploading now so it might take up to 30 minutes to appear. lineage-18.1-20210430-UNOFFICIAL-payton contains a flickering screen fix that @Sujanth reported to me
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ferrazrafael:
You can enable fingerprint gestures and disable onscreen navigation bar at Settings -> System -> Buttons
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ferrazrafael:
There is any way to enable that feature that tracks if you are looking at the screen and holds the screen on while you don't get your eyes out of it?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Is there a way to get TextNow cellular (Sprint) working? It doesn't work for me, even after manually adding its APN.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jeremywh7:
Fwiw, I installed this (was on the 0406 unofficial) and works fine; though I never noticed a screen flicker issue before anyway. :-) While I'm here, can the official build be installed over the unofficial? I recall in other/older devices using a 'migration.zip' for such purposes. Or clean flash only? Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo @jeremywh7 , before it was a requirement yeah, but tbh since LOS 16.0? I haven't had any issues without using that migration script going from unofficial to official and vice versa
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikedeaster:
1.Why los18 working with internal memory and sd card slower than on los17

2. How to enable acsess to data and obb on sd card?

USB modem not working!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Q: Has anyone run into problems upgrading LOS using either TWRP or the LOS recovery when the OS is PIN-protected? In TWRP, now, you can unencrypt the FS by entering your PIN. Would anything go wrong trying to sideload the ROM after doing this? The alternative, of course, is to disable any authentication in the OS before trying to upgrade, but if it's fine to leave the PIN in place, I'd just do that. Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
Hey @ThE_MarD, tested the unofficial build with drm l1. In drm info app it shows l1. A screenshot is attached.

I see that I have send you the wrong commit for fixing screen flickering. Here is the right one.

sdm660-common: disable debug.sf.latch_unsignaled · ancient-devices/sdm660-common@62d9fcf

Contribute to ancient-devices/sdm660-common development by creating an account on GitHub.

github.com
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] maelopam:
Taking a cue from @BraneGenius I installed stock and latest firmware, got volte working, and now even magisk is working so I was able to install netflix and play store protect is passing.

I was coming from LOS 16, with ancient firmware. My first step was to use the Rescue and Smart Assistant tool following this guide to flash stock (had to do it twice as first failed). Once in stock it updated to latest firmware and volte was working.

Next I flashed the official LOS 18 using TWRP following the guide and wiping everything. Once I was in, to install magisk I followed this guide to get `boot.img`. Then I patched it following this guide and flashed it.

At this point I had two problems; (1) magisk showed that safetynet and all the checks are failing, and (2) play store certification check failed so I couldn't install netflix. The first problem is not real and is just a bug in magisk, because safetynet is passing, magisk just shows that it doesn't due to an expried serial. You can test it by installing e.g. this safetynet checker and it'll pass. This will be fixed in next release.

The play store issue turns out to be because I ran the play store before installing and starting magisk. The solution to this is to clear the play store app's storage so it re-runs the certificate - and it now passes. I made sure to do this after I configured magisk to hide itself.

The only bummer is that I used titanium backup to back everything up before formatting. However, titanium backup seems to have been abandoned and it seemingly cannot actually restore apps anymore. I did figure out that if I install the app from playstore, TB can still restore the data before running the app. But it only worked for some apps and not for whatsapp 😭😭
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
@ThE_MarD I got the issue that when i call someone with stock dialer that the others can't hear me clearly. But for me there is no echo and can hear the other clearily. When I call with another phone there are no issues. Logs attached.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikedeaster:
USB modem and file transfer not working on latest build
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ItsDeviL23:
Just installed Lineage yesterday latest build "lineage-18.1-20210511", I am coming from stock model XT1900-2 (Android 9), found two things:-

1. Select text from App recent drawer missing, reference screenshot also at the end

2. Not able to install Android AR

@Sujanth Voice calling working perfectly for me on stock and also on Google Phone Dialer app, I have "Airtel" mobile carrier, yet to check VOLTE

@mikedeaster File Transfer works on latest build for me

Note: Anyone know how to install moto display or other moto apps ? Cause Novice in this.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] freed_de:
I suspect this depends on the OpenGApps package installed. Which one did you choose?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ItsDeviL23:
The one from official suggestion from LineageOS site

https://wiki.lineageos.org/gapps.html

Lineage 18.1 (Android 11) - MindTheGapps

I also tried to look from opengapps (https://opengapps.org/) but they don't have Android 11 in the list.

I don't know does it has anything do with certification ? May be lost after installing LineageOS But Moto X4 is compatible device in the list:-

Ref Link: https://developers.google.com/ar/devices

Ref Link: https://developers.google.com/ar/discover/device-certification
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] BachuArg:
I've been using Lineage for the last week.

Everything works very well, I found no bugs at all.

Im using nik gapps omni.

The only thing I've noticed is that battery drains much more than previous roms I've been using in the last months (crdroid 11 - PE plus 10).

With 1:25 hours screen on battery is on 43%.

No games, just 10 min of instagram according to battery stats.

With previous roms, if I didn't use the phone, I could get 3 or 4 days without needing to charge my battery.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikedeaster:
Where to switch rear cameras in built in camera app?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] freed_de:
There's only one rear camera working, isn't it?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ItsDeviL23:
No, I also didn't found any option to switch between regular rear camera and wide angle one, probably have to add another app for camera, I also thinking to try Google Camera first and then probably something else
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
GCam does it (i use this https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/)

Open Camera does it

Moto Camera 2 DID it (in 17.1, still broken in 18.1)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
This Moto 2 camera, with wide-angle, seems to be working for me on 18.1: https://sourceforge.net/projects/nemesisteam/files/MODs/Moto-Camera-2/List-N1/Android-11/ARM-64/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
I should add some follow up to questions I asked earlier in this thread.

I've upgraded from 17.1 to 18.1 following LOS instructions, just sideloading the new over the old. Things got messed up along the way because the LOS recovery timed out on me before I had a chance to reboot to recovery after initially flashing the ROM. After hanging on boot, I ended up having to reinstall TWRP, wipe data, then reflash. I rebooted to recovery 2x, once to install NikGapps Core and once for Magisk. Then I allowed the phone to reinstall backed up apps, which wasn't the greatest idea, I don't think. Some of those I've had to uninstall and reinstall, while others have worked fine.

But most importantly, the phone seems to be working pretty well, with some small issues (can't figure out how to control the volume in calls, e.g.). Also, I seem to have retained VoLTE and GPS just fine.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
I forget to add logcat.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
I used a Camera2Mod.zip once, but that was to reinstall on every LOS update.

So i used an apk of Moto Camera 2 afterwards (com.motorola.camera2_7.2.32.61.apk). That worked on 17.1, but in 18.1 the app is started but unusable then.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Ah, you're right. I just realized my update last night hosed the camera. And, this zip only works for me with TWRP, so also need to reinstall that first. This is the way I'm going for now, I guess.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Sorry, dupe post. The system is acting funny for me.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
@wkn000, of all the options on that page, what do you use?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] wkn000:
This one, Urnyx's 7.3 v2.5: GCam_7.3.018_Urnyx05-v2.5.apk (4th of top)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] flieswithhawks:
I'm glad that my suggestion of returning to stock to restore VoLTE and then install LOS to get it working again was successful for a few of you guys. It's always great when we can share useful information to help one another out with these issues.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Just for the record, I upgraded directly from 17.1 via ADB sideload and think VoLTE is working. I don't know how to fully confrim that other than to see that the switch is there and is flipped to "On" and no one has complained about call quality on the other end.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Thansk, @wkn000. 2 follow-up questions:

- How did you pick that one?

- I can't find it in settings, but is there a way to enable save-to-external_sd in that camera (or any of the others linked that are decent)?

I do like the one I flashed previously, and it seems very stable, even by comparison, but it will also require work to keep installing it on every OTA update.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
@wkn000, NM, I found answers to both of my questions. Linking them here for others who might have the same questions:

Recommended Stable Google Camera Port Versions

A list of suggested / recommended and known to be stable Google Camera apks.

www.celsoazevedo.com

Google Camera Port: FAQ and Troubleshooting

Fixes for common issues with the Google Camera Port.

www.celsoazevedo.com
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ThE_MarD:
Heyyo, LOS snap camera app unfortunately no matter what I tried on Payton, Z01R or zippo? I couldn't get the other cameras to work... So I guess it only supports one rear and one front camera. I always use wichaya GCam mods as the aux cameras work perfectly for me on Payton, Z01R and even all 4 rear aux cameras on my zippo.

I've been using GCam_7.3.018_Urnyx05-v2.1_Wichaya_V3.1.1.apk on my payton and all cameras work fine. I know he has a new release based on GCam 8.1.x but tbh I haven't tried it yet

Wichaya GCam APKs - Google Camera Port

Modified Google Camera app by Wichaya.

www.celsoazevedo.com

@ItsDeviL23 , for that select text in recents? I think that was a pixel feature drop, so you might need the pixel launcher as mentioned in this XDA article

How to get the Pixel Launcher with overview text and image selection on any rooted Android 10 device

You can get text and image selection working on the Pixel Launcher Overview screen on rooted Android 10 devices with a Magisk Module and a few other tricks.

www.xda-developers.com

@Sujanth unfortunately that logcat didn't show any in_snd_dev or echo-reference... Can you please try again with this?

adb logcat -b all -d > logcat.log
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JimDandy68:
Thanks for the recommendations 👍