yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
No doubt that xray3.0.2 is the best :p ....so which kernel was stuck at 1.2Ghz...all the ones I tested showed that every freq was being used....I was going to test the old 1x4 kernel, but I was short of time because it took me a while to figure out how to get zram working on KA12. I suspect it is because KA12 is deodexed?????

Since I was watching the frequency transitions more or less in real time, it looked to me like Aire's kernel spends a lot of time at 1401 and 768, and less time at the other freqs (excluding 122 because cpu idle time). I will try and get a real measurement the next time I boot Aire's kernel....hopefully it supports the "conservative" governor because then I should be able to monitor every transition as the cpu scales up and down....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Umm you're talking to justmpm aren't you? :/ nevertheless, I only suggest that aire's hardcoded uv value is useful for a person like me. U do give the option to set it. But wasting a lot of time to test voltages is not my cup of tea. So with justmpm findings by comparing with aire's kernel, it helps me a lot to adjust your kernel with safe uv value. But unfortunately voltage for freq above 1.4GHz is unstable so I don't mind to have 1.4 GHz. Like I said, ray s is all I need ;)

Some request, could you hardcode aire's initial uv value to your kernel? :-) that saves a lot of time and battery I think.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
for now am my interest in performance and batt consumption. (maybe try make our big issue about wakelock gone first?).

pertaining freq table and voltage, the things is there just need to test the perfect settings unlike new thing(s) that need to search around and implemented (with less error probably).

what say you if you got a kernel that already less consumed energy before lower the cpu voltage? dont you think its a bonus?

right now am still test for v4.0, try to implement suspend_time.c to get a better result.

neway, thanks for comments and feedback and sorry ive made a 'boring' kernel for you ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
.....sorry I didn't see anything about KA ROMs in the OP, I chose KA because it is my daily and so I am super familiar with it and because I knew that I could

test your kernels +/- zram...wasn't sure how easy it would be to do this

on JJs ROMs.

.....sorry again, I am not and did not adjust the UV settings for Aire's kernel. I just used the battery current to back calculate to the voltage (V=IR) and the assumption is that the R is constant. I did this by limiting Aire's kernel to run at a single freq and looking at the battery current. Repeat with each freq and then

do the same with your xray3.0.2. The rest is just algebra....the first set of mV readings are the calculated (not real) mV values rounded to the nearest 25mV. The second of mV is correcting them to fit the trend (moving in 25mV steps). The upper values are really tight...less so at the lower voltages....I imagine this is because the "background current" makes up a bigger proportion of the total at the low freqs. I would be surprised if these values are exactly correct, but I think that they are as close as you can get....other than peaking over Aire's shoulder.....

sorry again (and this is the biggest one)...I wasn't complaining about your kernels...I am shocked (in a good way) by your output. I understand that learning by doing is the slowest form of learning and I understand that it is the most rewarding....I am also learning as I go....and I didn't see any one else giving

you hard numbers as feedback....sometimes it takes a grunt to do the grunt work, eh? Seriously.....apologies for any hard feelings and big props for your great work!

---------- Post added at 04:09 PM ---------- Previous post was at 04:00 PM ----------

I have only run one test on the voltages above 1.4GHz, so I can't say how stable or unstable they are...I will test them once my phone recharges. In any case, the values above 1.4GHz are JUST a mathmatical extension of Aire's....and there must be a reason he stopped at 1.4GHz....

EDIT: The mV values for 1516GHz and 1612GHz are definitely unstable!!!!!!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] paul20:
at first i would like tou thank you for your perfect work and i would like to ask if it's safe to overclocked on 1.6ghz
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Sirkay don't take it literally mate.. :) i thought that justmpm said boring because he is bored when doing all the testing and reading voltage.. Your kernel, even with the fact that you're only 2 weeks old at building kernel, is marvelous :cool:

I'm having a battery drain because the default voltage is a bit high imho, because i read somewhere that S2 chip is guaranteed to work safely under 1.2volt. with 1.4Ghz already set at 1.2volt, i think it is a bit too high mate. So i am sure that the uv value should be lower than that. But i am not willing to lower voltage with my value though, so justmpm result of testing is very useful to me :)

I guess not all things can be solvable with kernel modifying sirkay, seems like the new 562 fw will give the fix we want all this time :) Try the new hybrid rom from jj first and then progress when it is in fact not fixed.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] thelegendofpiter:
which app you use for undervolting?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
Hansip is right...it was my day spent running Quandrant after Quandrant that was boring and sucked....not your kernel...oh and just in case....I was the grunt doing the gruntwork....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
nvm .. just forget about it
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
sirkay, we need the new Stock leaked kernel with CWM recovery with init.d support but without any other tweaks. want to test some issues with new leaked Rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
You found any issue jj?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Yes... very strange.. TB Pro is not working with Sirkays Kernel on New Leaked ROM.... atleast not on my Hybrid ROM.. but when I flash the Stock Leaked ICS kernel, it works fine... :confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Mine works, but only after flashed the SuperUser package from DoomLord though. with included superuser it did not work.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
I found a solution, reflash kernel after installing titanium Backup seems to resolve the issue... what the **** is going on..:confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Problem of chicken and egg i suppose ;) btw, statusbar widget mod is updated jj. If you decide to include it again :) but.. not all, yet.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
With xray kernel TB hangs if it encounters an error...this was also happening on KA's ROMs. You don't need to reboot, just go into system settings->apps->TB and select clear data....I usually clear the cache at the same time, but I don't think you need to clear the cache to get TB restarted. Before starting TB, I always install wraithdu's SU or ChainsFire SuperSU, but I have found that there are some bugs with SuperSU.....

Also JJ....I flashed your v4 ROM....I noticed that zram wasn't working on it, and after I got it running that your Supercharger was keeping it from working...after

uninstalling Supercharger, the swap was being utilized, but not very much....do you think it is possible that Sony has "hardwired" enhanced LMK settings into the next release?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
I haven't tried Supercharger script yet, but actually dearteno already filled the init-d script with another script. And it seems LMK and OOM is already enhanced. No Launcher restart so far.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ZN6:
Thanks sirkay for the kernel.

and my i know, is mostly people here using ics?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
I have more comparisons of Aire's kernel vs xray-v3.0.2. For these comparisons, I used my phone as I would normally for 10 minutes....check email, take some pictures, check to see who won the football match last night, etc. I stayed away from anything that would really ping the kernels for extended periods (Quadrant for ex.). Both kernels freq were set from their minimum to 1401 GHz..and otherwise set up as close to same on JJs Hybrid v 4 ROM.

Even though the freq tables are different, both kernels behave pretty much the same way...most time was spent at 768 (28%A, 27%Xray), then 1401 (15%A, 12% Xray), both kernels spent the same time in the transition between 768 and 1401 (12%A, 11%Xray), both kernels spent almost the same time below 768 (53% Aire, 47%Xray). Didn't notice much difference in current usage during the test (using the mV table from my previous post), or in the UI of the two kernels.

I also did the walk with the max for both kernels set at 800. Xray was far superior in the UI...it was almost as smooth as when set to 1401, but there were some noticeable lags during window flings, opening programs, etc. The UI with Aire had really noticeable lags and delays. Xray split the load fairly evenly amongst the available freqs (25%@806, 29%@768, 17%@576, 14%@364, 13%@134). Aire's kernel was heavy on the upper freqs (41@806, 30@768, 15@368, 0@245, 13@122). Aire was a battery hog peaking at -330mA :eek: and xray never went below -293mA). I will check around to see if I can get a log of the mA....my feeling is that Aire was below -300mA alot, while xray spent most of its time around -200mA.

Each walk done 3x reporting median values.....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
I think you've overdone it justmpm.. :o It's obvious that Sirkay's is better because he still keeps developing the kernel and merges the sources from other's github. But what i'm saying is that, Aire's kernel is respectable, because it was the first custom ICS Kernel so with all lack of testing aside, it is very good. But unfortunately it's either aire is not updating again here or else, it is what it is. So while i agree with you with the fact, but i think we should give aire some respect for what he hath done by not doing a throughout comparison. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
hhmmmmm.......point taken...do I have to say sorry again??:o??? In my own defense, the purpose of the comparisons is not to try to trash Aire or Sirkay's efforts....the purpose of the comparisons is to find strengths and weaknesses and hopefully this will help Sirkay port in the strengths and minimize the weaknesses. Similarly, if Aire decides to build another kernel, the information is there for him as well. Before Sirkay started cranking out kernels, Aire's magic kernel was the undisputed World Champion ICS kernel for the RAY....so I think it is natural (and fair) to use Aire's kernel as the benchmark. So in reality, it is ALL about respect for Aire's and Sirkay's efforts and nothing about trying trashing either of them.....I will shut up now, before I get in any more trouble:D.

Thanks for the tip about the other init.d scripts in JJs v4 ROM.....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
think this stock kernel got init.d support http://www.mediafire.com/?jed1fsdrklc1skg

never test your V4 yet. will test it out later

nah its okay. am good. thought you like to thorough test both kernel to find pro/con :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Yes I know what you mean. But afaik, as long as aire does not share his source, it all comes to the governor used with the combined frequency table (and the testing in real life will always vary. Hard to measure such facts. :o )

Sorry if I put a wrong word to you. Just my 2 cents. ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
UPDATE

Xray v4.0 BETA uploaded. Link in first post

- enabled LZO compress/decompress

- added Cleancache

- new settings freq tables

- UV disabled in this BETA version

who want to upgrade Busybox to 1.20.git (attached below)

- flash busybox_installer-signed.zip with Recovery

- then flash Superuser-3.0.7-efghi-signed.zip

- reboot

NOTE: For those who had flashed SU provided in JJ's v4 PLEASE dont flash this
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Will wait for others to try :p Last one is enough i guess :D Btw, i might miss something, but how do you activate zram? or is it automatically enabled once i flash the kernel?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
sirkay, I noticed that the phone when connected to charger runs almost twice as fast. All kernels do this.... it doesn't recognize the word 'lag'..

that is controlled by power manager which is function monitored by Kernel... is there anyway to trick pwr manager to think its charging to boost performance?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
zram scripts already added in ramdisk. or you wana try init.d script for zram, here it is

echo "[ZRAM]: Firing up /system/etc/init.d/zram"

if [ ! -e /sys/block/zram0/disksize ];

then

echo "[ZRAM]: ERROR unable to find /sys/block/zram0/disksize"

echo "[ZRAM]: Is this a ZRAM kernel?"

echo "[ZRAM]: ZRAM NOT ACTIVATED."
else

if [ ! -e /system/xbin/busybox ];

then

echo "[ZRAM]: Setting ZRAM disksize"

echo $((120*1024*1024)) > /sys/block/zram0/disksize

echo "[ZRAM]: Found busybox, proceeding..."

busybox mkswap /dev/block/zram0

busybox swapon /dev/block/zram0

echo "[ZRAM]: ZRAM activated."

else

echo "[ZRAM]: ERROR! Busybox not found in /system/bin/busybox!"

echo "[ZRAM]: ZRAM NOT ACTIVATED."
fi

fi;

echo "[ZRAM] Done."

i will try look into it. but dont you think it will suck more power caused batt drain faster? while charging, there's more power supplied from charger.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Well ofcourse it will... Rather leave that... I think we can attain that if I overVolt my Phone and keeo min to 800mhz and max to 1.6ghz...

btw... using the beta 4... seems laggy in scrolls.. not liking it more than v 3.0.1/2...:D... but too early to make final assumption...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
try use higher freq .. 122min/1024max .. i adjust freq volt in tables and test the whole day. btw, i tried with v3 not v4 :)

EDIT: btw, i always turn off animation to test my kernel (never turn it on after installed).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
haha.. this v4 is quite gud... appz loading fast..

I found where my prob was...

actually I don't use CPU control app as in most of ur kernels 122min, 1.6max with on demand governor are set as default by u which I normally use so y to have CPU control app..

in v4 u have set min 224 and Max 122... min greater than Max. ..:D

I installed CPU stats to check it and see the attached pic of No frills CPU which I opened first time shows default frequencies which I didn't touch...:D

P:S, plz remove that busybox 1.20... I flashed it and rebooted, it killed my SU... so I flashed SU again... it worked but TB pro is freezing again... cudnt fix TB again yet. removed it b4 users complain abt TB again in my thread ...:p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slasherzx:
I was going to say that the default max speed of the kernel is 224 mhz.. that is why it is awesomely laggy..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
noted. will disable it in next release.

i dont use your provided SU, so its work just fine with me. TB doesnt freezing. try clear TB cache at settings > apps
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] adridu59:
@sirkay

You are right, anyway I can't seem to find Aire kernel sources.

Do you know where to find them ?

You don't need to do this.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
nope, i dont know. only got his boot.img and extracted them.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
No worries....you were absolutely correct...in the comparisons there are winners and losers (nature of life)....I was just looking at the data as data and forgetting that people are pouring their life's blood into their work.

The variability is mitigated by repeating the tests and taking the median values....plus a bunch of other stuff....so I think the data is pretty reliable

as far as measurements go.

One reason to start with deconvoluting Aire's kernel is that it has proven to be stable on pretty much everyone's Ray and with every governor...so hopefully a stable under volting table can also be generated for the xray kernels. Along these lines, I have found it very difficult to include 1612GHz using the deconvolution of Aire's table. The cpu stalls occur during big jumps in frequency either to or from 1612 GHz....so this would be fine for some governors but not all.

One of the key differences between Sirkay's kernel and Aire's is that Aire's kernel has about 1/2 the frequency transitions...and it is very sparse in the high end. This is good when the the cpu is ramping up or down because it can do it efficiently, but it is not so good when the cpu isn't getting pushed real hard because there are fewer low freq states in Aire's kernel (so I guess this case would be a tie :cool:.). In it's own way the cpu is like Usain Bolt....it spends most of its time at low energy tasks...sleeping, sitting, stretching, standing and walking around....but when it is time to run....it doesn't use

the medium "jogging" speeds very much.....just needs the max.

Did you get zram to work on JJs v4(fixed)???? Mine stays sparsely populated, even though I have deactivated the deantro and Supercharger tweaks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Seems like it's missing after i flashed ROM after kernel. Okay i'll add it thanks :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
its not missing, i made it executed when reboot. didnt make it as init.d script in ramdisk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Sirkay, your version 4 kernel is superb... Running very smooth... Loving it

Just fix that default speed thing... You know when phone is booting up, nofrill cpu app isn't loaded until phone boots it's own services and thus phone runs on default speed which is 245 in kernel.. This just makes boot time longer and laggy until no frills takes over and then it runs smooth...

Got 184mb ram free... Don't know whether it's zram or that supercharger script... :-/ but i didn't add the zram script yet...

Let's see how it runs today...:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
Hi Sirkay,

If you are adjusting the kernel....is there a way to make the boot/recovery less of a battery hog. Maybe by having it boot at an intermediate freq like 800 and not maxing the display? A back up, installing a ROM and some extra zips can really crush the battery.....especially if you forget to reboot out of recovery.....:rolleyes:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
ive made one without min/max freq before nofrill cpu taking over. am testing it right now to check whether its battery hog or not. can you confirm about battery consumption? is it battery hog or not?

settings for freq in recovery can be found at /sbin/bootrec. you check it out and let me know what suitable freq to be implement in recovery
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
No man, not a battery hog... Goes to deep sleep very well... Battery is brilliant... I thought of testing by leaving it off whole night after full charge but forgot to unplug :p...

Will test it tonight and post results in morning...

i am very happy with battery...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] albagani:
yeah...my phone went to deep sleep together with me..didn't notice any battery drain..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
so my v4 compatible with your v4? hell yeahh.... give it 1 or 2 more days before release it
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] racht:
v3.0.2 works great.

v.4.0 booted and than i had alerts android.phone crashed, and many other components crashed.

wiped dalvik cache, v4.0 never booted after.

back to 3.0.2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
first time i had report android.phone crashed :eek:

btw, which rom did you used mate? will try look into it
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] funiewski:
maybe i have missed something, but may i ask why not uv on 4.0 beta sirkay?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
Sorry....but this is going to take me a while. The unpacking and editing of the RAMdisk is all OK....the repacking seems to work...but the .img won't boot. I am reasonably sure that it is the cygwin distro that I am using and that simply cannot be changed -for the time being. Anyway, it looks like it has already been

implemented so going lower in freq probably wouldn't give a big enough power efficiency boost to make up for the loss of performance....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
want to test freq volt. will release w/ uv once confirmed stable
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slasherzx:
Is your supercharger script preinstalled in your rom or you did it manually.. The amount of free ram in this setting is absolutely high... I cant tell which one should I be giving the credit you or sirkay.. but rest assured you got my big thanks.. eventhough I want to thank someone more :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Kept Noticing teh Kernel.. this is what I like about it.... Sleep Now!!!... :D

kernel ( 138): [10872.888977] active wake lock PowerManagerService
kernel ( 138): [10872.889068] active wake lock bq24185_watchdog_lock
kernel ( 138): [10872.889129] active wake lock usb_bus_active
kernel ( 138): [10872.889190] active wake lock msm_otg
[B][COLOR="Red"]kernel ( 138): [10872.889251] wake lock rx_wake, expired
ActivityManager( 730): Sleep timeout! Sleeping now.[/COLOR][/B]
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
hmm.. that zram script is already present in my ROM 97tweaks... but when I type Free in Terminal, it still says Swap =0

It feels its not working... any idea sirkay...? I have run

#su

#zram enable

but it says sh:zram not found...:confused:

If I am getting 184mb without zram then when its fully working its gonna go upto 230-240...:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Da-BOSS:
Oh Yeah Cool :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
or is it perl script that made you cant boot? i used both cygwin and ubuntu but some after repack with cygwin, managed to boot.

it is a good thing or bad? u shud make it blue if its a good thing. red color like warning to me ngee :D

i got this after type 'free' in terminal

/ $ export PATH=/data/local/bin:$PATH
/ $ su
/ # free
total used free shared buffers
Mem: 344328 336064 8264 0 3252
-/+ buffers: 332812 11516
Swap: 0 0 0
/ #
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
isnt the Swap file suppose to represent the Zram?... it shows 0, it means no Zram...