I think i now know what's the cause of random wifi disconnections on some Moto G4/G4 Plus models. It's LoonyKernel's fault
Used r2 Stock Oreo version and i'm getting constant wifi disconnections, on oreo custom roms like LineageOS 15.1 too and only got wifi connection for 10 seconds then i couldn't connect to wifi anymore until i changed kernel again, r3 version of Stock Oreo doesn't let me enable wifi anymore
I want to ask. Is there an alternate kernel for this rom? i read many posts ago that could use Pixel Experience one, but i don't know, also, i want to use another kernel to check if it's LoonyKernel's fault too for my device variation (Moto G4 xt1621)
Note: it doesn't happen for every Moto G4/G4 Plus variations, but it could be useful to have options of other kernels
Edit: i don't know what i did move when i changed volume and power buttons for myself but now wifi random disconnections stopped for now