[Kernel][AOSP][4.3/4.4][Linux 3.0.101][TWRP 2.6.3]aidfarh's kernel (updated 13-12-20)

Search This thread

aidfarh

Senior Member
Sep 17, 2010
522
543
Kuala Lumpur
WARNING!!
This kernel allows you to set the CPU frequency beyond the stock rated frequencies. Do this at your own risk! I will not be responsible for any damage to your device if you do so!

INTRODUCTION
It seems there's a dearth of kernels for JB 4.3 AOSP-based ROM for the i9100g. So I'm deciding to share my own custom kernel for those who want some alternative to the the built-in kernels on the AOSP/CM10.2-based ROMS.
I can't think of a fancy name for this, so let's just call it aidfarh's kernel for now.
Any feedback is welcome.

FEATURES
  • Based on Mokee v43 kernel, which is based on CM10.2 kernel
  • Updated to Linux version 3.0.98
  • TWRP 2.6.3 recovery
  • USB fastcharge available (disabled by default)
  • Governors:
    1. Ondemand
    2. Hotplug
    3. Userspace
    4. Interactive V2 by imoseyon
    5. InteractiveX by imoseyon
    6. Performance
    7. Powersave
    8. Conservative
    9. Lulzactive
    10. PegasusQ
    11. AbyssPlug
  • I/O schedulers:
    1. cfq
    2. noop
    3. deadline
    4. row
  • Dynamic management of dirty page writebacks
  • Some optimisations - hard float, some cache optimisations, disabled tracing

CHANGELOG

20131010:
  • Added 200 & 1350 MHz CPU frequencies. Overclock/underclock at your own risk!
  • Updated row scheduler to V4 and tweaked default settings.
  • Modified power.t1.so and included in kernel zip.
20131013:
  • Prevent omap4 duty cycle from overriding user selected cpu max_frequency.
  • Optimize cpufreq transition latency.
20131023:
  • Update to make it work with new multi-sim feature in CM-10.2.
20131113:
  • Updated to Linux kernel version 3.0.101.
  • Added SIO scheduler.
20131220:
  • Android 4.4 (built on Omnirom 4.4 source tree).
20131222:
  • Released different versions for Omnirom 4.4 and CM11.
  • Omnirom 4.4 version - fix max frequency behaviour (power.t1.so)

REQUIREMENTS
Android 4.3
This kernel should work with any CM10.2 based ROM. Tested on CM10.2 and Mokee
It would probably also work with non-CM AOSP 4.3 based ROM, but due to differences in implementation, some features might not work 100%.

Android 4.4
I've produced two versions of this kernel. One is compatible with Omnirom 4.4 and the other is compatible with CM11. Compatibility with other Android 4.4 roms is unknown.

INSTRUCTIONS
Flash the zip in CWM or TWRP recovery.

CREDITS
Thanks to:
  • codeworkx and the cyanogenmod team
  • Omnirom team
  • Ryuinferno and the Mokee team - this kernel uses the Mokee kernel as the starting point
  • imoseyon and leanKernel devs - some commits were cherry picked from the leanKernel source
  • Team Win Recovery Project Team
  • Google and Samsung
  • Linus Torvalds and all Linux developers

DOWNLOAD
Android 4.3
20131004: Download
20131010: Download
20131013: Download
20131023: Download
20131113: Download

Android 4.4

Omnirom 4.4 compatible:
20131220: Download
20131222: Download

CM11 compatible:
20131222: Download

SOURCE CODES
Kernel source code
My github (device settings etc.)
 
Last edited:

aidfarh

Senior Member
Sep 17, 2010
522
543
Kuala Lumpur
TO-DO
  • Add more CPU frequencies/overclock/underclock
  • Tweak default governor tuneables - suggestions welcome
  • Update ROW scheduler to V4
  • Further optimisations

P.S. For some reason I can't edit the first post. Is there a problem with the server? (Edit: solved by using Firefox instead of Chrome)
 
Last edited:

aidfarh

Senior Member
Sep 17, 2010
522
543
Kuala Lumpur
Showing some support here...:D...are you editing using Tapatalk? I face that from time to time...

You forgot this: https://github.com/aidfarh/android_kernel_samsung_t1/commit/6faac1345139ea7301dd4c98d7bf200b77167a9a

And just a heads up, the last time when I tired to apply interactiveX, I faced random reboots in recovery...
I was using Chrome. After clicking the Edit/Delete button I just got that cursor spinning on and on. Editing using Firefox was fine.

And yeah, I also had the same problem with interactiveX, but that was back during ICS days. The reason was interactiveX didn't coexist well with interactive, so my solution back then was to use only interactiveX and disable interactive. I'll do some more tests and hopefully the newer versions work well.
 
Last edited:

spirosbakos

Senior Member
Jan 2, 2009
203
30
Whats the frequences of overclocking ? .thanks...

Στάλθηκε από το GT-I9100G μου χρησιμοποιώντας Tapatalk 2
 

nainaabd

Senior Member
Flashed on Cm10.1.3 so far no issue:D
Is there any way i can enable fast charge (default is disabled) or no way if rom dont support.

Sent from my GT-I9100G using xda premium
 

Attachments

  • uploadfromtaptalk1380901980034.jpg
    uploadfromtaptalk1380901980034.jpg
    50.7 KB · Views: 307
Last edited:

Suo.Eno

Senior Member
Mar 23, 2013
322
126
44
Ampang
Boots good on Slim. interactivex + cfq 0 critical issues so far.

Sent from my GT-I9100G using XDA Premium 4 mobile app
 

Ryuinferno

Senior Member
Apr 3, 2012
3,548
7,113
ryuinferno.github.io
  • Like
Reactions: nainaabd

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    WARNING!!
    This kernel allows you to set the CPU frequency beyond the stock rated frequencies. Do this at your own risk! I will not be responsible for any damage to your device if you do so!

    INTRODUCTION
    It seems there's a dearth of kernels for JB 4.3 AOSP-based ROM for the i9100g. So I'm deciding to share my own custom kernel for those who want some alternative to the the built-in kernels on the AOSP/CM10.2-based ROMS.
    I can't think of a fancy name for this, so let's just call it aidfarh's kernel for now.
    Any feedback is welcome.

    FEATURES
    • Based on Mokee v43 kernel, which is based on CM10.2 kernel
    • Updated to Linux version 3.0.98
    • TWRP 2.6.3 recovery
    • USB fastcharge available (disabled by default)
    • Governors:
      1. Ondemand
      2. Hotplug
      3. Userspace
      4. Interactive V2 by imoseyon
      5. InteractiveX by imoseyon
      6. Performance
      7. Powersave
      8. Conservative
      9. Lulzactive
      10. PegasusQ
      11. AbyssPlug
    • I/O schedulers:
      1. cfq
      2. noop
      3. deadline
      4. row
    • Dynamic management of dirty page writebacks
    • Some optimisations - hard float, some cache optimisations, disabled tracing

    CHANGELOG

    20131010:
    • Added 200 & 1350 MHz CPU frequencies. Overclock/underclock at your own risk!
    • Updated row scheduler to V4 and tweaked default settings.
    • Modified power.t1.so and included in kernel zip.
    20131013:
    • Prevent omap4 duty cycle from overriding user selected cpu max_frequency.
    • Optimize cpufreq transition latency.
    20131023:
    • Update to make it work with new multi-sim feature in CM-10.2.
    20131113:
    • Updated to Linux kernel version 3.0.101.
    • Added SIO scheduler.
    20131220:
    • Android 4.4 (built on Omnirom 4.4 source tree).
    20131222:
    • Released different versions for Omnirom 4.4 and CM11.
    • Omnirom 4.4 version - fix max frequency behaviour (power.t1.so)

    REQUIREMENTS
    Android 4.3
    This kernel should work with any CM10.2 based ROM. Tested on CM10.2 and Mokee
    It would probably also work with non-CM AOSP 4.3 based ROM, but due to differences in implementation, some features might not work 100%.

    Android 4.4
    I've produced two versions of this kernel. One is compatible with Omnirom 4.4 and the other is compatible with CM11. Compatibility with other Android 4.4 roms is unknown.

    INSTRUCTIONS
    Flash the zip in CWM or TWRP recovery.

    CREDITS
    Thanks to:
    • codeworkx and the cyanogenmod team
    • Omnirom team
    • Ryuinferno and the Mokee team - this kernel uses the Mokee kernel as the starting point
    • imoseyon and leanKernel devs - some commits were cherry picked from the leanKernel source
    • Team Win Recovery Project Team
    • Google and Samsung
    • Linus Torvalds and all Linux developers

    DOWNLOAD
    Android 4.3
    20131004: Download
    20131010: Download
    20131013: Download
    20131023: Download
    20131113: Download

    Android 4.4

    Omnirom 4.4 compatible:
    20131220: Download
    20131222: Download

    CM11 compatible:
    20131222: Download

    SOURCE CODES
    Kernel source code
    My github (device settings etc.)
    7
    TO-DO
    • Add more CPU frequencies/overclock/underclock
    • Tweak default governor tuneables - suggestions welcome
    • Update ROW scheduler to V4
    • Further optimisations

    P.S. For some reason I can't edit the first post. Is there a problem with the server? (Edit: solved by using Firefox instead of Chrome)
    5
    My kernel for Android 4.4 released. Please see OP.
    5
    Just as a favour, I have compiled aidfarh's kernel with my modified version of CWM6, get it here: http://d-h.st/6UM

    Apart from recovery, nothing else is changed...enjoy! :D
    4
    New version uploaded. See OP. The Linux kernel branch 3.0.y is EOL now, so there won't be many more updates in the future, if any.