Remove All Ads from XDA

[KERNEL] [2012-01-12] V2.0 FM Kernel based on [Beta]

187 posts
Thanks Meter: 300
By RiverSource, Senior Member on 12th November 2011, 01:08 AM
Post Reply Email Thread

I want to publish the first public beta of my Kernel. It is based on and should reduce the Android OS Battery usage. The Kernel is based on CF Root Kernel.

As always: You are responsible for your phone. Don't blame me, if something goes wrong and you loose the photos from grandmas birthday or brick your phone. I have warned you! The Kernel is in very early stage and has been tested only by me so far.

  • Root
  • CWM5
  • Compatible to Chainfires CWM App
  • Reduced Debugging and Logging
  • Interactive Governor enabled (but not set as default. Use SetCPU).

NEW Version 1.2:
- Based on KJ6 Sources
- optimized compiler flags
- bug fixing

NEW Version 1.3:
- OC/UV Support (100 - 1700 MHz, SetCPU and Voltage Control)
- additional governors (ondemand, ondemandx, interactive, interactivex, smartass, smartassv2, performance, powersave, conservative, Lagfree, Lazy, Savagedzen, Lulzactive)
- Tegrak 2nd core Support
- I/O schedulers: BFQv3, SIO, CFQ, deadline, VR, noop
- some tweaks and bugfixes

NEW Version 1.3.1:
- Removed some Optimizations in order to fix the Camera Bug

NEW Version 1.4:
- added 50 MHz
- Fixed Bug which caused removal of CWM Manager
- EFS Backup reworked
- intellidemand govenor added
- added Version Number in Version String
- Fixed Camera Bug finally
- Deactivated GPU Undervolting
- Some tweaks added again, which were removed for 1.3.1

NEW Version 1.5:
- Optimizations in Schedulers and Governors
- Maybe Bluetooth Streaming Bugfix

NEW Version 1.6:
- Voodoo Louder support
- Optimized schedulers
- new MALI drivers
- more logging and debugging (due to voodoo louder)

NEW Version 2.0:
- complete reworked cpufreq (incl. Abyss Smooth Scaling support), no more 50 MHz support
- Lulzactive V2 inkl. Tegrak support
- xz compression
- optimized configuration
- tun, ntfs, fuse support
- amazing performance improvement

The configuration is more or less Samsung Stock (except debugging, logging and the governor). Maybe I will optimize it in the future. The CWM App from Chainfire is not included, but should work on this kernel. I suggest to first flash a CF Kernel in order to root your phone and get the CWM App. After that you can flash this kernel. I recommend the CWM Manager App for flashing activities.

Please report bugs. I had a problem with endless USB Port Suspend / Resume cycles during testing, which caused the phone not to enter the deep sleep. Maybe the reason were to optimistic compiler options (it did not occur in the last 24 hours).

I would also appreciate, if you compare battery lifetime with Stock kernel. The battery statistic tells, the Android OS Usage is reduced, but results this really in a longer battery lifetime? Please observe and report.

For the Developers: The Sourcecode.
Attached Files
File Type: tar FM-Note-Kernel.tar - [Click for QR Code] (5.54 MB, 1548 views)
File Type: tar FM-Note-Kernel_V1.2.tar - [Click for QR Code] (5.53 MB, 1797 views)
File Type: tar FM-Note-Kernel_V1.3.tar - [Click for QR Code] (5.31 MB, 1330 views)
File Type: tar FM-Note-Kernel_V1.3.1.tar - [Click for QR Code] (5.31 MB, 3067 views)
File Type: tar FM-Note-Kernel_V1.4.tar - [Click for QR Code] (5.32 MB, 4347 views)
File Type: tar FM-Note-Kernel_V1.5.tar - [Click for QR Code] (6.59 MB, 21830 views)
File Type: tar FM-Note-Kernel_V1.6.tar - [Click for QR Code] (6.63 MB, 3487 views)
File Type: tar FM-Note-Kernel_V2.0.tar - [Click for QR Code] (5.15 MB, 24320 views)
The Following 63 Users Say Thank You to RiverSource For This Useful Post: [ View ] Gift RiverSource Ad-Free
12th November 2011, 02:28 AM |#2  
Thanks Meter: 2
Seems logcat is not working any more.

adb logcat results in:
Unable to open log device '/dev/log/main': No such file or directory

Also no logcat tracing on the device
The Following User Says Thank You to LaroCroft For This Useful Post: [ View ] Gift LaroCroft Ad-Free
12th November 2011, 09:58 AM |#3  
OP Senior Member
Thanks Meter: 300
Donate to Me
As I said: Reduced Logging.

Copy the following script to /system/etc/init.d/01log:

insmod /lib/modules/logger.ko
Then reboot.
The Following User Says Thank You to RiverSource For This Useful Post: [ View ] Gift RiverSource Ad-Free
12th November 2011, 11:45 AM |#4  
Senior Member
Thanks Meter: 46
everything is working

deep sleep works
usb works

could not find anything negative
12th November 2011, 12:02 PM |#5  
Thanks Meter: 2
I had a complete crash this morning. No chance to switch on again. Had to pull battery.
12th November 2011, 12:36 PM |#6  
Junior Member
Thanks Meter: 0
Flashing was successful. Everything is working stable. I'll be watching battery usage!
12th November 2011, 12:39 PM |#7  
Thanks Meter: 2
Another problem I found:

I customized to files in /system/usr/keychars and /system/usr/keylayout to match german keyboard layout.

Seems the system is now only using the .kl file in /system/usr/keychars but not the compiled .kcm.bin file in keylayout folder.

Any idea?
12th November 2011, 04:56 PM |#8  
spekesel's Avatar
Thanks Meter: 7
Flashed without issue. So far after having it on for a few hours it seems like the Android OS (and the suspend event/0 processes going nuts) has stopped and the idle power drain is much less.

So, success. Otherwise for me its stable and all normal.

Very pleased.
12th November 2011, 04:59 PM |#9  
Senior Member
Thanks Meter: 32
Android os usage has dropped from 60% on average to 9%. Looks greatvso far. No issues to report.

Good job :D

Sent from my GT-N7000 using xda premium
12th November 2011, 05:42 PM |#10  
Account currently disabled
Thanks Meter: 636
Originally Posted by thelestat

Android os usage has dropped from 60% on average to 9%. Looks greatvso far. No issues to report.

Good job :D

Sent from my GT-N7000 using xda premium

Your opinion is that this is BLOWING in terms of battery life?
Hmm, stay tuned!
12th November 2011, 05:56 PM |#11  
fards's Avatar
Inactive Recognized Developer
Flag Currently Reverse Engineering 42
Thanks Meter: 1,796
will try this in a bit,but I'm curious, how many people see high Os usage?
Mine hasn't gone over 1O% since I' ve had the note.

is there some pattern of use that causes it ?
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes