yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] raheelanjum:
+1. I second this opinion. It is time for great developers like you to move to 3.4.xx Kernel and remove bugs out of it so that we can get true stable JB ROMs.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] templeka:
Would also love for you to give 3.4 kernel a try if you like. But do consider finishing RAW scheduler on 2.6 before that (if it's even possible).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
yes, the best performance in my phone use smartassv2 and SIO :D

but when i use badass and SIO, i have a problem with deepsleep :rolleyes:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Can you provide a little insight on that matter? Please use BetterBatteryStats and let me know what kernel proccess keeps your phone awake.

As for 3.4 kernel, it will never* work with stock roms. And currently don't have time to work on it.

*never: I mean it needs almost all libs to change. This in addition will break apps. It's a false cycle and it's not worth it.

Also I don't use CM (the reason is camera), so I can't test it properly.

But don't worry, the best devs in 2011 scene are working on it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
I will try to give a little information about what happened

but once I get a problem like that, I use smartassv2 and sio :)

and until now for the issue deepsleep when screen is off does not happen again :)

smartassv2 and sio is the right choice for my phone :)

for ROW, I agree with you

its fast, but there seems to be a problem I was having about the read and write are less stable

yes I also do not use cm because of the camera and there are some incomplete
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] christopherjohn:
My Ray will be 1 year old next month and have been living with the use of CWM is it possible for you to release kernels with separate recovery mode? i know it will be a pain in the ass for you. If only I know how to modify stuffs :p . Don't be pressured as it's just a suggestion/request :laugh: . Overall kernel is the best for our device. :good:

P.S.

This is the reason why i love my ray even more is because of you great devs CTCaer,MrTapa,arcatarc and Rizal.Lovins. Sometimes I've been thinking to shift my course from Electronics Engineering to Computer Science to learn how you're doing these awesome stuffs. Please keep our device updated. Thank you very much for the hard work. God bless you all. :D After i graduate and find a decent job i'll never forget to show my overwhelming gratitude for you guys ;) .
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
The reason that I have both recoveries, is because of compatibility reasons. Our old backups, certain flash zips, still need CWM.

The only thing you have to do, is to change your default behavior and instead of pressing volume keys, you press the Power key.

You only press power key for CWM. If you press both power and volume, you will go into twrp.

And please read both OP and changelog. Many things are explained there, like this. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] PPStar:
Can u develop this kernel for neo v as well? Thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Cuurently no plans.

But I'll release next version at july, which will have ultra KSM.

After that, I'll consider release that version to hdpi 2011 xperias that are close to Ray, like arc, neo v and others.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Abyssmal:
CTC hi, can you please reveal the UV values you used in 2.8+UV kernel. They are perfect and we could use them in general thank you!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
As always check the sources in github, branch v2.8.

I never conceal anything and I can't. As per GPL. :D

ps: The file you need is acpuclock-7x30.c inside kernel/arch/arm/mach-msm/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
CTCaer can you make wi-fi patch for this rom to get working wifi with your rom ? Becouse all work amazing only wifi get some things bad ...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FEXTEZI:
CTC kernel ALWAYS good fow me! NO WIFI crash or something else. Using CTC kernel since 0.8 version

Everything works perfect! Best kernel for XPERIA RAY
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
For me this is best kernel to but thet rom are not pure stock :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FEXTEZI:
what ROM do you have?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
http://xdaforums.com/showthread.php?t=2201942
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FEXTEZI:
Hmmmm strange very strange! Maybe ROM is too old for this kernel! BUT no i dont think so.

Using CTC kernel with this ROMS: AND ALL WORKS PERFECT WITH BT AND WIFI

1) Viper-v4.0, 4.5,5.0 PERFECT with BT and WIFI

2) Iced Beam 3.0, 3.5 versions WIFI BT PERFECT too

3) TROM from 7.0.0. to last 7.1.8 version PERFECT too

4) Zelly Cream from THE START of first VERSION and to the last 3.0.1

5) Ultimate HD v2 and beta 3.1 PERFECT

6) Jelly Dream from the start version and to the last one

7) Optimax 3.0 works perfect too
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
LUPUS kernel work good i think becouse its have integrated wi-fi in to kernel.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] superwoosh:
There are stock wifi modules in the first post, why don't you try flashing that?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
I have flashed them but still same.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rafael42:
[MENTION=4249707]Ainster[/MENTION]: If you at some point have used Lupus, then maybe this is the solution. \m/

\m/ SuperleggeraV5, CTCaer v2.8 \m/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
Wow thanks I detelet and changed now works fine :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] metalrawk:
no root?

edit- okay. flashed binaries.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] christopherjohn:
July, I can't wait for you :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xinfinityoO:
anyupdates coming for this kernel ??
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masteriori:
[MENTION=4559618]CTCaer[/MENTION]

Would you please add Interactive Governor in the next update? I want my device to be that bit more responsible. :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Hello all,

As you saw there were lack of updates. Now my exams are over and I'll try to work on things for CTCaer Kernel.

The update of UKSM 0.1.0.x to 0.1.x.x will be somewhat time consuming, so you gonna need some patience, because right now I'm low on free time.

As you already know many of you, uksm for 2011 xperias left the beta testing and it works great.

The performance is excellent also, as it releases ram that was used by apps in values between 20-50mb.

Best "score" by uksm on my phone showed 59mb freed from Anonymous Pages.

So yeah, the 2.9 version will worth the upgrade, because it's gonna have even better U-KSM.

As I said numerous time, unfortunately no.

The reason is that Smartass2 is the best governor for one core phones.

Still if you want to let it go crazy, search a post in this thread that explains how to tune it for faster frequency ramp up.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xinfinityoO:
what about smartassh3 is that good??

thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
Although I changed my phone to xperia sp but still go back here to see old friends.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Maximus1a:
is it possible to have your actual kernel with 1.4Ghz default boot speed?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whood:
Main Version:

CTCaer Kernel v2.8 1.4GHz + UV

1.4Ghz default. First version in OP.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Bumping this thread. It's been a while since I visit this thread and im gonna try this Kernel once again. Goodbye GB for now..:cowboy:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Maximus1a:
where did you see this?

i thought this kernel version has only 800mhz or 1ghz as default.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whood:
View attachment 2127872
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Maximus1a:
i only see a default speed of 1Ghz for the VDD kernel but no default speed declaration for the UV kernel.

but anyway.... i just wanted to start the phone a bit faster. (question to me.... how often do you start your phone a week?)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Bumping this thread and waiting for the good samaritan to bring up some new goodies to his people.:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] adulfo:
Thanks for this good kernel dev.... But recently I encountered a very weird problem. While playing CCS with my phone connected to my pc using USB, my battery percentage stays 100% for almost 12 hours now.... I already wipe cache, dalvik and battery stats... So I flash Sirkays .587c kernel and my battery percentage says 52% which is right, I think... So, I flash back 2.8v and it says 100% again...

Any ideas...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] faraaz3:
same here bro..donno y its happening..i flashed lupus then it showed correct %...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
I use the kernel and never have problems with battery%. Mind that the device is charged while connected to PC - so it would be plain normal that it reached 100% after some time.

Measure voltage at battery with a volt-meter. If it is ~ 4.15 to 4.2 Volts then it is at 100% physically. 50% should be much lower - maybe roughly at 3.8 Volts.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Maximus1a:
the voltage printed on the battery is the voltage when the battery is empty so @50% you should have more voltage.

resetting batterystats does not correct the percentage. batterystats are nearly correct measured after some cycles of full and empty.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masteriori:
I have this issue of 100% at all times as well now. Wonder what's causing it. For me, playig with different governors and schedulers caused this issue.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
Which ROM are you using on top of this kernel?

---------- Post added at 10:37 AM ---------- Previous post was at 10:22 AM ----------

Have a look at these resources to understand more about batteries:

http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries

http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries

Battery treatment can be seen at kernel level by looking at:

/sys/classes/power_supply/bq27520/ in files "current_now" and "voltage_now", the derived capacity is in "capacity".
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masteriori:
I am on JellyDream 4.5. As far as I remember, I didn't have this problem when I was using ZellyCream 3.1 on the same kernel.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] firdyRAY:
Battery bug found

I have this problem after messing around with the CPU. The battery stays at 100% and suddenly it will automatically shut down because battery is low. Any fix for that?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] adulfo:
Use another kernel. LUPUS or Sirkay's...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] unnimohan2005:
Thank you so much... :) Working fine on my xperia ray with UHD 3.0.2 with great battery life.. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
CTCaer man. Any update in your kernel regarding the uksm thingy? People in the android hacking section always mention your name regarding some of your configs in uksm. Your one real genius man. Hats off to you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
Same question for me - do you find time enough to update on this and supply (even a beta) with UKSM included? Ray is really tight on memory and all the good stuff (especially Greenify) cannot give it more RAM.

Any hints?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mr.nou:
Hopefully will be available on arc s

;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sheppii:
Buy a new phone with 1GB of RAM or more...you can't gain more and more free RAM forever only with some tweaks. If you really want as much free RAM as possible, use some of GBs ROM.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Rubik.Orange:
after flashing stock rom using flashtool and flash ctcaer's kernel again, annoying 100% battery bug is fix.. yeeeeeeeee
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] superwoosh:
How did you get it? I faced it recently too. Flashing back to stock and then the kernel again didn't help. Had to flash lupus first, wipe cache and dalvik cache, then back to this kernel and it disappeared. I think mine came after installing xposed framework.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Rubik.Orange:
i had that problem when i switch from SJB 5.5 with Fusion 5.4 .i flashed AnZuMi White.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sourabhp:
CTCaer for JB

Is there any CTCaer kernel version available for JB roms like SJB? If not, can we request to build? :confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
no, kernel ctcaer is base for kernel ics not for kernel jb...

maybe you can request for jb kernel :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
Weird problem happens with some custom ROMS like hd ultimate , zelly cream etc.

Battery percentage stays at 100% all the time.

I guess it is kernel related cause never happens with kernels like lupus.

Has anyone a solution ?

Thanks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
I also had this issue and at the same time I was having issues eith the sd card. I copied everything from the sd card onto my hardrive and reformatted the sdcard, restored the content and the battery meter started behaving again.

I tried a lot of other stuff first, but this is what worked. The twrp folder was the only one that didn't want to restore, but that might be because twrp automatically creates that folder during the reformatting.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
Thank you but it didn't work.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] vleutmans:
Never had this problem with "any" kernel. Are you using the original battery in your ray? Sorry but i totally don't recognize this problem :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] firdyRAY:
I used to have this problem. What i did was i flashed stock kernel and then flash CT Caer again. Everything will be fine after that. It's a known issue.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
I also experienced this after a while: I had a black screen of death and removed the battery during the run of the phone. When it rebooted, there was the bug.

Tried to flash stock kernel using flashtool (not fastboot mode) but no chance. Only hope: flash Lupus then go back to Ctcaer and cross you fingers. (I stay on Lupus for now...)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
The problem appears when flashing stock ftf (587 or 413) and then flash CTCaer's kernel. Battery shows always 100%.

But if you flash another kernel (like Lupus) and then CTCaer's then the problem is solved.

This bug is CTCaer's kernel problem only (other than this this kernel is the best ics).

Maybe has to do with the latest baseband 86 , I don't know.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
Did you wipe the battery stats?

Reboot, then go to CWM Recovery (Power button when vibrate at boot), then to advanced and then "Wipe Battery Stats".
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
I did , also tried with battery calibration apk but didn't help either.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
Ok, then the flash-other-then-ctcaer may work. Take care about WIFI modules when getting back to CTCaer.

I am no expert in what can be inside such .img files so I cannot tell what happens in that case. But it seems that e.g. Lupus Kernel overwrites some /system binaries which are later kept with CTCaer Kernel. My History of updates also includes several versions of Lupus Kernel until I finally got to CTCaer because of the smooth UI. Sadly the UKSM is not in CTCaer yet - despite the effort to introduce it comes from there.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
Yeah that's why I do not feel like going back to Ctcaer. Flashing the wifi zip didn't do the trick when I tried, and I was out of time to try the other routine...

Hope it will be fixed in the future (if there is one ?) cause battery life was impressive on ctcaer...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Hello all.

Long time no see.

As you understood i had no time to work on anything :/

My job took over me and now here I am again in uni exams period...

I will not say for sure, but maybe after them I will try and take a look at where I left the project.

As I said before there was a version that I was testing way back and asked if anyone wanted to test it.

I got only 2-3 PMs and these guys got the special version with UKSM.

As for now the only thing, it can be done for you is to upload that version with the working UKSM.

I'll need to enter the default (mobile) tweaks in ramdisk though, as i cant compile in my laptop.

As for the problem with battery, I never experienced it.

The only thing I knew was the 0% bug. And I used many ICS kernels before mine (lupus, vds, xkernel). Plus, i use the latest baseband.

A little info about the calculated percentage:

When the phone is fully discharged and then fully charged, the battery charger module keeps some info in it's programmable memory.

This is a calculated capacity (charge_full) reached (i.e. 1489mAh) and also has voltage max and min by design.

Then it takes these and calculates the %. If something goes wrong with charging, lets say that it shows low capacity and the voltage is for higher capacity for a long time, it will show 100% for more time. This also means that after a certain period the % will go down.

Also have in mind that android os keeps it's own tracking file, but it's always goes according to the battery management module.

Also if it really was a problem with the kernel (binary, not ramdisk), it shouldn't be fixed with flashing another one and the go back to ctcaer kernel again.

Also have in mind that there are some binaries in rom that are used for the battery module.

And i don't have permission fixer in my kernel to reduce overhead.

So the only ways to maybe fix that, that I propose are:

1. Run a permissions fixer script

or

2. Discharge your battery completely (until the phone cant open).

Fully charge it without going to android os (with phone off, just connect it to charger. Use it's stock charger for this)

This will completely Recalibrate the module and the android battery calibration file.

Also whoever has this problem, try and see after a while the reported /sys/class/power_supply/bq27520/capacity value.

This should be the same with what android shows. If not the android battery management needs recalibration.

As an ending note, if you want the uksm special edition, tell me and the faster that can be done is to give you the link and also a special init.d script that enables/tweaks uksm.

That version is the 1.4ghz and also has almost no extra schedulers (other than default ones) and also has 25mV lower voltages (so it will not work for all).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Runner_cz:
Is this version going to be the v.2.8 just plus UKSM?

Or it will lack any features from 2.8?

If this is the 2.8 with just UKSM added - I'd be one who wnats to try it.

Currently I'm on lupus ICS kernel v8 with UKSM - and so far fully satisfied.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Well I call it 2.8.2.

It's basically a special version of 2.8, made back in june that has only

ondemandx, smartassv2 and performance

and

noop, deadline and sio.

Plus UKSM and 25mV more undervolting on higher frequencies.

As I can't compile a new one (no dev pc with me), that's all I can offer for now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Abyssmal:
Thank you CTCaer, for this post. I am having major battery drains after playing with CM10.1/CM10.2 roms and kernels last two months. Even stock 587 ftf with root and cwm ONLY is draining like hell. This all happened suddenly - after a Zelly Cream 2.5.2 reflash with your 2.8uv kernel. I know this is not the place, but here are some screenshots from last night.

Just replaced the charge binary like suggested in the root, tweaks... thread and will try your hard calibrate method. :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
Sorry to ask, and I know everyone can not get his fav scheduler, but why not smartassh3 ?

For battery 100% bug, maybe you can try to remove your battery during the phone run ? It occured to me last time doing this.

Anyway great thank for this kernel (and yes please PM me the link if you can ! )
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
Thanks a lot for your time and this message by the way.

1. I tried that and it did not make it . (using cwm )

2. Is it safe ? because I always feared to have my battery depleted and then not be able to charge it again...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Hello again.

I found the link for the special version in my cloud storage.

For all PMing me, don't worry, it will be posted today here when I have some free time from studying.

-------

Hmm let's see. You charged it till 75%. Your voice calls used 25% (can't see how many minutes), the cellular module used 12% and screen almost 13%. And sleep used 11%.

So the major drains to every phone used 50% of the 66%, which is almost normal (the cell on good signal on average usage is 10-16% because that includes power drain from antenna when you are calling, 2g/3g internet and standby).

Bluetooth is too high. But i assume you use a BT handset and you didnt forgot it open.

So yeah overall seems normal. Because as the lithium battery capacity in percentage work, the biggest juice is between 100 to 80-75 and 25-0.

If you ever observed that, you can see that the battery percentage goes faster down when in the middle.

(So battery seems to drain slower on higher and lower %, and faster on middle %)

Also if you charge your for to lower % to extend it's charge cycle life, charge it till 90% and not to lower like 75%.

Lastly when you reach 500 FULL charge cycles (90% and lower is not considered a full charge cycle), the capacity of lithium batteries drops considerably.

So in the end, because you don't have strange drains (as it seems from the screenshots), find a suitable kernel that has UV and power management mods, and remember

to switch to 2G after FB or whatever needs fast data

have the wifi to maintain the connection only when there's active connection

use no more than 60-65% screen brightness

always close unused connections like BT

remove any auto sync that doesnt matter and you can do it manually.

And raise useful autosyncs to 1hour or when you open your phone.

This will do the trick to any phone that doesnt have problems, and then you will only care for the battery charge cycle life.

(As i am currently :))

As I said before, h3 is a smartassv2 optimized for htc. There's no reason to put it and reoptimize it for Ray.

Because the smartassv2 included is already optimized for Ray by me. So yeah you can call it smartassRay if you want :)

If you want to further optimize it to your needs (more battery or more performance) then find the post I made way back on how and what to change in smartassv2.

Don't be. The battery module protects the battery from shut off. It will never let your battery reach 2.7V because the minimum it accepts is 3V

If not 3V it will not open and you have to leave your phone in charger until it opens.