[KERNEL][3.4.105][Linaro GCC 4.9.3] NeoKernel v1.5

Search This thread

neomanu

Senior Member
Apr 5, 2011
174
225
Code:
*** Disclaimer

I/XDA is not responsible for any kind of damage to your device,
or in case it explodes, your surroundings.
Please use it at your own risk!

Featues :

  • Based on KashKernel by kashifmin. All features of KashKernel available.
  • LZMA, LZ0, LZ4 compression/decompression support.
  • Filesystems support : NTFS, exFAT, F2FS, EXT2/3/4.
  • New LCM drivers for Vivid display colors.
  • -O3, Cortex-A7, NEON, VFPv4 optimizations.
  • Compiled from latest Linaro GCC 4.9.3 Toolchain.
  • Asynchronous Fsync ported from HTC Devices
  • Dynamic Fsync v1.5
  • Multi-core scheduler support
  • Added cdrom option to UMS-lun-devices (you can now use this app: Link)
  • PowerSuspend driver support (replaces EarlySuspend).
    Android early_suspend/late_resume PM kernel driver framework has been
    deprecated by Google. This new powersuspend PM kernel driver is a replacement
    for it.
    Conserves battery much better.
  • Sweep2Wake, Sweep2Sleep
  • DoubleTap2Wake
  • UKSM for Page Merging (http://kerneldedup.org/en/projects/uksm).
  • Frandom - Fast Kernel Random Number Generator driver added.
  • CIFS network file system support.
  • Enabled SELinux and Full support for Android 4.4.x (eg. CM11).
  • Intelli_plug driver.
    Intelligent hotplug cpu driver with eco mode.

CPU Governors :
  • Intelliactive
  • Interactive
  • Sakuractive
  • Nightmare
  • InteractiveX
  • Zzmoove
  • LulzactiveQ
  • PegasusQ
  • SmartAssV2
  • Conservative
  • Ondemand
  • Userspace
  • Wheatley
  • Powersave
  • Hotplug (default)
  • Performance

I/O Schedulers :
  • NOOP
  • Deadline
  • CFQ
  • FIFO
  • ROW
  • FIOPS
  • ZEN
  • VR
  • SIO (default)
  • BFQ
  • Read Ahead Size : 1024 KB

LED Control :

Various LED triggers added.
1. Heartbeat - LED blinks at a rate proportional to CPU load average.
2. Sleep - Turns LEDs on when the screen is off, but the cpu still running.
So you know when the device is awake while sceen is off.
3. Disk activity - LED blinks when a selected disk is being currently used.
And many more..


Bugs :

None so far.
Please do report any, if found.


Versions :

There are 3 versions available, with everything similar but different GPU clocks :
1. GPU @ 286 MHz (for those who face problems with OC version)
2. GPU @ 312 MHz (slight OC)(for those who want little more performance than stock)
3. GPU @ 403 MHz (OC version)


Download :

NeoKernel_v1.5_GPU-286MHz.zip
NeoKernel_v1.5_GPU-312MHz.zip
NeoKernel_v1.5_GPU-403MHz.zip


Installation :

Make a full/Nandroid backup of your current ROM.
Place the kernel zip in internal/external sdcard and reboot to recovery.
Install kernel zip and reboot!


Source :

Original : https://github.com/kashifmin/KashKernel_MT6589
Modified : https://github.com/neomanu/NeoKernel-MT6589-A116


FAQ :

Will this work on all MT6589 Phones?
A: No, only A116 and its clones (MyPhone A919i, Wiko Cink 5, Fly IQ451).
Do not try it on another phone, unless you want to brick it.

Is this kernel recommended for daily use?
A: Yes, that was the main intention.

How to use doubletap2wake and sweep2wake?
A: Refer post #3.

Is this kernel compatible with all ROMs?
A: Yes. But for ROMs not based on stock, (like MiUi, CyanogenMod and ColorOS) you have to replace ramdisk.

How do I change the ramdisk?
A: http://xdaforums.com/showpost.php?p=52449925&postcount=525

Why is the kernel size bigger?
A: This is due to the -O3 optimiztion.
It results in faster but slightly bigger code.

Why did my phone reboot on its own?
A: This happens for the first time after you install this kernel.
Doesn't happen after that. Can't quite explain why.


Credits :

XDA:DevDB Information
NeoKernel, Kernel for the Micromax A116

Contributors
neomanu, kashifmin
Source Code: https://github.com/neomanu/NeoKernel-MT6589-A116

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v1.5
Stable Release Date: 2014-12-26

Created 2014-06-10
Last Updated 2014-12-26
 

Attachments

  • Screenshot_2014-06-14-00-19-41.png
    Screenshot_2014-06-14-00-19-41.png
    106.7 KB · Views: 2,657
  • Screenshot_2014-06-13-21-03-58.jpg
    Screenshot_2014-06-13-21-03-58.jpg
    70.1 KB · Views: 2,576
  • screenshot2.png
    screenshot2.png
    156.6 KB · Views: 1,820
Last edited:

neomanu

Senior Member
Apr 5, 2011
174
225
Reserved

Changelog :

v1.0
Code:
Initial Release

v1.1
Code:
1. Updated to kernel 3.4.93
2. Made 2 versions :
     2.1. GPU standard clock version (GPU @ 286 MHz)
     2.2. GPU OC version (GPU @ 403 MHz)
3. Screenshots updated
   And the numbers are looking pretty good

v1.2
Code:
1. Updated to kernel 3.4.94
2. GPU : Replaced 286 MHz version with 312 MHz
3. Enabled F2FS (was disabled before)
4. Added exclusive Sweep2Sleep (see post #3)
5. Fixed DoubleTap2Wake
6. Enabled DEBUGFS and Tracing (see post #3)

v1.3
Code:
1. Updated to kernel 3.4.96
2. GPU : Added back 286 MHz version
3. Added Intelli_plug driver (see post #3)
   It was exclusive to Qualcomm devices earlier,
   but is now available to all ARM devices
4. Added, updated and enabled SIO & BFQ I/O schedulers
5. Enabled CONFIG_SCHED_AUTOGROUP
6. Numerous fixes (see Gitbub commits)

v1.4
Code:
1. Updated to kernel 3.4.103
2. Bluetooth components now built-in, not external modules
3. Makefile : Use -mcpu=cortex-a7 instead of -march=armv7-a
4. UKSM : Disable by default
5. Updated UKSM
6. Hotplug : Use Intelli_plug by default instead of MTK mechanism
7. Updated Intelli_plug
8. Tuned CPU governors : Intelliactive, PegasusQ, Nightmare, SmartassV2
9. Enable Quad-core stats
10. Set SmartassV2 and SIO as default schedulers
11. Added init.d support
12. Numerous fixes (see Gitbub commits)

v1.5
Code:
1. Updated to kernel 3.4.105
2. Bluetooth components compiled as external modules again, solves bluetooth errors
3. Set Hotplug as default CPU scheduler again
4. Added Multi-core scheduler support
5. Numerous fixes (see Gitbub commits)
 
Last edited:

neomanu

Senior Member
Apr 5, 2011
174
225
Reserved

Kernel Controllers :

For Sweep2Wake, DoubleTap2Wake, LED Control, Dynamic Fsync & Intelli_plug :
Trickster MOD Kernel Settings

(Recommended)
For Powersuspend(w/ Mode selection), Dynamic Fsync & Intelli_plug :
Faux123 Kernel Enhancement Pro (FauxClock) by @faux123

Manual Control :

UKSM :

Disable :
Code:
echo 0 > /sys/kernel/mm/uksm/run
Enable :
Code:
echo 1 > /sys/kernel/mm/uksm/run

Intelli_plug :

Disable :
Code:
echo 0 > /sys/module/intelli_plug/parameters/intelli_plug_active
Enable :
Code:
echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_active
Touch Boost Disable :
Code:
echo 0 > /sys/module/intelli_plug/parameters/touch_boost_active
Touch Boost Enable :
Code:
echo 1 > /sys/module/intelli_plug/parameters/touch_boost_active

S2W/S2S :

Disable :
Code:
echo 0 > /sys/android_touch/sweep2wake
Sweep2Wake only :
Code:
echo 1 > /sys/android_touch/sweep2wake
Sweep2Wake + Sweep2Sleep :
Code:
echo 2 > /sys/android_touch/sweep2wake
Sweep2Sleep only :
Code:
echo 3 > /sys/android_touch/sweep2wake

DT2W :

Disable :
Code:
echo 0 > /sys/android_touch/doubletap2wake
Enable :
Code:
echo 1 > /sys/android_touch/doubletap2wake

Note :
Sweep2Wake & DoubleTap2Wake increase battery use.
Sweep2Sleep has no effect on battery use.

DEBUGFS :
Code:
mount -t debugfs none /sys/kernel/debug


ROM Makers :

Feel free to include this kernel in your ROM if you wish to,
but don't forget to mention me.
 
Last edited:

malick186

Senior Member
Jan 16, 2013
365
238
Karachi
First reply

Finally a new kernel! :victory: I am running CM11 v0.7. Can i flash it directly??? And wait a minute! where is the download link??? :confused

Edit: Found the downloading link its in the download Tab. :D Kindly add it on the main thread :angel:
 
Last edited:

gregferns

Senior Member
Sep 19, 2009
1,191
136
Mumbai
Xiaomi Poco F1
OnePlus Nord
@neomanu : Good work, Appreciate it!!!!!:good::good::good:

and @malick186 I can do it but I need both the boot.img files, Could you or @darshan dazzGeEk upload it

You need this from the flashable zip file or will itdo from the installed rom ??

Also will there be 2 boot.img files ???

Edit : sorry about that.. i realised my noob question... boot.img will always be flashable right...

Edit 2 : I found only 1 file in the cm zip flashable.
 

Attachments

  • boot.img
    3 MB · Views: 48
Last edited:

GroovyG

Senior Member
Jan 18, 2011
197
68
Great job! None of the bugs of previous kernels are present, runs very smoothly. Definately keepers for now :thumbup:
 

GroovyG

Senior Member
Jan 18, 2011
197
68
My own pretty much :D
I used a european 4.2.1 stock ROM and removed everything I didn't need. This kernel runs flawlessly with it.
 
  • Like
Reactions: gregferns

malick186

Senior Member
Jan 16, 2013
365
238
Karachi
Its working i tried on cm11 v0.7 . thanks alot for replacing the ramdisk! :thumbup:

Sent from my Micromax A116 using XDA Free mobile app
 

malick186

Senior Member
Jan 16, 2013
365
238
Karachi
After using couple of hours on cm11 finally realized that camera is not working giving me error "cant connect the camera" and i think gpu is oc by default! Since my device is based on old hardware so its decreasing the performance i hope op will release the default gpu modules soon for this kernel.

Overall it gives me a smooth experience but reverting back due to above problems. :thumbup:
Thanks again bro for building kernel for our device! :D
Sent from my Micromax A116 using XDA Free mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Code:
    *** Disclaimer
    
    I/XDA is not responsible for any kind of damage to your device,
    or in case it explodes, your surroundings.
    Please use it at your own risk!

    Featues :

    • Based on KashKernel by kashifmin. All features of KashKernel available.
    • LZMA, LZ0, LZ4 compression/decompression support.
    • Filesystems support : NTFS, exFAT, F2FS, EXT2/3/4.
    • New LCM drivers for Vivid display colors.
    • -O3, Cortex-A7, NEON, VFPv4 optimizations.
    • Compiled from latest Linaro GCC 4.9.3 Toolchain.
    • Asynchronous Fsync ported from HTC Devices
    • Dynamic Fsync v1.5
    • Multi-core scheduler support
    • Added cdrom option to UMS-lun-devices (you can now use this app: Link)
    • PowerSuspend driver support (replaces EarlySuspend).
      Android early_suspend/late_resume PM kernel driver framework has been
      deprecated by Google. This new powersuspend PM kernel driver is a replacement
      for it.
      Conserves battery much better.
    • Sweep2Wake, Sweep2Sleep
    • DoubleTap2Wake
    • UKSM for Page Merging (http://kerneldedup.org/en/projects/uksm).
    • Frandom - Fast Kernel Random Number Generator driver added.
    • CIFS network file system support.
    • Enabled SELinux and Full support for Android 4.4.x (eg. CM11).
    • Intelli_plug driver.
      Intelligent hotplug cpu driver with eco mode.

    CPU Governors :
    • Intelliactive
    • Interactive
    • Sakuractive
    • Nightmare
    • InteractiveX
    • Zzmoove
    • LulzactiveQ
    • PegasusQ
    • SmartAssV2
    • Conservative
    • Ondemand
    • Userspace
    • Wheatley
    • Powersave
    • Hotplug (default)
    • Performance

    I/O Schedulers :
    • NOOP
    • Deadline
    • CFQ
    • FIFO
    • ROW
    • FIOPS
    • ZEN
    • VR
    • SIO (default)
    • BFQ
    • Read Ahead Size : 1024 KB

    LED Control :

    Various LED triggers added.
    1. Heartbeat - LED blinks at a rate proportional to CPU load average.
    2. Sleep - Turns LEDs on when the screen is off, but the cpu still running.
    So you know when the device is awake while sceen is off.
    3. Disk activity - LED blinks when a selected disk is being currently used.
    And many more..


    Bugs :

    None so far.
    Please do report any, if found.


    Versions :

    There are 3 versions available, with everything similar but different GPU clocks :
    1. GPU @ 286 MHz (for those who face problems with OC version)
    2. GPU @ 312 MHz (slight OC)(for those who want little more performance than stock)
    3. GPU @ 403 MHz (OC version)


    Download :

    NeoKernel_v1.5_GPU-286MHz.zip
    NeoKernel_v1.5_GPU-312MHz.zip
    NeoKernel_v1.5_GPU-403MHz.zip


    Installation :

    Make a full/Nandroid backup of your current ROM.
    Place the kernel zip in internal/external sdcard and reboot to recovery.
    Install kernel zip and reboot!


    Source :

    Original : https://github.com/kashifmin/KashKernel_MT6589
    Modified : https://github.com/neomanu/NeoKernel-MT6589-A116


    FAQ :

    Will this work on all MT6589 Phones?
    A: No, only A116 and its clones (MyPhone A919i, Wiko Cink 5, Fly IQ451).
    Do not try it on another phone, unless you want to brick it.

    Is this kernel recommended for daily use?
    A: Yes, that was the main intention.

    How to use doubletap2wake and sweep2wake?
    A: Refer post #3.

    Is this kernel compatible with all ROMs?
    A: Yes. But for ROMs not based on stock, (like MiUi, CyanogenMod and ColorOS) you have to replace ramdisk.

    How do I change the ramdisk?
    A: http://xdaforums.com/showpost.php?p=52449925&postcount=525

    Why is the kernel size bigger?
    A: This is due to the -O3 optimiztion.
    It results in faster but slightly bigger code.

    Why did my phone reboot on its own?
    A: This happens for the first time after you install this kernel.
    Doesn't happen after that. Can't quite explain why.


    Credits :

    XDA:DevDB Information
    NeoKernel, Kernel for the Micromax A116

    Contributors
    neomanu, kashifmin
    Source Code: https://github.com/neomanu/NeoKernel-MT6589-A116

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: v1.5
    Stable Release Date: 2014-12-26

    Created 2014-06-10
    Last Updated 2014-12-26
    12
    Reserved

    Kernel Controllers :

    For Sweep2Wake, DoubleTap2Wake, LED Control, Dynamic Fsync & Intelli_plug :
    Trickster MOD Kernel Settings

    (Recommended)
    For Powersuspend(w/ Mode selection), Dynamic Fsync & Intelli_plug :
    Faux123 Kernel Enhancement Pro (FauxClock) by @faux123

    Manual Control :

    UKSM :

    Disable :
    Code:
    echo 0 > /sys/kernel/mm/uksm/run
    Enable :
    Code:
    echo 1 > /sys/kernel/mm/uksm/run

    Intelli_plug :

    Disable :
    Code:
    echo 0 > /sys/module/intelli_plug/parameters/intelli_plug_active
    Enable :
    Code:
    echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_active
    Touch Boost Disable :
    Code:
    echo 0 > /sys/module/intelli_plug/parameters/touch_boost_active
    Touch Boost Enable :
    Code:
    echo 1 > /sys/module/intelli_plug/parameters/touch_boost_active

    S2W/S2S :

    Disable :
    Code:
    echo 0 > /sys/android_touch/sweep2wake
    Sweep2Wake only :
    Code:
    echo 1 > /sys/android_touch/sweep2wake
    Sweep2Wake + Sweep2Sleep :
    Code:
    echo 2 > /sys/android_touch/sweep2wake
    Sweep2Sleep only :
    Code:
    echo 3 > /sys/android_touch/sweep2wake

    DT2W :

    Disable :
    Code:
    echo 0 > /sys/android_touch/doubletap2wake
    Enable :
    Code:
    echo 1 > /sys/android_touch/doubletap2wake

    Note :
    Sweep2Wake & DoubleTap2Wake increase battery use.
    Sweep2Sleep has no effect on battery use.

    DEBUGFS :
    Code:
    mount -t debugfs none /sys/kernel/debug


    ROM Makers :

    Feel free to include this kernel in your ROM if you wish to,
    but don't forget to mention me.
    10
    Reserved

    Changelog :

    v1.0
    Code:
    Initial Release

    v1.1
    Code:
    1. Updated to kernel 3.4.93
    2. Made 2 versions :
         2.1. GPU standard clock version (GPU @ 286 MHz)
         2.2. GPU OC version (GPU @ 403 MHz)
    3. Screenshots updated
       And the numbers are looking pretty good

    v1.2
    Code:
    1. Updated to kernel 3.4.94
    2. GPU : Replaced 286 MHz version with 312 MHz
    3. Enabled F2FS (was disabled before)
    4. Added exclusive Sweep2Sleep (see post #3)
    5. Fixed DoubleTap2Wake
    6. Enabled DEBUGFS and Tracing (see post #3)

    v1.3
    Code:
    1. Updated to kernel 3.4.96
    2. GPU : Added back 286 MHz version
    3. Added Intelli_plug driver (see post #3)
       It was exclusive to Qualcomm devices earlier,
       but is now available to all ARM devices
    4. Added, updated and enabled SIO & BFQ I/O schedulers
    5. Enabled CONFIG_SCHED_AUTOGROUP
    6. Numerous fixes (see Gitbub commits)

    v1.4
    Code:
    1. Updated to kernel 3.4.103
    2. Bluetooth components now built-in, not external modules
    3. Makefile : Use -mcpu=cortex-a7 instead of -march=armv7-a
    4. UKSM : Disable by default
    5. Updated UKSM
    6. Hotplug : Use Intelli_plug by default instead of MTK mechanism
    7. Updated Intelli_plug
    8. Tuned CPU governors : Intelliactive, PegasusQ, Nightmare, SmartassV2
    9. Enable Quad-core stats
    10. Set SmartassV2 and SIO as default schedulers
    11. Added init.d support
    12. Numerous fixes (see Gitbub commits)

    v1.5
    Code:
    1. Updated to kernel 3.4.105
    2. Bluetooth components compiled as external modules again, solves bluetooth errors
    3. Set Hotplug as default CPU scheduler again
    4. Added Multi-core scheduler support
    5. Numerous fixes (see Gitbub commits)
    9
    Recontinued

    v1.4
    Code:
    1. Updated to kernel 3.4.103
    2. Bluetooth components now built-in, not externel modules
    3. Makefile : Use -mcpu=cortex-a7 instead of -march=armv7-a
    4. UKSM : Disable by default
    5. Updated UKSM
    6. Hotplug : Use Intelli_plug by default instead of MTK mechanism
    7. Updated Intelli_plug
    8. Tuned CPU governors : Intelliactive, PegasusQ, Nightmare, SmartassV2
    9. Enable Quad-core stats
    10. Set SmartassV2 and SIO as default schedulers
    11. Added init.d support
    12. Numerous fixes (see Gitbub commits)
    8
    Announcement

    Firstly, a big thanks to all the supporters. This kernel was one of the best because of your help and support.

    After making a lot of changes and updates, the kernel was left unbootable.
    Can't really pin point the problem, due to the changes being a few hundred.
    So, I'm declaring this kernel DISCONTINUED.

    But, I'll be back with a new, optimized and feature-filled kernel soon enough, without making the same mistakes, of course.
    Been wanting to start afresh for some time now and this is a perfect opportunity.
    Thanks again to all of you.