[Kernel][ICS] Kappa Kernel - Stock & Boost

To make the kernel lighter I'll remove some CPU Govs. Choose which to remove

  • Userspace

    Votes: 31 70.5%
  • Intellidemand2

    Votes: 8 18.2%
  • Lionheart

    Votes: 23 52.3%
  • Smartass

    Votes: 12 27.3%
  • InteractiveX

    Votes: 5 11.4%
  • Virtuous

    Votes: 11 25.0%
  • Scary

    Votes: 28 63.6%
  • Brazilianwax

    Votes: 20 45.5%
  • Minmax

    Votes: 25 56.8%
  • Savagedzen

    Votes: 17 38.6%

  • Total voters
    44
  • Poll closed .

Verbato

Senior Member
Jan 1, 2007
330
173
63
Hallingdal
Hi there!
Well, hi there to you too! : )

I have the impression that in the last betas the battery bug was fixed. Yet I see Verbato's work on fixing it. Is Verbato's work meant to be applied on 1.6 or the latest 1.7Beta, or are we talking about two different battery bugs?
Well, I just git cloned the stuff you had at github. Made a kernel my self. Had the 100% battery bug and googled for any and all problems with our battery chip. Turned out there are some who struggle with the reverse problem, a "0%" bug (which is much worse, the phone turns on, the kernel will boot up, but the OS, as soon as it is started, shuts down - even with a fully charged battery, because it thinks the battery is empty). In the same thread I found that one person, CTCaer, had been in touch with Texas Instruments, who knew about the problems with their chipset. CTCaer found some commands one could pass to the kernel to make it reset the calibration for the battery. But the reply from Texas Instruments were just, "it works with the standard kernel and OS made by Sony, so it's not our fault". So CTCaer is the one who found and made the (or well, a) solution for the battery-bug.

Turned out, btw, that it was kernel 1.6 I had downloaded from github. But just as well, since that made me find a solution for it. I have recieved message after message saying I should ask you to post my message in the first post, others have suggested making a thread of it's own on this and ask for the mods to make it sticky. So there are several persons, appereantly, who struggle with the 100% bug.

I couldn't even get 1.7b to build properly. The wireless doesn't want to play along at all! And thanks for letting us use this kernel as we please. I will. ; )

I've even taken on karandpr's challenge, and am building a 180-ROM. I just had to! ; )
Mostly a proof of concept, but turned out to be fun once I got there. ; )
So then I can make a kernel with 1.7b with the correct partition-setup. But... Would be nice if you told us how to get the wireless working? Pretty pwease? :eek:
 
  • Like
Reactions: rahimali

rahimali

Senior Member
Jul 25, 2007
1,562
766
143
forum.xda-developers.com
I've even taken on karandpr's challenge, and am building a 180-ROM. I just had to! ; )
Mostly a proof of concept, but turned out to be fun once I got there. ; )
So then I can make a kernel with 1.7b with the correct partition-setup. But... Would be nice if you told us how to get the wireless working? Pretty pwease? :eek:
What ROM is this? i.e. based on? I'm always interested in slim ROMs :D
 

Verbato

Senior Member
Jan 1, 2007
330
173
63
Hallingdal
What ROM is this? i.e. based on? I'm always interested in slim ROMs :D
Saqib Nazm's Feather ROM. I've managed to make a decent xperia-rom with walkman, while still keeping it slim. What ever else than what is already installed can easily be installed through play store. Also, everything updated to latest version. Email, play store, es file explorer, etc. latest version.
I've decompiled everything I can decompile and deleted almost everything that isn't meant for MDPI.
But mostly, this is, like I said, just a proof of concept. Will make a larger one, 160, as well, with video, album and all that stuff.
 
Last edited:
  • Like
Reactions: moolokow

karandpr

Space too small for my titles. Check Signature
Staff member
Feb 20, 2011
9,688
13,151
263
Prolific Troll
Hi there!

First of all, sorry for not being around lately, really sorry, but yes, I'm alive ;)

I'd like to express my gratitude to all the people that are keeping this kernel alive, either by using it, or patching it, while I'm away.
Seeing that so many people are still interested and participate in its development is really gratifying and really wished to thank you all.

Another thing I wanted to say out loud is that you can patch, fork, bend, squeeze this kernel as much as you want. It's not my work, it's based on a lot of people work that I gathered and cooked according to my own recipe. Most of the ingredients of this recipe is the hard work of some geniuses around here. I've only one request, if you don't mind, if you were to fork Kappa, please rename it to something else and start a new thread.
Whether you mention or not the original sources is up to you.

Now, to go back to the development status, whether there is still development or not and the rest...
The current status is, as you surely noticed, halted.

Halted doesn't mean stopped. I had to pause it because of various reasons, mainly because the last fixes I'd like to implement are not easy ones and I'd require time unfortunately I don't have at hand at the moment.

I have the impression that in the last betas the battery bug was fixed. Yet I see Verbato's work on fixing it. Is Verbato's work meant to be applied on 1.6 or the latest 1.7Beta, or are we talking about two different battery bugs?

Anyway... What got me to pause this development was that after extended use of the latest 1.7 Beta on my mango I unfortunately noticed, that, from time to time, the phone would reboot for apparently no reason. Didn't happen often, no, but it did happen from time to time when put in intesive use. This is not acceptable. Another thing I noticed is that battery life could be "random". I could get 3 days of battery with 1-2 calls a day and moderate internet use (mostly Telegram) and then suddenly, one day, for 100% to 0% in little more than 12h (ok, happened only once, but yet it happened).

This to me means that before labelling 1.7 out of Beta, further tests need to be performed. To do these tests I need... Time ;)
Time to be the full day at my desk, enough coffee, time to debug kernel logs, etc, etc. Unfortunately both work and private life don't allow me to spend even 5 minutes into this. Yet I never said it'll never happen. The simple thing I'm back here posting this means I'd really want to finish this project and provide to you and to me a final 1.7 of Kappa.

I'd like to compile a list of known bugs in the latest 1.7 Beta. In case you would like to help, please use the "Bug Report" function of this thread. As soon as I can (maybe July) I will have a look at them one by one. Hopefully by end of July 1.7 could be out.

Thanks to you all,
Ka.
Nice to see you alive. :highfive:
\
In my humble opinion 1.7 and 1.7Lite Branch are chaotic (for the lack of better words...) . In fact a lot of stuff appears to be changed unnecessarily :/.

As soon as I get time, I will work on 1.6 branch with limited set of patches from 1.7 + Extended partition :p




Well, hi there to you too! : )


Well, I just git cloned the stuff you had at github. Made a kernel my self. Had the 100% battery bug and googled for any and all problems with our battery chip. Turned out there are some who struggle with the reverse problem, a "0%" bug (which is much worse, the phone turns on, the kernel will boot up, but the OS, as soon as it is started, shuts down - even with a fully charged battery, because it thinks the battery is empty). In the same thread I found that one person, CTCaer, had been in touch with Texas Instruments, who knew about the problems with their chipset. CTCaer found some commands one could pass to the kernel to make it reset the calibration for the battery. But the reply from Texas Instruments were just, "it works with the standard kernel and OS made by Sony, so it's not our fault". So CTCaer is the one who found and made the (or well, a) solution for the battery-bug.

Turned out, btw, that it was kernel 1.6 I had downloaded from github. But just as well, since that made me find a solution for it. I have recieved message after message saying I should ask you to post my message in the first post, others have suggested making a thread of it's own on this and ask for the mods to make it sticky. So there are several persons, appereantly, who struggle with the 100% bug.

I couldn't even get 1.7b to build properly. The wireless doesn't want to play along at all! And thanks for letting us use this kernel as we please. I will. ; )

I've even taken on karandpr's challenge, and am building a 180-ROM. I just had to! ; )
Mostly a proof of concept, but turned out to be fun once I got there. ; )
So then I can make a kernel with 1.7b with the correct partition-setup. But... Would be nice if you told us how to get the wireless working? Pretty pwease? :eek:
Saqib Nazm's Feather ROM. I've managed to make a decent xperia-rom with walkman, while still keeping it slim. What ever else than what is already installed can easily be installed through play store. Also, everything updated to latest version. Email, play store, es file explorer, etc. latest version.
I've decompiled everything I can decompile and deleted almost everything that isn't meant for MDPI.
But mostly, this is, like I said, just a proof of concept. Will make a larger one, 160, as well, with video, album and all that stuff.
:eek:
 

job.bousix

Senior Member
Mar 27, 2013
231
159
0
djerba
Hi there!

First of all, sorry for not being around lately, really sorry, but yes, I'm alive ;)

I'd like to express my gratitude to all the people that are keeping this kernel alive, either by using it, or patching it, while I'm away.
Seeing that so many people are still interested and participate in its development is really gratifying and really wished to thank you all.
.
.
.
I'd like to compile a list of known bugs in the latest 1.7 Beta. In case you would like to help, please use the "Bug Report" function of this thread. As soon as I can (maybe July) I will have a look at them one by one. Hopefully by end of July 1.7 could be out.

Thanks to you all,
Ka.
Hi ,
glad to see you agan !! we do still have hope :D

thank you very much.
job.
 

rahimali

Senior Member
Jul 25, 2007
1,562
766
143
forum.xda-developers.com
Nice to see you alive. :highfive:
\
In my humble opinion 1.7 and 1.7Lite Branch are chaotic (for the lack of better words...) . In fact a lot of stuff appears to be changed unnecessarily :/.



As soon as I get time, I will work on 1.6 branch with limited set of patches from 1.7 + Extended partition :p
That's a brilliant idea! I'm not one for benchmarks but I *feel* Kappa offers both better performance and battery life than the other ICS kernels (no offence to any of the other devs or kernels :angel:).

Best to start from Kappa v1.4 or v1.6 and then see where you end up ;) :D
 

job.bousix

Senior Member
Mar 27, 2013
231
159
0
djerba
I'd like to compile a list of known bugs in the latest 1.7 Beta. In case you would like to help, please use the "Bug Report" function of this thread. As soon as I can (maybe July) I will have a look at them one by one. Hopefully by end of July 1.7 could be out.
Hey kast ,
We are still waiting for updates please don't ignore us :) .

thank you very much .
job.
 

Arun Av

Senior Member
Mar 2, 2012
506
234
0
Kolkata
Well, hi there to you too! : )


Well, I just git cloned the stuff you had at github. Made a kernel my self. Had the 100% battery bug and googled for any and all problems with our battery chip. Turned out there are some who struggle with the reverse problem, a "0%" bug (which is much worse, the phone turns on, the kernel will boot up, but the OS, as soon as it is started, shuts down - even with a fully charged battery, because it thinks the battery is empty). In the same thread I found that one person, CTCaer, had been in touch with Texas Instruments, who knew about the problems with their chipset. CTCaer found some commands one could pass to the kernel to make it reset the calibration for the battery. But the reply from Texas Instruments were just, "it works with the standard kernel and OS made by Sony, so it's not our fault". So CTCaer is the one who found and made the (or well, a) solution for the battery-bug.

Turned out, btw, that it was kernel 1.6 I had downloaded from github. But just as well, since that made me find a solution for it. I have recieved message after message saying I should ask you to post my message in the first post, others have suggested making a thread of it's own on this and ask for the mods to make it sticky. So there are several persons, appereantly, who struggle with the 100% bug.

I couldn't even get 1.7b to build properly. The wireless doesn't want to play along at all! And thanks for letting us use this kernel as we please. I will. ; )

I've even taken on karandpr's challenge, and am building a 180-ROM. I just had to! ; )
Mostly a proof of concept, but turned out to be fun once I got there. ; )
So then I can make a kernel with 1.7b with the correct partition-setup. But... Would be nice if you told us how to get the wireless working? Pretty pwease? :eek:
So, should I say I am proud or sad to have the "2nd type" of battery bug here in my mini? :( The battery goes mad if it ever turns on (which is 1 out of 100 chances).. then from 70% to 60%, then again to 65%... it plays at its own.. and then comes the REAL problem.. if the phone reads the battery as 0% while online, it shuts down, and then goes the play of reboot- homescreen- 0% - reboot saga. I tried kappa, doppler, mesa and all are ineffective on this thing. Have to try with the command line fix by verbato, but I'm not sure if I did flash the same script while using helium that caused this issue. I am doomed, my device is doomed. Why is electronics such a B!!!#?!?! :( :(
 

Arun Av

Senior Member
Mar 2, 2012
506
234
0
Kolkata
How old is this battery?
hello there! I'm sorry I didn't see your reply at first on helium thread so posted here as well... The device and battery both are 3 years old approx. But nope, I know what you would advice me but the battery is ok I guess, because even 1 month ago it worked good, though it had the easy-type-100% bug then (means mesa kernel worked good). But with this second issue, I am seriously having a bad headache :(
Should I keep posting on kast's thread, I guess it's kind of offtopic so I will try experimenting with kernels and that script of yours, @Verbato .. and then will see if it helps (please pray from your heart that it does)..
and btw, any idea if.. if and only if... the fix would work with kitkat roms/kernels? Am I being too offtopic? :( For now I guess I should Flash kappa 1.6 > install a custom stock ics rom > apply the script-fix (twice, thrice... ya I know) and see. Ok?
 

karandpr

Space too small for my titles. Check Signature
Staff member
Feb 20, 2011
9,688
13,151
263
Prolific Troll
hello there! I'm sorry I didn't see your reply at first on helium thread so posted here as well... The device and battery both are 3 years old approx. But nope, I know what you would advice me but the battery is ok I guess, because even 1 month ago it worked good, though it had the easy-type-100% bug then (means mesa kernel worked good). But with this second issue, I am seriously having a bad headache :(
Should I keep posting on kast's thread, I guess it's kind of offtopic so I will try experimenting with kernels and that script of yours, @Verbato .. and then will see if it helps (please pray from your heart that it does)..
and btw, any idea if.. if and only if... the fix would work with kitkat roms/kernels? Am I being too offtopic? :( For now I guess I should Flash kappa 1.6 > install a custom stock ics rom > apply the script-fix (twice, thrice... ya I know) and see. Ok?
Get a new battery,borrow a new battery and try the fix.. Every electronic item works good last month ...Not necessarily not will work this month..3 years is too much time for a smartphone battery which gets charged and discharged every day !
 

cybercop007

Senior Member
Jul 27, 2013
129
16
0
Get a new battery,borrow a new battery and try the fix.. Every electronic item works good last month ...Not necessarily not will work this month..3 years is too much time for a smartphone battery which gets charged and discharged every day !
the link for downloading kappa 1.7 beta is not working or file removed for smultron/mini can any one provide me with the link for the kernel...
 

kast

Senior Member
Dec 3, 2006
565
1,339
0
Europe
Hi there!

Anybody cares trying a new test version for Smultron-Mini / Mango-MiniPro?

Mini
Mango

Compared to 1.6...
Please see for a list of relevant changes included in this test builds
You have to consider that this version is a full rebuild of 1.6 towards 1.7
And yes, of course, it's got the 100% battery fix (included... The I2C one)

  • 98afabe linux kernel 2.6.32.63
  • 87b3fa6 Linux kernel 2.6.32.62
  • ed19531 Logger: Reclaim memory
  • 2c7fc06 Updated sdio routines for WL12xx driver from 2.6.34 kernel
  • dd4fa29 Squashed update to 2.6.32.61
  • dea5b83 CPU Boot Boost reduce to 1305600
  • e531b19 Back to GZIP for Ramdisk
  • 92d4adf SIO as default IOSCHED
  • 8ebe0a9 Patched Video Drivers [Thanks: M66B]
  • 89af4f3 Increased fb size for triple buffering
  • cd3f6bf Added triple buffering
  • af4b645 Optimized RCU Tiny
  • 3a655a4 ARM: Add optimised swahb32() byteswap helper for v6 and above
  • 571f233 block/deadline: tweaked for better performance on android
  • 04516aa I2C Fixes for 100% Battery bug
  • 09471e0 ROW IO Scheduler backport from 3.9
  • fe062fa ROW Updated from 3.4
  • 847b1ca Default ROW and SmartassH3 for all configs
  • 478c9fc uksm: Tunings for smartphone usage and relocate run default value
  • 7b9a5f7 uksm: Removed unimplemented remote bug reporting system
  • a1900b7 uksm: Hack to fix inline compile error and disabled at boot
  • 1423543 uksm: Ported Ultra-KSM 0.1.0 Experimental port for stock ICS semc-msm7x30 kernel.
  • bcf859b Havege (hrandom) bultin
  • 197f2b7 UPDATE: vidc 720p drivers [Code Aurora]
  • 35a105b Enable ipsec support for all configs
  • 8371abe Underclock at 24/61 MHz + Fixes to swapfile
  • b51522a SmartassH3 boost pulse support + fixed sysfs
  • cd01319 Ignore firmware
  • 8ae6005 staging: Update Snappy and add arm specifics
  • 42cbd1e Device Config Changes
  • 2fc934a Removed CPU Govs: brazilianwax, lionheart, minmax, savagedzen, userspace
  • 22ff693 Updated GPU video drivers
  • 65ffa54 Enable KEYRESET via sysfs interface (default is disabled, use echo "1" > /sys/power/keyreset/enable_reset to enable it)
  • 9058c2e mogami: keyboard reset with HOME + POWER


Once again, thank you very much for your precious help

Ka.
 

job.bousix

Senior Member
Mar 27, 2013
231
159
0
djerba
Hi there!

Anybody cares trying a new test version for Smultron-Mini / Mango-MiniPro?

Mini
Mango

Compared to 1.6...
Please see for a list of relevant changes included in this test builds
You have to consider that this version is a full rebuild of 1.6 towards 1.7
And yes, of course, it's got the 100% battery fix (included... The I2C one)


Once again, thank you very much for your precious help

Ka.
Hi kast,
I just want to say before testing that I AM EXTREMLY HAPPY THAT YOU'RE BACK AFTER A VERY LONG TIME !!
and all thanks goes for you for supporting us more than 2 years !!

EDIT : kernel boots fine :D and now I'm testing .. I will report back in the night ( after 5 hours ) ..

job.
 
Last edited:

job.bousix

Senior Member
Mar 27, 2013
231
159
0
djerba
Hi ,
I'm giving the test report :

* connectivity : - wifi , bluetooth , gps , radio : good
- data connection : I had problem with it but I don't really know if it's kernel or operator related :/

* hardware : camera ( front and rear ) , screen , physical keyboard , speakers , eare phone , light sensor , accelerometer , proximity sensor , notification led , led flash : good :good: and 100% battery bug is gone :good:

* stability : I got a freeze successed by a reboot once ( when on web browser ) : last_kmsg attached
- browser was going crasy and is not loading webpages before the freeze accident

* kamenu : enable to change min - max frequencies but able to change governors ( the kamenu script was not well tested )

* init.d : not well working , it is not setting frquencies like in the script , so not working :/ but I fix it with the script attached (zip_init.d.zip : thanks to the dev , the thread is here : http://forum.xda-developers.com/showthread.php?t=1933849 )

* battery life : I used phone heavely with wifi and data connection ON so battery seemed pretty solid however when idle , the phone seem to have a wakelock (?) which was not well detected with wakelock detector there was a battery drain ( I can't really confirm because I flashed the kernel on top of mesa 3.0 so stuff need to be recheked ) :/

* performance : speed is AWESOME boot time is repectable ( 48 seconds ) , game loading is really fast in addition to butterly smooth scrolling and a smooth music play back ( no cuts :D ) :good: !!

I hope this will help and I'm ready to test and report new builds as much as I can :D

job.
 

Attachments

Last edited:
  • Like
Reactions: kast

job.bousix

Senior Member
Mar 27, 2013
231
159
0
djerba
reboot bug ..

Hi ,
after more than a day and half of usage of the kappa kernel , I faced multiple freezes and random reboots some of them happen on the web browser or when launching the game " don't touch the white tile " ( or " piano tiles " ) half of times the phone frezes and reboots , which make this bug very annoying and a serious one , here I brought some last_kmsg logs in the attachment ..

EDIT : another bug need to be mentioned , is that video streaming on facebook mobile page ( where I noticed the bug ) is half of the time laggy or with very low fps lets say ..

job.
 

Attachments

Last edited: