yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ==vj==:
My friend, from CPU stats CPU rests in 400mhz agreed but that's often a screen off stat (display off). In my earlier post i meant CPU won't rest to 400mhz if its in foreground usage (display on). And with 400mhz min, if we try doing simple tasks like scrolling or even WhatsApp then you will notice CPU ramps to max freq very often. And hiccups too. Because CPU struggles to rest to min set frequency 400mhz under foreground usage. Hence more power usage and less foreground screen on usage.

Whereas with 800mhz min you wont see much of cpu ramping to max freq for simple tasks like scrolling or whatsapp. Because load is sliced in a balanced manner at this moderate freq 800mhz and power consumed is negligibly close to 400mhz. So in foreground usage you will notice more screen on with 800mhz min than 400mhz.

With deep sleep concept, no matter your min freq is 400 or 800 or even higher. When screen gets idle for 5 mins then phone goes deep sleep meaning it interrupts power to the CPU cores in a logical way. Hence a nice idle line in CPU stat :D

From thermal aspect keeping 400mhz with screen off helps infact CPU by itself bypasses our manual set 800mhz and will set min max to 400mhz to cool down temperature of phone after a CPU intensive task say gaming :good:

And probably that's the reason, manufacturers too prefer keeping CPU min in 800mhz range ever since lollipop upgrade. But CPU min sticking to lowest possible freq in foreground usage had been best in KitKat. This is my observation been a certain long time android user :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.1

Changelog

Lineage OS Based

Upgraded to latest Linux version 3.10.107

AnyKernel2 by [MENTION=4544860]osm0sis[/MENTION]

CPU Overclocked to 1651 Mhz ( big clusters ) & UnderClocked to 249 Mhz ( Little clusters )

OverClocked GPU to 600MHz

Added Zen I/O Scheduler

Improtant

Do not flash this over other custom kernels!

You should only flash Vegito over the kernel that came with your ROM

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP).

If you want to be a tester and get builds before they are released join telegram group

https://t.me/joinchat/AAAAAEGv7Milfwoi0pWTGA

Download Link Updated in OP.

Note:

You can also update my kernel within 1 click by using my own app

Free Version

Paid Version
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mschief148:
[MENTION=6158043]Dreamstar[/MENTION] in kernel adiutor only shows 550Mhz for GPU

EDIT: Maybe it has to be because I flashed over previous version?

Enviado desde mi aoscp_athene mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SlimShady's:
Is it normal that screen became A LOT darker after flashing this kernel? With Vegito, the maximum screen brightness is basically the same as the minimum in the LineageOS kernel.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Yes it's just a kcal tweak. And for screen brightness you can disable backlight dimmer option.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ruperxl89:
Hi, could you introduce the new enhancements to your kernel for lineage os in a kernel for rom stock?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Punraz_:
Sorry for that Question but why is the Kernel only for Stock and Lineage Based? Is it not fully working on Aosp Based ?

Edit: After last Update it works flaweless with Fingerprintsensor on Aosp Based :D
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] drsemaj87:
I noticed in this update that the big cluster no longer shuts down 2 cores, nor does it shut down the entire cluster with screen off at all now. Even with it constantly running, it sits at 345mhz about 97% of the time, before the lowest it would go down was 800 MHz, and still get about the same amount of battery life. The BIG difference is the lack of choppiness during scrolling, and apps run faster. I don't know how screen off battery life is yet, since I have used my phone most of the day, but I'm hoping it doesn't take too much of a hit since the big cluster never shuts down now. Great job on this Kernel!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sceptikart:
In kernel adiutor on cpu hotplug the page is blank, nothing is displayed... Is it normal?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mschief148:
I got the same problem

Enviado desde mi aoscp_athene mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal2234:
I too have the same problem
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
This is not a problem. I disabled core ctl for now
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kar5ten:
does the kernel support f2fs ?

because i get reboots every time i install the los version on resurection rom with f2fs data partition
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IDPBBrisa:
Does your kernel requires some kind of configuration to work better? i'm using it right out of the box and its awesome, so far so good.

Also, Dynamic FSync enabled means it will synchronize all files and its safe from random reboots/shutdowns right?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sambow23:
After flashing this kernel, My headphone jack stopped working. Any ideas?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Working fine here
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Rahulsingh190:
+1
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-6.8

Changelog

Stock Based ( 7.0 )

CPU Overclocked to 1651 Mhz ( big clusters ) & UnderClocked to 249 Mhz ( Little clusters )

OverClocked GPU to 600MHz

Added Zen I/O Scheduler

Improtant

Do not flash this over other custom kernels!

You should only flash Vegito over the kernel that came with your ROM

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP).

If you want to be a tester and get builds before they are released then join telegram group

https://t.me/joinchat/AAAAAEGv7Milfwoi0pWTGA

Download Link Updated in OP.

Note:

You can also update my kernel within 1 click by using my own app

Free Version

Paid Version
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
A small update about my app. I just implemented kernel profile feature to my app, now you can select custom profiles with a single touch, no need to mess with settings.

How to do?

There are 3 types of Profiles available on my app

Normal

Performance

PowerSaving

Normal

= Tweak kernel parameters to provide a balance between battery life and performance.

Performance

= Tweak kernel parameters to provide maximum performance out of your kernel.

PowerSaving

= Tweak kernel parameters to provide maximum battery life out of your kernel.

You can select any of those as per your choice

More features will be added in future release

Try now:

Free Version

Paid Version

Regards
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
Can I ask if vegito stock is still permissive or is it enforcing again, please? I didn't see the SELinux changes in the opening post; if it's enforcing again, I'm going to flash it :)

EDIT - just flashed on the stock NPJS25.93-14-8 ROM, and it's reporting as enforcing. Nice :D I like the kernel, though the frequencies for the little cores are swapped with the big core frequencies in EX Kernel Manager (though still take effect on the correct cores). Thanks for the kernel! :D
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] hornyherbert:
Thank you very much, great Kernel. I want to give a bugreport for Version 7.1, Descriptions of CPU clusters are incorrect, Big and Little are swapped.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Thanks! I will look on it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ascii024:
The post says July 13, the download page says July 4, is it not uploaded yet?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.2

Changelog

Lineage OS Based

Merged latest Lineage OS kernel source

Improtant

Do not flash this over other custom kernels!

You should only flash Vegito over the kernel that came with your ROM

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP).

If you want to be a tester and get builds before they are released join telegram group

https://t.me/joinchat/AAAAAEGv7Milfwoi0pWTGA

Download Link Updated in OP.

Note:

You can also update my kernel within 1 click by using my own app

Free Version

Paid Version
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cadusinho:
Can someone tell me if the sound functions are working

The last time I did the kernel flash it only worked to change the sound of the headphones only and the loudspeaker did not
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PATAboy:
I had the same problem. Twice.

It happens when changing from kernel to kernel. After doing so, you should flash

Firts time I couldn't fix it, but it fixed by its own.

Second time I was able to fix it by myself.

Any sensor works for you, I suppose.

You should flash Sensorhub.zip (I'll attach it) via TWRP. No need to reinstall the ROM, though if the problem persists you should do so. (Also flashing Sensorhub.zip)

If you don't want to do this, or the fix doesn't work, you could use an audio routing app (Such as Soundabout- avaible in Google Play)

Download sensorhub.zip from here:

https://xdaforums.com/moto-g4-plus/development/rom-resurrection-remix-n-5-8-0-t3507275/post71405780
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sambow23:
Thank you so much! the sensorhub.zip fixed it right up! :D
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] grigor1993:
Tel just turn off after turn on...

Also temperature of the phone is high...

What can i do ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] aethervagrant:
Just flashed over ElementalX on Invicta ROM, no problem. Wasn't sure how to get stock Invicta kernel back so did a backup and gave it a shot.

Very pleased to have lower underclocking, and gpu overclock, as gaming was one of the only areas this phone felt lacking compared to its other specs. Vetigo app profiles are not necessary but definitely convenient for one-click profiles.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] aethervagrant:
Not getting turbo charge anymore since installing however. anyone know how to get it back? Or is it an issue with Invicta ROM rather than the kernel?

Edit: should've rebooted and given it more time, it works fine now. Couple restarts, and it recognizes the turbo charger, and charges just as fast as it did.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Hucast_DL:
Hi how can i active the turbo charge with this Kernel? I have RR
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] virajmalia:
Any updates?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sebioo7:
Little core not controlled and when i make call it fails auto end call
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.3

Changelog

Lineage OS Based

Merged latest Lineage OS kernel source

Improtant

Do not flash this over other custom kernels!

You should only flash Vegito over the kernel that came with your ROM

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP).

Download Link Updated in OP.

Note:

I just released my own kernel manager app. With this app you can control and modify kernel setting on your Moto G4/G4 Plus. I'll be waiting for some good reviews to make this app fine tune before releasing on PlayStore. I hope you guys like it

Here's the link

VegitoKernelManager
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] PATAboy:
Undervolting status?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] LuketaD2:
It's possible to use the Lightning Blade profile in your manager?

Currently I'm using EXKM with your kernel and LB profile. (just flashed today Vegito).

I will test for a couple of days.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Currently my app doesn't support governor tunning feature, so you better use EXKM or Kernel adiutor for it
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jometzz:
How to under clock cpu in vegito for lineage 14.1 on vibe k5plus. Please give me the steps for under clicking cpu.

Thanks in advance
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sebioo7:
Good kernel

How to apply best setting only for battery saving?

And could u please provide all information about cpu boost option etc

Where is touchboost option and fairsleep?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] suhaassathush:
Fingerprint is not working after installing kernel. Not able to unlock my phone from fp:(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krishna8691:
which kernel (lineage or stock) should i flash on aosp extended rom??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Introducing my own app to control kernel parameters. Specified features can only be controlled by my app. Head over here - Vegito kernel manager 1.0

Please Rate or give your feedback for this app.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] blowingoff:
is there a way to make backlight dimmer off by default???
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] aki_007:
Set disable backlight dimmer and check enable at boot .

Done
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] blowingoff:
well, I tried this and backlight dimmer keeps on when i turn my phone on... and sometimes and randomly goes back to it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] aki_007:
I use kernel auditor and it doesn't revert back after boot
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Go to screen section in vkm, then select set on boot option
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] blowingoff:
well, the thing is I did this already and it keeps going back to backlight dimmer on
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
It's working here o.O are you using vegito kernel manager?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] blowingoff:
yeah dude, i even got it from playstore when I saw you've put it there. and, yes, I have check dimmer off and then toggled apply on boot and then rebooted lots of times after doing that, always comes back on.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] blowingoff:
I reflashed stock and first thing ill do upon rooting the phone is flashing vegito and testing the app again. ill update this post if it doesnt happen again.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] arunzone:
After root, I lost wifi and hotspot. is that known issue?

Is there any workarounds?

Mine is Stock ROM NPJS25.93-14-10.

ElementalX Kernal

XT1643

Rooted with SuperSU 2.82-SR5

Does vegito have this issue too?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] thorin0815:
I had this problem too, but with Vegito only. With ElementalX everything works just fine. I used Magisk 14.0.

Device: XT1622
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] grigor1993:
I have other kind of problem... When screen turn off.... Phone also turning off...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] xperiafan13:
dude

works with oreo based roms?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.4

Changelog

Lineage OS Based

Merged latest Lineage OS kernel source

Added Zen I/O Scheduler

Improtant

Do not flash this over other custom kernels!

You should only flash Vegito over the kernel that came with your ROM

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP).

Download Link Updated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Itemt:
Works with stock 6.0.1?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
If you read the first post you will find the answer of your question. The op clearly mentions 3 different versions, one for marshmallow.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] arunzone:
problem solved after flashing the boot.img and kernel again.:good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] TLastPrism:
Is core control enabled on 7.04?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Midhun3!:
Where is that zip , I can't find it ...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.5

Changelog

Lineage OS Based

Upgraded to latest Linux version 3.10.108

Improtant

Do not flash this over other custom kernels!

You should only flash Vegito over the kernel that came with your ROM

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP).

Download Link Updated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] briatide:
Experienced random reboot while phone was sitting on table idle, version 7.4 using ressurection remix, attached log files
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] TLastPrism:
Why all the 8 cores are enabled at same? Just to drink battery like water? Doesn't make more sense leaving only the 4 low-power core enabled and then enable all the 4 big core on heavy load?

Sorry for my bad english.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Joel Oliveira:
I can install on Lineage os 15?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cool_sid:
Only for nougat ROMs I guess... Its written in op...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jyoti.id:
How to disable ZSWAP?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.0

Changelog

Stock Based

Updated to upstream Linux 3.10.108

Dynamic FSync removed ( Data corruption happens after some freezes or hard reboot )

Disable backlight dimmer (Toggle for on/off only)

Lower load average

Download Link Updated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] punchytoe:
wifi & hotspot not working for me flashed over elemental x jx rom
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
-_-
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] luisfelipee:
Read first post
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Update V-7.1

Changelog

Stock Based

Update for NPJS25.93-14-10

Download Link Updated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Itemt:
You're the best bro!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jithutty:
flashed it on invicta rom.. damn its soo smoothh
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tazlooney89:
install this latest version and the WiFi module stopped working, I tried wipes and reinstalling the kernel and get the same
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Flashed over any other kernel?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] JACC (THE FLASH):
:confused:It works on Android 8.0?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] DECHTECH:
No, the kernel does not work on oreo.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
V3.0 Update

Changelog

Added USB Fast Charge Support

Added Darkness Governors

Disabled Gentle fair sleepers

Enabled arch power
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] hazmatkid:
Bootlooped my xt 1625
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
you are on stock ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] hazmatkid:
Yes I am

---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------

I just went back to stock root busybox
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
get me kernel logs .

dmesg

kmsg
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krossifix:
This kernel is growing more and more just like Goku and Vegeta's fusion.. :wink:

So happy to see 3 versions released in such short time. This shows the dev's interest for this device and it's development.

Awesome kernel BTW.. Thanks button pressed.. :thumbsup:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pv979:
Fingerprint sensor as home button is no longer working for me (XT1642) :(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
I revert that coz it cause some problem
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] LifeDark666:
Make error in settings wifi...

Want the librerie wlan.ko stock???
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] skalnas:
Flashed version 3 over your version 2 on my xt1625 without problem.

Working fine, no bootloop here thankfully. Have been waiting for a kernel with fastcharge support, thanks very much for this.

I am a bit confused about the hotplugging features, do all of the governors

in your kernel support hotplugging? Thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Travisholt92:
No issues here XT1625 flashed over version 2, wiped dalvik and cache as I always do when flashing.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prakash27091987:
Can i use this Kernel with RR Custom Rom in xt1643.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Travisholt92:
No it is for stock only. There is no custom kernel at this time
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] skooter32:
Are u planning on implementing this kernel for custom?

As we all know stock is well crap
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Travisholt92:
I personally don't develop anything. No computer to do so, but somebody will eventually
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Pranav Kumar:
I'm unable to do overclock could u please guide me how to overclock cpu?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nikit:
Sorry about the wrong information

It doesn't have O'C Support will add this soon possibly in next kernel update

stay tuned.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jyoti.id:
Cant Set The Minimum Freq. Of Big Cluster CPU Manually. Its Automatically Going To The Max(As Set). Im New To This Big/Small CPU Cluster So Can Anyone Help??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] John Death:
i think they got the file down, because im not been able to download it anymore, any help?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jyoti.id:
Same here. In Android file host search 'Vegito'
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Exaskryz:
Do kernels control GPS?

Apps can't access my GPS location even though it is visually enabled in the status bar. Trying to find out if this is due to kernel or due to ROM. Welp, going to reflash the ROM to hopefully get back to default kernel and see if that fixes it.

Edit: No, the reason for the loss of GPS was LineageOS's Privacy Guard and me not permitting those particular apps. Oops!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Joel Oliveira:
Is it possible to overclock 1.8ghz?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] delop4:
No :confused:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal2234:
I'm on stock 7.0 Moto xt 1643 and I flashed latest vegito kernel but I get error while starting both wifi and hotspot. How can I solve this
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
What error are you getting?

When you flashed this kernel, did you uninstall root/xposed, then reverted back to the stock (Motorola) kernel before flashing vegito? Flashing a clean stock, Motorola, kernel (the kernel made by hudsoncm, from the same patch level as your existing stock ROM) is always a good idea when switching kernels, else settings/code persisting from other custom kernels will cause you problems. Of course, only flash a Motorola stock ROM kernel if you're actually running the stock ROM...

I've just changed from ElementalX on my XT 1642 running NPJS25.93-14-10 and Wi-Fi/hotspot connects okay in vegito. This is with magisk 13.3 (which still passes SafetyNet and certification).

1)Booted to TWRP. Backed up stock ROM

2)Uninstalled magisk via the zip uninstaller. This step may also remove kernel backups made by magisk.

3)Flashed the stock ROM kernel (you could either use a backup you made or flash the boot.img from the stock ROM)

4)Flashed vegito 7.1. Wiped cache/Dalvik. You may wish to reboot at this point to check your device is still functioning.

5)Flashed magisk (or your choice of root).