yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] XeLLaR*:
You guys are right, i checked the wrong branch.

However, i cant see any improvement in the 3.4 Kernel to the 3.0. It has less battery life, is slower and it has a lot of bugs, such as BT or Deepsleep. (thats the current state). Believe me when i say you wont be satiesfied with it(for now).

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] rickvrolings:
If we are going to use it as daily driver on cm10.1 (which will happen eventually), it will be improved over time. With the 3.4 kernel it is easier to port future android versions and this is the main reason why we could use a good 3.4 kernel. So the kernel isnt here to make cm10.1 better, but (also) to make future android versions better.

Dont forget xellar, arco and/or I ivendor never do something without reason. They will make the 3.4 kernel perfect over time ;)
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
i'm using rootbox beta 6 which have 3.4.x kernel and before i used cm10.1 beta 6 which also have 3.4.x kernel and deepsleep it's working very good.. about BT i don't know what to say because i don't use it and the only thing i know is that it's buggy in cm10.1 ( doesn't matter if have 3.0.x or 3.4.x kernel).. about performance and battery life i think it's better than 3.0.x kernel...and it's only at begining of developing
[Galaxy S Plus I9001 Android Development] educk:
ok, I feel like I need to make a comment here, I quoted your post, mrjraider because I would like to bring up the same thing in a different manner.

Some of you guys asked me in PM when I will update Phenom Kernel to the 3.4.x base. The answer is very simple: after ivendor will release cm-10.1 based on 3.4 kernel (this was discussed in the CastagnaIT Kernel Thread) or after Castagna will release a 3.4 kernel. I already talked with other developers and we agreed on this decision.

There are 2 reasons for this:

1. Even though I finished the adaptions for ariesve board before CastagnaIT (at that time the kernel didn't boot) he did it more professionally with clear and readable commits, therefore after the fix for the boot stuck was found, arco merged Castagna's adaptions for ariesve. In my opinion this is 100% correct and therefore I gave up on my branch and started using arco's, with Castagna's adaptions.

2. It's important to have a mainline, and for our phone ivendor is maintaining this, so it would be fair to wait for him to release the mainline for CM10.1 which we'll be able to customize easily.

I know that some of you may make a contrast between our situation and the Galaxy W one. Yes, they already have CM10.1 with 3.4.x kernel (provided by arco) and custom 3.4 kernels. We'll do the same soon.

Also, @XeLLaR*, yesterday I finished compiling the CM10.1 with adaptions for 3.4 kernel and I'm currently testing and my opinion is that it works better than the 3.0. Maybe the ROM you tried was not optimized for 3.4 kernel (some headers and other stuff need to be synced)... But anyways, there are different circumstances, as stated above my post, the 3.4 kernel will be improved in time.

Erik :)
[Galaxy S Plus I9001 Android Development] mrjraider:
The united force of our Developers :)
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Well, first thanks for your reply, erik :)

Yes, that might be! I used CM10 R2.5 for my tests. That Kernel 3.4 will be improved over time is a fact. Thats why i wrote "for now".

And congratz to your finished build. I bet it is good!

Ill send you a PM regarding some development thing....:good:

Edit: Thanks for your support!!

Greetz

Xellar
[Galaxy S Plus I9001 Android Development] stuffynet:
Nice to see how things are developing around here. I kinda miss my S+ :p
[Galaxy S Plus I9001 Android Development] drifter94:
Man do i miss mine.. The screen broke and the cost is so high that i'm going to buy a s4 sooner or later.. Enough OT... I want to thank once again all the developers that made my s+ a bad ass phone for a whole year... Hope you don't stop anytime soon cuz i still have my bros s+ kudos to everybody
[Galaxy S Plus I9001 Android Development] smeroni68:
Hi Erik,

The CIT Team has tested some internal releases for a week the v3.4 CIT kernel over CM10 R2.5 (with some adaptation to run on JB4.1.2 and with some CIT feature re-implemented for testing)... this for sure has implicance on XeLLaR writing, because I confirm we had the same results over battery consumption... also in deep sleep the drain was really too high... for the rest the kernel works correctly.

I'm waiting from Ivendor an update on compiling CM10.1... only with CM10.1 compiled on v3.4 we can have a clear idea on how v3.4 will work...

That's all about... ciao

NOTE: thanks for your PM...
[Galaxy S Plus I9001 Android Development] educk:
hmm... that's interesting because it's the only bad thing I noticed too. The battery drain in deep sleep is a bit higher than usual but I still didn't receive my new battery so I thought it's just me... Apart from that it seems stable and overall performance is at least equal to the 3.0 kernel maybe even better. But anyways, maybe we need to convert to 3.4 battery management like arco did with the 3.0 kernel... I'll investigate and report to arco if I find something useful...
[Galaxy S Plus I9001 Android Development] smeroni68:
... this is why we need to start testing... as you see the battery drain is a common "issue" to investigate on... thanks for your support...

Some other work is needed, but for the rest I can confirm 100% your results... ciao
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Here are some battery stats from cm10.1 with K3.4.

Look at the wakelocks & The Multipliers. These are all full-wakelocks.

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sklaes:
I also have such wakelocks using davidteri's cm10.1 Beta 6 (with 3.4 kernel), but for me it is not that extrem(I didnt listen to music today): 37 Wakelocks: 3m 51s within 13h20m

Appname: 1013

Status: Idle

Type: System(media) AudioOut_2
[Galaxy S Plus I9001 Android Development] educk:
Hey, thank you for this. Same thing happens on my device too, but even with 3.0 kernel and only on 4.2.2. (I had this drain caused by the audioOut_2 on AOSPA too).

This wakelock is clearly not kernel related, the audioOut_2 is a Media Server process. Media Server processes caused wakelocks in the past too, if you remember. (some processes were always on even after the device went into deep sleep).

Additionally, here is what I found :

Maybe the solutions quoted above will help, although I never used Viber, I have this wakelock too so I'll do more tests...
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Hey erik, thanks for your reply.

I found out that this wakelock is permanent. It is not possible to remove it by uninstalling apps or something. I deleted almost all apps (only not needed ones) out of /system/app and /data/app, but it still remains. Yesterday midnight i switched to my CM10 nandroid backup, and saw that these wakelocks remain, after using CM10.1. I am flashing CM10 now, from scratch. Formatted /data /sdcard /ext.sd.

What i saw yesterday with cm10+Kernel-3.0 is.. even though the wakelocks remain, the deepsleep is saving my energy. Batterydrain in deepsleep for 2h consumed 0,4% battery. With CM10.1+Kernel-3.4 it was like 10%.

Maybe it is the battery manager from kernel 3.0 that causes it..like you said?
[Galaxy S Plus I9001 Android Development] deccan451:
http://xdaforums.com/showthread.php?t=2261420

Guys please help 2011 xperia developers in developing 3.4 kernel

Edit: we got working 3.4.45 kernel no major bugs...
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
i want to know our 3.4 kernel is PMEM or ION?
[Galaxy S Plus I9001 Android Development] Christopher83:
PMEM at the moment

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] educk:
Well, I checked the dmesg logs and didn't find anything concrete so I couldn't make the connection to the kernel... It could be the RIL too because in aero mode it barely drains 1% per night in deep sleep.

I'll keep investigating but there are so many tracks, I'm constantly thinking about my time using AOSPA with 3.0 kernel, it drained like hell, but as I told you, I blamed the battery for it but now that I know that other users have battery drain issues I realize that it wasn't just my case...

But lets see what ivendor brings up, maybe his CM10.1 problems that were mentioned by Smeroni are related to this...
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Here is a the current state of battery consumption of the 3.4 Kernel, from Caf sources. I just want you to know that batterydrain is good.

THIS IS A INTERNAL KERNEL. DO NOT ASK OR BEG ME FOR IT. YOU WILL NOT GET ANYTHING FROM ME, EXCEPT FOR A PM BLACKLIST.

Here are some settings

Governour: Hyper

I/O Sheduler: SIO

Frequency Range: 245-1804mhz

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] a_alben:
For me Battery Drain isn't as much as good as yours, using latest BroodKernel build. But this may depend to my 'old' battery^^
[Galaxy S Plus I9001 Android Development] ktulu84:
he has a brand new 1800mAh battery, so it is normal that his battery lasts longer than yours, but i can confirm, i'm testing Christopher's kernel and the drain is very good... and i have a stock battery :D

EDIT: I just wanted to thanks all our developers and all of the guys who contributed to this porting, this is really a good work
[Galaxy S Plus I9001 Android Development] muhammadnajmi96:
Wow, it's great ! :D
[Galaxy S Plus I9001 Android Development] android_smiley:
Does it work on cm10.1?
[Galaxy S Plus I9001 Android Development] luckana:
:confused: how do you think ?! of course it works
[Galaxy S Plus I9001 Android Development] omegaRED7:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Great job Erik, very smooth. If you have the time, please consider a stock PMEM version. Also, there is some glitching in the camera, it freezes from time to time, displaying a green/violet line. If you switch to the front/back camera, it unfreezes.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Rhonin86:
THANK YOU

Hi Erik,

Thx for the extra 20 MB - RAM :D

As i reported it works really really good - a special thank should be on the way making its way over your mentioned Webside :o

Thx for all

Rhonin
[Galaxy S Plus I9001 Android Development] Christopher83:
Great work Erik! :good::highfive:
[Galaxy S Plus I9001 Android Development] EB20XY:
WOW. What a day. Thanks a lot for the new 3.4 kernel base !! :highfive:
[Galaxy S Plus I9001 Android Development] Rhonin86:
Which Cam-Version do you use ? Because i didn't encounter the described probs.... I use DavidTeris Version 3.1 and for me it works without any problem.... So maybe it is not kernel related.... :confused:

Cheers

Rhonin
[Galaxy S Plus I9001 Android Development] Harrocan:
Holy cow... This kernel is smooth as hell with Ivendor Beta 2... Nice work!
[Galaxy S Plus I9001 Android Development] jimsiv:
Απ: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Fast and smooth...no problems so far...and here some antutu results!!

Many many thanks Erik!! You're awesome!!

Send from my GT-I9001
[Galaxy S Plus I9001 Android Development] omegaRED7:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Both stock camera from Ivendor's Beta2 and JB camera+. Will try davidterri's camera and report.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Ernie1972:
Hi Erik,

Is this kernel also ready to use with CyanogenMod 10.1 Alpha 3 (Android v4.2.1) from Xistance?

Thnx in advance.
[Galaxy S Plus I9001 Android Development] Aldokazer:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Only for cm10 I guess.
[Galaxy S Plus I9001 Android Development] jcah73:
Wooow, fantastic work Erik....
[Galaxy S Plus I9001 Android Development] Pilone92:
**** YEAH :D
[Galaxy S Plus I9001 Android Development] drnjstj:
:D'

Speedwise it is really amazing!

Also didn't find any issue, so wouldn't call this an alpha.

Thanks so much for this.

I would say, next thing is to fucus on the battery life.
[Galaxy S Plus I9001 Android Development] alireza7991:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Good JOB Dev !
[Galaxy S Plus I9001 Android Development] Edoardo001:
LOL Brother i mean awesome no handsome, scuse me for my very bad and gay english :laugh: (I have nothing against gays)
[Galaxy S Plus I9001 Android Development] CastagnaIT:
I do not want to discourage all, but the attempt to create this kernel is wrong from the beginning.

this kernel source is not optimized for Android,

to create a new kernel 3.4, must use the sources from Codeaurora CAF kernel.
[Galaxy S Plus I9001 Android Development] mrjraider:
If so could you explain in an easy way why? Since it is a huge step in the development for our device.
[Galaxy S Plus I9001 Android Development] Xistance:
Because the sources that Erik took are from the generic Linux kernel source. The CAF is mainly made for Android devices, qualcomm chipsets at that.
[Galaxy S Plus I9001 Android Development] mrjraider:
So the sources are from a kernel used in LINUX os (also ubuntu os i guess?).. Well it nice to see someone even trying it.. (no offence to the others ofcourse)
[Galaxy S Plus I9001 Android Development] drnjstj:
So 3.8 would be possible like this?
[Galaxy S Plus I9001 Android Development] edisile:
R: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

I don't know but it seems to be waaaaay smoother than 3.0.66, so it's still a step forward. Games are smoother, but the cr*ppy GPU drivers are the real problem. (OT: there isn't any way to do these drivers by ourself?)

Inviato dal mio frigo a pedali.
[Galaxy S Plus I9001 Android Development] CastagnaIT:
exact Xistance said good explanation,

the exact method to create a new kernel 3.4 is to start with clean sources of codeaurora of 3.4, and add everything needed for our device
[Galaxy S Plus I9001 Android Development] edisile:
R: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

But since Erik ported the 3.4 kernel from the linux one, porting it from c.a. sources shouldn't be easier?

Inviato dal mio frigo a pedali.
[Galaxy S Plus I9001 Android Development] educk:
Hello there Castagna! You gave me the chance to explain some things. Thank you for that.

As I said in the OP, this is only an alpha, a preview of things to come(that's why I made only 1 release). Of course, I'm 100% aware that this is not the proper way to build a kernel for an Android based device.

Linux Kernels are at the base the same but there are a few particularities that makes them to be "different", now, you are a way better coder than me and you understand these things quickly, and I completly understand the meaning of yor post, you realise this is not the proper way of doing it and your developer instinct tells you that you must point it out.

Now, about those particularities I mentioned before, these are related to our device motherboard, CPU and other stuff, like Xistance said, these are mostly related to Qualcomm's architecture, which again, is not included into the kernel base taken fron LKA.

The CAF has 2 sides:

1. The kernels from there are fully adapted to our deveices motherboard, only the board configuration must be added (board_ariesve).

2. Kernels from there are really hard to compile.

I will try to explain, in my deffence, how I built this kernel:

First, I took the linux kernel base (yep, that one which is used on PC, along with a GUI on it, like UBUNTU).

Than I removed all the unecessary files, and finally applied our devices specific files. Of course, there were tons of compilation erros, which was the hardest part, I had to fix them one by one, otherwise the kernel would not compile at all.

Ok, I must repeat this so eveyone will know that I'm 100% aware that this is not the proper way of building a kernel from source, I used the "androidization" process from linaro. Of course, that's why I called it an early alpha, it's like a demo for now... I'm already working on the CAF source, for now I took korg/linux-3.4.y and I'm having some fun with it... it will take a while but this is the purpose of this thread, the development of 3.4 Kernel for ariesve.

Thank you again!

Regards,

Erik
[Galaxy S Plus I9001 Android Development] broodplank1337:
I built it from source with O3 Optimization, and it works :). Going to test the performance now

Newest kernel possible on smartphones is 3.6, so we are very close to the top models :)
[Galaxy S Plus I9001 Android Development] omegaRED7:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Well since Erik ported kernel 3.4 from Linux sources (I assume), I would imagine he went the same route: started from scratch and added all the necessary stuff needed for our phone. The steps for the CAF kernel would be the same, then. Personally I feel this kernel is even smoother than 3.0.x, and since everything seems to be working, if we don't find any unexpected bugs, I see no reason to use 3.0 over 3.4. Good job!

Edit: Erik beat me to it :)

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] :
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Im not a developer but now I understand a lot thanks Erik for make it clear. :)
[Galaxy S Plus I9001 Android Development] billy1billy:
All is going to fast. Guys take it easy we need some time to digest all this.
[Galaxy S Plus I9001 Android Development] broodplank1337:
I'm not pushing at all if you mean that. I know how much work it takes to accomplish things on the i9001. Don't get me started about AOSP XD
[Galaxy S Plus I9001 Android Development] edisile:
Well... have fun, then! If this first version is so smooth, even without optimizations, the proper one would transform our phones in PCs (just kidding)? I'm still testing it and i have to say that is really good, for an ''alpha'', as you called it. Now the 3.6 kernel is getting closer...
[Galaxy S Plus I9001 Android Development] anuseb89:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

:D
[Galaxy S Plus I9001 Android Development] plictisit17:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

built properly or not , this kernel is pure gold . it's the gaming speed of gingerbread on jb . it's like i9001 gained an extra core . everything is smooth , and i do mean everything , on smartassv2 clocked at 1400 mhz max with sio scheduler .

can't wait to see this kernel with android 4.2 .
[Galaxy S Plus I9001 Android Development] qurshot:
I've used 1-2 hours and i can say PhenomKernel by Erik-OC-UV/exUV v1.2.6 is better for now. So i'm back to 1.2.6 :)
[Galaxy S Plus I9001 Android Development] Calin:
Very ggod work educk !!!! continua tot asa
[Galaxy S Plus I9001 Android Development] Madridii:
You are amazing man

We are waiting it for Wonder :fingers-crossed:

Thank you
[Galaxy S Plus I9001 Android Development] Schur1k:
AW: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

What is better to use now? 3.0.x or 3.4.x
[Galaxy S Plus I9001 Android Development] billy1billy:
I do not mean that at all. I mean I am happy that it is so much development, Just for the noobs (include myself) it is too fast.
[Galaxy S Plus I9001 Android Development] nickynikolov:
For now 3.0.x is better for use. This is alpha release, so it's better to wait for now. Anyway, thanks ERIK awesome development from you!
[Galaxy S Plus I9001 Android Development] anuseb89:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

There are no bugs or issues even though it is in alpha..its worth trying..flash and experience urself.. :)
[Galaxy S Plus I9001 Android Development] Schur1k:
AW: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Ok thanks :D
[Galaxy S Plus I9001 Android Development] educk:
:) I just want to add some things. It's not alpha because it has features that are not working properly... it's alpha because I'm working on it, I will change the source to CAF source these days, that will be "beta" after that we can move forward and finish the build, finally getting an RC.

In this case, alpha doesn't mean that it's experimental... not at all, the building method is not the right one, but just yet...

I hope you guys understand :) And thank you for your support!
[Galaxy S Plus I9001 Android Development] CastagnaIT:
excellent!

if you're working with the base korg/linux-3.4.y're good to go

I know that there are so many things to fix, it is not just one thing to do in 2 days...

On the other hand, a kernel done well by its good fruits

a council,

if you want to add features that are not stock (example Undervolt overclocking etc. ..), it creates a separate branch
[Galaxy S Plus I9001 Android Development] freemanandrei87:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

But everithinc is working fine im using it and i dont have any problem no restarts no FC no lags......
[Galaxy S Plus I9001 Android Development] CodeXpert:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

I notice a better performance and battery using this kernel..

Although it is not CAF kernel.. I and many other people like it..
[Galaxy S Plus I9001 Android Development] educk:
Thank you Castagna!

Yes, I understand what you mean! First branch with the stock kernel with fixed errors and second branch, modified version with non-stock features :).

This is way more professional. :highfive:
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

I'm sorry for the argument maybe off topic, but... Does anyone have problem of boot loop with this kernel when Bluetooth is turned on?
[Galaxy S Plus I9001 Android Development] xenonfire:
nope everything working fine!

No boot loops or shutdowns :D

best regards
[Galaxy S Plus I9001 Android Development] edisile:
Mmm...nope. I have instead a deep sleep AFTER charging problem: when i unplug my phone after charging, it doesn't go in deep sleep anymore, al least until i reboot it.
[Galaxy S Plus I9001 Android Development] failly:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Its extremly smooth!!

Only think js SD card write speed js really low!(4.9 wjth this kernel --> 15 with 3.0.66 and 30 with castagna)

But then again its really smooth
[Galaxy S Plus I9001 Android Development] metalrules321:
I think we should be really excited that the development is moving really fast ! :good:
[Galaxy S Plus I9001 Android Development] sanefirst:
Educk, thanks for this kernel! I see that we are now close to have fully working 3.4 kernel :)

I tested your kernel and it was hell smooth, but I had some issues, so I switched back to 3.0.

1. Music chops from time to time (PowerAmp) - it doesn't happen using 3.0 kernel.

2. I played Dungeon Hunter 3 and everything was fine, but suddenly the game froze. (I was able to go back to the desktop by pressing HOME button, but the game didn't respond). Such thing never happened to me with 3.0 kernel.
[Galaxy S Plus I9001 Android Development] RobyRc:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

Hi eduk. My phone rocking with your 3.0 kernel so this 3.4 will be perfect . Only libs for our ****ing gpu ..it's hard to play games with this libs

Sent from my phone..better than "ifon 5"
[Galaxy S Plus I9001 Android Development] yowanvista:
So this 'androidization' process should also work on mainline Kernel 3.8? :)

There is already a kernel 3.6 caf branch so porting it should be possible.
[Galaxy S Plus I9001 Android Development] drnjstj:
I had exactly the same question:

Hope educk can answer.
[Galaxy S Plus I9001 Android Development] sidsweb:
+1 :)
[Galaxy S Plus I9001 Android Development] Aldokazer:
Re: [KERNEL][DEV]Jelly Bean LKA 3.4.x Kernel Development

What I think is that 3.6 should be possible but 3.8 doesn't even have a caf branch, and you want that??? O.o
[Galaxy S Plus I9001 Android Development] yowanvista:
Well, the newly introduced F2FS file system for flash storage could be of use. The new internal changes/fixes are also not to be neglected.