yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
Ok thanks a lot for these valuables info !!

When I was using your kernel, I was really amazed with battery life. I think I could acheive 4 days (if it wasn't for my gaming small addiction :) )

1Ghz wasn't enough and I had reboots eventually, but 1.2GHz was good enough !!

I use green power premium to prevent my phone from syncing too much... and the antutu smart setting to prevent it to ring and to use 3g when I do not care !

Again thanks for your infos !
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Abyssmal:
Thanks again for all the info. I am quite aware on the battery technologies and android drain. So yeah - as a percentage of overall drain all seems fine. But 75% to zero in under 24hrs is too much. I am atm charging offline after full charge and drain as you suggested previously.

Is there a software I can use to check on the battery condition (not charge). Or some log or stat file in sys?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
I tried again to flash Ctcaer. No luck at all: wifi was stuck (even after flashing zip module) and 100% bug...:crying:

(from Lupus)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
I think lupus has now a mechanism on it's script to restore the modules. Maybe a leftover module is loaded before the good one, and wifi/bt breaks overall.

I'll check my /lib structure when i have time and tell you.

All apps make an estimate. The best way is to 0%-100% offline charge calibrate your phone and then run antutu battery tester.

you have to install it before doing the charge, so you will not lose any %.

This will show you the how fast your battery drains with a high power usage. *this needs hours to complete*

It's how I check the phone "overall almost-max drain" in the company i work.

(To check the max drain, music must also play at 100% volume, plus a call with bad signal.

But still the above shows one of the worst cases, because it uses 100% brightness and 100% cpu. But have in mind that a call can reach 1+Wh)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
And now something I should have done in June:

CTCaer Kernel 2.8.2uv with UKSM 0.1.x

Can't compile right now proper ones so this version have:

1.4GHz + UV

Only ondemandx, smartassv2, performance, cpu schedulers

and

only noop, deadline, sio, i/o schedulers.

**Attention**

It also has 25mV lower voltages on higher frequencies, so this may not work on some of your Rays.

The UKSM is disabled by default for testing.

Use the script below, to tweak it for mobile usage (1 core cpu and 353mb ram) and to enable it.

Remove the .txt extension and put it inside /system/etc/init.d and fix permissions to 0777 (rwx-rwx-rwx)

Or put it somewhere, fix perm and run it through an app or terminal.

Always and I mean always use the script I attached for everyday usage! Not bigger values.

CTCaer Kernel 2.8.2uv + UKSM

UKSM tweak/enable init.d script

To see it's benefits with your eyes, before running the script go to terminal and write:

[B]echo "100000000" > /sys/kernel/mm/uksm/scan_batch_pages[/B]

This will tweak and make the UKSM to overwork and see the effects really fast.

[B]/sbin/watch -n 2 cat /proc/meminfo | grep AnonPages[/B]

This will start showing the Anonpages in kB, which are what UKSM merges and reduce.

On a separate terminal window write:

[B]echo "1" > /sys/kernel/mm/uksm/run[/B]

And check the 1st window and be amased

Maybe sometime I'll port UKSM 1.2. Until then we'll see..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Good to see you back man. This update is amazing.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
new update :)

I want to ask, what the function of it?

echo "100000000" > /sys/kernel/mm/uksm/scan_batch_pages
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
Ok I'll try to find out looking onto the Lupus thread. I would love to switch back to your kernel but wifi and 100% bat. is preventing me from doing it.

As for the 100% bug, maybe it's a file on the sd that is corrupted ?

If I find how to fix my wifi prob I'll send the how to for sure. Anyone else had this problem ?

And sorry for my last noob question, but the script you're giving is a .txt file when I download it. Should I change the extension in .sh or remove it ? I know this is no expert question at all...

Σας ευχαριστώ πολύ!

(Yeah I know google trad. is my friend)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
This is only for testing. It makes UKSM use 100% cpu and see the results right away (because as you can see below, with that number all ram is processed in every UKSM pass).

The normal for everyday usage in our devices is 5000

It basically tells how many Anonymous pages from ram to scan. Each page is 4kB.

The max pages that it can reach is 90500. And normally anonpages are around 45k to 60k.

So more than 5000 pages to scan every uksm daemon wakeup is an overkill for our device and can lead to reduced performance and battery drain.

With 5k pages the battery drain from 100 to 0% and active usage of 4hours, is 0.1%

So yeah everything is carefully tweaked. Just use the init.d script I attached to enable it and make the necessary tweaks.

---------EDIT------

Mediafire auto renames it to .txt

Just remove the extention for init.d usage or rename it to .sh for script usage.

He he, you are welcome.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
100% battery (found it while trying to undervolt Lupus):
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
Can that be the reason? CTCaer should have this support (as it is only for Ray) and the "Kappa Kernel" (where is that from?) may not.

I am happy not to ever see that 100% Battery problem :)

---------- Post added at 03:11 PM ---------- Previous post was at 02:59 PM ----------

Can you post the voltage table, please? I am happy on 2.8 OC to 1.6 GHz on 1300mV (1.4GHz on 1250mV) and I wonder if I want o give up on the extra 200MHz for getting UKSM :)

I would adjust the voltage in 2.8 first to the values which 2.8.2 has and see if it runs stable still before flashing it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gabrech:
Seems to be for the Mini (found this post on Q&A of ray ) but I did not know if it would help :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Yeah it's a little security I like having in kernels for various reasons.

It's easy too:

With a mounted /system write at shell /system/xbin/su and you got root at adb.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stillka:
wifi

Hi,

could you make a wifi drivers package? For me wifi isn't working as I used different kernel......

Thank you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

Hopefully in next version, will be TWRP. :D

It's X-Ray with Tapatalk!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] viorel78:
governor

thank you. please add in the next version - ondemandX governor too

and if you do not take offense please remove a text from boot logo and put there sony ericsson and you brend logo
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SXUsr:
See this POST, I've just installed them on my Ray and it's working.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MrTapa:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

Sounds good. Wonder if i can make one for my T. And you can actually male a quick kernel kitchen(u choose oc, undervolting, that stuff; )
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
you are real developer
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

I was considering that. Double recovery and you choose with up or down to which you enter. The current is fully working though.

Never used twrp, other than touch what futures it has?

I'll make a version with all governors and ios. If the binary and memory footprint is still low then I'll keep it in the mainline.

EDIT1----

About the logo I want to change xperia ray to the Sony Ericsson energy logo which I love. I'm not reverting it back to SE text though. But you are free to change it to whatever you like

Well you can actually. Just create a script that edits lines in respective source files. But to be true if you get your hands on real kernel compiling these are not necessary. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
Hi CTCaer.

Is this the fastest kernel? Or you can improve let it more and more faster?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

If it can get faster? Maybe.

You may not know what is going on behind a kernel modding and patching but a test number of 75 compiles for testing various things over the past 3 weeks tells it all.

Short version? I'll try many things and if they improve speed or functionality I will push a release
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
You are very great! thanks your hard work.

---------- Post added at 02:14 PM ---------- Previous post was at 02:02 PM ----------

Hi CTCaer

May I ask a stupid question about android phone. I always hear kernel & firmware like 4.1.B.1.13.

Is that mean kernel=firmware? or It's different?

If it is different, how could I update firmware to latest version like 4.1.B.1.13 only?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Web_E:
Kernel is component of the firmware.

Firmware = kernel + ROM (made by sony) + drivers + radio baseband software etc

To update you need flashtool, the firmaware ftf file. Read the sticky thread about flashtool.

---

Tested on zelly cream rom. 4% battery loss over 7.5 hr in standby mode.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rushland:
so sorry for my bad english, the screen isn't off but still on

i want to transfer some files to my Ray from a PC

And i already installed the ADB drivers and others drivers from flashtool's driver before i plug the USB

when i plug the USB, the removable drive is appear on my computer

but when i click it, i can't access the removable drive

i'm too lazy to go to recovery mode just for mount the storage to transfer a file :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

It's great kernel, make my phone more smooth. Nice job man!

It's X-Ray with Tapatalk!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FEXTEZI:
Testing on Zelly Scream 1.2.3 ! First impressions NOT BAD !
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Yovecio:
R: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hack

There is the possibility to see this kernel on arc s?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SXUsr:
Going back to iriisoft kernel as this is preventing Virtuous Ten Studio from working.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

To be true I didn't plugged my phone for a long time (I use network sharing to copy files). If it works then something is preventing your sd from unmounting and mounting to mass storage

Not yet. The config files are there in sources. They need a little tweaking first and maybe other ramdisk

I'll see what this needs and maybe provide kernel with unsecured ramdisk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mr.nou:
Re: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hac

Working fine on me

Not find bug till now

Using xperia T v692

Its great kernel i think

:)

Could u give me some advice best CPU setting for daily use? Long life batt

:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pangeranpas:
great kernel :good:

but wifi won't work..

where i can find wifi module?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
please post /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Could anyone with a regular (1.4GHz UV) CTCaer Kernel (2.8.2 preferred) please post the contents of /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Well, all custom kernels for ray support and have the driver for battery module. Otherwise the framework, libraries and kernel would go amok with no power info.

So that's not the problem. I'm quite curious though. Never experienced that and it seems it's a recent bug.

As you know, my kernel also has the 0% battery fix. So anyone can set the values to their own.

Just go to /sys/class/power_supply/bq27520 and write a value in one of the set_* files. preferably echo 50 at set_capacity and see if it went at 50%. And then charge your phone or let it discharge until it closes and see if it's now unstuck

GREAT CARE with the set_voltage. Not less than 3000. It may kick in the protection chip inside the battery and shut it off!!!!!! Don't try it, not even for fun!!

As always check my sources. This file shows the voltages for 2.8uv.

2.8.2 has all voltages for 800mhz-1400mhz reduced by 25mV.

This special version is the one I always using. But for now without my dev pc, it's the only thing I can do and give to all of you.

Also that "I would adjust the voltage in 2.8 first to the values which 2.8.2 has" is not possible.

Kernels that don't have VDD are more stable, cause of faster and more stable voltage regulator algorithm.

For example, my ray for some reason if I use a kernel with 1.4GHz + VDD and stock voltages, it will reboot after a little of app usage.

Strange huh? Well it's not. It all comes from how the kernel changes the voltages. And this unstableness come from when the frequency goes up.

The algorithm takes more time to change voltages than frequencies, even though the code makes sure to up the voltage first.

This is one of the 1st reasons I created CTCaer Kernel. To have battery life like Aire and VDS' kernels and also be stable like them.

Any kernel with VDD, crashes my Ray's cpu, whatever the voltages.

TL;DR: Just flash it and check, if you use 2.8 VDD. It's only 1 kernel flash to go back.

Also when time comes, I think you gonna like the combo 1.6VDD + UKSM. I think for 1.6GHz, 7500 scan batch pages for uksm will be better.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
thanks for the explanation :highfive:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
I have been using your newest wersion of kernel and after reinstal rom i got 100% battery allways so i have flashed lupus kernel its fixes 100% bugg and after i turned phone wi-fi just dosn't turn on (Of course with your kernel)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Yeah going from lupus to ctcaer needs extra fidling with the wifi modules.

This is the /system/lib/modules directory of my rom:

Folder compat has

compat.ko

tun.ko

Folder drivers has

net/wireless/wl12xx/tun.ko

net/wireless/wl12xx/wl12xx.ko

net/wireless/wl12xx/wl12xx_sdio.ko

Folder net has

mac80211/mac80211.ko

mac80211/tun.ko

wireless/cfg80211.ko

wireless/tun.ko

As for 100% before the re-installing of rom the battery was showing good?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ainster:
No allways showing 100% after lupus kernel then shows good battery %

Wieres thing after first install wifi works with yours kernel after lupus nope ( as i know lupus have integrated modules in to kernel so how did kernel changes drivers ?) ill try your guide thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tintin100:
I also momentarily changed to lupus and run the lupus scripts bla bla... and then returning back to 2.8.2 gave me WiFi issues. Trying all the wifi fixes, nothing worked and I got frustrated. Then I took a titanium backup and re-flashed the .587 ROM. Problem solved but not a geeky solution though.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bobrobsom:
I got WiFi issue to when changing back to CTCaer 2.8.2 from Lupus - this made WiFi work again

Wedgees wrote: "Yes previous modules Will be moved to /system/lib/modules.old. So if someone switches to my kernel then back to yours they could just delete /system/lib/modules and rename /system/lib/modules.old to /system/lib/modules.

And people using my kernel will always have modules in /res/icswifi* folder as that's where I place them when compiling kernel."

SE Xperia RAY[KERNEL]CTCaer2.8UV/OC[ROM]arcatarc SuperleggeraV6
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] superwoosh:
So I just came back from CM10.2 to ICS and I flashed v2.8.2 after flashing back to stock with Flashtool and all that. Had the 100% battery bug again, no idea why.

So as we know Lupus will break wifi when you flash it and flash back to CTCaer, and I have no clue how to get it working again so I didn't bother.

Tried flashing VDS kernel, the bug persisted, so that kernel has the bug as well.

Flashed Flykernel, bug was gone, flashed back to CTCaer and wifi was still working. So yeah we can flash Flykernel instead of Lupus to get rid of the bug.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FEXTEZI:
If someone got 100% BUG and other kernels CANT HELP YOU i know what to do:

You need to flash 2.3 ROM and lets 2.3 boot your system you will see normal battery now and then flash again ICS and flash ctckernel.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Runner_cz:
Tried 2.8.2 + UKSM

Got 2 strtange reboots, seems my Ray can't cope with those extreme UV values.. :(

So far returned back to Lupus v8.

CTCaer - thanks a lot anyway!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
Just flashed 2.8.2 and activated (via init.d) the UKSM processing. So far the Kernel is as smooth as before and more programs stay active (ref. Go Laucher: "Active" Tab). No adverse effect on performance right now and no 100% battery bug as I updated from 2.8 to 2.8.2.

I wonder how I can see the true benefit of UKSM, so how much does it really SAVE at any moment in time?

/proc/meminfo delivers:

MemTotal: 362288 kB
MemFree: 49800 kB
Buffers: 4368 kB
Cached: 64260 kB
SwapCached: 9808 kB
Active: 116428 kB
Inactive: 123716 kB
Active(anon): 91140 kB
Inactive(anon): 94840 kB
Active(file): 25288 kB
Inactive(file): 28876 kB
Unevictable: 13568 kB
Mlocked: 11440 kB
SwapTotal: 30712 kB
SwapFree: 11564 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 178284 kB
Mapped: 47200 kB
Shmem: 12336 kB
Slab: 19280 kB
SReclaimable: 5608 kB
SUnreclaim: 13672 kB
KernelStack: 5216 kB
PageTables: 6920 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 211856 kB
Committed_AS: 3397716 kB
VmallocTotal: 524288 kB
VmallocUsed: 131700 kB
VmallocChunk: 316420 kB

and after some time (writing this) it delivers:

MemTotal: 362288 kB
MemFree: 48676 kB
Buffers: 4368 kB
Cached: 65256 kB
SwapCached: 9816 kB
Active: 116972 kB
Inactive: 124488 kB
Active(anon): 91608 kB
Inactive(anon): 94848 kB
Active(file): 25364 kB
Inactive(file): 29640 kB
Unevictable: 13568 kB
Mlocked: 11440 kB
SwapTotal: 30712 kB
SwapFree: 11588 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 178588 kB
Mapped: 47616 kB
Shmem: 12492 kB
Slab: 19260 kB
SReclaimable: 5608 kB
SUnreclaim: 13652 kB
KernelStack: 5224 kB
PageTables: 6948 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 211856 kB
Committed_AS: 3410044 kB
VmallocTotal: 524288 kB
VmallocUsed: 131700 kB
VmallocChunk: 316420 kB

So regarding "Anonpages" not much different but little growing. I checked /sys/kernel/mm/uksm/run and it has "1" - so uksm should be running. What would I have to expect? I checked /sys/kernel/mm/uksm/saved_memory and it tells me "10% of total used memory pages freed." But what is the reference for these "10%"?

Another question is if I should still be using ZRAM Swap (30MB on my Ray - eating may be 10MB true RAM when in full use) - or give up on that in favor of uksm. No harm having both, I guess - but do you have an advice?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
I completely forgotten that info from garwedgess. Good find.

Also i forgotten that i have that info in OP xD

Ignore saved_memory, it was a failed attempt to measure the benefits of uksm in everyday normal usage of it.

This is not possible and let me explain why:

Let's say uksm find 5 pages that are the same, and another 7 pages that are the same.

It will merge them and have 2 pages that are shared accordingly. But it will show that 2 pages are sharing and 12 pages are merged.

But it's not possible to keep track of this, for coding (complexity) and resource( ram and cpu) reasons, which if done, the benefits of uksm vanish because it will use ram and more cpu.

So the real benefits are 5+7-2=10x4KB=40KB freed.

The best case scenario results can be taken from pages_sharing-pages_shared. Have in mind that is not accurate, because of how uksm stores these records, but it will give you a taste.

Also by having uksm running from start you wont notice changes in anonpages.

The only way to see it in action, is to remove the init.d script, reboot, change scan_batch_pages to something extreme (let's say 1million),

check anonpages and from android tuner (or system tuner) check the actual ram usage of every running app.

And write 1 to run file in uksm. After a couple of seconds you will see anonpages decrease a lot and also on taskmanager you'll see that the actual size is going down too. I measured benefits between 20 and 54mb freed from my old tests.

As for zram, I tried it with it off but in the end I re-enabled it with a reduced size (from 30 to 24mb).

The biggest reason? Next launcher. It has a really bad resoureces management.

On boot it uses 38mb (with all my widgets, stack fx, shortcuts, etc). With only UKSM drops to 31-32mb. With zram also, drops to 24mb.

Unfortunately next launcher isn't the only one that benefits with zram. Many apps keep active tables of unused resources that GC can't clean.

So yeah with both of them I see 40-65mb actual ram freed. A lot, for our petty 362288KB ram.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
For my Ray I currently have:

- pages_sharing: 7031

- pages_shared: 392

Which makes then a rough RAM saving of 6400 * 4k = 25600 k = 25MB - Great achievement!

It seems though that over time the pages_sharing has large variations, however the ratio of above seem in the 1:10 to 1:20 range. As mentioned there is a truly noticeable difference of active apps (including cached) with having UKSM active.

I have CoolTool running all the time and I also see that the free RAM reported there is much higher than what I was used to see there without UKSM. As it changes all the time it is hard to state a true difference but from my memory I would attribute a gain of 15-25 MB of more reported free RAM.

Thanks so much for that contribution! I hope my Ray will live a long live with all options exploited now...

Why not updating the OP and title so that some more can benefit who are not following the thread details?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
yeah because everytime you switch/open/close an app the annonpages change. it's normal.

It's indeed a great module. It's a shame i couldn't find time back then.

Because if you check the compile time, it was made back then.

As for OP, i'll change the title.

And after 20 September, I'll make proper releases of 2.8.2.

And maybe at last, try and port uksm 0.1.2, that i've planned months ago, which do great improvements, both to speed and freed ram.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Rubik.Orange:
I had 100% bug with 2.8.2 and i charge my phone with stock charger without going into android, but it doesn't work.

And i flashed same rom 3 times, battery bug was gone, but after few times reboot, bug came back
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Just found that fast and nice report script from V6supercharger's zeppelinrox.

It supports UKSM. Try it

(haven't checked the algorithms for calculating the results, but probably they are good.)