[xKERNEL|ICS&JB|27/11] xKernel v9.587-D | another version that not released

Should I Continue Maintaining xKernel for Ray, What Say You?

  • No. You done enough

    Votes: 18 6.1%
  • Yes you should

    Votes: 273 92.2%
  • Not necessary

    Votes: 11 3.7%

  • Total voters
    296
  • Poll closed .
Search This thread

hansip87

Senior Member
Jan 14, 2011
2,916
2,242
Jakarta
so u think my kernel ready for Official ICS? its almost 2weeks since u gave me timeframe to made a better kernel for Official ICS :cool:

Hehe congrats mate :cool: to tell you the truth, your kernel is perfect, unless that pesky wakelock start appearing randomly. But as far as performance goes, I bet it's ready. Drawer fling animation is as smooth as in gingerbread. Well done sir! Now with final just a week away(hope so) we can have good start from day one. :cool:

Never underestimate this small room for minority device.. ;)

Now if only someone can crack that native code to improve camera quality..

sent from my white ray using XDA App :)
 
Last edited:
  • Like
Reactions: sirkay

Da-BOSS

Senior Member
Apr 2, 2012
486
416
Russia - Moscow
github.com
i hope once the official ics come i hope this kernel work without any bugs or error bec. really that's the best in every side {performance,stability,etc...}and in every angel
100% the best :D really thanks i hope also to take the full considering once the ics arrive
to make it compatiable with official stock ics :D

Thanks for reading :p
 

hansip87

Senior Member
Jan 14, 2011
2,916
2,242
Jakarta
Sirkay, any improvement can be made with kernel regarding image quality of camera? Just curious question this is ;)
 

jjdoctor

Inactive Recognized Developer
May 3, 2011
2,731
4,166
Rawalpindi
My phone warms up like hell when charging using 3.0.2... This happened with 3.0 too but it's not present in 3.0.1

It's like the new frequency table is bugging up

Ondemand, min 134, max 1.2
 

sirkay

Senior Member
Mar 24, 2011
1,642
2,129
KL
Sirkay, any improvement can be made with kernel regarding image quality of camera? Just curious question this is ;)

didnt know, will check bout that.





My phone warms up like hell when charging using 3.0.2... This happened with 3.0 too but it's not present in 3.0.1

It's like the new frequency table is bugging up

Ondemand, min 134, max 1.2

3.0.2 and 2.5.1 same freq table. 3.0 same with 3.0.1. i experienced phone warm when enabled 3g/data. i think phone boost power to search for better signal and made it warm

Edit: i used smartassv2 and vr. 134min - 806max

Sent from my ST18i using xda premium
 
Last edited:

hansip87

Senior Member
Jan 14, 2011
2,916
2,242
Jakarta
didnt know, will check bout that.







3.0.2 and 2.5.1 same freq table. 3.0 same with 3.0.1. i experienced phone warm when enabled 3g/data. i think phone boost power to search for better signal and made it warm

Edit: i used smartassv2 and vr. 134min - 806max

Sent from my ST18i using xda premium
Mine was heating up too, but i was thinking that is because of lost signal.. when i charge it at better place, it maxes at 31c while charging. using 3.0.2
 

jjdoctor

Inactive Recognized Developer
May 3, 2011
2,731
4,166
Rawalpindi
There is something related to frequency table that might be causing wakelocks...

It seems as cpu finds it hard to stick to deepsleep with frequency of 134mhz min which seems farther from 122mhz

I just had wakelocks twice and rebooting was the only solution...

Got to go back to 2.5.1 or 3.0.1 to see if this assumption is true...
 

o0lx0o

Senior Member
Apr 8, 2010
80
3
with KA12 fine so far but battery lose a bit quickly about 9hours/15%drop in deep sleep. the stock kernel seems to save more battery compared to this.
 

sirkay

Senior Member
Mar 24, 2011
1,642
2,129
KL
with KA12 fine so far but battery lose a bit quickly about 9hours/15%drop in deep sleep. the stock kernel seems to save more battery compared to this.

sorry i dont use KA's rom, so cannot confirm about that in KA's latest rom.
but as previous version respond from KA's users seems to be good.

thanks but i need to test it with KA13 not KA12 :eek:

you can test by yourself, only you know your phone better :)
 

jjdoctor

Inactive Recognized Developer
May 3, 2011
2,731
4,166
Rawalpindi
i've made v4.0 Beta includes
- power suspend time
- some changes in:
-> smd_rpcrouter.c
-> smd_pkt.c
-> smd_qmi.c
- enabled LZO compress/decompress
- enabled zram debug

based on cayniarb @ http://git.tiamat-dev.com/7x30/htc-kernel-msm7x30/commit/

i prefer testing it myself until confirm its stability

great... I am just gonna give it a go..
Prefer testing by users coz a 100 people testing would make it easy for u findnig any bugs rather than doing alone coz u cant test everything... that is what BETA is termed...
 

sirkay

Senior Member
Mar 24, 2011
1,642
2,129
KL
It seems that 3.0.2 has the wifi bug in which it doesn't sleep unlike the 3.0.1. Any solution?

Sent from my ST18i using Tapatalk



reboot the only solution. not much differ between 3.0.1 and 3.0.2, only freq table.



great... I am just gonna give it a go..
Prefer testing by users coz a 100 people testing would make it easy for u findnig any bugs rather than doing alone coz u cant test everything... that is what BETA is termed...

performance drop after implement those updates. will released beta tester once am satify enough with performance

EDIT: flashed back v3.0.2, v4.0 doesnt give much impact. will see more into it. has anyone ever heard about ZSL (camera related)?

Sent from my ST18i using xda premium
 
Last edited:

justmpm

Retired Senior Moderator
Dec 22, 2010
4,220
4,869
Jumpston Junction
I spent yesterday testing xray3.0.1 and xray3.0.2. I tested a number of configurations using Quadrant (v2.0) on a fresh KA12 install. Unless otherwise indicated in the table: the kernels were set to run at their full range of frequenceis, Deadline as the IO S, 32Mb zram swap, smartassv2 governor. I also monitored some system states and the KernelPerf table contains these results. Each state was tested 3x and I have reported the median values. Honestly, the table is super boring....but some things are clear....xray3.0.2 is way better than 3.0.1, zram is a good thing, the size of the zram affects performance and could be optimized, V6 and zram are "compatible" (in that they don't make your phone less stable), but V6 is the dominant force and keeps the zram swap from being populated (again this might be optimized by monkeying with the V6 LMK settings), the xray kernels are real battery hogs (as measured by the current drain on the battery). Lastly, considering the max feq is 1400, the Aire kernel is pretty good. Told you it was boring.

Anyway, since I was measuring the current drain during these tests, I decided to deconvolute the Aire frequency table - using the classic current voltage relationship. I made the assumption that the background drain (i.e. the drain by the display), is constant through out the testing. I took the current at the beginning of Quadrant's third CPU test to deconvolute Aire's table (see AireTable.pdf). In the absence of Aire giving us the table this is probably the best that can be done. A couple things made me feel better about these measurements, one is that I also deconvoluted the Sony ICSbeta kernal (upto 1024 the freqs are identical with Aire) and there was a consistent 20-25% undervolting by Aire and for both kernels the measured relationship is fairly linear. 768mHz is an outlier and was set to a higher than expected voltage by Aire ...this is real.

I fit the f-v relationship, and then applied it to xray3.0.2 (most of this can be found in AireTable.pdf). For the last 12 hours, I have been running as shown in the last table in AireTable.pdf (min 134, max 1401) with out an issue. Originally I didn't "overvolt" 768 and the phone would hang at this freq until I increased the voltage. I will switch to the full frequency range once my phone recharges. So far no wakelocks, phone sleeps really well. My phone will wakelock if I set the max freq below 806....not sure if this is related to JJdoctor's previous post??????

Since I watched a lot of Quadrant runs, I can say that one reason the Aire kernel is so good is that the CPU utilization rarely drops below 100%, even as
the frequencies are changing, whereas, the xray kernels tend to drop below 100% utilization as they move between frequencies. I am not sure if this is something that Aire coded into the kernel or if it is simply because there are only 1/2 as many frequency transitions in his table.

EDIT: AireTable.pdf updated
 

Attachments

  • KernelPerf1.pdf
    91.6 KB · Views: 11
  • AireTable.pdf
    83.7 KB · Views: 7
Last edited:
  • Like
Reactions: hansip87

hansip87

Senior Member
Jan 14, 2011
2,916
2,242
Jakarta
I spent yesterday testing xray3.0.1 and xray3.0.2. I tested a number of configurations using Quadrant (v2.0) on a fresh KA12 install. Unless otherwise indicated in the table: the kernels were set to run at their full range of frequenceis, Deadline as the IO S, 32Mb zram swap, smartassv2 governor. I also monitored some system states and the KernelPerf table contains these results. Each state was tested 3x and I have reported the median values. Honestly, the table is super boring....but some things are clear....xray3.0.2 is way better than 3.0.1, zram is a good thing, the size of the zram affects performance and could be optimized, V6 and zram are "compatible" (in that they don't make your phone less stable), but V6 is the dominant force and keeps the zram swap from being populated (again this might be optimized by monkeying with the V6 LMK settings), the xray kernels are real battery hogs (as measured by the current drain on the battery). Lastly, considering the max feq is 1400, the Aire kernel is pretty good. Told you it was boring.

Anyway, since I was measuring the current drain during these tests, I decided to deconvolute the Aire frequency table - using the classic current voltage relationship. I made the assumption that the background drain (i.e. the drain by the display), is constant through out the testing. I took the current at the beginning of Quadrant's third CPU test to deconvolute Aire's table (see AireTable.pdf). In the absence of Aire giving us the table this is probably the best that can be done. A couple things made me feel better about these measurements, one is that I also deconvoluted the Sony ICSbeta kernal (upto 1024 the freqs are identical with Aire) and there was a consistent 20-25% undervolting by Aire and for both kernels the measured relationship is fairly linear. 768mHz is an outlier and was set to a higher than expected voltage by Aire ...this is real.

I fit the f-v relationship, and then applied it to xray3.0.2 (most of this can be found in AireTable.pdf). For the last 12 hours, I have been running as shown in the last table in AireTable.pdf (min 134, max 1401) with out an issue. Originally I didn't "overvolt" 768 and the phone would hang at this freq until I increased the voltage. I will switch to the full frequency range once my phone recharges. So far no wakelocks, phone sleeps really well. My phone will wakelock if I set the max freq below 806....not sure if this is related to JJdoctor's previous post??????

Since I watched a lot of Quadrant runs, I can say that one reason the Aire kernel is so good is that the CPU utilization rarely drops below 100%, even as
the frequencies are changing, whereas, the xray kernels tend to drop below 100% utilization as they move between frequencies. I am not sure if this is something that Aire coded into the kernel or if it is simply because there are only 1/2 as many frequency transitions in his table.
Wow complete data you got there ;) Well, as i'm not that expert about this things, i can only say that Aire's kernel is quite good, but the problem last time was that the OC can't go to 1.4Ghz, stuck at 1.2Ghz (even though the freq is allowed as max) don't know why. Sirkay's is better, but the lack of test for voltage tuning made my device a battery eater when i go online :( So thankfully you provides us with Aire's default voltage given at your PDF :) Thanks!
 
Last edited:

sirkay

Senior Member
Mar 24, 2011
1,642
2,129
KL
you can uv with aire's kernel? i gave you option to uv. am no oc/uv addict but still i gave those options to share with you.

am using hybrid. (ics beta rom before i learn how to compile kernel), so i never test my kernel with roms other than that. so i dont know about their performance

i did mentioned in first post about KA's rom. have you test jj's hybrid with this kernel? try it and give your comment. like to read it. ask your rom cooker, they shud know what kernel was better to used with their rom as they're the first person to test it.

true, i still admire what aire has done with his freq table. what do you expect from person that learned how to build kernel in a month?

Sent from my ST18i using xda premium
 
Last edited:

justmpm

Retired Senior Moderator
Dec 22, 2010
4,220
4,869
Jumpston Junction
Wow complete data you got there ;) Well, as i'm not that expert about this things, i can only say that Aire's kernel is quite good, but the problem last time was that the OC can't go to 1.4Ghz, stuck at 1.2Ghz (even though the freq is allowed as max) don't know why. Sirkay's is better, but the lack of test for voltage tuning made my device a battery eater when i go online :( So thankfully you provides us with Aire's default voltage given at your PDF :) Thanks!

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....
 

hansip87

Senior Member
Jan 14, 2011
2,916
2,242
Jakarta
you can uv with aire's kernel? i gave you option to uv. am no oc/uv addict but still i gave those options to share with you.

am using hybrid. (ics beta rom before i learn how to compile kernel), so i never test my kernel with roms other than that. so i dont know about their performance

i did mentioned in first post about KA's rom. have you test jj's hybrid with this kernel? try it and give your comment. like to read it.

true, i still admire what aire has done with his freq table. what do you expect from person that learned how to build kernel in a month?

Sent from my ST18i using xda premium

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.

sent from my white ray using XDA App :)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 197
    ## xKERNEL##
    First Thing First: How To Install Custom Kernel
    1) You need to UNLOCK BOOTLOADER using one of these method. I'm NOT responsible of what you've decide. Please follow instruction carefully.
    -> S1tool
    -> Sony Mobile - Unlock Bootloader
    2) Get this awesome tool called Flashtool and install. Dont forget to install usb drivers from "Drivers" folder too.
    3) I assume you have download one of my kernel. Get into Fastboot mode. How? Do i have to repeat how? Press "Volume Up" while connecting your USB cable. you'll see Blue led.
    4) Click "Flash" button on Flashtool, then select Fastboot Mode.
    5) Choose "Select Kernel to Flash" and find your saved kernel. I'm not gonna find it for you.
    6) Once completed, reboot device into system

    THESE IS FINAL, NO LONGER MAINTAINED
    HTML:
    Those version below was a final version xKernel for Xperia Ray. I might on a new
    device next week due someone already booked my ray. Ive planned to give the
    last version using 4.1.B.0.587 but unfortunately source published by Sony was
    corrupted. Sorry guys, i cant afford to keep my ray. This is it.
    Thank you for using my kernel.


    ## KERNEL DOWNLOADS ## [ Share Folder - Most of Ray's Kernel ]


    Build on early Oct [ xKernel v9.587-D ] - ICS Based Rom

    23/09 [ xKernel v9.587-C ] - ICS Based Rom

    18/08 [ Advanced Stock .587 ] - ICS Based Rom

    15/08 [ xKernel Jelly Bean v1.0.2 ] - Jelly Bean 4.1.1
    - used gcc linaro version 4.6.2
    - USB OTG support
    - OLD: v1.0.1

    15/08 [ xKernel v8.1a ] - ICS Based Rom
    - used GCC Linaro version 4.6.2
    - USB OTG support
    - OLD: v8.1

    15/08 [ xKernel AOKP v3.1 ] AOKP Based Rom (NEED TESTER)
    - used gcc linaro version 4.6.2
    - USB OTG Support
    - wifi modules included

    [ XRay V7.3.431 ] ICS 4.0.4 HOT STUFF
    - Build from 4.1.B.0.431 source



    ## SOLUTIONS ##
    [ POST #3 ] Graphic Performance
    [ For JJ's v2.0+ ] Install kernel with JJ's v2.0+. thank to justmpm
    [ POST #5 ] Zram script and Wifi Channel 12-14

    UPDATES

    // v9 - 587 source, increase mdp core clock for 720p, set 2D core clock
    // v8.0 | AOKP v3 - implemented BFS v0.318
    // AOKP v2.3.431a - vids record / playback fixed(?) - need tester
    // AOKP v2.3.431 - Built from 4.1.B.0.431 source
    // v7.3.562 - 4.1.A.0.562 source, added cleancache and zcache driver, the rest same with v7.3.431
    // v7.3.431 - 4.1.B.431 source, "use highest perf level when wake-up from sleep" patch, the rest remain the same as previous version
    // v7.2.6 - 2way call, patches kernel msg, patch smartassv2 gov & zram driver
    // Stock .431 - Stock Kernel from .431 ICS 4.0.4
    // v7 rev4 - Build from 4.1.H.0.4 (Play ICS Beta)
    // AOKP v2.2 - enabled zram, increased swap space to 90MB, added intellidemand & virtuous gov
    // v6.2.5 - increased swap space to 90MB, added Virtuous gov
    // v6.1.1 RER - "Reduced Energy Recovery" courtesy of justmpm
    // v6.1.1 - added gov: intellidemand
    // Xray AOKP - first attempt
    // v6 - Enhance from v5 with small fixes
    // v5 - Recovery USB Mount, enabled tun
    // Stock .562 Kernel - Recovery USB mount fixed
    // v4.0.1 - Disabled min/max freq set at boot, UV available
    // v4.0 - Beta tester: LZO compress/decompress, cleancache, new settings freq tables
    // v3.0.2 - small fixes for freq tables. used old freq table
    // v3.0.1 - small fixes for freq tables.
    // v3.0 - new freq table. based on FreeXperia (thanks to FXP)
    // v2.5.1 - added zram setting disksize to 125MB (see thumbnails)
    // v2.5.1 - edit wakelock for better sleep? (see thumbnails)
    // v2.5 - include ZRAM driver (thanks go DooMLoRD. told ya, too much to tell his contribution in android developement :) )
    // v2.5 - remain 1.6 as default kernel
    // v2.5 - edit wakelock.c source
    // to test call recording download rVoix.apk from here http://xdaforums.com/showthread.php?t=993793
    // removed Xray1x4v2 from list - for those who wanna kernel OC/UV you can choose xray1x6v2, and for those who not OC/UV addict like me can choose xray1x0uv (the one am using right now)




    BASEBAND COLLECTION
    https://www.dropbox.com/sh/0mesctfmxrdrz4a/DZmShwauxz


    Code:
    ((( Special Thanks To Donators )))[[I]-$65 left for used Ray[/I]]
    [B]funiewski, jjdoctor, obaobaobaba, Paul, Mack, sucker for sony's, y.ueno, 
    Würl, blasioli, Cvetkov, Lukáš[/B]

    ((( All Credits Goes To )))

    arcatarc - for finding Recovery with working usb mount
    FXP - for his kernel sources
    DooMLoRD - for bla bla bla bla .. too much contribution in Devlopement!!!
    erasmux - cpu governors and sources
    DooMLoRD / Team UtterChaos - for Fully Touch Recovery
    justmpm - help me alot with his overall test
    hansip87 - helping me find info "HOWTO" tutorial
    JJdoctor - Touch Rec button images
    Taverius - for tips?

    GiT
    https://github.com/sirkay
    102
    XRay v7.2.6 FW 4.1.H.0.4

    [ XRay v7.2.6 ]
    - build from Play ICS Beta - 4.1.H.0.4 source
    - OC & UV available
    - new gov: intellidemand, virtuous, patched smartassv2
    - some patches from CodeAurora implemented (this for kernel messages)
    - heard that it has new adreno driver
    - patched ZRAM driver - thanks to show-p
    - fixed 2way call record
    - kernel build version in About Phone


    NSTools: http://xdaforums.com/showthread.php?t=1333696
    - to manage various tweaks

    tested for several days and definitely not let me down ;). i think this is it for now. if got 100 thanks for this post only, then i will consider to look out for updates my kernel. is it fair enough? :cool:
    63
    XRay Kernel v7.3.431 - 4.1.B.0.431

    [ XRay v7.3.431 ] - 4.1.B.0.431 source .
    - OC/UV (up to 1.6ghz / +-25mv)
    - gov: brazilianwax, smartassv2, interactivex, virtuous, intellidemand, lagfree
    - io: cfq, sio, vr, noop, deadline, anticipatory
    - support: ext3, ext4, swap, ntfs,
    - 2way call record
    - TUN enabled
    - ZRAM enabled
    - patches:
    -> msm: clean msm_pc_pm_pgd
    -> kgsl: Use highest performance level on wake-up from sleep"
    - used 4.1.B.0.431 urushi defconfig
    - highmem enabled


    ZRAM driver fixed!. please re-download
    33
    [SOLUTIONS]

    [ SOLUTION: Graphic Performance ]

    For those who using my kernel (ics beta kernel source build) may have some low performance in Official ICS (.562 FW). Trick to get better graphic performance :

    1. Goto to Adreno Driver Thread by arcatarc
    2. Download GpuDriverICS_4.1.A.0.562.zip and put in your SD
    3. Flash OriginalAdrenoICSSony_4.1.A.0.562.zip using CWM.
    4. Booting up
    5. Enjoy some graphic improvement!


    thanks to arcatarc for his update.zip
    and hansip87 for found solution
    please dont be lazy to hit the button for their effort.

    [ SOLUTION: My Steps to prevent Superuser Issue in TB ]

    Who has Superuser issue or Root Access after installing JJ's Rom, can try my steps. I never had issue with Superuser/Root Access after did these steps

    Go to here --> #Solutions
    32
    23/09 xKernel v9.587-C

    xKernel v9.587-C [link1] [link2]
    • bluetooth patches from CAF
    • fix a race between hotplug and cpufreq
    • PM / Hibernate: make default image size 2/5 of available RAM
    • revert to BFQ v2, then switch to another version of BFQv2-r1

    Note: this is the last updates from 587 source.