[Kernel][WIP][6/06/12][Beta 1a/b] KozmiKKernel [OC] - HTC One S

KozmiKKernel​​
Features:
Max Possible OC Freq set at 1890
TUN - Module Built in.
Added VR, SIO, and BFQ I/O Schedulers in addition to the standard NOOP,CFQ,and DEADLINE.
AROMA setup - showp1984 - Removed until I get this setup completely
Faqs:
Should be compatible with any rooted ICS sense rom.
As with anything you flash to your phone there is always a risk. You are taking responsibility into your own hands when you flash this. It works perfectly on my phone but your hardware may not be able to withstand overclocking. It should work fine but don't complain if it breaks your phone.
Beta Downloads:
Beta 1b
Beta 1a
Beta 1
Installation:
This should be flashable for both s-off and s-on devices through your custom recovery.
CPU Frequency / Voltage Table:
Code:
384000: 850000
432000: 875000
486000: 875000
540000: 900000
594000: 900000
648000: 925000
702000: 925000
756000: 975000
810000: 975000
864000: 1000000
918000: 1000000
972000: 1025000
1026000: 1025000
1080000: 1050000
1134000: 1050000
1188000: 1075000
1242000: 1075000
1296000: 1100000
1350000: 1100000
1404000: 1125000
1458000: 1125000
1512000: 1150000
1566000: 1150000
1620000: 1175000
1674000: 1175000
1728000: 1200000
1782000: 1200000
1836000: 1225000
1890000: 1225000
Change Log:
Beta 1a/b
Removed LIFO scheduler
Fixed voltage issue in acpuclock for two two frequencies.
Set max clock setting to 1890
Beta 1
Initial Test Release
May or may not work
Credits:
klquicksall
Virtuous Dev Team
showp1984
Faux123
Chad0989
LeeDroid
Rafyvitto
HTCDev
amarullz - aroma installer
And many more...
Github:
My Source

Git Changelog:
Code:
********************************
**************Beta 1************
********************************
6858cd9 was Tim Nelson, 11 minutes ago, msg: kozmik_defconfig-Beta-1
7aa30dc was Tim Nelson, 18 minutes ago, msg: board-ville-regulator.c-Increasing-Max-voltage-to-1350
819fdf9 was showp1984, 10 weeks ago, msg: include-linux-filter.h-fix-missing-rcupdate.h-include
765169f was Tim Nelson, 31 minutes ago, msg: rpm-8960.h-Increasing-Max-voltage-to-1350
85d009b was Harsh Bhanvadia, 6 weeks ago, msg: Implementation-of-SNAPPY-for-zram-kernel-3.0.y
1815f49 was Peter Donka, 7 weeks ago, msg: Google-snappy-compression-decompression-support
53ee66b was Miguel Boton, 2 years, 7 months ago, msg: Add-support-for-previous-kernel-versions
357c63c was Miguel Boton, 2 years, 7 months ago, msg: LIFO-I-O-scheduler-v1.0
b385ff0 was Miguel Boton, 7 weeks ago, msg: Add-support-for-previous-kernel-versions-Miguel-Boton
e82cc43 was Dominic Duklas, 2 years, 1 month ago, msg: include-linux-slab.h-to-fix-missing-kfree
8114ec9 was Miguel Boton, 2 years, 5 months ago, msg: Improve-Kconfig-help-text
fcdd643 was Miguel Boton, 2 years, 5 months ago, msg: Fix-commentary
90198f4 was Miguel Boton, 2 years, 5 months ago, msg: Simple-I-O-scheduler-v0.2
8663c21 was Miguel Boton, 2 years, 5 months ago, msg: Simple-I-O-scheduler-v0.1
cd7a78e was Tim Nelson, 9 weeks ago, msg: adding-bfq-i-o-scheduling
a13418f was Ken, 2 months ago, msg: add-V-R-I-O-scheduler
b871d82 was Mircea Gherzan, 3 months ago, msg: ARM-net-JIT-compiler-for-packet-filters
194359d was Ashwin Chaugule, 3 months ago, msg: Optimized-ARM-RWSEM-algorithm
5761341 was Miao Xie, 3 months ago, msg: lib-string-use-glibc-version
b2b33fa was Miao Xie, 3 months ago, msg: lib-memcopy-use-glibc-version
bf8e335 was faux123, 3 months ago, msg: sched-disable-GENTLTE_FAIR_SLEEPERS-for-better-performance-on-Android
a8f976d was LeeDrOiD, 2 months ago, msg: Make-vfs_cache_pressure-configurable
f7230ab was jdkoreclipse, 12 months ago, msg: include-mm-increase-readahead-buffer
3d98394 was jdkoreclipse, 8 months ago, msg: mm-adjust-vm-ratios
ea69088 was Tim Nelson, 51 minutes ago, msg: avs.h-changing-vdd-min-to-850-and-max-to-1350
a5c85b8 was SebastianFM, 3 months ago, msg: Fixed-cpufreq
3f3d0e1 was showp1984, 3 months ago, msg: htc-battery-core-Fixing-once-again.-srsly-htc-That-was-already-there-in-2.6.x
8b48b27 was Tim Nelson, 70 minutes ago, msg: acpuclock-setting-up-overlocking-tables-removed-krait-variants-and-consolid
78461bf was Tim Nelson, 2 hours ago, msg: Temp-Fix-wenum-compair-error-in-mdp4_overlay.c
e7807e5 was showp1984, 3 months ago, msg: fix-warning-statement-with-no-effect-2
95d8009 was showp1984, 3 months ago, msg: net-netfilter-remove-annoying-comparison-will-always-be-true-warning
fa6e567 was showp1984, 3 months ago, msg: fix-warning-statement-with-no-effect
a0eff76 was Tim Nelson, 3 hours ago, msg: Fixed-warning-fmt-may-be-used-uninitialized
a148a1b was Tim Nelson, 3 hours ago, msg: Fixed-warning-return-with-no-value
f362783 was Tim Nelson, 3 hours ago, msg: Fixed-warning-buddy-may-be-used-uninitialized
f119dfa was showp1984, 7 months ago, msg: O3-compilation-fixups
45404b9 was showp1984, 9 months ago, msg: Makefile-Added-Snapdragon-optimizations
210523f was showp1984, 5 months ago, msg: Makefile-adding-config-variable-for-Os-O2-O3-compilation
aa6cd98 was Tim Nelson, 4 hours ago, msg: Adding-toolchain-to-makefile
9d416c2 was showp1984, 5 months ago, msg: kernel-return_address-hiding-warning-TODO
0b8ca12 was James Sullins, 4 months ago, msg: fix-GCC-version-check-4.5.2-for-arch_extension-use
85bf2e8 was James Sullins, 5 months ago, msg: rework-gcc-version-check-for-.arch_extension-sec
a9a3478 was showp1984, 5 months ago, msg: scm-only-use-.arch_extension-sec-if-the-compiler-is-newer-than-gcc4.4
87f63d5 was showp1984, 6 months ago, msg: mach-msm-add-.arch_extension-sec-n-to-scm.c
25fcce6 was showp1984, 3 months ago, msg: arm-mm-fixing-offset.un-may-be-used-uninitialized-in-this-function
bd4b1a6 was Tim Nelson, 5 hours ago, msg: ville-u-ics-3.0.8-e2a40ab

Reserve

Here is the first build of my kernel. My device is won't be here for a week so this is a test build of beta 1.
It should work but I am currently not 100% positive as I have not tested it

I just noticed an error. I would advice not selecting the 1620 or 1674 frequency. It appears that I set them at 1750 for the voltage! Everything else looks fine. I'm rather tired. If someone wants to flash this and let me know if it works I'll get this fixed in the morning.
Once my device gets here I'll be working on this regularly. adjustable voltage table may wait until then. I did however add a few extra I/O schedulers for you guys in the mean time

Thanks for this. Do you have an option to set the max freq, if not which app is recommended? What about voltages?
Sent from my HTC One S using xda premium

Only Sense or Stock-derivated compatile?... I'm under CM9, I just wanted to know if it could be compatible (but I expect to be desapointed... lol)
Last but not least : Are all settings tunable with SetCPU ? (undervolt? max freq, schedulers?...)
Anyway, good job done! I'll test it as soon as I can

plakers said:
Only Sense or Stock-derivated compatile?... I'm under CM9, I just wanted to know if it could be compatible (but I expect to be desapointed... lol)
Last but not least : Are all settings tunable with SetCPU ? (undervolt? max freq, schedulers?...)
Anyway, good job done! I'll test it as soon as I can
Click to expand...
Click to collapse
This wont work on CM9, MIUI and AOKP, this is just for Sense based Roms.
But since the Kernel sources for our phones have been released we can expect a better kernel for AOSP roms and derived work to be released soon.

kozmikkick have you edited stock UV table with a low voltage?

Just installed on my T-Mo USA One S, and while installation seemed successful (via TWRP recovery), my wifi is now broken, and no new frequencies or governors are available.
Seems like nothing happened but the broken wifi.
Any ideas?

Serveral problems observed. WiFi seems broken after flashing your kernel. Secondly, unable to find any more I/O schedulers other than default ones. Please fix them asap.
Sent from my HTC One XL using Tapatalk 2

I see in the changelog you added some commits made by me time ago.
LIFO I/O scheduler should NEVER be used, never never never. It was just a joke scheduler I made.

Waninkoko said:
I see in the changelog you added some commits made by me time ago.
LIFO I/O scheduler should NEVER be used, never never never. It was just a joke scheduler I made.
Click to expand...
Click to collapse
That would make sense why I couldn't find any documentation on it. I'll remove it for sure.
Sent from my HTC One X using xda premium

I'll look into the WiFi issue. Can someone post a last_kmsg for this kernel?
Sent from my HTC One X using xda premium

I updated the OP with Beta 1a and 1b. They are both exactly the same with the exception of a small edit in acpuclock.
I also removed LIFO scheduler. I didn't notice that it was a prank and enabled it. Opps
And lastly I fixed the voltage issue on two of the frequencies. Max frequency should be set at 1890.
Let me know if Wifi works now and which one of beta 1a or 1b works best.

Without a reason, the recovery said installation aborted when installing the zip.
Using 1b zip!

fxzy said:
Without a reason, the recovery said installation aborted when installing the zip.
Using 1b zip!
Click to expand...
Click to collapse
Yea I've tried 1a 1b both fail to flash useing cwm and twrp. Have no issues flashing other kernals. Maybe its a partition issue
Sent from my HTC VLE_U using XDA Premium HD app

JDenson77 said:
Yea I've tried 1a 1b both fail to flash useing cwm and twrp. Have no issues flashing other kernals. Maybe its a partition issue
Sent from my HTC VLE_U using XDA Premium HD app
Click to expand...
Click to collapse
Probably an s-on issue. I'm going to rebuild a post a boot.IMG to flash with fastboot tomorrow.
Sent from my HTC One X using xda premium

Related

Speedmod Kernel experience

Posting my experience with the Speedmod kernel and want to thank Hardcore for his outstanding work. Flashed this kernel ([K13E HPCall VoodooSnd7 SharpnessFix STABLE]) on stock Froyo (2.2) more than a month ago and it has been flawless ever since. A couple of weeks ago I added the cwm2_ugjl2 modem and this combination has given me outstanding improvement in battery life (at least 150 % improvement over stock) and GPS that I didn't even think was possible with this phone (6 satellite lock inside on the first floor of 2 story house). I am anxious to try a GB ROM but this is working so great it is hard to justify the effort to change (maybe when a GB version of this kernel is available). Outstanding work Hardcore and everyone else who contributed.
Try the gingerstyle ROM...
Sent from my GT-I9000 using XDA Premium App

G2x undervolting thread

hello, I just wanted to make this thread for everyone to share their lowest AND stable voltage values for each frequency. Here goes mine:
(anything above 1000mhz was not tested)
1000mhz <-- 950mV
800mhz <-- 825mV
500mhz <-- 550mV
300mhz <-- 500mV
The following was done with eb1.0.4 + trinity kernel.
please share yours.
Copied from the kernel thread...
Bionix 2 at 1.2Ghz using deadline scheduler.
I attached my PMCpu settings in case anyone needs a reference.
Stressed tested for 15 mins stable.
Quadrant at 3337, Linpack around 45.
Click to expand...
Click to collapse
I started by doing -50 on all from 1200 oc...ill test for a whole day and drop it down -25 tomorrow and test for a whole day. And please post scheduler also.
So far @-50 on deadline scheduler all is working well, no freezes.
G2X
And how is battery life for everyone?
I can't belive how efin good mine has been, bt on, wifi on for 2 hrs, on xda forums every 30 minutes unplugged at 4:30a at 1:00p still had 55% left, whereas stock kernel would be at 15-10%...
G2X
GideonX said:
Copied from the kernel thread...
Click to expand...
Click to collapse
Using your settings running very smoothh!
Sent from my LG-P999 using XDA Premium App
fcisco13 said:
I started by doing -50 on all from 1200 oc...ill test for a whole day and drop it down -25 tomorrow and test for a whole day. And please post scheduler also.
So far @-50 on deadline scheduler all is working well, no freezes.
G2X
Click to expand...
Click to collapse
I have no idea what schedulers are
Also, a question to everyone, what are some of your unstable symptoms from UV? Since I've never had any rebooting issues with my g2x, I am not sure if some of the symptoms I was experiencing is from UV'ing or from the kernel. If you gone under the UV limit, does your phone just freeze or would it autoreboot?
c19932 said:
I have no idea what schedulers are
Also, a question to everyone, what are some of your unstable symptoms from UV? Since I've never had any rebooting issues with my g2x, I am not sure if some of the symptoms I was experiencing is from UV'ing or from the kernel. If you gone under the UV limit, does your phone just freeze or would it autoreboot?
Click to expand...
Click to collapse
UV will more than likely freeze or you will reboot... UV typically just makes everything really unstable, you might get stuck in a bootloop and have to reflash
JHaste said:
UV will more than likely freeze or you will reboot... UV typically just makes everything really unstable, you might get stuck in a bootloop and have to reflash
Click to expand...
Click to collapse
oh and a precaution to those using eb1.0.4 + trinity kernel. I set my max voltage for 1000mhz (my max. frequency as well) too low, and the phone autoreboot on startup twice and then did a factory reset itself This happened twice so be aware
GideonX said:
Copied from the kernel thread...
Click to expand...
Click to collapse
I'm running this settings and so far really good.
Thanks man!
Sent from my Bionix 2 - A TeamWhiskey Production using XDA App
fcisco13 said:
I can't belive how efin good mine has been, bt on, wifi on for 2 hrs, on xda forums every 30 minutes unplugged at 4:30a at 1:00p still had 55% left, whereas stock kernel would be at 15-10%...
G2X
Click to expand...
Click to collapse
What ROM and Kernel are you using? Also, which EB can be used with the Trinity kernel? GB or FroYo?
Anyone find that their battery has actually gone down while UV'ing? I'm finding after a full charge, the first 30% has been quicker by almost an hour. Not a really scientific method of testing, but I do just about the same thing every morning (email, txt, etc.) left over from the night before. That first 30% has a lot of screen off time, which will lower the speed to 300Mhz using PMCpu.
I'm going to up the voltage to at least 700 for 300Mhz and see how that fairs.
hah2110 said:
What ROM and Kernel are you using? Also, which EB can be used with the Trinity kernel? GB or FroYo?
Click to expand...
Click to collapse
--EB 1.0.4 FROYO (gutted removed live wallpapers, wifi calling, tmo stuff)
--Trinity 15 EB1.04 FROYO
[email protected] pimp my cpu (free on xda)
--Went down -50volts on all speeds
Battery is unbelievable..
G2X
I just restored my EB 1.02. I'm going to flash trinity kernel and report back after one day of use.
Sent from my LG-P999 using XDA App
I've heard several people had lockups and phone factory reset when uv too low, i think going more than -50 is really risking it...
G2X
fcisco13 said:
--EB 1.0.4 FROYO (gutted removed live wallpapers, wifi calling, tmo stuff)
--Trinity 15 EB1.04 FROYO
[email protected] pimp my cpu (free on xda)
--Went down -50volts on all speeds
Battery is unbelievable..
G2X
Click to expand...
Click to collapse
Can Trinity be used with EB Gingerbread?
hah2110 said:
Can Trinity be used with EB Gingerbread?
Click to expand...
Click to collapse
There are specific kernel for gb, look for one that is for EB1.04GB
G2X

Longest Captivate Uptime

Who here has the longest uptime on their captivate?
rg400smarttowel said:
Who here has the longest uptime on their captivate?
Click to expand...
Click to collapse
I had mine up I think for like 182 hours something.
Before I started playing with GB, running Perception 10.4, I saw 194 once, and a few 170s.
Now I'm not even on the same ROM that long.
Sent from my Captivate running Cognition
400 hours here. Like two weeks.
248 hours and counting. serendipity 6.4 is so stable there's basically never a reason to reboot.
You can go weeks if you make it a Captivate Touch.
I has just over 1,000 hours... Yep, over 40 days.
320 hours now.
Well ive not charged since I got it oct 24th 2010!
I have 42 hrs right now! ;D. Lol idk what was my longest though
Sent from a boy who lives in the City of the Damned, whose parents are Rage and Love.
Running Cognition 4.3.2. Currently at 260 hours.
ConeyKiller said:
Well ive not charged since I got it oct 24th 2010!
Click to expand...
Click to collapse
But how long have you gone without a reboot?....
My longest is probably around 48 hours. I reboot every couple of days just because.
Sent from a phone inside a phone inside a KFC inside a McDonald's.
I don't hardly ever reboot. Last time probably was whenever existz released his kb1 kernel in april?
10 hour with 2.3.3 draining my battery
ConeyKiller said:
I don't hardly ever reboot. Last time probably was whenever existz released his kb1 kernel in april?
Click to expand...
Click to collapse
You know you can actually find a definitive "up time" in settings> about phone> status right? All the way at the bottom.
Sent from a phone inside a phone inside a KFC inside a McDonald's.
Nah. Didnt know. Its at 290 hours. So perhaps I rebooted and forgot or battery died. Anyway, point is ihardly reboot. Lol

[Q] CM10 CPU freq

I'm huge fan of official CM ROMs. I tried a CM10 rom a few days ago but I had a problem with CPU. It always seems to work on max or min frequency. I monitored CPU usage in CPU spy. All states between 384 mhz and 1512mhz are almost unused or used for very short period (a few seconds).
Tried to reflash rom but that didn't change anything...
Do you have any idea what would be a problem? I really want to give chance to CM10
Sent from my HTC One S
Anyone?
I tried to reflash after full wipe and issue still remain...
Sent from quietly brilliant HTC One S

[Q] Power Efficiency

Hi guys.
I would like to ask which rom/kernel/cpu, gov, i/o scheduler makes your htc sensation last for couple of days?
I am using:
rom: ViperS 1.6.3
kernel: Bricked 3.0v1.4
cpu gov: badass
IO scheduler: noop
cpu: 1.5ghz
with minimal settings like lowest brightness, 10s timeout etc.
my juice doesn't last for a day by just using it for sending message some calls, short period of surfing the net.
Any suggestions please?
Hummm... stock!!
Okay besides stock, I got the most battery life with HyperSensation with the HTC Stock kernel (3 days on stock battery), no gaming tho, but 3g always on and texting / WhatsApp & gTalk
Thanks!
MidnightDevil said:
Hummm... stock!!
Okay besides stock, I got the most battery life with HyperSensation with the HTC Stock kernel (3 days on stock battery), no gaming tho, but 3g always on and texting / WhatsApp & gTalk
Click to expand...
Click to collapse
Stock rom is not that good for me. 3 days battery life is good enough than having my juice less than a day.
kaudo9 said:
Stock rom is not that good for me. 3 days battery life is good enough than having my juice less than a day.
Click to expand...
Click to collapse
Well, stock kernel is a different story works on all sense based roms (HyperMIUI I think, HyperSense, and of course, Sense 3.6).
The clock on the stock kernel is 192 to 1.5ghz, have a look here. This is the rom where I experienced 3 days
hmmm
you are using that rom and stock kernel?
Not atm, but it was the rom that I kept for longer due efficiency. It's sort of ICS AOSP Very clean, fast and reliable.
But yes, that rom (far as I remember) the default kernel is the HTC stock kernel
rom: rooted stock
kernel: overclocked kernel 1.5.2 by sebastianFM
cpu gov: interactive
IO scheduler: cfq
cpu: 1.8ghz
with minimum usage
wifi only for 5 min per day open
no games
no msg
4-5 calls per day
stock battery
it lasts for 3 days hehe
thanks!
thanks for your responses. really appreciated. :good:

Categories

Resources