[KERNEL] [March 21] ElementalX G4/G4 Plus 3.01 (Oreo)

Search This thread

flar2

Recognized Developer
Jun 11, 2012
18,853
87,843
Southwestern Ontario
elementalx.org
ElementalX Kernel
for Moto G4 and G4 Plus
p2214177205-11.jpg


ElementalX is designed for maximum stability. It is made for people who depend on their phone every day.


Features
  • Easy installation and setup with Aroma installer
  • Fingerprint sensor as home button
  • Sweep2sleep
  • Block wakelocks
  • Rootable
  • Sound control
  • Overclock or underclock CPU
  • NTFS r/w support
  • Option to disable fsync
  • advanced color control
  • performance and power optimizations
  • upstream ZRAM with lz4 compression
  • KSM enabled
  • brighter HBM
  • adjust or disable vibration
  • FIOPS i/o scheduler
  • Does not modify system partition
  • Does not overwrite modules
  • Compatible with systemless root


Installation

1. Flash in recovery

For maximum compatibility with all ROMs, ElementalX uses your existing ramdisk.




Notes

This works on both the G4 and the G4 Plus but NOT the G4 Play.

Flashing this does not modify your system partition, only the boot.img. Back up your stock boot.img in recovery or with an app and you can easily restore it if you want to return to stock or install OTAs.

EX Kernel Manager
can be used to configure settings and install or update the kernel.

You can also use my free app Button Mapper to customize the actions of the fingerprint sensor if you have the G4 Plus


Google+ Community


Download

Stock Android 8.1.0 Oreo
ElementalX-G4-3.01

Stock Android 7.0
ElementalX-G4-2.01

LineageOS-based Android 7..1.1/7.1.2
ElementalX-G4-1.11-LOS




Stock Android 6.0.1
ElementalX-G4-0.07

CM-based Android 6.0.1
ElementalX-G4-0.07-cm



Source code
https://github.com/flar2/kernel-msm






_____________________________________

XDA:DevDB Information
ElementalX-G4, Kernel for the Moto G4 Plus

Contributors
flar2
Source Code: https://github.com/flar2/kernel-msm

Kernel Special Features:

Version Information
Status: Stable

Created 2016-07-24
Last Updated 2019-03-21
 
Last edited:

flar2

Recognized Developer
Jun 11, 2012
18,853
87,843
Southwestern Ontario
elementalx.org
Reserved

0.02:
-build optimizations (linaro 4.9 -O2)
-headphone gain control

0.01:
-Fingerprint sensor as home button
-Sweep2sleep
-Overclock or underclock CPU
-NTFS r/w support
-Option to disable fsync
-advanced color control
-performance and power optimizations
-upstream ZRAM with lz4 compression
-KSM enabled
-brighter HBM
-adjust or disable vibration
-FIOPS i/o scheduler
 
Last edited:

wizard-dima

Senior Member
May 29, 2015
50
27
Novomoskovsk
One more question:

Can you show me the output of these commands:

Code:
ls -la /system/lib/modules/

D:\ADB>adb shell ls -la /system/lib/modules/
-rw-r--r-- root root 9404 2009-01-01 09:00 ansi_cprng.ko
-rw-r--r-- root root 128788 2009-01-01 09:00 core_ctl.ko
-rw-r--r-- root root 8736 2009-01-01 09:00 dma_test.ko
-rw-r--r-- root root 6400 2009-01-01 09:00 evbug.ko
-rw-r--r-- root root 6592 2009-01-01 09:00 gpio_axis.ko
-rw-r--r-- root root 7216 2009-01-01 09:00 gpio_event.ko
-rw-r--r-- root root 9712 2009-01-01 09:00 gpio_input.ko
-rw-r--r-- root root 10648 2009-01-01 09:00 gpio_matrix.ko
-rw-r--r-- root root 4200 2009-01-01 09:00 gpio_output.ko
-rw-r--r-- root root 228528 2009-01-01 09:00 isdbt.ko
-rw-r--r-- root root 43304 2009-01-01 09:00 mcDrvModule.ko
-rw-r--r-- root root 20608 2009-01-01 09:00 mcKernelApi.ko
-rw-r--r-- root root 47104 2009-01-01 09:00 mmc_block_test.ko
-rw-r--r-- root root 36916 2009-01-01 09:00 mmc_test.ko
-rw-r--r-- root root 44852 2009-01-01 09:00 oprofile.ko
drwxr-xr-x root root 2009-01-01 09:00 pronto
-rw-r--r-- root root 18088 2009-01-01 09:00 spidev.ko
-rw-r--r-- root root 28816 2009-01-01 09:00 test-iosched.ko
lrw-r--r-- root root 2009-01-01 09:00 wlan.ko -> /system/lib/mo
dules/pronto/pronto_wlan.ko


Code:
su -c insmod /system/lib/modules/wlan.ko

D:\ADB>adb shell su -c insmod /system/lib/modules/wlan.ko
insmod: failed to load /system/lib/modules/wlan.ko: File exists
 
  • Like
Reactions: ablonn

wizard-dima

Senior Member
May 29, 2015
50
27
Novomoskovsk
I should have mentioned this, I need that output withe ElementalX installed.


Sorry, WiFi works.
The problem was that during the first installation I did not have root access.
For the team of your su needed the right, so that's posleh their installation, with no WiFi key problems.
I think it is necessary to specify in the instructions, and a large red font)
 

flar2

Recognized Developer
Jun 11, 2012
18,853
87,843
Southwestern Ontario
elementalx.org
Sorry, WiFi works.
The problem was that during the first installation I did not have root access.
For the team of your su needed the right, so that's posleh their installation, with no WiFi key problems.
I think it is necessary to specify in the instructions, and a large red font)

Thanks for the head's up.

So without root, no wifi.

I'll see if I can fix that.
 

flar2

Recognized Developer
Jun 11, 2012
18,853
87,843
Southwestern Ontario
elementalx.org
I don't think I can get the wifi module to load without root.

The problem is I need to mount an image at /system/lib/modules but selinux won't allow it. It is only possible with SuperSu installed unless somebody knows how to modify sepolicy without SuperSU.


on the standard firmware, the phone spends too much charge in sleep mode. You can it somehow fix it?

I'm not sure what you mean?
 
  • Like
Reactions: mysteryno46

prakash27091987

Senior Member
Aug 24, 2015
58
18
working perfectly..thanks bro.

WiFi working ..now i can able to use finger print sensor as home button..thank very much bro..
Moto G4 plus
XT1643
BUILD- MPJ24.139-23.1

LSMOD OUTPUT
Module Size Used by
wlan 4215738 0
core_ctl 20182 0
qdrbg_module 30626 0
qcrypto_module 145880 0
 
  • Like
Reactions: flar2

Top Liked Posts

  • There are no posts matching your filters.
  • 141
    ElementalX Kernel
    for Moto G4 and G4 Plus
    p2214177205-11.jpg


    ElementalX is designed for maximum stability. It is made for people who depend on their phone every day.


    Features
    • Easy installation and setup with Aroma installer
    • Fingerprint sensor as home button
    • Sweep2sleep
    • Block wakelocks
    • Rootable
    • Sound control
    • Overclock or underclock CPU
    • NTFS r/w support
    • Option to disable fsync
    • advanced color control
    • performance and power optimizations
    • upstream ZRAM with lz4 compression
    • KSM enabled
    • brighter HBM
    • adjust or disable vibration
    • FIOPS i/o scheduler
    • Does not modify system partition
    • Does not overwrite modules
    • Compatible with systemless root


    Installation

    1. Flash in recovery

    For maximum compatibility with all ROMs, ElementalX uses your existing ramdisk.




    Notes

    This works on both the G4 and the G4 Plus but NOT the G4 Play.

    Flashing this does not modify your system partition, only the boot.img. Back up your stock boot.img in recovery or with an app and you can easily restore it if you want to return to stock or install OTAs.

    EX Kernel Manager
    can be used to configure settings and install or update the kernel.

    You can also use my free app Button Mapper to customize the actions of the fingerprint sensor if you have the G4 Plus


    Google+ Community


    Download

    Stock Android 8.1.0 Oreo
    ElementalX-G4-3.01

    Stock Android 7.0
    ElementalX-G4-2.01

    LineageOS-based Android 7..1.1/7.1.2
    ElementalX-G4-1.11-LOS




    Stock Android 6.0.1
    ElementalX-G4-0.07

    CM-based Android 6.0.1
    ElementalX-G4-0.07-cm



    Source code
    https://github.com/flar2/kernel-msm






    _____________________________________

    XDA:DevDB Information
    ElementalX-G4, Kernel for the Moto G4 Plus

    Contributors
    flar2
    Source Code: https://github.com/flar2/kernel-msm

    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2016-07-24
    Last Updated 2019-03-21
    39
    Reserved

    0.02:
    -build optimizations (linaro 4.9 -O2)
    -headphone gain control

    0.01:
    -Fingerprint sensor as home button
    -Sweep2sleep
    -Overclock or underclock CPU
    -NTFS r/w support
    -Option to disable fsync
    -advanced color control
    -performance and power optimizations
    -upstream ZRAM with lz4 compression
    -KSM enabled
    -brighter HBM
    -adjust or disable vibration
    -FIOPS i/o scheduler
    22
    Update!!!


    LineageOS-based 7.1.1/7.1.2
    ElementalX-G4-1.06-LOS



    Changes:
    -LineageOS updates
    21
    Update!!!

    Big update for the latest stock ROM NPJS25

    You can root with this kernel

    Please check out EX Kernel Manager for all tweaking and adjustments. With this kernel update I've added the ability to block any wakelock with EXKM.


    Stock ROM
    ElementalX-G4-2.00



    Changes:
    -rebase on NPJS25-93-14
    -block any wakelock
    21
    Merry Christmas to all those who celebrate Christmas, and Happy Holidays to those who celebrate other traditions at this time of year.

    Thanks to everyone here for a great year of development. I'm hoping to get back to work on this device soon, so hold on.