FORUMS
Remove All Ads from XDA

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

522 posts
Thanks Meter: 548
 
By aidfarh, Senior Member on 4th October 2013, 01:50 AM
Post Reply Email Thread
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.)
The Following 34 Users Say Thank You to aidfarh For This Useful Post: [ View ] Gift aidfarh Ad-Free
4th October 2013, 02:03 AM |#2  
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 548
 
Donate to Me
More
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)
The Following 7 Users Say Thank You to aidfarh For This Useful Post: [ View ] Gift aidfarh Ad-Free
4th October 2013, 04:02 AM |#3  
Ryuinferno's Avatar
Senior Member
Thanks Meter: 7,227
 
Donate to Me
More
Showing some support here......are you editing using Tapatalk? I face that from time to time...

You forgot this: https://github.com/aidfarh/android_k...bf200b77167a9a

And just a heads up, the last time when I tired to apply interactiveX, I faced random reboots in recovery...
The Following 3 Users Say Thank You to Ryuinferno For This Useful Post: [ View ] Gift Ryuinferno Ad-Free
4th October 2013, 04:08 AM |#4  
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 548
 
Donate to Me
More
Quote:
Originally Posted by Ryuinferno

Showing some support here......are you editing using Tapatalk? I face that from time to time...

You forgot this: https://github.com/aidfarh/android_k...bf200b77167a9a

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.
4th October 2013, 07:10 AM |#5  
spirosbakos's Avatar
Senior Member
Thanks Meter: 30
 
More
Whats the frequences of overclocking ? .thanks...

Στάλθηκε από το GT-I9100G μου χρησιμοποιώντας Tapatalk 2
4th October 2013, 07:59 AM |#6  
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 548
 
Donate to Me
More
Quote:
Originally Posted by spirosbakos

Whats the frequences of overclocking ? .thanks...

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

No overclocking yet.
4th October 2013, 08:06 AM |#7  
Senior Member
Thanks Meter: 211
 
More
this kernel can be used on crdroid rom or not ?
4th October 2013, 08:29 AM |#8  
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 548
 
Donate to Me
More
Quote:
Originally Posted by peped94

this kernel can be used on crdroid rom or not ?

If it's based on CM10.2 it should be compatible. How about you try it and see?
4th October 2013, 08:43 AM |#9  
Senior Member
Thanks Meter: 211
 
More
Quote:
Originally Posted by aidfarh

If it's based on CM10.2 it should be compatible. How about you try it and see?

okayy. but im so afraid to try it first. im worried my device will get into bootloop. and i am lazy to do a nandroid backup. haha
4th October 2013, 08:53 AM |#10  
Senior Member
Thanks Meter: 346
 
More
I tried it and it works on Avatar rom latest , thanks for this kernel
4th October 2013, 10:20 AM |#11  
Member
Thanks Meter: 7
 
More
how about battery ???
i heard that the linux kernal not battery friend ??
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes