PDA

View Full Version : [Kernel][RCMIX][3.0.30 ICS][SENSE]



klquicksall
03-19-2012, 07:55 AM
RC TEAM PRESENTS


HTC SENSATION ICS KERNEL

Come see ACS for Most recent updates (http://forums.acsyndicate.net/showthread.php?5105-Kernel-RCMIX-3-0-25-ICS-SENSE)

Feel free to use my kernel source without permission. Its open source so use it as you see fit. Enjoy.


http://i.minus.com/jhsZ7D2wqKSk4.png (http://minus.com/mqDzt48zU/7f)http://i.minus.com/jbeiExeCZHnyri.png (http://minus.com/mqDzt48zU/2f)http://i.minus.com/jcp4r66hWlevp.png (http://minus.com/mqDzt48zU/16f)http://i.minus.com/jQEbvK4q2Pn5Z.png





FEATURES
CIFS
NLS
TUN
TMOBILE WIFI CALLING (Module supported)
OC 1.75ghz if you want to go there. Use setcpu
set to 1.5ghz by default
UV
Better wifi signal now you can connect at a weaker signal -108dbm over stock -88dbm
lower wifi voltage
you can use your flashlight with the battery at 10% over stock 30%
SWAP
ZRAM
Adjustable VDD table
Call Recording with app below
sweep to unlock





CPU FREQ TABLE




192000
384000
432000
486000
540000
594000
648000
702000
756000
810000
864000
918000
972000
1026000
1080000
1134000
1188000
1242000
1296000
1350000
1404000
1458000
1512000
1566000
1620000
1674000
1728000




Downloads below

RCMIX SENSATION 5.6 (http://d-h.st/KWb)

RCMIX SENSATION 5.5 (http://d-h.st/8JA)

CALL RECORD APP (http://d-h.st/6G0)



This Kernel features 4 I/O schedulers

[CFQ][NOOP][VR][DEADLINE]
To change them download No Frills cpu tuner and change at will.


To Manually adjust the VDD Table use system tuner from the market







Change log
5.6
updated s2w should fix lockscreen fixes
added many bluetooth drivers and added the option to hopefully act more like aosp

5.5
updated to linux kernel version 3.0.30
updated sensation kernel updates

5.4
remaned rcmix smartdroid
updated linux kernel 3.0.28
updated sweep to wake (thanks showp1984)
lots of other tweaks. see git for full changelong

V5.3
added sweep to unlock
fixed hepatic feedback for sense 4
tweaked ondemand gov

V5.2
added support for 2d devices
added compiler fixes
updated config
more

V5.1
lowered flashlight usage to 5% battery power remaining
patched linux upstream to 3.0.26
added bfq IO scheduler
boosted banwith of the 2d and 3d gpu cores
changes to the OC
see git for all changes.

V5.0.1
set boot to 1512 forgot that one lol

v5
added adjustable VDD Table
added VR IO sched
UV more
multitouch tweaks
OC adjustments
see git for more

V4.3
OC to 1.72
set freq by default
set min freq to 192000
set max freq to 1.566
enabled more in configs

V4.2
tweaked OC
added muli touch tweak
updated configs
built cifs and nls into kernel
probably more

V4.1
built kernel with newest gcc compiler 4.5.2
updated htc battery core driver
OC GPU 2D core
OC GPU 3D core
updated htc sense 4 video driver
enabled zram and swap

V3
added linux kernel upstream .25
added lagfree gov


v2
added lots of wifi tweaks
added flashlight mods
added some other small tweak see git for full list.

v1
initial release







[B]Thanks for The Beer ;)
walkinchilidog
Dario Rustico













credits
see my kernel source for credits. A bit thanks to showp-1984 always there to help out.






My kernel source (https://github.com/klquicksall/HTC-MSM-8X60-ICS)

klquicksall
03-21-2012, 08:19 AM
Definitions and Terms you need to know

Linux Android Kernel
Android's kernel is based on the Linux kernel and has further architecture changes by Google outside the typical Linux kernel development cycle.[57] Android does not have a native X Window System nor does it support the full set of standard GNU libraries, and this makes it difficult to port existing Linux applications or libraries to Android.[58]

Certain features that Google contributed back to the Linux kernel, notably a power management feature called wakelocks, were rejected by mainline kernel developers, partly because kernel maintainers felt that Google did not show any intent to maintain their own code.[59][60][61] Even though Google announced in April 2010 that they would hire two employees to work with the Linux kernel community,[62] Greg Kroah-Hartman, the current Linux kernel maintainer for the -stable branch, said in December 2010 that he was concerned that Google was no longer trying to get their code changes included in mainstream Linux.[60] Some Google Android developers hinted that "the Android team was getting fed up with the process", because they were a small team and had more urgent work to do on Android.[63]

However, in September 2010, Linux kernel developer Rafael J. Wysocki added a patch that improved the mainline Linux wakeup events framework. He said that Android device drivers that use wakelocks can now be easily merged into mainline Linux, but that Android's opportunistic suspend features should not be included in the mainline kernel.[64][65] In 2011 Linus Torvalds said that "eventually Android and Linux would come back to a common kernel, but it will probably not be for four to five years".[66]

In December 2011, Greg Kroah-Hartman announced the start of the Android Mainlining Project, which aims to put some Android drivers, patches and features back into the Linux kernel, starting in Linux 3.3.[67] further integration being expected for Linux Kernel 3.4.[68]


http://i.minus.com/jt2xfodDyQXuw.jpg (http://minus.com/mqDzt48zU/10f)

CIFS
(Common Internet File System) The file sharing protocol used in Windows. It evolved out of the SMB (Server Message Block) protocol in DOS, which is why the terms CIFS/SMB and SMB/CIFS are commonly used. The word "Internet" in CIFS does not refer to the global Internet but to generic internetworking. The term was coined in the 1996 time frame when Microsoft submitted CIFS to the IETF and before the global Internet had become mainstream. See file sharing protocol, SMB and Samba.

NLS UTF-8
UTF-8 allows you to work in a standards-compliant and internationally accepted multilingual environment, with a comparatively low data redundancy. UTF-8 is the preferred way for transmitting non-ASCII characters over the Internet, through Email, IRC or almost any other medium. Despite this, many people regard UTF-8 in online communication as abusive. It is always best to be aware of the attitude towards UTF-8 in a specific channel, mailing list or Usenet group before using non-ASCII UTF-8.

TUN
This allows you to access an openVPN network using your android device.

Kineto gan
this driver allows you to let your android device make phone calls over VOIP network. (Tmobile currently uses this feature)



Kernel Governors

Ondemand
This governor has a hair trigger for boosting clockspeed to the maximum speed set by the user. If the CPU load placed by the user abates, the OnDemand governor will slowly step back down through the kernel's frequency steppings until it settles at the lowest possible frequency, or the user executes another task to demand a ramp.

OnDemand has excellent interface fluidity because of its high-frequency bias, but it can also have a relatively negative effect on battery life versus other governors. OnDemand is commonly chosen by smartphone manufacturers because it is well-tested, reliable, and virtually guarantees the smoothest possible performance for the phone. This is so because users are vastly more likely to bitch about performance than they are the few hours of extra battery life another governor could have granted them.

This final fact is important to know before you read about the Interactive governor: OnDemand scales its clockspeed in a work queue context. In other words, once the task that triggered the clockspeed ramp is finished, OnDemand will attempt to move the clockspeed back to minimum. If the user executes another task that triggers OnDemand's ramp, the clockspeed will bounce from minimum to maximum. This can happen especially frequently if the user is multi-tasking. This, too, has negative implications for battery life.

Performance Governor
This locks the phone's CPU at maximum frequency. While this may sound like an ugly idea, there is growing evidence to suggest that running a phone at its maximum frequency at all times will allow a faster race-to-idle. Race-to-idle is the process by which a phone completes a given task, such as syncing email, and returns the CPU to the extremely efficient low-power state. This still requires extensive testing, and a kernel that properly implements a given CPU's C-states (low power states).

Powersave Governor
The opposite of the Performance governor, the Powersave governor locks the CPU frequency at the lowest frequency set by the user.

Conservative Governor
This biases the phone to prefer the lowest possible clockspeed as often as possible. In other words, a larger and more persistent load must be placed on the CPU before the conservative governor will be prompted to raise the CPU clockspeed. Depending on how the developer has implemented this governor, and the minimum clockspeed chosen by the user, the conservative governor can introduce choppy performance. On the other hand, it can be good for battery life.

Userspace Governor
This governor, exceptionally rare for the world of mobile devices, allows any program executed by the user to set the CPU's operating frequency. This governor is more common amongst servers or desktop PCs where an application (like a power profile app) needs privileges to set the CPU clockspeed.

Interactive Governor
Much like the OnDemand governor, the Interactive governor dynamically scales CPU clockspeed in response to the workload placed on the CPU by the user. This is where the similarities end. Interactive is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency.

Unlike OnDemand, which you'll recall scales clockspeed in the context of a work queue, Interactive scales the clockspeed over the course of a timer set arbitrarily by the kernel developer. In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. This can eliminate the frequency bouncing discussed in the OnDemand section. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. This is another pro-battery life benefit of Interactive.

However, because Interactive is permitted to spend more time at maximum frequency than OnDemand (for device performance reasons), the battery-saving benefits discussed above are effectively negated. Long story short, Interactive offers better performance than OnDemand (some say the best performance of any governor) and negligibly different battery life.

Interactive also makes the assumption that a user turning the screen on will shortly be followed by the user interacting with some application on their device. Because of this, screen on triggers a ramp to maximum clockspeed, followed by the timer behavior described above.

Lagfree
Lagfree is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.

klquicksall
03-22-2012, 11:57 PM
Old Rcmix Kernels for Download




RCMIX SENSATION ICS V1 (http://dev-host.org/U3B)

RCMIX SENSATION ICS V2 (http://d-h.st/7gP)

RCMIX SENSATION ICS V3 (http://d-h.st/VEp)

RCMIX SENSATION ICS V4.1 (http://d-h.st/IzI)

RCMIX SENSATION ICS V4.2 (http://d-h.st/XaN)

RCMIX SENSATION ICS 5.0.1 (http://d-h.st/QzH)

RCMIX SENSATION ICS 5.0.1 STOCK GPU (http://d-h.st/6v9)

RCMIX SENSATION ICS 5.2 (http://d-h.st/Lv1)

RCMIX SENSATION ICS 5.1 (http://d-h.st/5rG)

RCMIX SMARTDROID 5.4 (http://d-h.st/2zL)

RCMIX SMARTDROID 5.4 STOCK GPU (http://d-h.st/wIP)

lulonen
03-30-2012, 11:36 AM
is it possible to fix link to newest kernel?

chenge from hthttp:// to http:// isn't enough

BlueCat
04-02-2012, 03:02 AM
is it possible to fix link to newest kernel?

chenge from hthttp:// to http:// isn't enough

I think this one (http://d-h.st/QzH) should do the trick ;)

lulonen
04-02-2012, 05:07 AM
I think this one (http://d-h.st/QzH) should do the trick ;)

Thx for the link


flashed, testetd seems to be fast with very similar benchmarks to bricked kernel:

Antutu benchmarked with Ordroid 1.82 and Rcmix 5.01 kernel:
http://i.minus.com/idT9ZASm3Lcvn.png

Too early to say anything about battery and long term stability.

klquicksall
04-02-2012, 11:03 AM
New kernel up with some good changes.

klquicksall
04-02-2012, 03:19 PM
Thx for the link


flashed, testetd seems to be fast with very similar benchmarks to bricked kernel:

Antutu benchmarked with Ordroid 1.82 and Rcmix 5.01 kernel:
http://i.minus.com/idT9ZASm3Lcvn.png

Too early to say anything about battery and long term stability.

I never know about battery life. I flash and change stuff to much. lol. Can you send me a link to your rom?

klquicksall
04-02-2012, 03:20 PM
is it possible to fix link to newest kernel?

chenge from hthttp:// to http:// isn't enough

ok all the links should be working now.

lulonen
04-03-2012, 04:11 AM
Unfortunately Ordroid rom isn't my ;-( but it's there:
http://forum.xda-developers.com/showthread.php?t=1551714

I got little better result with 5.1 than on 5.01 -> now 6546 points in antutu with ordroid 1.8.3.
GFX resuls are exactly the same. Did you OC@GPU?

http://i.minus.com/jB1vyUoKzh475.jpg

I am also changing roms and karnels quickly but this kernel seems to be good for my battery so I am going to use it for a longer time.
Should I test it in any spesific situations?


btw. It would be nice to see at least RCMIX sense 4.0 rom with your super kernel...

klquicksall
04-06-2012, 11:23 AM
Unfortunately Ordroid rom isn't my ;-( but it's there:
http://forum.xda-developers.com/showthread.php?t=1551714

I got little better result with 5.1 than on 5.01 -> now 6546 points in antutu with ordroid 1.8.3.
GFX resuls are exactly the same. Did you OC@GPU?

http://i.minus.com/jB1vyUoKzh475.jpg

I am also changing roms and karnels quickly but this kernel seems to be good for my battery so I am going to use it for a longer time.
Should I test it in any spesific situations?


btw. It would be nice to see at least RCMIX sense 4.0 rom with your super kernel...


Yes the gpu is OC. Yes were working on a rom to go with the kernel. Something should be out soon. The only situations you can test is like wifi calling. I'm with att so I can't test.

klquicksall
04-07-2012, 06:45 PM
Check this out. This is from my 5.2 I'm fixing to post. This might be a fluke but fun

http://i.minus.com/jenyImoicC0AC.png (http://min.us/mqDzt48zU#19o)

flyers2114
04-08-2012, 12:47 AM
Wow...great work as always KQ

Sent from my SPH-D710 using Tapatalk 2 Beta-5

klquicksall
04-08-2012, 12:54 PM
The sensation is a pretty solid phone. I'm waiting for the one x on att to start making kernels for it as well

lulonen
04-09-2012, 03:59 PM
Check this out. This is from my 5.2 I'm fixing to post. This might be a fluke but fun

http://i.minus.com/jenyImoicC0AC.png (http://min.us/mqDzt48zU#19o)

I don't belive quadrant ;-(

Klquicksall masta, your kernell is pretty fast and rom works superfluent with this. Unfortunately i got one terrible bug while using 5.1 one -> random restarts during gsm conversation. It happened times after about 30 seconds - 1 minute of conversation.

If you tell me how to record any logs then i am ready to check it again and send details when it occurs.

..and I can't test wifi calling except tango ot heyah one what is I think doesnt make a sense.

klquicksall
04-09-2012, 09:56 PM
Check this out. This is from my 5.2 I'm fixing to post. This might be a fluke but fun

http://i.minus.com/jenyImoicC0AC.png (http://min.us/mqDzt48zU#19o)

I don't belive quadrant ;-(

Klquicksall masta, your kernell is pretty fast and rom works superfluent with this. Unfortunately i got one terrible bug while using 5.1 one -> random restarts during gsm conversation. It happened times after about 30 seconds - 1 minute of conversation.

If you tell me how to record any logs then i am ready to check it again and send details when it occurs.

..and I can't test wifi calling except tango ot heyah one what is I think doesnt make a sense.

Try 5.2 are you on sense 3.6 or 4.0

lulonen
04-10-2012, 04:41 AM
Sense 4.0 on probably most popular recent rom - Ordroid.

just going to flash your 5.2 kernel

edit: flashed and again ~6300p. in antutu. Going to try if restars during phone conversations on my phone are still possible.

lulonen
04-11-2012, 07:48 AM
Ok, no restarts with 5.2 one.

Onfortunately on newest Ordroid 2.04 I have not so good results as on earlier versions - about 6100 points.

What I dont understand - i changed oc in name to 1620000 and... have 3 times in antutu 1.56ghz and onse 1.728ghz. Why? The worst is that on standard settings my results are better. Did I something wrong?

klquicksall
04-11-2012, 11:08 PM
Ok, no restarts with 5.2 one.

Onfortunately on newest Ordroid 2.04 I have not so good results as on earlier versions - about 6100 points.

What I dont understand - i changed oc in name to 1620000 and... have 3 times in antutu 1.56ghz and onse 1.728ghz. Why? The worst is that on standard settings my results are better. Did I something wrong?

try 5.3. I removed the zip settings. OC with setcpu or system tuner. One reason you might get a lower quadrant score is the different between sense 3.6 and sense 4. My results very big with the two versions. I dont really trust them. I can run the quadrant test and get 500 or more point different with the same set up.

klquicksall
04-11-2012, 11:09 PM
New kernel up.

lulonen
04-12-2012, 07:31 AM
try 5.3. I removed the zip settings. OC with setcpu or system tuner. One reason you might get a lower quadrant score is the different between sense 3.6 and sense 4. My results very big with the two versions. I dont really trust them. I can run the quadrant test and get 500 or more point different with the same set up.


Flashed 5.3 and must say WOW!

At least I see improvement: 6500 on standard settings in Antutu comparing to 6100 with OC1.67@5.2

Everything running on Ordroid 2.04


Thx for great superfast kernel.

klquicksall
04-12-2012, 01:14 PM
try 5.3. I removed the zip settings. OC with setcpu or system tuner. One reason you might get a lower quadrant score is the different between sense 3.6 and sense 4. My results very big with the two versions. I dont really trust them. I can run the quadrant test and get 500 or more point different with the same set up.


Flashed 5.3 and must say WOW!

At least I see improvement: 6500 on standard settings in Antutu comparing to 6100 with OC1.67@5.2

Everything running on Ordroid 2.04


Thx for great superfast kernel.

Thanks for the support

lulonen
04-13-2012, 05:18 AM
One more question:

Everytime i instal your kernel without wiping battery stats on rom with bricked one i have +5% on battery stats.
Today i left phone for a night unpluged and in the morning i had 100% battery ;-))))))

Is this because of not wiping stats or there is another difference? Don't get me wrong - everything is ok and i dont need to change it. Just want to understand more on this topic.

klquicksall
04-13-2012, 10:24 PM
One more question:

Everytime i instal your kernel without wiping battery stats on rom with bricked one i have +5% on battery stats.
Today i left phone for a night unpluged and in the morning i had 100% battery ;-))))))

Is this because of not wiping stats or there is another difference? Don't get me wrong - everything is ok and i dont need to change it. Just want to understand more on this topic.

The best thing to do for correct battery % is to let the battery drain down to 0 then recharge. Flashing anything can mess up stats

lulonen
04-16-2012, 04:46 AM
As I know You can't drain down battery to 0. Am I wrong?

klquicksall
04-16-2012, 08:01 AM
As I know You can't drain down battery to 0. Am I wrong?

Well until your phone turns off.

lulonen
04-18-2012, 05:00 AM
Unfortunately in ordroid 2.11 phone reset while first conversation. After that it was ok. Once touchscreen stopped to response on lockscreen but as i know it isnt kernel problem (I read about same case with other kernels).

In my opinion this kernel is fast and works great.
Any rumorus concerning Rcmix roms reactivation?

klquicksall
04-18-2012, 04:20 PM
Unfortunately in ordroid 2.11 phone reset while first conversation. After that it was ok. Once touchscreen stopped to response on lockscreen but as i know it isnt kernel problem (I read about same case with other kernels).

In my opinion this kernel is fast and works great.
Any rumorus concerning Rcmix roms reactivation?

A kernel update and rom coming soon.

klquicksall
04-19-2012, 01:43 PM
Ok here is probably going to be my next release

I patched to .28 lunux upstream
added all the htc one v bluetooth drivers. Almost got bluetooth working for sense 4 rom
some other small fixes

http://d-h.st/Lsz

klquicksall
04-24-2012, 06:27 PM
kernel updated

klquicksall
04-30-2012, 09:46 PM
Been a little slow in the thread. Ive been traveling with work for the past week. Should have an update in the coming days.

lulonen
05-08-2012, 06:19 AM
It look like you forget about Sensation ;-(

klquicksall
05-29-2012, 08:54 PM
Ok folks sorry for the long delay. I finally got back home. well I updated the kernel in the op.

change log

updated with the latest htc pyramid kernel source.
updated the latest linux upstream 3.0.30
updated with more fixes you can see in git.
other

klquicksall
05-30-2012, 10:38 AM
Not forgotten

klquicksall
06-05-2012, 10:30 PM
Ok 5.6 is uploaded. This should fix any lock screen freezes due to the sweep to wake. I also enabled many blue tooth options that should act more like aosp.

lulonen
06-06-2012, 04:16 AM
So cool to see You Back! ;-)


I got 7200 in antutu with your 5.5 kernel (rcmix rom). That's my personal best ;-)

From the other now I need more battery saving rom, that's why I would like to ask You if I can use your kernel with TaKeCONTROL MOD or with some GPU undervoltage?

klquicksall
06-06-2012, 06:01 AM
So cool to see You Back! ;-)


I got 7200 in antutu with your 5.5 kernel (rcmix rom). That's my personal best ;-)

From the other now I need more battery saving rom, that's why I would like to ask You if I can use your kernel with TaKeCONTROL MOD or with some GPU undervoltage?

well I guess its a good thing pacha is on the team then. He just started working on the kernel with me. Im sure it will be there soon.

lulonen
06-06-2012, 06:47 AM
Sounds great.

Unfortunately Ordroid 8.6.5 doesn't boot with your 5.6 kernel ;-(

Is your 5.6 for non sense roms only or Ordroid is "different"?

klquicksall
06-06-2012, 02:01 PM
Sounds great.

Unfortunately Ordroid 8.6.5 doesn't boot with your 5.6 kernel ;-(

Is your 5.6 for non sense roms only or Ordroid is "different"?

No my fault. I messed up compiling it. Need to rework.

klquicksall
06-07-2012, 02:57 PM
The kernel is being worked on. We're trying to get bluetooth to work as it does in aosp so xxxPachaxxx is working on it and thinks he has it. Ill release when when got it ready. Use 5.4 if you are having lockscreen freezes. I have already fixed that issue but wanting to release with bluetooth.

lulonen
06-08-2012, 05:30 AM
5.5 gave me better results due to Antutu benchmark.

In RCmix rom a had had random results with 5.4 (from 1000 till 6000) and 7100-7300 with 5.5 one.


btw. Your kernel is the only one which works perfectly with newest callrecorder. Cool.

mikrosmile
06-08-2012, 06:05 AM
Sorry, but how to disable sweep2wake on 5.5 version?
I like your kernel and dont want to change to another.
thanks

klquicksall
06-08-2012, 03:26 PM
Sorry, but how to disable sweep2wake on 5.5 version?
I like your kernel and dont want to change to another.
thanks


What Ill do is make a version with out it enabled. That way people who dont like it wont have to bother with it. Should be up soon.

MOVZX
06-08-2012, 03:57 PM
Download link is broken: http://d-h.st/KWb

Reupload please, really like RCMix Kernel!

klquicksall
06-08-2012, 07:10 PM
Download link is broken: http://d-h.st/KWb

Reupload please, really like RCMix Kernel!

I took 5.6 down it was messed up 5.5 is good

[URL=http://d-h.st/8JA[/URL] 4.05 MB

klquicksall
06-18-2012, 07:27 PM
looks like we almost have the next update ready. stay tuned.