yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] skalnas:
I tried to flash 32 bit lk10 on omni 9.0 on my xt1625 with twrp TWRP 3.2.3-0 and I get recovery busybox setup failed, aborting, updater process ended with error 1. I have never seen this, anyone know what this error means? Does this kernel not support Omni Pie?

I have magisk 18 installed, I saw instructions to uninstall on stock roms, perhaps that's the issue, but I dont thinks so b/c I have used

earlier versions on lk of custom roms. Busybox 1.29.2 is installed. Thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Our twrp is a bit messed rn. Will build soon and fix it. :good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Deivid_21:
Try with Moto Camera 2 ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] HeethJain21:
That version seems to be Treble recovery.

I was getting an error too, so I used Rajat's TWRP and it was fixed. You can also use Official TWRP (both of them works (tested))
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] skalnas:
Thanks, I had upgraded to that version prior to flashing omni 9. I thought it could be a twrp version issue, so I re flashed rajat's 3.22.r1,which I had been using prior. Same msg.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] makash720:
Use official twrp.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fdraco10:
Is possible can add something like Dolby Atmos on this Kernel?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alvintimothyjr:
Dolby Atmos can be installed via Magisk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
For next release I will need some testers, interested users can contact me through telegram to get the test builds. Only for pie and oreo 64bit. My telegram id https://t.me/loonycrd or [MENTION=224041]Loony[/MENTION]crd
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Devil7331:
works perfectly thank you :good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Already merged DTS-Eagle sound integration, just want to make sure enhancements are significant enough to be kept. If you want to test contact me via telegram :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Lyuu:
Afaik DTS Eagle sound support requires some sound HAL support, not only from kernel side.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal2234:
Does fp as power button works on stock ROM?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Surely hal support might definitely improve it but this one is just to trigger the already existing dts code in aosp from kernel, the older dts code we had is deprecated and was removed by caf in oreo tags. It works quite good on my other devices so thought of trying it for athene too.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
yes.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal2234:
Will this kernel work on RR 7.1.2?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal.pandit29:
When I flashed the kernel and booted the phone,it came with a prompt that vendor has mismatched

And my phone is currently running on RR 8.1
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
maybe, maybe not.. I've not tried

EDIT: This won't work with 7.1.2 roms due to some changes from both kernel and device side.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
You can ignore that message. It is probably being caused by any safetynet bypass magisk module.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal2234:
I will try and tell u about it, so which file of lk I would have to download?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Newer versions won't work with 7.1.2 roms. There are some changes made from both device and kernel side which are only present in oreo and pie roms. So even if you flash in a 7.1.2 rom it won't work. You may try any older non-dts version.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Update for 64bit custom oreo and pie roms

Change for Jan 14, 9/8.1 Release-11

Regular android sdcardfs updates.

Upstream CFQ i/o scheduler.

Fixed some more memory leaks and slight memory management improvements.

Upstream patches to kernel scheduler, perf, rcu and cpu hot-plugging.

Updates to Wireguard.

Updates to LZ4 algorithm.

Fixed minor derps with fsync (on/off) toggle functionality.

Upstreamed and performance improvements to Interactive governor.

Replaced powersave governor with conservative for spectrum battery mode. Powersave governor has performance regressions.

CVEs addressed for EXT4 file system, bluetooth and crypto drivers.

Fixed various instances of uninitialized variables, false positives have been ignored. We are using CONFIG_CC_OPTIMIZE_FOR_SIZE which suppresses the compiler warning of uninitialized variables which can sometimes lead to undefined behavior e.g. memory corruption and panic.

Note: 32bit version is discontinued due to lack of testers and proper feedbacks. Also a usual reminder, no need to re-flash magisk after flashing kernel zip if you've already flashed magisk earlier with rom or stock kernel. I've stated this in OP too.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Try some other TWRP recovery. Kernel zip should flash fine as I am using the same for my other devices too and it works fine.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jcruzcruz35:
It gave this error after flashing: "Error creating fstab"

I Reboot and almost all the cores were offline.

I'm in RR 6.1.0 android 8.1(32 bits)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] harshal.pandit29:
Can I flash the latest version ( lk-r11 ) of this kernel on Arrow OS?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pv979:
Yep! Working great!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Henry Markle:
Hi, I want to flash this custom kernel, but before that I have some questions:

- Does the custom kernel have to be compatible with android version?

It's confusing me, I didn't flash any custom kernel before so I'm assuming I'm running stock 7.0( ?)

- Does flashing a new custom rom change/flash a new kernel?

- Can a 64-bit version of the custom kernel run a 32-bit custom rom?

-I'm currently running a custom rom based on android pie 9.0 so does this not work??

As I said before I didn't flash a custom kernel yet and I'm waiting a response.

Thanks.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Yes, there's different kernel for different android versions. If you are using stock, flash the kernel for stock 7.0. However if you are using any 8.1 or 9 custom rom you can flash r11 for custom roms. Oreo kernel works fine for pie too.

Yes flashing a new rom will change/flash the kernel too. All roms come with their own kernels included.

No.

My kernel supports both 8.1 and 9 custom roms, so it should work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Skippy12359:
Deleted
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] LakshayP:
Hey i am using ur pixel experience its working great but u havnt made thread yet ...!!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] reichembach:
Hi o/

Sorry to be a bit of a bother, but if it isn't too much trouble, could you look into updating the xpad drivers? I'm trying to connect an Xbox One S controller and it seems the id is missing in the code. I tried looking into it and the source seems to be from here: https://github.com/paroj/xpad, specifically this commit: https://github.com/paroj/xpad/commit/9a76d52b3dc32c44bab7d976c087debf91001df6. It seems your code is based off a bit before this was put in.

Edit: Using your version for stock 7.0 btw
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Thanks for reporting, will update with required additions soon.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fdraco10:
I wanna install this Kernel on OmniRom 9.0 Moto G4, but I can´t, the recovery show me this : Recovery busibox setup failed

Anyone can help me?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
Omni Pie is 32 bit, however this kernel is only meant for 64 bit ROMs (afaik) ...

or use r10 32 bit version.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fdraco10:
I try too install 32 bit and show me the same
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
UPDATE: Feb 8, 9/8.1 Release-12 for ARM64 custom roms

Those who are using my AOSiP or PixelExperience builds should flash the r12 version from the attachment found in this post below. For all other rom users download from the links in OP. There's no functional difference in the builds.

Credits:

Thanks to testers Jakob, Robert, Heeth, Luis, CMKdaGreatest, MarcosBuenoo.

Changelog:

Android binder and sdcardfs updates.

Drop deprecated GCC 4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.

Drop kernel size optimization flag as per AOSPs recommendation. Associated code warnings fixed.

Fixed some minor memory leaks. These were not detected earlier when size optimization flag was enabled.

Bring back 160mhz level for idle state GPU.

Squash some relevant upstream patches for xpad driver.

Merged sdFAT updates.

Disabled cpu hotplugging at lower battery levels.

Slight improvements in i/o operations.

Updates to cpusets and cgroup.

Remove sweep2sleep defaults as it conflicts with pie's swipe up gesture.

Fix a minor derp in zram initialization.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Initial release for stock 8.1.0 kernel

Firstly thanks to the testers for all their feedbacks and making this release possible - Manish, CMKdaGreatest, Bruno.. and all others :)

All features from nougat are present including spectrum support but excluding the fsync toggle and touch-boost feature which I've decided to remove. Also I would suggest to use official TWRP recovery for flashing stock kernel, users can also try TWRP builds from Shreps or Adam if they want to. Any other TWRP builds may or may not work.

For users who have already flashed magisk, there won't be any need for reflashing magisk after kernel as magisk should retain the root. More details and download links are provided in the OP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] diego.avgo:
Thanks friend. It works amazing. I was anxiously waiting for the kernel. It works great and with good battery performance
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cooldeepak:
Thank you for the kernel !! :) can we set FP as a power button with Ex kernel Manager gesture option ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Yes. All features are same except the 2 I mentioned in release post which are removed.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jaxx08:
Overclock is there?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Pro ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] DanFaraday777:
Have you considered the possibility of integrating KLapse in your kernel? This project is really promising.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
KLapse will be a nice feature to include but will need some additional modifications to work. If I manage to get it working then it'll be included in future builds, no guarantees obviously. Quite busy with personal commitments this and next week so will try later.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Oshmar:
What was already good, got even better, is perfect in stock 8.1.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] naveenantony:
KLapse will be a promising work. Tanish is a nice Developer. He was a mediatek Custom ROM Developer. Brought many kernel upgrades.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Some pre-release news regarding night light feature for stock and custom roms

Just for user info: Athene's stock oreo does not have the native night light feature, thanks to motorola. Also in custom roms it is known to cause performance regressions.

Recently I've come across KLapse driver which is an implementation of LineageOS' livedisplay feature through a kernel, more info here. The initial implementation of KLapse driver for MDSS has been added to the kernel and it seems to be working fine as per my tests and internal testers feedback, thanks to tanish2k09 for developing it.

However, I won't be enabling the feature for public release in the upcoming update. Reason is there's a better alternative which I found to be more simpler or user friendly. It's an app called Night Light (KCAL) by corphish which uses kernel's KCAL driver to adjust display colors. I'll recommend users to use this app for the night light feature on athene. App requires root access and a compatible kernel with KCAL color control driver. XDA thread for Night light (kcal)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
Can this kernel work on stock Oreo??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
https://sourceforge.net/projects/loony-kernel/files/athene/8.1-opj-lk/

It is always recommend to backup the boot partition
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
Can you please guide how to take that step by step?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
After booting into Twrp, Choose the backup option and then select boot and slide to backup. If you encounter any errors while installing, try using the official twrp
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
So it is work with stock Oreo ,only download file and flash it? Before flash anything wipe like cache or something?? And how to backup stock kernel and restore if anything goes wrong ?it is in boot backup like you say?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Yes, just backup boot partition. Just download and flash it
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
I enabled some drivers that I needed in r12. This increased the size of the kernel. Now when I try to flash, it shows something like "image size greater than the size of boot partition".

Any help would be appreciated ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
What are this 2 file lk.power and lk.reset ??what are they use for??Maybe set fingerprint as home button!!

---------- Post added at 04:04 PM ---------- Previous post was at 03:31 PM ----------

I installed loony kernel as above lk opj.zip and ended with error 1 (BusyBox related) ,what should I do?

I use twrp 3.2.3.0 (lyuu's twrp).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Use the Official Twrp
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
Which one ? rajatgupta's twrp?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
https://dl.twrp.me/athene/twrp-3.2.1-0-athene.img.html
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
This support 64 bit rom?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
If you're installing a kernel on Stock Oreo why do you even need 64bit support?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] keval3492:
Ook i flash twrp official and flash loony kernel.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Can you elaborate more. Were you trying to compile from source? what drivers you want or enabled before compilation? If those are generic drivers I can enable them in future releases.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
Ok?

Yup, I was trying to compile from source.

I actually enabled the all the drivers and patches which Kali Nethunter needed. So they weren't generic drivers and you won't have to enable them in future releases. Don't worry, your kernel is perfect for normal usage.?

So how can I solve the "kernel is too big for boot partition" problem?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Can you link your source with those changes? I am curious why the kernel size is getting that big with few drivers. Also how did you zipped the final kernel image?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
I didn't zip the final kernel image. I unpacked boot.img and put my final kernel image in there, and then repacked it (I am no developer?, I just saw a tutorial on Youtube)

Then I tried to flash it using fastboot commands and it gave me the said error.

Ok, so maybe I had to zip the final kernel image (using AnyKernel2 ??) and it fixes the problem. I see where you're getting and what I did wrong. I'll try that and definitely let you know.

Again I am no developer man, I don't think I know how to link my source.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
So, I used AnyKernel2 to create a flashable zip of my kernel and it successfully flashed. The old problem is a problem no more.

But my device is stuck at "Your device can't be trusted because it has unlocked bootloader" screen.

Then I flashed lk.r12-arm64.zip and it booted again.

Any help for the new problem?

Edit: BTW I copied the lk.r12.zip's anykernel.sh script.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Dhanush-raj:
may i know for which rom you are building nethunter.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
Pixel experience 9.0

Does it make a difference?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Dhanush-raj:
yes, because every rom develper has his own kernel source, though if it boots it will not function as intented.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sauravco:
Update rom

Aosip pie rom heating too much why when will u update aoisp & pixel experience pie for moto g4 plus sir
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
/* UPDATE: Stock oreo 8.1.0 - Release 2 */

Changelog:

Add digital tv module (isdbt)

Update wifi driver to latest CAF oreo tag 'LA.UM.6.6.r1-11000-89xx.0'

Disable various debugging for release builds

Exclude debug symbols from release builds (reduced kernel size)

Few updates to interactive governor

Update spectrum profiles

R.I.P sched boost feature

Various other fixes for cpufreq, crypto, memory etc.

Use official TWRP for flashing kernel on stock rom.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
PS: I've removed up and down core control thresholds for big clusters in this release. It won't have any major effect on power as big cores will suspend and go to sleep if not being utilised, still users are free to set the thresholds to their liking.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Fix for wifi issue in release 2

For those who are having wifi issues on release 2, a new zip has been re-uploaded, follow the below steps to fix it-

If you have magisk then uninstall it by flashing magisk uninstaller zip.

Restore stock boot and system partition-

Using TWRP if you had taken backup of stock boot and system initially.

Using fastboot if you don't have TWRP backup, flash boot.img and system sparse images.

Download the new re-uploaded lk.r2-opj zip from links given in OP.

Flash the zip in TWRP and reboot to system.

Flash magisk if needed and make sure you flash magisk only after the kernel.

Subsequent releases can flashed over existing or older releases of same kernel. This is needed only one time for this release as there were significant changes to wifi module.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sauravco:
Update rom

Fm radio in Aosip pie rom 9.0 and pixel pie rom of yours not working. Can we expect any update of these rom of yours or not. I m a big fan of ur rom. Sorry for posting query here
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
/* UPDATE: Custom pie & oreo roms - Release 13 */

Changelog:

Based on new oreo kernel source by Motorola (camera changes are staging/on-hold)

Resurrect support for 32-bit and bump to release 13. [UNTESTED]

Update wifi driver to latest CAF pie tag 'LA.UM.7.6.r1-04500-89xx.0'

Remove NA ext4 and bt CVE patches which were merged in r12. (Not affected)

Add digital (isdbt) driver. [UNTESTED]

Review patches from r12, cleanup and removed unwanted patches.

Disable various debugging for release builds

Exclude debug symbols from release builds (reduced kernel size)

Few updates to interactive governor

Update spectrum profiles

R.I.P sched boost feature

Remove default core control thresholds for big cluster, users can set themselves if they want

Various other fixes for cpufreq, crypto, memory etc. check github.

Use 64-bit TWRP for flashing kernel on custom roms.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] $Ail.A$ce:
Is this the best custom kernel available till now?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Nanish18:
Yes, it is.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] eddy.rugal:
on last version for stock oreo i can't used sprectrum apk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
It has the necessary root permissions?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] eddy.rugal:
Yes
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Babad00k:
Working with Arrow OS?

And if it is, then is PUBG playable(major framedrops on arrow os stock kernel)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
The developer has been notified, please wait for a fix
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fdraco10:
Hey everyone, I need help mi moto g4 (non plus) after flash loony kernel i have screen like old television,

i can´t turn to twrp or fastboot because screen is like the image attached, i don´t know what to do.

I have installed on my device Arrow OS

first when I flashed this Kernel faced random reboots after screen like old television.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Morten Anakin:
Hi everyone, i've installed this kernel today, and everything works ok, except for this: when i'm aprox 40% of charge (using normally) the phone turns off, and when i try to start, after the system animation, its turn off again, like its haven't any battery (but connecting the charger it says 41%).. any solution? :S
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
Does your device turn off when connected to power below 40 % battery life? Is this shut off behaviour predictable (as in once your device gets to around 40 % battery it usually powers off)? If so, that might suggest your battery needs changing, how old is your device?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Morten Anakin:
Nop, it started today, after install this kernel.. :/
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] echo92:
Hmm, that's odd - a kernel shouldn't do that. Are you able to flash the original kernel from a back up and retest, to ensure if it is actually the kernel?

Which version of the kernel are you flashing and for which ROM?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Morten Anakin:
Let me see.. lk.r13-arm64.zip is the file i download today, from this post.. My room is RR Oreo 6.2.0 final, on Moto G4 athene. The rom works ok (with some lag) and today I found this kernel, try it, and works very well, except for this battery problem.. I try tomorrow to go back to my old kernel, but i dont know very well how..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Morten Anakin:
I have a couple of random reboots early today, so i go back to Resurrected Kernel (from my RR rom)... Let's see what's happen.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Morten Anakin:
Yes, definitely is the kernel, i get back to RR default kernel and battery works ok (I',m in 35% now) and don't have anymore reboots (for now) :P
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] shivarajan666:
You might need to recalibrate your battery once u flash this kernel, i had the same problem of switching off when the phone is at 15% power. Im on stock rom and it wasnt there till i flashed this kernel. After doing normal battery calibration twice, its doing ok. Now it turns off only at 1% now.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Fdraco10:
This freaking kernel, mess up my G4.

damn!!!!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gonzalocool:
Error :(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] pankajkh:
Use the Official 32bit twrp