yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gonzalocool:
I'm using a Official TWRP version, but idk if is it 32 or 64 bits, can you give a link please?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Try restoring the stock boot partition of your rom and then try
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gonzalocool:
Didn't work :(, same error
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] eddy.rugal:
Download official twrp from twrp.me
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] richardontaneda88:
Me va genial con la nueva actualización para la ROM de remojo de 8.1.0

Podrá el desarrollador mil gracias.

Por tener la paciencia y amor por el dispositivo moto g4 y g4+.

Acabo de flashear tu último kernel para stock 8.1.0 remojo actualizado por twrp.

Lo hice con el twrp original bajado desde la aplicación twrp desde Google play hacia mi teléfono. Destelle tu kernel haciendo primero una copia de seguridad del inicio o del arranque, después hice una limpieza de la dalvik-cache y de la caché.

Me dirigí a instalar el instale tu archivo el último y estable. https://sourceforge.net/projects/loony-kernel/

Para los que no tienen el twrp estable si está el link: https://dl.twrp.me/athene/twrp-3.2.1-0-athene.img.html

Espero puedan traducir con el traductor de Google mi español. Sin nada más que decir estoy probando el nuevo kernel para 8.1.0 remojo twrp aqui: https://drive.google.com/open?id=1TaWjzS70gfudARA3HBEv0HziGADRqnBx

Nota: si vienes desde otra ROM por favor haz una copia de seguridad total en la memoria externa. Y procede a limpiar todo dalvik-cache, caché, sistema, memoria interna, menos la memoria externa porque ahi están tus copias de seguridad, después Instalas la última compilación de la ROM estable. Y listo limpias la dalvik-cache y reinicias. Configuras, otra vez reinicias en modo recovery, Instalas el kernel estable, haces limpieza en dalvik-cache y caché y listo ha está todo bien para ROM de arm 32 bits y si deseas otra vez reinicias en modo recovery e Instalas magisk para los módulos. Y no te olvides agradecer a los desarrolladores que hacen todo lo posible porque estemos satisfechos con nuestros dispositivos a todos aquellos. Un ejemplo por mencionar a: [MENTION=7568614]lCrD512[/MENTION]
[MENTION=4684315]flar2[/MENTION], [MENTION=1470009]boeff[/MENTION]la, [MENTION=3493222]om0[/MENTION]sis, [MENTION=220065]nathan[/MENTION] [MENTION=6324159]rajatgupta1998[/MENTION] and many other devs for their work. https://twrp.me/motorola/motorolamotogplus2016.html
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Luniz2k1:
Please do not quote the entire OP, and English only.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kodirovshchik:
Yep, the last version for stock oreo rom still can't use sprectrum apk =(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
You can Try Nfs Injector (Magisk Module) it works like spectrum only or LKT (Magisk Module). Lkt however only offers the balanced profile, whatever you flash, it'll come back to balanced.

Try These for the tine being
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] richardontaneda88:
I'm going great with the new update for the soak ROM of 8.1.0

I'm going great with the new update for the soak ROM of 8.1.0 Quote: Originally Posted by lCrD512 May 2, Stock 8.1.0 - Release 2 Add digital tv module (isdbt) Update the Wi-Fi driver to the latest CAF label 'LA.UM.6.6.r1-11000-89xx.0' Disable multiple debugging for release versions Exclude debug symbols from launch builds (reduced kernel size) Few interactive governor updates. Update spectrum profiles RIP programming increase function Various other fixes for cpufreq, crypto, memory, etc. Old releases The developer can thank you. For having the patience and love for the Moto G4 and G4 + device. I just flashed your latest kernel for stock 8.1.0 soaking updated by twrp. I did it with the original twrp downloaded from the twrp application from Google play to my phone. I flash your kernel making a backup of the boot or boot first, then I did a dalvik-cache cleanup and cache. I am directed to the installation in its last and stable file. https://sourceforge.net/projects/loony-kernel/ For those who do not have the stable twrp if the link is: https://dl.twrp.me/athene/twrp-3.2.1-0-athene.img.html I hope you can translate my Spanish with the Google translator. With nothing more to say I am testing the new kernel for 8.1.0 soak twrp here: https://drive.google.com/open?id=1Ta...Ev0HziGADRqnBx

Note: if you come from another ROM please make a total backup in the external memory. Continue cleaning cache, cache, system, internal memory, less external memory because your backup copies, after the last compilation of stable ROM. And ready to clean the dalvik-cache and restart. Configurations, the other time it restarts in recovery mode, you install the stable kernel, you do cleaning in dalvik-cache and cache and that's all been fine for 32-bit arm ROM and if you want again you restart in recovery mode and install magisk for the modules . And do not forget to thank the developers who do everything possible because he is satisfied with our devices to all those. An example to mention: [MENTION=7568614]lCrD512[/MENTION] [MENTION=4684315]flar2[/MENTION], [MENTION=1470009]boeff[/MENTION] the, [MENTION=3493222]om0[/MENTION]sis, [MENTION=220065]nathan[/MENTION] [MENTION=6324159]rajatgupta1998[/MENTION] [MENTION=8503501]richardontaneda88[/MENTION] and many other developers for their work. https://twrp.me/motorola/motorolamotogplus2016.html
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
/* New builds added */

Changelog for custom pie/oreo roms (arm, arm64): Release 14

Merge CAF tag LA.BR.1.3.7.c25-00900-8976.0

Upstream wifi drivers to latest pie tag LA.UM.7.6.r1-05300-89xx.0

Bring android binder inline with AOSP

Switch to new camera_v2 drivers (only for arm64)

Various 2019 CVEs addressed

Some relevant upstream patches from kernel-common (aosp)

Regular sdcardfs upstream (minor)

Changelog for stock oreo: Release 3

Merge CAF tag LA.BR.1.3.7.c25-00900-8976.0

Upstream wifi drivers to latest oreo tag LA.UM.6.6.r1-11300-89xx.0

Fix spectrum support

Various 2019 CVEs addressed

Some relevant upstream patches from kernel-common (aosp)

Regular sdcardfs upstream (minor)

Download links have been updated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
In case anyone had issues flashing latest kernel zips on custom oreo and pie roms (arm or arm64), re-download the zips and flash. Links updated in OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] richardontaneda88:
thanks friend

I thank you very much I'm testing your kernel now you can my everything is fine by now
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] $Ail.A$ce:
mesed up device first stuck at warning screen for 7 minutes 2nd after flashing the backed up boot.img and turning on phone wifi not working .. no solution is helping to fix wifi not turning on
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
Did you reflash system from your backup as well to try to fix Wi-Fi?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] $Ail.A$ce:
​

First thing I did was a backup of my current kernel then flashed Looney. (Issue).. stuck at warning msg... Then I reflashed backed up kernel (issue) wifi problem .. searched and applied solution even factory data reset etc.. not solved .. flashed new stock firmware (Solved)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
Unfortunately the Camera is not working after the recent kernel update. I am using the Pixel Experience ROM and I updated to r14 yesterday.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gazzy21uk:
Post deleted
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Update your rom. Latest ARM64 roms are now using new camera_v2 drivers from kernel. LK-R14 and above will have broken camera for all outdated arm64 oreo and pie roms.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
Oh, ok✌️

Does your Pixel Experience ROM on androidfilehost (uploaded on March 11, 2019), support the new camera_v2 drivers?

I don't really want to switch from Pixel Experience to any other ROM.

Edit: And also if it does, should I dirty flash it?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
You should try: Aosip, ArrowOS, Aex,
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] naveenantony:
AOSiP is a lovely ROM. smooth I never wanna switch to any other ROM
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
/* Maintenance release for custom pie and oreo roms */

Changelog:

Merge CAF tag LA.BR.1.3.7.c25-04100-8976.0

Upstream wifi drivers to latest pie tag LA.UM.7.6.r1-05500-89xx.0

Relevant upstream patches from aosp/kernel-common

Addressed cve for qcom dsp driver (CVE-2019-2308)

Upgrade compiler to gcc 8.3.0 (for 64-bit only)

Release notes:

Starting from r14 64bit builds for LK uses new camera_v2 drivers provided by CAF with necessary patches from motorola's oreo kernel source. Therefore, camera won't work on outdated 64bit roms or even on other updated roms if the corresponding device and vendor side changes are not implemented. Don't report camera issues in such case.

For AOSiP users there's a separate build if they wish to update to r15. Links have been updated in the OP.

For any other issues report in a proper manner as described in the OP. Any improper reports will be ignored.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] eddy.rugal:
it's possible overclock gpu up to 600 mhz?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Possible? Probably/Yes.

Not happening in my kernel though.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] eddy.rugal:
any way to do it on your kernel?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
/* R16 - Hotfix update for oreo & pie custom roms */

Changelog:

Fix frequent reboots on r15 as per testers and users reports. This was a derp from my side while backporting few patches from upstream. Sorry for the inconvenience. The backports have been retained with problematic code fixed.

Some upstream patches for ipv4/6 which were needed to fix some minor issues detected by logs submitted by testers.

Disable wireguard support. Participate in the thread poll and let me know if anyone uses this feature.

Drop qcom dsp driver CVE-2019-2308 (merged in r15) for now as it was skipped by CAF on LA.BR.1.3.7.c25-04100-8976.0 for msm8952. If needed I'll make changes accordingly in future releases.

Improve device wake-up from deep sleep.

Reset GPU initial power levels to default. After lot of tests and observations it seems like lower levels aren't helping as expected, therefore, no point in compromising with performance for nothing.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Reymor:
I tried to flash the kernel file with the official twrp for my stock rom, but I had some problems

First .- When I tried to install the official twrp with the fastboot flash recovery img it appeared error image dont signed or corrupted, then I reboot the device and go to recovery mode and the twrp it was installed.

Second.- When I tried to install the kernel file from the twrp the file was installed but at the end appeared the next line E: error creating fstab

Can someone help me with those errors please ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Drag0nF1st:
The best kernel for pie so far .. thank you ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] giovannipaquier:
my wifi won't work.

okay so i've used loony before just decided to try some pie roms. but came back to stock O. flashed stock via fastboot, then twrp. rebooted to system, everything was okay so i went to recovery and flashed loony and magisk (this specific order). when i came back my wifi would not turn on. tried everything again, confirmed that the wifi was working before loony and flashed it. when i went back to the system, wifi wouldn't work. didn't even flash magisk this time, and still no good.

before loony my mac address was fine, but after it, it says just "unavailable".

my device is xt1640, running 8.1 stock (OPJ28.111-22-1).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Z7X4Y2HQ:
Camera not working

After flashing this kernel on my pixel experience pie rom , camera is not working Google cam won't start

And other camera apps are just showing black screen , and when I take a picture it says camera won't start , restart the phone , why did this happen ???
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smithbill:
Did you read post #235 and #311 ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Z7X4Y2HQ:
Thanks !

I flashed the lk r12 one and now the camera works , but this rom came with lk r13 version , can you give the link to that version please ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] H@r!$h:
[MENTION=7568614]lCrD512[/MENTION] anyway i can flash this using adb in recovery... cuz my screen broke and accidental touch disabled my usb debugging. Is usb debugging enabled by default in this kernel..? ( FOR STOCK) i don't remember!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Necessary driver for USB debugging support (f_accessory) is present from kernel side if that's what you mean. Rest it depends if you have enabled the toggle in developer settings or not. I don't think there's any way I can control that user switch via kernel.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
R17 - Maintenance release for custom pie and oreo roms

Changes:

WiFi: Fixed DHCP connection issues with some routers. The connection should no longer be stuck at "Obtaining IP address.." on dynamic ip.

Disable kernel audit. This will be kept disabled on production builds only as it's quite heavy logging it does which may affect system to some extent. On debug builds (for testers only) it stays enabled for selinux logs.

Clean-up wifi driver code. Drop most of Moto's code and stick to CAF (for custom roms only).

Fixed buggy HTTP/FTP file transfer. This fix is a bi-product of above clean-up.

Other minor code adjustments to suit my compiler.

Download links updated in OP.

FOR DEVS ONLY

In case anyone follows github project for this kernel. There has been force push for this release. So in order to update your forks, if maintaining any, follow the below procedure as per your convenience.

If you've been following merge strategy from start (recommended)

Branch: pie-arm64

git reset --hard 3f9f4af619a2a5a625b81cf65e286dcadaa9ea05

git fetch https://github.com/loonycrd/athene_kernel_msm8952 pie-arm64

git merge FETCH_HEAD

Branch: pie

git reset --hard ce0d9ef416c1b479747afdf30e7d55f657a4952f

git fetch https://github.com/loonycrd/athene_kernel_msm8952 pie

git merge FETCH_HEAD

Cherry-picking: Commit id will be different in this case for every fork unlike merge.

git reset --hard sha1

git cherry-pick sha2^..sha3

sha1: Commit id for commit "qpnp-smbcharger-mmi: Hide charge counter"

sha2: Commit id for the first commit after sha1.

sha3: HEAD or latest commit id of the concerned branch.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bishwarup:
Hi,

Great kernel. I am using Arrow OS pie in my Moto G4 Plus XT1643. With the stock kernel it was a bit laggy, but after flashing Loony Kernel its performing smoothly. I just have one problem though. Arrow OS had the feature of turning the screen off using the fingerprint reader, but after flashing this kernel that feature is not workinf anymore. I am able to unlock though.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Drag0nF1st:
You can turn on the gestures using a custom kernel manager like exkernel manager
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Lyuu:
a bit laggy? we use the same kernel, and mine doesn't have almost any change which could impact performance
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] bishwarup:
Thank you for the help.

---------- Post added at 04:05 AM ---------- Previous post was at 04:02 AM ----------

Sorry, I think you may have misunderstood me. I am saying that the OS was laggy when it was one the stock kernel, the UI was stuttery and games were dropping frames. But after flashing Loony Kernel the perfoemance was vastly improved. No lags whatsoever.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chans001:
Can I install EX kernel manager to make some tweaks?

Currently I have flashed nfs-injector over magisk and Spectrum app to improve gaming performance, but I am facing reboot issue while playing the Pubg game.

I have installed loony kernel over Arrow OS Pie. Can I install EX kernel manager on my moto g4 plus (3/32) (and make some tweaks) to improve the gaming performance ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] garel:
Why can't you put lk.r17-arm.zip in Oreo stock?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] DavidQuint:
Fix Wifi

I tried this kernel for a while, and the Wi-Fi networks didn't fully detect them.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gabyiommy:
Yessss u can! I made that, improve battery or gaming
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] DhirajKale789:
Does the camera works if the 32bit version flashed in omni pie?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sudiptajana70:
can i use this kernel in lineage base 7.0 rom ??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vinicius_guerra:
I tried anyway but only got bootloop.

I'm using HavocOS
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prabhjot368:
loony kernel is included in havoc os .. you don't need to flash it separately
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] eddy.rugal:
But the version included on havoc os dont support spectrum app
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] daktary:
Hello,

I use AOSiP last version. Perfect rom.

After a clean install, the screen wake is always active, even if I switch the 2 options in display settings.

Not really annoying, but other user don't have this option enable after installation.

Is it possible to fix it with your kernel?

Thx
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] darkglobe87:
Not sure if I'm doing something massively wrong but latest release bootloops on LOS15.1 by rajatgupta1998.

Also, it doesn't look like the magisk auto installer kicked in during flash.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] taman89:
Random Reboot

Hey.. I am using unofficial Arrow OS version 10 on my Moto g4 plus. I am facing random reboot whenever I open app or game. It happens frequently in a day. I read some thread which points toward kernel, wakelock, selinux etc. So could you check the given ramoops of dmesg and console...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] OneOS:
Hi,

is it possible to remove the underclocking at high temps?

My Moto G4 Plus underclockes the CPU every time at 42-43°C and it is realy anoying because the Game starts lagging. After this i have to put my phone into to the fridge too cool it down. So i can keep playing.

Would be nice to have an option or something like this to remove this anoying underclocking at high temps.

And maybe add GPU overclocking to 650mhz.

https://imgur.com/a/if95kXm

ROM: ASOiP Pie ARM64
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Sadly, the recent version for stock 8.1 doesn't let me enable wifi after installing this kernel. Is there an way to fix this?

Edit: i have wifi issues too on Lineage OS 15.1, also, on AOSiP i have random wifi disconnections.

Edit 2: this kernel gave me wifi issues on every android 7, 8 and 9 roms i had
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Well, i tried recent version of Loony Kernel (r3) for stock Oreo and i can't connect to wifi, it doesn't enable, so i tried r2 and worked perfectly, it even enabled wifi and connected without problems but i had to change TWRP to official one (doesn't have EFS backup but i don't need it for now)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ldiomedi:
Thanks for the update. But the last one is for arm64? Because the name doesn't say that like the others 2.. I think it is for 64 bit rom, but I want to be sure
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Yes it is for arm64.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Alejo2108:
I installed the latest version r3. but I lost the notification and battery Light. Some fix? Thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Some logs? Thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] craz1hunter:
i flash r3 and mi phone showme black screen and loked all phone not respond why?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
UPDATE: Release 3.1

Release 3.1 is up with a minor fix and addition:

fixed notification led on supported roms

added maple i/o scheduler

Reminders:

No need to reflash magisk if already flashed.

For audio enable mono audio under Settings->Accessibilty

For fp as power/lock, either use button mapper app or ex kernel manager to configure (screenshots). This implementation works with single tap to lock or put device to sleep (just how we unlock) instead of stock behaviour of long press fp to sleep.

Report issues with proper logs it provides more info than just saying something doesn't work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nacoro:
Thanks for the contribution, is it compatible with AICP 13.1? It would be great :RE
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] checksamir:
It works like a charm in AICP 13.1. thanks to the dev...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jithutty:
Works very well with aicp 13.1 rom :laugh:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] AlokSaxena:
[MENTION=7568614]lCrD512[/MENTION] Thanks working very efficiently with LineageOS 15.1 64bit.

I have some requests/doubts regarding some options, if they can be implemented by default, because of lack of knowledge I don't prefer using kernel managers. They are complicated for me and I fear accidentally changing some unwanted stuff.

I know as a dev you guys leave most options default or don't enable them because everyone's preference is different but if any other workaround is possible it'll be appreciated.

Only a few things: Color control for burn-in issues, Fingerprint to sleep or lock device, changing governors and if possible any workaround to activate led while charging the battery.

Thanks :)

Sorry to disturb, I tried contacting you through Telegram for better interaction but you haven't seen my message yet :p