[KERNEL][5.10.11][2.6.32.21] Kernels from Adrynalyne (Now on Kernel Manager!)

Adrynalyne

Account Deactivated
Dec 24, 2009
1,346
1,534
0
Visit site
Hey folks,

This is a continuation of this thread:
[Kernel][Sense] Adrynalyne's 2.6.32.21 [Latest Version 2.0-fixed] [Updated 4-2-2011] - xda-developers

I've asked that mods close this thread so that I can kind of getting a better handle over it.

So to continue into this new thread, I have new kernels.



Remember: Overclocking is at your own risk, and not mine!

All of these kernels will boot at 1ghz unless set to overclock via setcpu or another overclocking app.

Features:

CFS CPU scheduler
BFQ I/O scheduler
SIO I/O scheduler (4.4.1)
V/R I/O scheduler (4.4.7)
Undervolted
Overclocked
SLQB slab allocator
smartass, performance, interactive, conservative, powersave, ondemand(default) governors.
neon and cortex optimizations
battery charging speed enhancements
updated ashmem driver
GPU+ patch
nfs support
ext4 support
tun support
Death Ray! (4.1+)
TinyRCU (4.2+)
Changes to wifi power management (4.2+)
Backport of 2.6.39rc2 ondemand governor (4.2+)--Thanks Imoseyon
CIFS(4.2+)
lowmemkiller code tweaks (4.3+)
sdcard read tweak (ymmv, 4.4.1)
two way call recording support (4.4.3)
dynamic VDD control (control freak series only)
dynamic smartass governor control (control freak series only)
more responsive conservative and interactive governors (control freak series only)

Various other little insignificant tweaks.


Current project is the control freak kernel, mainly to be used with the bamf roms, but will work with any Sense based rom. ***WARNING*** These are advanced kernels and you CAN end up not booting if you do not know what you are doing. If In doubt, use a bamf kernel, or DO NOT modify this kernel's advanced options.

Current version is 2.0. Highlights:
sleep_wakeup_freq added to smartass, and added as 1024mhz, default. Smartass has been tweaked to be a bit easier on the battery.
conservative and interactive governors tweaked to be more responsive.
smartass settings only apply after boot time. It was slowing down the phone on boot.

Download (has call recorder support)
http://gcode.biz/kernels/cf_2.0.zip

Previous version is 1.9. Highlights:
Ability to change smartass settings on the fly via terminal or via the 99smart_levels file in /system/etc/init.d. There are no instructions on how to edit this file, as if you do not know how to, this is going to be too advanced for you to play with just yet.

Download (Has call recorder support)
http://gcode.biz/kernels/cf_1.9.zip

Code:
#######Values explained#######

#down_rate_us
#The minimum amount of time to spend at a frequency before we can ramp down, default is 45ms.

#up_min_freq
#When ramping up frequency with no idle cycles jump to at least this frequency. Zero disables. Set a very high value to jump to policy max freqeuncy (like 9999999).

#sleep_max_freq
#When sleep_max_freq>0 the frequency when suspended will be capped by this frequency. Also will wake up at max frequency of policy to minimize wakeup issues.

#sample_rate_jiffies
#Sampling rate, I highly recommend to leave it at 2.

#ramp_up_step
#Freqeuncy delta when ramping up. Zero disables causes to always jump straight to max frequency.

#max_ramp_down
#Max freqeuncy delta when ramping down. zero disables.

#max_cpu_load
#PU freq will be increased if measured load > max_cpu_load.

#min_cpu_load
#CPU freq will be decreased if measured load < min_cpu_load.


#######My default values#######

#down_rate_us 40000
#up_min_freq 9999999
#sleep_max_freq 245760
#sample_rate_jiffies 2
#ramp_up_step 768000
#max_ramp_down 368640 (change to 768000 for better battery savings)
#max_cpu_load 70
#min_cpu_load 30




echo "40000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/down_rate_us
echo "9999999" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/up_min_freq
echo "245760" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/sleep_max_freq
echo "2" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/sample_rate_jiffies
echo "768000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/ramp_up_step
echo "368640" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/max_ramp_down
echo "70" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/max_cpu_load
echo "30" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/min_cpu_load




--------------------------------------------------------------------------------------------------------
Previous version is 1.2. Highlights:
Working from bamf 4.4.7 kernel, and includes filesystem, lowmemkiller, and other enhancements.
Voltage can be set on the fly via terminal, or via the 00vdd_levels file in /system/etc/init.d. There is documentation in this file. There are no instructions on how to edit this file, as if you do not know how to, this is going to be too advanced for you to play with just yet.

Code:
As a point of reference, these are the stock kernel voltages.

#245760 @ 1000mV
#368640 @ 1050mV
#768000 @ 1100mV
#1024000 @ 1100mV

These are what I use for my latest kernels.

#245760 @ 900mV
#368640 @ 950mV
#768000 @ 1025mV
#1024000 @ 1075mV
#1280000 @ 1150mV
#1408000 @ 1200mV

Voltage levels can vary from 750mV to 1300mV, and ONLY in 25mV increments.
First number=frequency (static)
Second number= voltage (750-1300)

Examples of how to set from the command line(To keep settings persistent on boot, use file in init.d):

echo "245760 900" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "368640 950" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "768000 1025" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1024000 1075" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1280000 1150" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1408000 1200" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

To check current levels,
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels  (ignore first five numbers)

Download (Has call recorder support)
http://gcode.biz/kernels/cf_1.2.zip

Download revert file if you cannot boot
http://gcode.biz/kernels/revert_file.zip





-------------------------------Project complete---------------------------------------------
Current version is 4.4.7
--New tweaked v/r scheduler.
--CFS tweaks.

With call recording support
http://gcode.biz/kernels/4.4.7.zip

Without call recording support
http://gcode.biz/kernels/4.4.7_nr.zip

Previous version is 4.4.6
--Basically the 4.4.5 kernel finalized.
--Two versions, one with call recording support, one without.

With call recording support
http://gcode.biz/kernels/4.4.6.zip

Without call recording support
http://gcode.biz/kernels/4.4.6_nr.zip


Previous version is 4.4.5 *experimental*
--Converts all ext3 filesystems to ext4, with additional tweaks. Performance increase is noticeable.
--Removes call recording support, due to some issues found with in call volume. YMMV.
--New clock table based off imoseyon's tesla kernel, using my own voltages.
http://adrynalyne.grdlock.net/bamf/kernels/4.4.5_test.zip


Current version is 4.4.4
--Converts all ext3 filesystems to ext4, with additional tweaks. Performance increase is noticeable.
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.4.4.zip

Previous version is 4.4.3 *experimental*
--two way call recording support added (requires compatible app)
--reverted audio enhancements to default (didn't seem they were doing anything useful).
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.4.3.zip

Previous version is 4.4.2 *experimental*
--Tweaked voltages and smartass some to try and stabilize 4G and smartass. I think I undervolted too much.
Remember, clear data on setcpu and then reboot. Then auto detect frequency again.
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.4.2.zip


-----------------------------------------------
Previous version is 4.4.1 *experimental*


Only one version this time. Those who don't want to overclock, don't need to. By default it will not. For those who want it, it will scale to 1.5ghz.
--reworked frequencies and voltages. Higher overclock, further undervolt at lower speeds.
--reworked smartass for the new kernel. (be careful, lockups have been reported. New ondemand governor is very efficient)
--removed nonworking fps tweak.
--added new compile optimizations.
--added sdcard read tweak (ymmv)
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.4.1.zip


-------------------------------------------------------------

Previous version is 4.3

a version
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.3a.zip

b version
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.3b.zip

c version
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.3c.zip

-------------------------------------------------------------

Previous version is 4.2

a version
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.2a.zip

b version
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.2b.zip

c version
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.2c.zip


--------------------------------------------------

Previous version is 4.1

--Tweaking of version a smartass governor.
--Addition of death ray (requires suitable app support, such as here: [MOD][PORT] (4/5/2011) Power Control Widgets - xda-developers)

Version a:
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.1a.zip

Version b:
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.1b.zip

Version c:
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.1c.zip

Note: I am not responsible for vision damage, household fires, or burnt out LEDs from Death Ray.



---------------------------------------------------------------------


Previous version is 4.0.

Version a:
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.0a.zip

Version b:
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.0b.zip

Version c:
http://adrynalyne.grdlock.net/bamf/kernels/bamf_4.0c.zip

Requirements to overclock:

--Bravery (or stupidity?):eek::eek:
--Setcpu SetCPU for Root Users [2.1.3] Dual Core Madness 05/03/2011 - xda-developers

Notes to devs:

--I am totally cool with you guys using my kernels in your roms, but please give me a heads up and a small blurb in your credits is all I ask. :)
 
Last edited:

zshazz

Well-known member
Feb 10, 2011
194
43
0
Visit site
I'm running this right now. It's working fantastically thus far! I won't know how well it does on battery until tomorrow, but I'm optimistic.
 

Adrynalyne

Account Deactivated
Dec 24, 2009
1,346
1,534
0
Visit site
Guys, ignore quadrant. Please? Its not a measure of performance by any means.

That said...this will be up on rom manager later.

kernel_flash9.zip

-ext4 support
--nfs support removed for now to cut down kernel size (wasn't loading as modules)
--on demand default governor until tweaking of smartass is perfected. This will make the benchmark folks happy :D
--tweaked smartass
--other little tweaks
 

zshazz

Well-known member
Feb 10, 2011
194
43
0
Visit site
Cool. I guess I'll be testing the battery life of this one, then.

For what it's worth, 1.8 didn't seem to have any effect on what CurrentWidget reported the power drain to be.
 

fire n ice

Well-known member
Sep 18, 2010
83
17
0
Visit site
The battery life on this thing is AMAZING! I installed the kernel at around midnight with 54% battery left. With moderate-heavy usage until around 4, I'm sitting at 38% currently. :eek:

Edit: Also running Das BAMF 1.2 btw
 
Last edited:

Guntherm

Well-known member
Aug 29, 2010
361
47
0
Visit site
Guys, ignore quadrant. Please? Its not a measure of performance by any means.

That said...this will be up on rom manager later.

kernel_flash9.zip

-ext4 support
--nfs support removed for now to cut down kernel size (wasn't loading as modules)
--on demand default governor until tweaking of smartass is perfected. This will make the benchmark folks happy :D
--tweaked smartass
--other little tweaks

I follow alot of what you say, but with all these "tweaks" coming left and right. How would we noobs understand what you mean by these tweaks?
 
  • Like
Reactions: TBolt2011

sicario666

Well-known member
Dec 27, 2009
2,928
365
83
Visit site
Can I install this kernel on top of TPS(perfect storm) I've never installed just a kernel. Thanks for the help. I've already got it DL'D just waiting for the go-ahead

Tbolt meatclaws via talkatap
 

sicario666

Well-known member
Dec 27, 2009
2,928
365
83
Visit site
What is the best way to flash one of these? Do I need to wipe data/factory reset. What will happen to my current rom? Thanks in advance.

I believe you can flash this on top of a ROM currently being ran. But I could be wrong as I'm kinda waiting for the same answer

Tbolt meatclaws via talkatap
 

WhoMe

Well-known member
Jul 15, 2010
348
39
0
Visit site
I flashed the kernel on top of the "Das BAMF" rom with no problem at all. Ive only been running a little over an hour and all seems well. Hell, better than well. The battery drain seems to be down to a trickle.

I'm going to charge and run some sort of battery monitor to see if what I'm perceiving is real.
 

L_Boogie820

Well-known member
Aug 8, 2010
186
3
0
Visit site
Never flashed a kernel before..do you just put this in the root of the folder and run clockwork recovery and install '.zip' like you would a rom or anything else?
 

Mapex

Well-known member
Oct 5, 2009
270
70
0
Visit site
Should I also do a cache/dalvik cache wipe too?

Those are built based off application usage. The kernel has nothing to do with applications - it is just the underlying Linux kernel that powers the machine and runs the appropriate Android frameworks and services so that you can actually use the OS with your hardware.

So, feel free to leave your sdcard, system, data, cache, and Dalvik cache alone.
 

Forum statistics

Threads
943,199
Messages
6,917,758
Members
3,158,873
Latest member
cloudsofmana