yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] EB20XY:
3.2.2 + cm10 rc1

installed new version 3.2.2 exUV yesterday evening.

Works great with CM10 RC1. Low battery drain and smooth.

Thanks !! :highfive:
[Galaxy S Plus I9001 Android Development] davidteri91:
Ok don't worry and thanks for your work for us :)

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] a4apple:
Can I flash this kernel, 375MB exUV BIGMEM on H-Book Revolution 1.4? I worry that the kernel is not compatible with the rom. :(
[Galaxy S Plus I9001 Android Development] sulli2:
can you upload the cm 10.1 version??
[Galaxy S Plus I9001 Android Development] DreamerTKM:
What is SLQB??? I asked google but still don't understand....is it better than normal version???
[Galaxy S Plus I9001 Android Development] educk:
If that ROM is based on CM10 than yes.

I posted some stuff about these memory allocations in this thread... On paper, SLUB is better than SLQB, but some users reported better performance when using SLQB so I made a separate version. Here is a Comparison Table for reference.
[Galaxy S Plus I9001 Android Development] a4apple:
Yeah, it is. thanks! and is wep encrytion supported? I dont know much about this thing. :(
[Galaxy S Plus I9001 Android Development] Christopher83:
You can also find some memory allocator comparisons here:

http://xdaforums.com/showthread.php?p=37266078#post37266078

http://xdaforums.com/showthread.php?t=1696284

SLQB memory allocator has been developed by Nick Piggin recently (2008-2009).

SLQB tries to avoid particular underperforming behaviors (from the developer's point of view) of SLUB memory allocator and tries to minimize memory fragmentation.

However, I don't think that it's ever been completed entirely and the code has remained almost unchanged over time, it is not well mantained if compared to the other official supported memory allocators (mainly SLUB and SLOB, the first one, SLAB, could be considered as "deprecated")...

I don't know if Christopher Lameter (the creator of SLUB) is still working on his new SLEB memory allocator, I can't find any news about it since 2010...
[Galaxy S Plus I9001 Android Development] educk:
Thank you Christopher for these findings! I remember your thread were you discussed almost everything about optimizations and made a lot of tests and benchmarks. It's always a pleasure to read these as I learn very much. :highfive:

Updated OP with additional details from the kernel versions.

I know I said I will release the CM10.1 kernels today but I've been busy working on the Ad-Hoc IBSS mode for these kernels and I want to finish it before the release. Possibly when Xistance will update and merge the kernel changes I will update :).
[Galaxy S Plus I9001 Android Development] EB20XY:
PhenomKernel v3.2.2 + RC1

This PhenomKernel v3.2.2 is the best choice for RC1.

Smooth, all works and great battery life.

Thanks !

Hope this development of the PhenomKernel can go on if ivendor continues with CM10 builds in the future.
[Galaxy S Plus I9001 Android Development] goliat88:
After writing that command i do not have revision version just:
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
restart your phone and immediatelly type this commend
[Galaxy S Plus I9001 Android Development] educk:
v3.5

Hi guys!

Phenom Kernel v3.5 is in testing. A few screens:

Cleaned code and synced with latest sources of ivendor (this includes the new display driver ported by CastagnaIT).

I would also like to make a notice: Yesterday morning, while I was using PAC-man ROM with my kernel, I noticed that battery drained fast as hell, I had my first deepsleep issue since I bought my S Plus, I think it was similar to some reports made in different threads (this one, CM10, or other kernel threads). What I did was a reboot into recovery and fix permissions. After that I rebooted into system and let the phone for some minutes. After checking it again, deepsleep worked and battery drain was optimal again. Recharged till 100% and the result is in the screenshot.

I'll do a few more tests and I'll release CM10.1 versions too after ivendor's RC2.

Erik
[Galaxy S Plus I9001 Android Development] Bedi_:
Great! :)
[Galaxy S Plus I9001 Android Development] educk:
v3.5 for CM10.1

Hi guys!

Thanks to davidteri (who helped in testing) the new version of Phenom Kernel (v3.5) is now available for CM10.1.

LINK

Changelog:

v3.5 [04.09.2013]

*Only CM10.1 for now

*Switch to 3.0.72

*New Static boot image (bootsplash) from ivendor

*Synced with arco, davidteri and ivendor this includes:

*KGSL driver workaround

*AD-Hoc IBSS Mode (ad-hoc networks are only visible but the user cannot connect to them)

*WEP fixed

*New driver for the display (Thanks to CastagnaIT)​

*Cleaned code

*Some optimizations to RWSEM algorithm

*Force feedback from 3.9 Kernel

As ivendor has some problems with his device (EMMC brick bug) he will probably not update to RC2 these days, so I'll upload the CM10 kernel today or tomorrow. Until then I'll give it to some other testers :)

Enjoy!

Erik
[Galaxy S Plus I9001 Android Development] Rhonin86:
Unexpected Google search popup

Hi Erik,

the test of your new 3.5-er kernel is in progress :good:

the first impression is as expected good :good: I use your preselected values and test the behaviour in daily usage. I just got a hint for you because i encountered the in the headline mentioned problem. This problem is not limited to your kernel and i'm not sure if you have already implemented christopher's findings.

My test environment is based upon beta 3 with implemented AriesPart v 1.4.

For now i have nothing more to notify. I'll report later more detailed because now i'm still @ work....

CU

Rhonin
[Galaxy S Plus I9001 Android Development] SGS+_User:
I tested V3.5 exuv on Cm10.1 Beta 2.2 but the animation are lagging sometimes on stock kernel it was the same as GB no lag on animation I will test UV an I hope there are the same with Stock no lagg on animatoin :D

EDIT: The Version of UV 3.5 is very nice no lags on amination :)

Amazing Work !
[Galaxy S Plus I9001 Android Development] educk:
Hi Rhonin and thanks again for your support ;).

I checked Christopher's work regarding phantom key press and I had a look at his git commits. He did a great job there. I already built another test kernel merging those commits (not the one that I gave to you and other testers) and I'm currently testing that build. But anyways, those changes are still in a test stage and there are only test builds.

After Christopher will finish his work and release an "official" (not test) kernel with those changes, I might include them in my kernel too. Until then, I'll keep testing and report him if I found anything useful.

And anyways, it is his concept so he should be the one who will release it first not me ;).

Yeah, I don't see the importance of that lag in the animation. I noticed that too and it was on Xistance stock kernel. I really don't know how to "fix" that because I already made changes for boot process. The CPU Clock will stay at 1401 MHz during boot (not at 245 MHz), that should speed up the booting process. I really don't know the reason of that lag but it's not important anyway, I'm focused on other things such as battery life, performance and stuff ;).
[Galaxy S Plus I9001 Android Development] SGS+_User:
Educk I know hihi for me is the same but I look the animations too hihi :D

But on UV version are not lagging but what do you think how ist the battery performance on UV version 360 mb ? :)

---------- Post added at 02:31 PM ---------- Previous post was at 02:27 PM ----------

Educk do you help me pls em I have a Question about the difference of this Versions

em UV and ExUV is the battery drain differec very Big or it is small :)

I mean is UV Version battery friendly,too. ?
[Galaxy S Plus I9001 Android Development] educk:
Alright... first, have a look at OP, you can find a graph with Voltage values (both UV and exUV). In theory exUV is more battery friendly than UV (that's the purpose of undervolting, isn't it?) but everything depends on your daily usage. If you are happy with UV stay on UV, if you like exUV use exUV. That's why I made so many versions, so users can customize. Oh, and you can customize the voltages assigned to each CPU Freq using a 3rd pary app like AnTuTu CPU Master or No Frills or something similar. But be careful when doing so, I guess going lower than the default exUV isn't much "healthy".
[Galaxy S Plus I9001 Android Development] muhammadnajmi96:
Haha you're best Educk :P , I don't know which version should I try with latest Davidteri CM10.1 :) , it's there a big different between 354MB and 360MB version? I totally don't understand what's different between that version :)
[Galaxy S Plus I9001 Android Development] educk:
Thank you.

Please check OP, there is a RAM Allocation table.

If you play Games I would recommend 360MB, if you want memory allocation stability (not dropping to ASHMEM so often) use 354MB. It's your choice and if you don't like one of them you can always change :).
[Galaxy S Plus I9001 Android Development] mieszk3:
I don't know if it's kernel related bug, but national data roaming doesn't work.

After switch to different network message is shown with information that connection isn't possible because of roaming.

I use Xistance CM10.1 with PhenomKernel v.3.5
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you for the appreciation Erik.

Arco approved those commits, but he hasn't our device so I'm waiting for an answer from Ivendor...

And yes, I'm still testing the fixes and I surely need the help of some of you, because even if we have the same device, there are many other things that could differ between one to another. I spent many hours to debug the problem and implement the possible optimal solution, the filtering parameters probably may need some further tunage before releasing everything.

The pushed commits are only related on phantom menu and back touchkey presses, tonight or in the next days I'll also push the changes to filering out the phantom home key presses... So, at the moment, the complete fixes are only included with the two posted test builds I provided.

I've also planned to add other things for a better management of these problems, but this in the future...
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Hey educk, what is the KGSL driver workaround for?

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sulli2:
I have a problem ..I have the phenom kernel 3.5 and rom 4.2.2 by davidteri beta 2.2 .. when I pull down the notification bar at the top right does not show notifications, but sends me to the key management type wifi, bluethooth etc.. but it only happens when I pull down the notification bar at the top right and it does not happen from the left onwards
[Galaxy S Plus I9001 Android Development] omegaRED7:
It's not a problem, it's a setting. Dig around in the settings and you'll find it. Can't tell you exactly where cause I'm currently on CM10.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Aldokazer:
Hey Eric, isn't 345 mb a bit too less? Even the stock kernel had 351mb ram, so why 345?
[Galaxy S Plus I9001 Android Development] educk:
Oh... long story :D. But nothing really noticeable by the end user. These commits were included by arco and they were made by the CAF team.

The most important things I saw there:

Some 2D core clock and ringbuffer offset in resume adaptions for msm7x30 board and new clock API's for better performance. I didn't have the chance yet to properly research on these so I can't give more details at this point.

And unfortunately it's not what you expected to hear. It is not adaptions for the new Adreno Drivers. I tried to implement them but it's really hard and time consuming they require ION Allocation and a lot of adaptions inside the KGSL drivers and not being sure that they will actually work, I gave up on that..

hmm.. I never left the country since I built my kernels lol :D. But I don't think is a kernel issue. Have you tried airplane mode toggle?

There is a 360MB edition too if you don't like 354MB ;).
[Galaxy S Plus I9001 Android Development] anuseb89:
But we wont give up on you guys... :)
[Galaxy S Plus I9001 Android Development] educk:
Yes, I'll provide you some feedback these days, for now I noticed that you must press really hard that button to "do it's job" but I assume that you are already aware of this. I saw you implemented only for ariesve as there is no cypress-touchkey for ancora and it will be a little hard to test because the lack of device.

Also, are you still interested in 3.0 kernel for ICS? I made some research on the SoD's and I'll give you some kmsg logs in different situations (kernel panic or SoD after screen off) maybe it will help you. I fully agree that even if our phones are the same model, they are different and there are a lot of examples that prove this (e.g. some devices experience SoD's on ICS kernel, other don't or at least not that often; even these latest discussions regarding EMMC chips and how some of them are affected and others are not can prove the difference between our devices...)

The thing is that I know how time consuming these things are and what you are doing it's just great so I want to help the best I can :)
[Galaxy S Plus I9001 Android Development] TheRippaG:
CM10.1 beta 2.2

Phenom Kernel 3.5 UV 360MB

Overclocked at 1804 mhz/ROW
[Galaxy S Plus I9001 Android Development] Christopher83:
Hi TheRippa,

this result is too low, ignore the first result and always perform at least 3 benchmark runs...

---------- Post added at 08:43 PM ---------- Previous post was at 08:25 PM ----------

Thank you for your feedback Erik!

Yes, I know that. The filtering parameters need some tunage, the solution seems to be almost optimal for my phone (today I never experienced phantom home key presses), but not so good for the others, so I'll keep on working... During my train journey to back home from work, I've been thinking about other possible changes, now I'll try to put them into practice...

Yes, thanks, these could be helpful, if you have some time, upload them somewhere and pm me the link, I'll take a look to them surely in the future...

Thank you very much! :highfive:
[Galaxy S Plus I9001 Android Development] TheRippaG:
i have a problem...on cm10.1 the USB mass storage doesn't work?
[Galaxy S Plus I9001 Android Development] SGS+_User:
for me with ExUv 360m its workin fine
[Galaxy S Plus I9001 Android Development] smeroni68:
Disable fast charge from Advanced menu...

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] mieszk3:
National data roaming doesn't mean I need to leave country. I was in mind the situation, when one operator uses BTCs of another from the same country. There is an option in settings, but it won't work. I tried airplane mode, but it didn't help.
[Galaxy S Plus I9001 Android Development] igni.selvaraj:
I am currently on Tiger rom (10.1) based. can i flash the latest kernal?
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Thanks for the explaination. I gave up on getting these drivers too, but well the drivers we have are good enough as i found out since i got castagnait's kernel on my device( no ads). Games run better than on gingerbread. :D

I still want to test your new release, but my like my technology ed teacher says "never change a running system" I got a burn in on my brain with that sentence :D

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sziggins:
Your teacher is wise! But we are on testing environment :( with our responsibility of course and I am really happy with the progress the devs have made so far :). By the way educk I tested your preceding version and it was fine just had these drain battery issues that I think are ROM related. Thanks for your work educk!
[Galaxy S Plus I9001 Android Development] educk:
You can also make a backup and flash, if it works it's ok, if not, just restore the backup. I'm not sure what base Tiger ROM uses (AOKP?) but it should work without problems.

Oh, you have no idea how right your words are.... 'Never change a running system' that should be in the rules of XDA. I've read in a lot of topics that people are using one kernel and it's working fine and they want to change it with another one which they realise it's not that good as the first one. And they start to complain in the kernel's thread like: Why with another kernel it works and with this one it doesn't??? .. and I'm soooo confused when I read those, if one system is running good, why change it?

Anyways, this varies from one user the another, some just want to get the newest thing out there and I don't know if it's anything wrong with this, it depends on a lot of things... :)
[Galaxy S Plus I9001 Android Development] tribual:
Hi!

Using your Kernel v3.5exUV 352MB Version. Is it only me, or is BNLv9 not working. Using PACman v21.1.0 with BLN Control.

Greetz and THX
[Galaxy S Plus I9001 Android Development] igni.selvaraj:
Thank you!

Works excellent with Tiger rom. will report about the battery hours soon :)
[Galaxy S Plus I9001 Android Development] educk:
That might also be CM bug (I know that option in settings) check if the problem persists on other builds/kernels too.
[Galaxy S Plus I9001 Android Development] educk:
Phenom Kernel v3.6 + Fsync Control

Hey guys!

I attached Phenom Kernel v3.6 exUV Bigmem for CM10. This is only a pre-release for testing the new features. These are:

*Hyper CPU Governor (default)

*Fsync Control

A little quite from Ezekeel, the developer of Fsync control:

As you can see, disabling fsync can lead to lower battery drain and better performance. In order to successfully use this function, there are 2 possibilities:

Terminal Emulator:

echo 0 > /sys/class/misc/fsynccontrol/fsync_enabled

But this procedure should be repeated at every reboot so the second method is more user friendly:

Flashing in CWM the attached ZIP file (Phenom Kernel Fsync Control). It includes a very simple init.d tweak which will set the value to 0 at every boot.

Let me know what you guys think!

Enjoy!

Erik
[Galaxy S Plus I9001 Android Development] SGS+_User:
I will try it !

Amazing Work
[Galaxy S Plus I9001 Android Development] davidteri91:
Bigmen not has 720p videos record???
[Galaxy S Plus I9001 Android Development] Christopher83:
Remember that by disabling the fsync, you may have potential data loss...
[Galaxy S Plus I9001 Android Development] XeLLaR*:
I disbabled fsync since it is possible on CastagnaIT's kernel and i didnt had any data loss.

But yes, you're right, data loss is possible!

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] educk:
Yes, it is a possibility but the process is controllable, Fsync can be re-enabled like this:

echo 1 > /sys/class/misc/fsynccontrol/fsync_enabled

And yes, BIGMEM means no 720p recording. This is only for testing, I'll make the other versions too soon. And it is only for CM10.
[Galaxy S Plus I9001 Android Development] malasorte06:


That's actually not a very bright sentence. Only a limited person would think and a more limited person would say that. And evolution comes how exactly? Yeah... By changing working systems into something more. If u poses the knowledge to build a working system, u won't stop there, trust me. I hope i didn't offend u, if i did, u'm sorry but that is the truth.
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
well i'm not agree at all with your opinnion... for example if my tv is working very good,i'm satisfied with it, i don't need one with new features ( 3d for example ) why to change it ? for me have no reason to change it. Also i think that " never change a running system " doesn't mean to not explore new opportunities,to not implement new features, to not bring something new.. and the most importantly is where you use them imo..... but let's not spam and sorry for my poor english and for appearance .. different people with different ideas plus here occurs the subjectivity ( it's not like math 1+2=3 even if you are philosopher because it's a general truth )
[Galaxy S Plus I9001 Android Development] educk:
v3.6 for CM10 and CM10.1 now available

Hi guys!

Big news :D. Phenom Kernel v3.6 for CM10 and CM10.1 now available. I'll provide here a detailed changelog because there are some new features:

[B]v3.6 [04.12.2013][/B]
*CM10 and CM10.1 versions
*Switched to 3.0.73-rc1
*Added Hyper CPU Governor (default)
[B][COLOR="DeepSkyBlue"]*Removed fsync control from test build and added a more efficient, Dynamic sync control reducing the risk of data loss[/COLOR][/B]
[B][COLOR="DeepSkyBlue"]*Added Google's Snappy Compression algorithm for zRAM
*Using glibc for memcopy and memmove (up to 10 times faster than the default kernel version)[/COLOR][/B]
*New display driver for CM10 (thanks to CastagnaIT) - the CM10.1 version already has this feature since v3.5
*Sync with arco's soruces

Removed fsync control from test build and added a more efficient, Dynamic sync control reducing the risk of data loss

I found a new way to deal with Fsync (thanks to Faux123). There is no need for fsync control anymore (no need for scripts or Terminal Commands) as this new function will disable fsync when screen is off and when screen is on, fsync operation is restored.

Google's Snappy Compression algorithm for zRAM

After some tests, the sleepcoding team reached the conclusion that the Snappy Compression gives up to 4% I/O Performance Boost at the risk of loosing 1% of Compression Ratio. (Compared to default LZO)

Using glibc for memcopy and memmove

The glibc version can be in some cases 10 times faster than the kernel version also, the old perfromance of memcpy and memmove of general version is very inefficient, using glibc version improves them.

Download links in the OP.

Enjoy!

Erik
[Galaxy S Plus I9001 Android Development] mieszk3:
It won't boot after flash 3.6 kernel (Phenom_Kernel_v3.6_exUV_360MB_CM10.1)

And if it's no problem, if you use American time standard, use / instead of . because dot(.) is used in European time standard and means dd.mm.yyyy, and you are using mm.dd.yyyy and it's strange and wrong for me and i suppose other Europeans :) So use mm/dd/yyyy or dd.mm.yyyy

Thx!
[Galaxy S Plus I9001 Android Development] PatrickMac:
yes, same here. doesn't boot...

EDIT: Bigmem version works fine!
[Galaxy S Plus I9001 Android Development] mieszk3:
Yeah, but i'd like to have 720p recording :)
[Galaxy S Plus I9001 Android Development] educk:
Versions revised and re-uploaded, please check again, maybe davidteri has changed something in the RAMDISK but I'm not sure. Anyways, I flashed the exUV using dd-command and it boots (the first one worked too)

Also, wait 2-3 minutes for the first boot, usually it takes longer especially when changing kernels.

Date format changed to dd.mm.yyyy :D
[Galaxy S Plus I9001 Android Development] mieszk3:
Thank you for fast answer. I know that I need to wait longer, but not so long I think :)

I use Xistance CM10.1 maybe it's to old for your kernel?
[Galaxy S Plus I9001 Android Development] educk:
Yeah, that might be it as I didn't test it on Xistance's build. But still, the sources are the same, it must work because the BigMem version works on it (as reported before).
[Galaxy S Plus I9001 Android Development] mieszk3:
OK, now it works. Thx for your great kernel!
[Galaxy S Plus I9001 Android Development] davidteri91:
Thanks Erik for your wonderfull kernel :)
[Galaxy S Plus I9001 Android Development] Brolyssjl:
deep sleep doesn't work, i'm on pacman v6 4.1.2

already tried with various wiping and fixing permission

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] stuffynet:
Works here

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Ahasvero:
Kernel fantastic on Ehndroix II! Congratulations and thank you!
[Galaxy S Plus I9001 Android Development] educk:
I'm also using PAC-man ROM v6 to test my kernels. And deepsleep works well. I had once an issue with a testbuild but a simple Fix Permissions and reboot fixed it. Something is causing a wake-lock, possibly an app so it's not kernel related.