yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kingozzo:
R: [Kernel][ICS] Kappa Kernel 1.3a - Stock and Boost - 12/03/2013

Keep up man, this kernel has a super battery life in standby (1percent in 8 hours with wifi on)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] himasura:
What about option to support phone line call recording?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
That's all the news I want to hear ;)

Jokes a part, thank you very much for your report! I'll keep trying to optimise it as much as possible, still a long way to go ;)

In the future version (1.4) there will surely be:

Two-Way call recording (seems a must for some poeple... Although I don't care much about it)

Further build optimisations (I'll try to compile with -03 instead of -o2, as others do too)

There will probably be two versions. A CWM only version (like for me who only use CWM) and another which has both CWM and TWRP, selectable inside OS via my own menu (kamenu). I managed to have CWM boot correctly, TWRP still hangs at boot, but I think I'm closer to have selectable recovery working.

There are at least a couple of other CPU Governors that look interesting in terms of battery life. I'm looking into them. I'm also trying to get LulzActive to work as the version currently in my hands make the kernel to explode. Already committed a new version, today I'll test it.

I'm also working on XZ compression instead of LZMA. But... if I get the kernel to be small enough, might not need extra compression and this saves some time at boot.

Other think I'm looking into is the ability to have somekind of auto-update without the need to reflash the kernel. Of course, once the kernel is stable and "final" enough. Extra features could be enabled via init.d scripts or modules downloaded on "need basis" directly via a menu. Provided, as I already said, the kernel is "final" enough and already knows about the possibility to download this or the other module for use.

Would love to setup a kind of "poll" with the possibility to choose the next step. After all, this kernel, as I already said, is being built with bits and pieces taken everywhere... So why not choose together the ingredients ;)

Take care,

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] himasura:
Great news! I will be waiting for a new version.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

if you tell me what device you have, might send you during the course of the day one version for you to test...

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] himasura:
Satsuma (ST17i)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Here is a test build for Satsuma / Active which should include, compared to previous versions, the following:

[PATCH] SEMC specific patch for voice call recording support (Guess this is what you were looking for / two-way call recording)

[PATCH] make the partition si mounted as noatime as default

[PATCH] msm: platsmp: Remove extraneous boot_secondary delay

Please note that this build has not been tested yet.

http://www.mediafire.com/?6jg40nje1k2thlz

Thanks!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] himasura:
Now it is tested.

Booting even faster than previous!

Two-way call recording is working!

Thank you so much for fast response! You a the great!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Glad you like it and it's of use to you!

Next official version will include this and more... Stay tuned, if you want ;)

Thanks!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] andro-SYR:
Re: [Kernel][ICS] Kappa Kernel 1.3a - Stock and Boost - 12/03/2013

Thanks kast

Tested for couple of days now
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Thank you!

Ka
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nori971:
Re: [Kernel][ICS] Kappa Kernel 1.3a - Stock and Boost - 12/03/2013

Had fc with shadowgun on others kernels i've tried radeon & lupus tried your kernel and now game's working!!

Kudos to you !

Btw: i love your kernel splash screen! Xd
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dark4m:
Thank you Kast,

the last update works just fine,

battry life is good for the last 2 days,

no laggs,

I think this kernel would be one of the best ones for the stock Ics roms,

thanks again.

Mango with stock ics 587...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
I definitely need to look into this more carefully.

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

as I already said in the main 3.0.8 thread, I'd be thrilled to be able to help in that, even considered my limited skills.

I'm now focusing on "finishing" this kernel.

My original goal, which is current, is to have a kernel the way I want it. As stable as possible, as battery friendly as possible, tweaked the way I want. Once I get to something that matches the above description (to some extent) then I'll consider this kernel "done".

A part from possible bugfixes I won't add additional features to this 2.6.32.x kernel once I reach a good level of stability and features.

Version 1.7 might be the last for this breed of Kappa kernel. Work will most probably then switch to the 3.0 kernel and the work they're doing in that direction is really brilliant!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BlackArtsInc:
Ka,I really think this kernel rocks!

I'm on stock ICS 587 and 1.6b5.

Still memory management is not ok.My phone lags a lot and the

only solution for me is to check 'At most 4 processes' in the Background Process Limit in the Developers Options submenu in the phone s Settings.

By doing this I always have more than a 100MB free RAM and no lags.I know its a workaround but that's the only way to battle lag in my phone.

N.

Not Sent From My ST15i.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

thanks for your report!

Do you have this problem only with this kernel?

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BlackArtsInc:
Mesa hybrid too.All this occurred after incorporating the low memory killer driver.

I'm not sure if this is happening to others too.There are mixed reports on both kernel's threads.

Keep up the good work.

I'm using Ka Kernel by default.

N.

Not Sent From My ST15i.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lsander:
I dont know what rom are you using but I use miui and have always 200mb free ram. Check whar app i always running in background and check its settings, or replace with another app as I did with apps from miui

So if you have this also with mesa kernel it must be rom [problem.

I always go on weathey, no lags with this as in 1.5
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi there,

I came to custom kernels and custom roms because my MiniPro running stock ICS was barely usable.

The stock rom, in my humble opinion, is filled with fancy services that might be running smooth on a Xperia Z... But could be defined "bloatware" on a phone with the specs as ours.

By using a custom kernel, and this doesn't have to be Kappa, performance is generally already much better than using the stock one.

By replacing the stock rom with a custom rom... The phone is finally really usable, even running ICS too.

And for the LMK changes... Version 1.6 doesn't have anymore the auto LMK feature so it's merely a tuned up version of the stock one.

By what you said, when you write "stock ICS 587", I could presume you only changed the kernel. Am I right?

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lsander:
yea thats write. Man think about changing rom.

So sony gives to much bloatware.

So I use miui because it gives stock functionality ( even more ) with custom speed.

CM has no stock stuff and is working better. Just imagine we have cm10.1 when sony said jb wont work good on our devices. Yes wont work but only when sony will add their unneeded crap.

Next example. I was using aosp 4.1.2 ( clear google code, no stock stuff, no cm stuff or anyother ) and 280mb free ram and gaming performance same as on gb roms. Now only waiting for clear aosp 4.2.2 which will be best for our devices and will gives so f....g good performance.

Thats all I want to say about using stock rom and really recomend you to use some custom rom.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Patched the HOME+POWER keyreset to be disabled by default but can be enabled via sysfs.

Then will include an option in kamenu to turn it on at boot

echo "1" > /sys/power/keyreset/enable_reset

This is not present yet in the released beta!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ahzoe:
anyone having problem with ALS?

im on stock .587, ALS not working with beta4 and beta5

thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
hi kast, not sure if you are aware if this or if it has been previously brought to your attention but i found a bug with kamenu last night while playing with my newly flashed nics (v2) rom

i believe the default governor for kappa (1.6b5) is ondemand, right? well i couldn't select smartassv2 from kamenu at all!. i tried to select wheatley and that worked just fine but kamenu seems to have an aversion to smartassv2... :laugh:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

no, wasn't aware and you're totally right. Made a typo in the menu and listed smartass2 instead of smartassV2.

It's now fixed and will be shipped with next released build.

Thanks!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
Thank you!

Also curious about one more thing. when selecting cpu governor from kamenu, there's an option for "stick at boot" but there's no similar option when selecting i/o scheduler. does that automatically stick at boot once selected?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

it's now included in the menu. What beta are you running?

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
Awesome! Using the last beta you made available, 1.6b5.

---------- Post added at 12:30 PM ---------- Previous post was at 12:00 PM ----------

can you please (privately if you want) make this fixed beta available to me as i suspect there's one more error in kamenu but would like to confirm and report if i feel sure about it before you release the final v1.6. Thanks!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
...and here comes 1.6 Beta 6 which is most probably the final before "final".

just two devices for now.

1.6 Beta6 for Coconut/LWW

1.6 Beta6 for Smultron/Mini

Changelog since 1.6 Beta5

Kernel

Enable KEYRESET via sysfs interface (default is disabled, use echo "1" > /sys/power/keyreset/enable_reset to eanble)

[Patch] Delayed keyreset, 3s keypress

configs: anabled keyreset on all devices

mogami: keyboard reset with HOME + POWER

Staging: android: binder: Fix memory leak on thread/process exit. If a thread or process exited while

pmem: Builk update from msm-kernel-2.6.35 (Would love to have your comments, see if phone responds differently since Beta5)

Ramdisk

fixed kamenu for smartassV2 typo

added IO Scheduler sticky on boot option

removed LMK Auto from Tweaks

added KEYRESET enable/disable in the Tweaks menu

CWM now doesn't create anymore version information in two SD card locations (Removed the /sdcard/0 one)

Couple of changes here and there.

Take care,

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lsander:
all is good coconut. No lags experience. For now only this can say. Tomorrow will write something more
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
Thanks a lot! Kast, did you manage to fix the wifi issue in this one of wifi not being available immediately upon first boot?

---------- Post added at 03:59 PM ---------- Previous post was at 03:15 PM ----------

ok three issues so far with 1.6b6

kamenu does not launch in su mode like it previously used to. i had to do su and then kamenu before it worked.

cpu governor does stick now on reboot. i/o scheduler still does not stick

whereas kamenu shows my cpu governor as smartassv2 which i manually set it to, cpu control in setting still shows the prior wheatley so i'm not sure which one to believe /// :eek:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

wifi issue is still being investigated. I'm checking the process that on first rom boot calibrates wifi and then load the drivers.

Thanks for your report. Let me ask you a couple of questions if you don't mind:

kamenu does not launch in su mode like it previously used to. i had to do su and then kamenu before it worked.

Nothing changed on my Mini. kamenu asks for su when appropriate as before. would you mind doing a "which su" on your device?

cpu governor does stick now on reboot. i/o scheduler still does not stick

IOScheduler sticks when asked to stick. You need to go in the IO Scheduler menu and type s to make it stick (like for CPU)

whereas kamenu shows my cpu governor as smartassv2 which i manually set it to, cpu control in setting still shows the prior wheatley so i'm not sure which one to believe /// :eek:

You can do "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" from a terminal and read the current CPU Governor by yourself

Thanks!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
sorry, i do not understand... what is it you want me to do? i had already granted superuser permission to terminal application beforehand. what was happening before (when i posted that bug list) was i was attempting to enable stick on boot for cpu governor but getting a lot of permission denied errors. i had never got those previously and i had never had to do an su before launching kamenu. but when i started getting those permission denied errors, i did an su and then kamenu and it worked fine after that

i mean to say stick on boot is already enabled by pressing s. the menu does show stick on boot as "on". i selected sio. but upon reboot, it still remains cfq

done and confirmed to be smartassv2 as required by me. thank you!

but the no frills cpu control which is integrate in a lot of roms and shows up under settings as cpu control, why does it not show accurate info? does it get its reading from some other place? ( i had unchecked "apply at boot" in cpu control so it should show correct current information, no? )
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Please open a terminal, type

which su

and kindly report back in here what it says.

It's silly, I know, but every time you change CPU Gov or IO Scheduler you need to either:

enable Sticky on Boot if not enabled (in both menus, CPU Gov and IO Scheduler)

or

disable Stick on Boot, then re-enable it again. (in both menus, CPU Gov and IO Scheduler)

Might look for a cleaner solution later.

The CPU Control bundled in the rom I use (Zelly Cream 3.0) shows two CPU Governors on the screen. On the left there are the readinds of the currently selected parameters and on the center-right the values you can choose from.

Is your bundled CPU Control the same or different?

Thanks a lot!!!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
/system/xbin/su

ok i will try this

i'm attaching screencap of cpucontrol. rom is nics v2

it's v1.25... maybe thats the problem? the current version available on google play is v1.27...

---------- Post added at 05:34 PM ---------- Previous post was at 04:52 PM ----------

tried this. no success. i/o doesn't stick.

regarding cpu control, i installed no frills cpu control from play store and showed correct cpu governor, smartassv2, so the problem is probably in the cpu control app of the ROM. i tried to replace that apk with the one of the nofrills i downloaded but got systemui FC :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] LaShto34:
Kast, about the 1.6 beta6 for smultron I have found a major bug :it's called beta :laugh:. Why, man? It's perfect. Kamenu is perfect, no lags, all great. Just "official" release it. Thank you.

By the way I have no problem (again, with smultron) with kamenu. It creates 3 init.d scripts -1. for governor & min-max, 2.for io scheduler and 3. for power and menu button "reset".
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
KaMenu's behaviour is to call "su" for any task that requires root permission. It does work on my phones without the need to "su" before invoking kamenu. I asked you to execute "which su" to see if your "su" was in a location not covered by what kamenu considers to be the "path".

Since /system/xbin is included, it should be able to find "su" and invoke it properly.

Also, on my phone IO Scheduler changes do stick when you select one and then enable "Sticky on Boot".

after the action is performed you should see that the status changes to On. This means that the init.d script is created properly in /system/etc/init.d

I'm pretty there is something wrong in the setup somewhere... I'd love to debug that but running out of stuff to ask you to test. ;)

When you said that you had to su before calling kamenu, did the su fail on a specific task or does it fail on all of them if you don't invoke su before calling kamenu?

Thanks,

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
That's really kind, thanks.

Would love to find the issue behind Gustavo's script not working properly and maybe find a way to have wifi working right after you install a new rom before 1.6 final is out.

Thanks!

Ka.

P.S. ... and have already plans for 1.7 ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] smoke_slim:
Is kamenu working fine? if i set max min freq via terminal will it return to default after reboot?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
this is what i get when attempting to hit s to Stick on Boot for I/O without first doing an su

Current IO Scheduler:
sio

Choose an option:
c) Change IO Scheduler
s) Stick on Boot: Off
b) Back

-----------------------------------
s/system/bin/kamenu: line 700: can't create /system/etc/init.d/KaIO: Permission denied
/system/bin/kamenu: line 700: can't create /system/etc/init.d/KaIO: Permission denied
/system/bin/kamenu: line 700: can't create /system/etc/init.d/KaIO: Permission denied
/system/bin/kamenu: line 700: can't create /system/etc/init.d/KaIO: Permission denied
chmod: /system/etc/init.d/KaIO: No such file or directory
Sticky IO Scheduler Settings enabled
-----------------------------------

Current IO Scheduler:
sio

Choose an option:
c) Change IO Scheduler
s) Stick on Boot: Off
b) Back

-----------------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] LaShto34:
Is working perfectly. At least for smultron.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
And I presume that directory /system/etc/init.d actually exists and it's only a "su" issue not being able to create a file in it...

Got the answer to my own question by re-reading your post.

Strange thing is that su needs to be in the path... It is in the path, I'm pretty sure.

Could you check in your SuperUser or SuperSu logs for grants given to terminal/kamenu?

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
yup the directory is there alright...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rlluf13:
1.6 beta 6 coconut

Flashed kappa 1.6 beta 6..I cannot play any video again..same prob as beta 4..:(

But its performance are awesome..no lag playing games & very battery friendly..:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
i can confirm that. tried it after I saw the above post. no videos working on 1.6b6. flashed v1.4 back. videos work just fine. no other changes/mods.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Just two seconnds...

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
vids working just fine with 1.6b5!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Hi,

removed the pmem changes between Beta 5 and Beta 7. Could be that maybe.

Beta 7 released for the four devices. Would you try videos with this one please?

1.6Beta7 for Mango/MiniPro

1.6Beta7 for Satsuma/Active

1.6Beta7 for Coconut/LWW (Untested)

1.6Beta7 for Smultron/Mini

Thanks a lot for the tests and reports!!!

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
yup vids working fine on 1.6b7! Thank you!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Good!

Now I can go back to the sd-ext and wifi challenges! ;)

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rlluf13:
Thanks kast. can play video again. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Glad to be able to report that in the next version Wifi will work since first boot of newly installed Rom.

You won't have to reboot the phone to have Wifi working if you switch to another Rom.

Tested with Zelly Cream 3.0, working smoothly!

For the curious, I'll explain what it was and how it was fixed.

In order for Wifi to work, some drivers need to be loaded. That I imagine to be clear to everybody (was even clear to me since the beginning ;) ).

These drivers need some specific parameters and firmwares to be available.

When you use a stock rom the drivers are at the official location and are loaded by the system when needed. In case of a custom kernel, as I don't want to replace stock binaries with my custom ones, I need to preload the Wifi drivers from a location in the ramdisk, which is obviously not the official one and therefore not known to the system routines.

The first time I boot a new rom, the parameters and firmwares are not yet available when I boot the kernel and load my custom wifi drivers. They'll only be available when the rom booted and finished it's setup tasks. On the next (second) boot, my custom wifi drivers will find the required files and wifi is available. On the first boot these drivers are loaded too early and fail finding required binaries.

To fix this I modded my boot script to check if the wifi required files are present, before even trying to load my custom wifi drivers.

If a "first boot" is detected, my scripts performs the Wifi initialisation tasks even before the Rom does it and bingo... Later my custom wifi drivers find everything they need and wifi works right away.

That was for the boring explanation in case somebody was curious about it.

Now need to tackle that sdext data move issue for Gustavo and I'll be able to release 1.6

Take care,

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rahimali:
very much looking forward to 1.6 final! best of luck and thank you!

by the way, the explanation was both fun and educational
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Gustavo RD78:
kast

you could add interactive governor anonymous made equal in their latest builds?

Enviado de meu ST15i usando o Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kast:
Now get what you mean, is it Interactive CPU Governor from kernel 3.4?

Ka.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] LaShto34:
I'm very happy you managed to fix it. As I said I always reboot the phone after first rom install, so it wasn't a issue at all for me (and others, I'm sure). But I guess it was a challenge for you, I am that kind of guy, so I understand you.

My question is: does this fix make the boot time a little longer (checking drivers, etc) or not? Because it would be pitty to disable the need to reboot once after first rom install, but the boot time to be longer everytime you start the phone, even with few seconds. I hope you understand what I mean.