kernels Dafna - post-Huexxx's expirience of diana_v.3 optimization - LG Optimus Black

kernels work properly on both IZS & ICS
main features: swap & zram support, undervolting, wided frequencies' scale 200Mhz-1.1Ghz
swap usage is strongly not recommended, as it causes lags in UI, zetram, otherwise, is almost a musthave.
wonna announce in advance, that dafna_v4.* would be (soon, i hope) on the latest 3.9.4 stable linux sources.
dafna _v3.3:
haven't changed a byte in code - only trickstering with linaro's commandline parameters.
results could be seen by eye; according to tests dafna_v3.3 makes now on lionheart even larger figures than diana_0.3 did on performance.
necessary tunings (without them rom would lag or even become unstable/freezed): lionheart, bfq, cache 2Mb, aggressive OOM, seeder, zram.
sicdezmond (from 4pda.ru) suggests that it may be usefull before installing this version to wipe cache & dalvik.
dafna_v3.2:
v 3.1 + additional undervolting of 800 Mhz.
rebuilt on the latest versions - android-ndk-r8e & gcc 4.7, theoretical and/or practical achivements of this rebuilding had to be finded yet.
due to the widely known gcc 4.7 bug, wifi module does not compile properly (any help or ideas for any workaround would be greatly appreciated), but module from the previous version of dafna could be just copied to /etc/wifi (proper permissions 755 had to be checked/set, of course).
overall feeling: it's much quicker and has lower power consumption than dafna_3.1.
necessary tunings (without them rom would lag or even become unstable/freezed): lionheart, bfq, cache 2Mb, aggressive OOM, seeder, zram.
dafna_v3.1:
v3 + upper limit changed to undervolted 1.1 Ghz according to lgeob's (from 4pda.ru) idea of frequency's changeling.
necessary tunings (without them rom would lag or even become unstable/freezed): lionheart, bfq, cache 2Mb, aggressive OOM, seeder, zram.
dafna_v3:
v2 + tuned undervolting + changing of lowest frequency to 20Mhz (also added upper limit 1.1Ghz is recognized, but not used by the system).
necessary tunings (without them rom would lag or even become unstable/freezed): lionheart, bfq, cache 2Mb, aggressive OOM, seeder, zram.
Historical review:
dafna_v2:
v1+ undervolting of wifi + disabling ipv6 + disabling ethernet in company with a pair of not needed TCP protocols.
dafna_v1:
based on diana_v.3 by Huexxx, swap + zram, light undervolting after lgeob's ideas, disabling of most of the kernel's debugging.

Does this work on izs (4.0.4)?
Sent from my IZS Black with XDA App.

thanks for showing a missing point in description, edited.
kernels were tested on izs 0.2, izs 0.4, ics 30b-f.

Will give a try...
Sent from my IZS Black with XDA App.

It works on trasmusic ics rom too.
Btw how to set up those tunables?
I know about governors but dunno which app is compatible with the kernel.
Edit: nvm I just tried trickster mod and it works ok for now.

Grakel said:
It works on trasmusic ics rom too.
Btw how to set up those tunables?
I know about governors but dunno which app is compatible with the kernel.
Click to expand...
Click to collapse
any app you like.
the simpliest and easiest way is to set it up with the init.d scripts (seeder, of course, had to be only installed).
as to the apps - android tuner, android trickster, no-frills CPU (for example) - most of them can tune partly required, but none can tune all mentioned.

Great job mate.I'll test it on Trasmusic v30f.Hope that oc is stable
Edit: Instable for me.Games are force closing and some apps too
Sent from my LG-P970 using Tapatalk 4 Beta

adm_ said:
any app you like.
the simpliest and easiest way is to set it up with the init.d scripts (seeder, of course, had to be only installed).
as to the apps - android tuner, android tricster, no-frills CPU (for example) - most of them can tune partly required, but none can tune all mentioned.
Click to expand...
Click to collapse
On my izs worked 100% with all tunes...
Thanks man, great job,:laugh:

Please, share your sources. It's mandatory, even more if you are using my repo.
Regards.

Huexxx said:
Please, share your sources. It's mandatory, even more if you are using my repo.
Regards.
Click to expand...
Click to collapse
Oh my.
Sent from my LG-P970 using xda app-developers app

Huexxx said:
Please, share your sources. It's mandatory, even more if you are using my repo.
Click to expand...
Click to collapse
they were already shared - it's just a two-move problem, shocked a little that you didn't solved it yourself. ;-P

adm_ said:
they were already shared - it's just a two-move problem, a little shocked that you didn't solved it yourself. ;-P
Click to expand...
Click to collapse
Sorry but I don't catch you...
Can U put the link on OP?

Huexxx said:
Sorry but I don't catch you...
Can U put the link on OP?
Click to expand...
Click to collapse
The kernel source is published in the original thread, on those russian forums.
I grabbed the link, here it is:
https://github.com/admzzz/dafna

Huexxx said:
Sorry but I don't catch you...
Can U put the link on OP?
Click to expand...
Click to collapse
Hey ur back!
Sent from my LG-P970g using Tapatalk 4 Beta

Huexxx said:
Sorry but I don't catch you...
Can U put the link on OP?
Click to expand...
Click to collapse
just guessing, what you do not know how to use - hyperlinks or browsers? ;-P
there is one already (it's there from the beginning of my post, btw), try to follow it and read carefully - URLs are in plain english, if you haven't heard it before. ;-P

adm_ said:
just guessing, what you do not know how to use - hyperlinks or browsers? ;-P
there is one already (it's there from the beginning of my post, btw), try to follow it and read carefully - URLs are in plain english, if you haven't heard it before. ;-P
Click to expand...
Click to collapse
No need to be so sarcastic.
And no, there is no direct link to github in your OP.
The only link present in your OP is a russian webpage, where there IS a link to github.
So I know, it was just two clicks to get the github link, but could you post it also in the xda thread OP? Its not such a hard task, isnt it? =)

Grakel said:
So I know, it was just two clicks to get the github link, but could you post it also in the xda thread OP? Its not such a hard task, isnt it? =)
Click to expand...
Click to collapse
no, it is, if you wonna check some mental abilities of others. ;-P
have a nice day, folks, as i just got one.

adm_ said:
no, it is, if you wonna check some mental abilities of others. ;-P
have a nice day, folks, as i just got one.
Click to expand...
Click to collapse
Wth dude... are you on your period?

Halleluja he is alive
Gesendet von meinem LG-P970

Please leave the fights,and give feedback about the kernel to people interested.

Related

[KERNEL][06 DEC] Goldenleaf .v111206 / franco.Kernel-gbs.v20a

Goldenleaf is a rewrite from stock lg kernel with almost all the newest features. Made for the best battery life.
(for performance go on franco.Kernel-GBS below)
.news
111206
...reverted blackscreen fix
...system should be a bit smoothier
111205
...fixed blackscreen bug.
...no noise when phone wakeup
...a little change in touchscreen driver
...all I/O schedulers activated.
...Noop as default I/O scheduler
111126
...fixed some incompatibility with some apps [games reported by users]
...reverted touchscreen driver. now it's the stock LG 2.6.32 again [gbs kernel will still have the brand new one backported from .35]
...cpu spike fix enabled -> more battery
...axis inversion workaround still disabled -> more battery
...SLUB Memory Allocator.
111122
...blackscreen bug fix for "screen on" animation removed
...no more darkscreen
...new touchscreen driver, based on my new driver made for gbs, backported from LG 2.6.35 source
...does not have axis inversion workaround
Kernel Source: https://github.com/fserve/goldenleaf
Click to expand...
Click to collapse
Goldenleaf.v111206 http://www.mediafire.com/?o3avtm5yjrbv1qa
Goldenleaf.v111206-LG http://www.mediafire.com/?p8j4xwmwazkfa46
Know bugs in most updated goldenleaf version:
none.
GBS is an modified version of franco.Kernel v19.4, original franco.Kernel code is heavily patched for the best performance. With this mod is added more battery life, some changes in kernel config, cpu spike on touch the screen fix, better axis inversion workaround, USB-transfer fix, Powertop/dmesg support, and for froyo based roms users, recharging with phone off fix.
- Recharging with phone off fixed. (mikos cyanogen based roms have a feature to: if the phone is off, when you plug the charger, it will power on the phone. The normal behaviour is to boot a system only to recharge phone. But mik has disabled it. SO, if you use devoid.#final this recharge while offline will work. if you use cyanogen, will not work.)
what's new in:
gbs.v20a
...blackscreen fix reverted
...more little touches on touchscreen driver
...deadline I/O scheduler as default
...deadline I/O scheduler patched
...cfs vsync on
...bfs vsync off
gbs.v20
...vm_max_readahead patched, will automagically get the best value for it. (mad patch, thanks franciscofranco)
...slub patch
...fsync patch
...kernel upgraded to 2.6.32.49
...blackscreen bug fix
...all I/O schedulers are activated
...Noop as default I/O scheduler
...smartass as default governor.
...[CFS-ONLY] with agroup patch as always, since franco 19.4
...axis inversion workaround off
...newfix, expect 50% cpu use on touch, smoothier.
...oldfix, expect 25% cpu use on touch, faster and battery saving.
gbs.v19.2
..faster (disabled some optimizations that are not helping at all)
..power drivers reverted
..temp reporting should be fixed
..wifi drivers reverted
..kernel upgraded to 2.6.32.48
gbs.v18c
..added some patches
..fix camera flicker
..[cfs-only] enabled automatic group patch. (better multitasking)
Click to expand...
Click to collapse
BFS franco.Kernel-gbs.v20a-gamer http://www.mediafire.com/?gc4o4yu774hkhz3
CFS franco.Kernel-gbs.v20a http://www.mediafire.com/?9r5yktkamy21wiz
BFS franco.Kernel-gbs.v20-gamer http://www.mediafire.com/?531huxx14xsp794
CFS franco.Kernel-gbs.v20 http://www.mediafire.com/?adbhrppo8icu5yy
Testing release:
Test it for: Blackscreen (Ps. don't use "screen on" animation). And screen lag to wakeup.
gbs-testing-noop-lg http://www.mediafire.com/?4v5p7doybvfdprl v20a with noop as default i/o scheduler and stock lg touchscreen driver
gbs-testing-deadline-lg http://www.mediafire.com/?efoceag8fhglqq9 v20a with deadline as default i/o scheduler and stock lg touchscreen driver
Know bugs in any GBS version:
AndroSS does not work;
BFS: Brain F**k Scheduler - The updated and improved process scheduler. BFS is better for user interactions.
CFS: Completely Fair Scheduler - The original process scheduler. CFS is better for multitasking.
Click to expand...
Click to collapse
About governors:
smartass is the best governor for me when i want raw performance - http://forum.xda-developers.com/showpost.php?p=16467430&postcount=5362
conservative when i want battery with good performance.
Click to expand...
Click to collapse
TIPS FOR THE BEST BATTERY LIFE
NO AWAKE APPS
Sync off
WiFi off
BT off
Data off
2G
Minimum brightness
...and pray for good quality signal
This can help: http://forum.xda-developers.com/showthread.php?t=1179809
Click to expand...
Click to collapse
How to use it? Just download and Flash via ClockworkMod Recovery.
Remember:
This kernel is ONLY for LG Stock ROM 2.2, Void.#forever, devoid, miks 6.5.x, CyanogenMMatt 1.1...
WIPE DALVIK, BATTERY AND CACHE!
DONT FLASH 2 DIFFERENT ZIPS AT THE SAME TIME!
MAKE A REBOOT BEFORE EACH FLASH
If you are using AmonRa, disable signature before flashing.
NOT underclock below 480MHz. At lower speeds, wakeups-from-idle per second are bigger than 480MHz and they share the same voltage, so thats leads to more battery drain.
It's recomended to use: MIN 480 / MAX YOUR CHOICE
more about it: http://forum.xda-developers.com/showthread.php?t=999064
and here: http://forum.xda-developers.com/showpost.php?p=9704402&postcount=22
Click to expand...
Click to collapse
Results of my work:
http://forum.xda-developers.com/showpost.php?p=17296370&postcount=450 - 2d 3h
http://forum.xda-developers.com/showpost.php?p=17074123&postcount=264 - 2d 8h
http://forum.xda-developers.com/showpost.php?p=17430882&postcount=1446 - 3 days
http://forum.xda-developers.com/showpost.php?p=17516383&postcount=633 - 7 days!
some happy customers:
http://forum.xda-developers.com/showpost.php?p=16951313&postcount=87
http://forum.xda-developers.com/showpost.php?p=17003300&postcount=137
http://forum.xda-developers.com/showpost.php?p=17046619&postcount=197
http://forum.xda-developers.com/showpost.php?p=17050287&postcount=204
http://forum.xda-developers.com/showpost.php?p=17050411&postcount=205
http://forum.xda-developers.com/showpost.php?p=17050506&postcount=206
http://forum.xda-developers.com/showpost.php?p=17051156&postcount=209
http://forum.xda-developers.com/showpost.php?p=17061662&postcount=251
http://forum.xda-developers.com/showpost.php?p=17105840&postcount=302
http://forum.xda-developers.com/showpost.php?p=17111202&postcount=311
http://forum.xda-developers.com/showpost.php?p=17129410&postcount=314
http://forum.xda-developers.com/showpost.php?p=17134152&postcount=315
http://forum.xda-developers.com/showpost.php?p=17264084&postcount=416
http://forum.xda-developers.com/showpost.php?p=17391053&postcount=530
http://forum.xda-developers.com/showpost.php?p=17444315&postcount=584
http://forum.xda-developers.com/showpost.php?p=17447137&postcount=587
testing camera:
http://forum.xda-developers.com/showpost.php?p=17024566&postcount=164
Click to expand...
Click to collapse
Adobe Flash Player 10.2 that works with p500: http://www.androidcampus.in/2011/10/adobe-flash-player-102-for-armv6-and.html
Adobe Flash Player 10.1 that works with p500: http://forum.xda-developers.com/showthread.php?t=1147092
Touchscreen Booster: http://forum.xda-developers.com/showthread.php?t=934500
How to reduce power consumption: http://www.thinkwiki.org/wiki/How_to_reduce_power_consumption
Nice power monitor app for android http://ziyang.eecs.umich.edu/projects/powertutor/
Greetz from Manaus/Amazonas - Brazil!
Curious findings thank you for taking the time to test all that ****. Tell me, why are you adding USB as a module?
Just to get the suspend mode that powertop recomends.
fserve said:
Just to get the suspend mode that powertop recomends.
Click to expand...
Click to collapse
It's possible to suspend USB while it's not being used having it configured as a module?
I dont know for sure, since that p500 uses usb in slave mode.
But if this really works, as powertop says, i can get more battery life
So, lets test
Sent from my LG-P500 using XDA App
flashing i'll give you feedback in a couple days, thanks for taking your time on this. - Thumbs up - Obrigao! haha.
fserve said:
I dont know for sure, since that p500 uses usb in slave mode.
But if this really works, as powertop says, i can get more battery life
So, lets test
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
I'll try your .config changes tomorrow as I'm going to push 2.6.32.45
I've made more cleanups, testing right now.
Will release later.
do we need to flas zram after this?????????
i meant "flash" zram.zip... which was needed in fk... which is the base of this kernal.... and i was just asking!!!!!!!!!! sry about the typing error.....
Hi Fserve, thanks for your work, I have a question... You have removed things for keyboards, this means I can or cannot use a bluetooth keyboard? I'm asking this before purchasing such keyboard, thanks!
orsonbear said:
Hi Fserve, thanks for your work, I have a question... You have removed things for keyboards, this means I can or cannot use a bluetooth keyboard? I'm asking this before purchasing such keyboard, thanks!
Click to expand...
Click to collapse
You can use! That keyboard option removed was an legacy linux hack thing to restart the computer via keyboard. (sysrq magic key)
About zram, it is enabled in the kernel, if you have flashed it in any version of franco.Kernel it will work here.
How?
Its simple, when you flash zram it will modify one part of your system, and kernel another. So you only need to reflash zram in case of wipe all data.
Sent from my LG-P500 using XDA App
fserve said:
You can use! That keyboard option removed was an legacy linux hack thing to restart the computer via keyboard. (sysrq magic key)
About zram, it is enabled in the kernel, if you have flashed it in any version of franco.Kernel it will work here.
How?
Its simple, when you flash zram it will modify one part of your system, and kernel another. So you only need to reflash zram in case of wipe all data.
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
thnks man...
What about. config.zip.
Do i have to flash it or what?????
Sent from my LG-P500 using XDA Premium App
gkalenis said:
What about. config.zip.
Do i have to flash it or what?????
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Dont waste your time with that! It's only for developers know what i changed in the original franco.Kernel
arielxarg said:
+1 to this.
no offense , but i just wanna find some info in this thread , and all i can see on the few pages back is people arguing about ****
maybe mod can make 1 thread for us to report JUNK post , or UNNECESSARY post.
Click to expand...
Click to collapse
I'll give you info about this kernel. fserve fetched my sources, changed the .config file to add/delete some functionalities just like he stated in the first post and he came here and shared it with everyone, and I'm glad he did because I'm definitely going to look up on his configuration changes. Other than that it's still my kernel. That's all the info I can give to you.
New version released. (IT'S ON THE FIRST PAGE)
V8 was compiled with -Os (to make a small kernel)
V12 was compiled with -O2 (to make a faster kernel)
V12 got cleaned up ethernet 10/100 drivers, some scsi drivers, some loggers, some debuggers, some useless stuff. for now, only bfs version.
Stop the offtopic here, please
fserve said:
V12 was compiled with -Os (to make a faster kernel)
Click to expand...
Click to collapse
You meant -O2 or something?
fserve said:
V12 got cleaned up ethernet 10/100 drivers, some scsi drivers, some loggers, some debuggers, some useless stuff. for now, only bfs version.
Click to expand...
Click to collapse
Good riddance.
dr.notor said:
You meant -O2 or something?
Good riddance.
Click to expand...
Click to collapse
oops, will edit.
Please, resolve their differences through PM and not detract the subject
@fserve good work ! when are more opinions about your kernel, and also when I have more time will prove it

[MOD][v1] Huexxx's Nova v7 Tweaker ...

Hi all,
since knzo have decided to stop developing Nova v7 despite certain little bugs, I've decided to create my own post to share with you a package to solve all the solvable bugs until the date.
In this first version, the flashable package contain/solves:
- SmartassV2 governor Issue (with modified nova script).
- Updates Superuser 3.0 from Beta3 to Beta4 and /system/bin/su permissions set to 7777.
- Autoset I/O Scheduler on boot (with modified 11nov init.d script).
http://dl.dropbox.com/u/4629711/nova opt/huexxx-nova7-twk-v1.zip
(MD5: 004bedbdd3cec21779af2538d32f75c4)
Problems with Superuser? Try some of the following packages. First mantain 3.0 Beta3 and second contains the latest stable version. Both with su permissions set to 7777.
http://dl.dropbox.com/u/4629711/nova opt/huexxx-nova7-twk-v1-beta3.zip
(MD5: 3e93990b79bf8c2d70001c4d3f72babf)
http://dl.dropbox.com/u/4629711/nova opt/huexxx-nova7-twk-v1-stable.zip
(MD5: 4373fb38d9f8fac857ed77b046285ffe)
Instructions: Put it onto sdcard root and flash it whrough CWM.
I tried the package and working ok but I am not responsible for any damage that may result in your devices.
So many thanks to Antonio1475 and knzo, good work dudes! ... and thanks to all who have helped into Nova project!
I hope this thread will please everyone involved.
Regards!
Meh, even though I know the bugs are there and I can fix them, I just said it wasn't worth a new version.
For now at least. If more appear, I can release another one.
I'm tired.
You could rename it to v7.1 patch by the way, I'm fine with it. It's more of a bug-fixer than optimizer!
P.S. It's the I/O sched autoboot feature that was fixed, not governor.
which i/o is best? what are the differences between them?
thank you, all is going well so far
No need to new versions IMHO. The work is done.
Relax and rest for 2.3 arrive...
Feel free to take it, rename it and post onto nova's thread, it's in your hands.
Optimizer is not the word i guess too... i'll rename it.
I hope to release new versions with true opts or enhanced existent features.
Regards.
Sent from my LG-P970 using XDA App
IMHO InteractiveX is the best, but i don't mind lower performance but better battery last.
There are explanations inside nova's thread. Use the search...
Sent from my LG-P970 using XDA App
Huexxx, he was talking about I/O Scheduler, not governor.
Sent from my LG-P970 using xda premium
do i have to wipe all data? and install this?
memeru said:
do i have to wipe all data? and install this?
Click to expand...
Click to collapse
no men
just flash it
whats the different between the two
memeru said:
whats the different between the two
Click to expand...
Click to collapse
read 1st post plz
Sobralobo said:
Huexxx, he was talking about I/O Scheduler, not governor.
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Ops... I'm not used to tapatalk!!!
v(r) seems to be the best overall but with ups and downs in performance while sio is more consistent performance.
Try them for yourself... if you don't see the difference... both are good for you.
From what I've read on the main Nova ROM thread, on v7 for Froyo, WiFi meter readings do not correspond to true signal strength. This is due to the more important tweaks knzo did.
Just a thought, if those tweaks weren't in older versions (such as v4.5, which is imho, already a fast version, but WiFi signal readings are true), is it possible to modify Nova v7 (meaning, ditch the tweak or tweaks that make signal readings erratic) so that WiFi readings are true without ruining the performance?
It's possible... when I know which tweak has generated it and where is it...
After applying this patch has increased the power consumption of the system (in Тутор the System process and the Kernel). In a Terminal at one and the same Governor SmartassV2. Returned to made a backup.
PaulBort said:
After applying this patch has increased the power consumption of the system (in Тутор the System process and the Kernel). In a Terminal at one and the same Governor SmartassV2. Returned to made a backup.
Click to expand...
Click to collapse
Aha,
then:
- modify a caracter at nova in order to operate well with SmartassV2 (the same if you had applied the smartass patch, and you had already applied it because you are using it before according to your probes)
- modify a caracter at 11nov in order to set iosched on autoboot (if the same iosched is set, its the same)
- change superuser beta3 to beta4 (in your case you already have beta4 because freezing with beta3)
makes a difference in power compsumption at your OB...
You have different power comsumptions at different moments, I'm sure it isn't by the patch itself... because you had all implemeted yet!
Huexxx said:
Aha,
- change superuser beta3 to beta4 (in your case you already have beta4 because freezing with beta3)
Click to expand...
Click to collapse
Yes, I do patch SU yesterday, today - do your patch, but freezing (black screen when the application is started) sometimes present.
PaulBort said:
Yes, I do patch SU yesterday, today - do your patch, but freezing (black screen when the application is started) sometimes present.
Click to expand...
Click to collapse
Certainly the included versión (Beta4) is not the same as knzo's version (the date soesn't match) so i've created an alternative package for all who have problems with su.
Regards.
ajcantonio said:
From what I've read on the main Nova ROM thread, on v7 for Froyo, WiFi meter readings do not correspond to true signal strength. This is due to the more important tweaks knzo did.
Just a thought, if those tweaks weren't in older versions (such as v4.5, which is imho, already a fast version, but WiFi signal readings are true), is it possible to modify Nova v7 (meaning, ditch the tweak or tweaks that make signal readings erratic) so that WiFi readings are true without ruining the performance?
Click to expand...
Click to collapse
Hi there, I've already tried that method, modifying Nova v4.5 with kernel v7. first time try, I don't get overclock, still the same 1 GHz, and the WiFi signal still the same. But I notice that actually it work (even on Nova v7), the signal update in minutes. I've test it, if the phone connected to AP, wait for a minutes, and the signal will full. Then, go a little far away from AP, then the signal updates to low signal also in a minutes.. Well I don't know what's the problem.
Second try, I include overclock_p970_22.ko from Nova v7 (which I don't include it at first try), but it hang/freeze after come to "desktop". Well, it mean that v4.5 and v7 are not compatible
So I release battery, start it again, and go to recovery mod, and apply Nova v4 and v4.5 to have normally system. And when I came back to this forum, I see post that contain fix for Nova v7. Well, I have to try it
Thanks Huexxx, will trying it... Here we go with another night flashing and flashing again
Huexxx said:
IMHO InteractiveX is the best, but i don't mind lower performance but better battery last.
Click to expand...
Click to collapse
Well the same as i was.. I use InteractiveX that I think had more battery..
First post modified again...
The su fix from knzo only repush the program and set different permissions.
I've created three posibilities: beta4, beta3 ans latest stable.
I'll look into wifi problem.
Regards!
No wifi problem here.
And superuser works fine
Sent from my LG-P970 using xda premium

[KERNEL] ★ XS ICS v2.2 ★ 2.0GHz OC • S2W • 11 Governors • 6 Schedulers

XS ICS
The original 3.0 custom kernel for the Incredible S​
Disclaimer: Please read before continuing
This is a 3.0.x kernel, which means it is for ICS ROM's only.
You use this kernel and it's available settings at your own risk. I accept no responsibility for your phone, or anything that happens to it while using the feature. Although it has the ability to overclock to 2.0GHz, this may shorten the life of your device.​
Click to expand...
Click to collapse
The aim of this kernel is to be the most feature rich kernel available for the Incredible S. The kernel is the engine of your phone, and I want to include support for everything! If there is something you need and it isn't here, let me know and I will do my best to add it. XDA is a community, and lots of the work in this kernel has been discovered / and created by a wide range of people, all of whom this would not be possible. It is pretty impossible to name all of the people to thank, but know this is the result of a whole community, and my gratitude goes out to everyone who has contributed to this site!
Sources available in my github
Latest Version: v2.2 Attached To Post
Released 29/08/12​
Features
- Based of HTC Sources, patched all the way up to 3.0.42
- CPU Table The CPU table has been optimised to include the following freqs:
----------245MHz, 368MHz, 768MHz, 806MHz, 1024MHz, 1.2GHz, 1.4GHz, 1.5GHz, 1.7GHz, 1.8GHz, 1.9GHz & 2.0GHz
- Available CPU Governors Smartass v2, Lionheart, Conservative, Performance, On demand, lulzactive, scary, intellidemand, LagFree, Lazy & SavagedZen
- Available CPU Schedulers Simple I/O, Deadline, CFQ, Noop, BFQ & V(R)
- Available File Systems EXT3, EXT4, CIFS, NTFS (with UTF-8)
- Default Settings On Demand governor @ 245-1024MHz, Simple I/O scheduler
- Improved tolerance for low strength Wi-Fi
- Sweep2Wake
- DeepSleep enabled
- VDD Interface
Known Bugs
Please report any bugs you find, and I will endeavour to fix them
- There are several issues when using with IceColdSandwich, the camera will be very glitchy and the keyboard will be too large to fit on-screen
Planned Features
If it's in this list, please don't ask for it, I am aware and will be adding it when I can
- USB OTG Support
- USB Host
- 2-Way Call Recording
Don't forget to thanks this post if you like my work! Donations are not requested or expected, but are greatly appreciated ​
Click to expand...
Click to collapse
Changelog
29/08/12 - XS ICS v2.2
- Patched up to 3.0.42 (thanks to cjoliver)
- VDD Interface added
- Added 6 new governors: lulzactive, scary, intellidemand, LagFree, Lazy & SavagedZen
29/08/12 - XS ICS v2.1
The only way is up!
- Sweep2Wake fixed and fully implemented!
- USB OTG implemented (needs testing)
- Force unknown cable to be treated as A/C (should help with in-car chargers)
- Wi-Fi module issues should now be resolved
28/08/202 - XS ICS v2.0
Things can only get better...
- Switched to Koush's AnyKernel for maximum ROM compatibility (thanks to tpbklake for the suggestion)
- Patched up to 3.0.41 (big thanks to amidabuddha and mdeejay!)
- Added sweep2wake disabled by default, see below to enable, needs testing (thanks to show-p1984 for the functionality and coolexe for the patch to Amtel)
- Add BFQ v4 and V(R) I/O Schedulers (SIO still default)
- Wi-Fi PM = Fast
- Improved tolerance for low strength Wi-Fi
- Added extra values to CPU table (courtesy of amidabuddha)
24/08/202 - XS ICS v1.0
We're back baby!
- Inital Release
Click to expand...
Click to collapse
Instructions for S-OFF Users
Simply flash XS-ICSvX.X.zip in your favourite recovery!
Instructions for manual flashing (HTCDev.com unlocked S-ON Users)
Thanks to MrToastbrot for instructions
Step 1: Download the XS-Kernel.zip, then open the Zip on your computer and extract the file mkbootimg.sh in "kernel"
Step 2: Open mkbootimg.sh in a texteditor like notepad++ or notepad, then edit the following in line 3:
Code:
output /tmp/newboot.img
to
Code:
output /sdcard/newboot.img
Step 3: Save your edited file and place it back in your zip, copy your modified zip to your phone-sdcard and install it in the recovery. Then reboot your phone and connect it to pc and take the newboot.img from the root of the sdcard.
Step 4: Now reboot your phone into bootloader and flash it via fastboot flash boot newboot.img
Step 5: Once you phone has booted, mount the system as r/w using something like ES file explorer or Root explorer, then type the following:
Code:
adb push bcm4329.ko /system/lib/modules
Set permissions to rw-r--r--, reboot and enjoy!
Sweep2Wake: Q&A
Q: How do I disable / enable the feature?
A: Two options
Change the value in the file /sys/android_touch/sweep2wake to either 0 for disabled, 1 for enabled and 2 for enabled with backlight. This will be reset upon rebooting.
If your ROM supports init.d scripts, then flash the zip to enable or disable, this will stick over a reboot.
Q: It keeps taking screenshots when I lock the screen!?
A: This is due to an incompatibility with this feature and the native screenshot in Sense. TO stop the screen shots, you need to edit your build.prop and change the property ro.htc.framework.screencapture to false, and then reboot.
l0st.prophet said:
- 2-Way Recording
Click to expand...
Click to collapse
I'm using the miui v4 with nik's kernel and that function already work!
I'm wrong assuming it's already coded?
BTW good work!
Nice post, fast work. I'll have a play first chance I get. Thank you.
Nice. Downloading right now. Making a backup right now since I was thinking of flashing this new Google Now ZIP as well.
Also does this mean we can get CWM 6.0+? IIRC, one of the requisites for it was a ICS kernel to be able to compile it. Correct me if I'm wrong.
Which ROMs is it support?
MIUI will work whit this kernel?
Sent from my Incredible S using xda app-developers app
I have an S-OFF Vivo, so how do I flash this? Do I just install the zip from CWM?
I'm currently on IceColdSandwich, so what's the difference between the kernel used in that and this kernel?
Forgive my noobness but how is the file size only 100kb?
I have only test on MIUI v4, but it should work with any ROM, I would like some feedback if there are any ROM's it doesn't work with.
There is now a flashable zip on the first post, I made a proper schoolboy error when I first uploaded it, that is now fixed
l0st.prophet said:
I have only test on MIUI v4, but it should work with any ROM, I would like some feedback if there are any ROM's it doesn't work with.
There is now a flashable zip on the first post, I made a proper schoolboy error when I first uploaded it, that is now fixed
Click to expand...
Click to collapse
Thanks sir, great work!
Sent from my Incredible S using xda app-developers app
TheDareDevil said:
I have an S-OFF Vivo, so how do I flash this? Do I just install the zip from CWM?
I'm currently on IceColdSandwich, so what's the difference between the kernel used in that and this kernel?
Forgive my noobness but how is the file size only 100kb?
Click to expand...
Click to collapse
This is just a new kernel, that is why it is so small.
Did you read the OP and the second post? The instructions can be found there.
TheDareDevil said:
I have an S-OFF Vivo, so how do I flash this? Do I just install the zip from CWM?
I'm currently on IceColdSandwich, so what's the difference between the kernel used in that and this kernel?
Forgive my noobness but how is the file size only 100kb?
Click to expand...
Click to collapse
There is now a proper zip you can flash, check the second post for instructions.
The kernel in Ice Cold Sandwich is a Gingerbread kernel (2.6.x) which was modified to work with ICS (rather awesomely by Kaijura I might add). This kernel is built from the latest 3.0 sources.
Oh sweet! How did you manage to do it so fast?
One last question, none of my data will be lost right?
TheDareDevil said:
Oh sweet! How did you manage to do it so fast?
One last question, none of my data will be lost right?
Click to expand...
Click to collapse
I have been waiting for this since the OTA dropped
No data will be lost, but I would backup in case there is an issue with your install.
l0st.prophet said:
There is now a proper zip you can flash, check the second post for instructions.
The kernel in Ice Cold Sandwich is a Gingerbread kernel (2.6.x) which was modified to work with ICS (rather awesomely by Kaijura I might add). This kernel is built from the latest 3.0 sources.
Click to expand...
Click to collapse
Working smooth like butter on IceColdSandwich 8.4,one change is that my keyboard is larger
Sent from my Incredible S using xda premium
Awesome work!! I'm on miui v4 and Wi-Fi is working great but I ain't getting my mobile data working am I missing something?
I just flashed the zip. And I'm s-off.
Sent from my HTC Incredible S using xda app-developers app
Works great! Thanks a lot!)
Great work man!!!
I think that you can delete 1.7GHz, 1.8GHz, 1.9GHz & 2.0GHz
Because they are unstable
ragzdincs said:
Working smooth like butter on IceColdSandwich 8.4,one change is that my keyboard is larger
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
Shouldn't affect anything like that, can you flash back the original boot.img to confim it goes away?
lundberg512 said:
Awesome work!! I'm on miui v4 and Wi-Fi is working great but I ain't getting my mobile data working am I missing something?
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
Mobile data works fine for me, again shouldn't be affected by the kernel. I know MIUI has some issue with data anyway, check the thread in general to see how to fix that, but if that doesn't work, let me know.
Alex-stroev said:
Great work man!!!
I think that you can delete 1.7GHz, 1.8GHz, 1.9GHz & 2.0GHz
Because they are unstable
Click to expand...
Click to collapse
Different chips are more resiliant. I used to have one that could sustain 1.8GHz with no problem, but I sent it for repair as the screen got smashed, they sent a replacement and this one can't go over 1.5GHz without crashing instantly, the option is there for anyone who wants it though.
IceColdSandwich 8.3: looks good, only broke camera and rotate buttons, but I expected it
Edit: doesn't work gps and bluetooth, IceColdSandwich either has a lot of hacks, or would need it
Working fine here. Now to see how high of a OC I'm willing to work with hehe.

[Kernel][10APR][Arc/S][CM10/10.1]Experimental-Only testers

On user demand I brought Experimental kernel to Arc/S. I know emwno's kernel has until now some of my changes merged (he asked me first) but this one will continue to test changes for "power users" to see if we can improve it even more, and after that any kernel builder can merge/cherry pick commits from my github.
I don't own an Xperia Arc so bugs that I'm not aware of may appear.
Please only experienced users should test this kernel!
After the previous changes were integrated in the main kernel I started again with some experimental changes this time. Here they are, and please remember to thank Garwedgess&FXP first
Code:
Changes
[B]Experimental#2[/B]
[COLOR="Red"]WARNING[/COLOR]: redownload and reflash modules!
-Update to new ALS configuration
-Remove some unused governors and I/O schedulers
-Add dm-cache (check [URL="http://visa.cs.fiu.edu/tiki/dm-cache"]here[/URL])
-Remove some more debug and disable frame_pointer and arm_unwind
-Mutex to use generic xchg-based implementation for ARMv6+
-new opt flags
-Binder fixes and updates (check [URL="https://github.com/paul678/semc-kernel-msm7x30/commits/experimental2"]github[/URL])
-compiled for CM10.1 also (needs testing)
-maybe more
[B]Experimental#1[/B]
-More RAM (386 total)
-Enable support for unaligned access
-Optimize LMK
-Armv7 optimizations
-Updated KGSL drivers - part of changes below:
*KGSL-change:
add tracepoints
cleaned power states
Create a separate pool for mapping kgsl allocations
Store process mem entries in a rbtree
Allocate physical pages instead of using vmalloc
disable early suspend and late resume for 2d cores.
moved some gpu registers
and many many more...to much code!
*Other
-Patch LMK to not kill the same pid over and over
-We got [FONT="Comic Sans MS"]touch boost[/FONT] on Interactive governor
-Add frandom
--Undervolted a bit and change high freq voltages, 1.6ghz may be stable now(use it carefully!)
-Changes from CM10
-remove bits of debugging
-disable KSM: better this way, was doing a lot of useless work => wasting cpu cycles
-removed useless I/O schedulers
-removed many governors->use interactive
-Hopefully increased WiFi sensibility
-Increased readahead
-backported part of framebuffer from 3.0.x
- use only non-blocking Urandom
-&some other stuff I can't recall now
Downloads
-Kernel CM10
-Kernel CM10.1(Not booting atm)
-WiFi modules
-Usb-Otg modules
Warning:
-this build contains experimental changes and reboots may appear. It's recommended to wipe caches after you flash and please return with feedback regarding anything.
-Prototype kernel to test ideas so every developer is welcomed to propose changes.
-Any kernel developer can feel free to merge/cherry-pick my commits but let me know first as some o them may not be stable
-use Lupus as a stable kernel.
-I'm not responsible for anything that can happen to your phone.
Code:
Up next:
-Working on Experimental#4 (Neo/V build)
My Github
Thanks:
Garwedgess: Base Source
Mechmetal: Help
FXP: CM10
Code Aurora: Patches
So you finally brought it over. Great job with the kenrel btw. And their shouldn't be any new bugs for arc/s users as the 2011 devices only have minor differences in source.
you forget to update op title
so this 3.0?
darkevilmagic said:
so this 3.0?
Click to expand...
Click to collapse
no still 2.6.32.9
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
I attached latest CM10.1 Kernel for arc.
om22 said:
no still 2.6.32.9
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
I attached latest CM10.1 Kernel for arc.
Click to expand...
Click to collapse
Where did you take the 10.1 kernel from?
zandm7 said:
Where did you take the 10.1 kernel from?
Click to expand...
Click to collapse
from latest build it´s included in zip: http://forum.xda-developers.com/showthread.php?t=2147958
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
My scores eith this kernel and last cm 10 with bestt addon
Sent from my Xperia Arc S using xda app-developers app
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
More
Sent from my Xperia Arc S using xda app-developers app
emwno said:
So you finally brought it over. Great job with the kenrel btw. And their shouldn't be any new bugs for arc/s users as the 2011 devices only have minor differences in source.
Click to expand...
Click to collapse
Thanks, and yes I know but I put it on first post just to be sure I don't get complaints :laugh:
om22 said:
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
Click to expand...
Click to collapse
Maybe I'll do it, will take a look when I have free time
n1kolaa said:
My scores eith this kernel and last cm 10 with bestt addon
Click to expand...
Click to collapse
Which bestt addon?
Also can someone turn on Pointer Location from Developer options an tell me what is the lowest recorded touch PRS(upper right corner you will see PRS and Size) but remember touch not swipe. Thanks
n1kolaa said:
My scores eith this kernel and last cm 10 with bestt addon
Sent from my Xperia Arc S using xda app-developers app
Click to expand...
Click to collapse
how about battery drain?
i really want to try paul's kernel, and finally it's here.
thanks so much! :highfive:
These modules are big as they are uploading for several hours
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
Im using oc....its ok...i was used 1.2 oc now and Also 1.4 but ...i recomend 1.2
Sent from my Xperia Arc S using xda app-developers app
n1kolaa said:
Im using oc....its ok...i was used 1.2 oc now and Also 1.4 but ...i recomend 1.2
Sent from my Xperia Arc S using xda app-developers app
Click to expand...
Click to collapse
If you are running an arc S, why would you downclock the processor from 1.4 to 1.2GHz?
---------- Post added at 11:00 AM ---------- Previous post was at 11:00 AM ----------
Still waiting for the WiFi modules...
paul678 said:
Thanks, and yes I know but I put it on first post just to be sure I don't get complaints :laugh:
Maybe I'll do it, will take a look when I have free time
Which bestt addon?
Also can someone turn on Pointer Location from Developer options an tell me what is the lowest recorded touch PRS(upper right corner you will see PRS and Size) but remember touch not swipe. Thanks
Click to expand...
Click to collapse
besttt said:
replace superuser with supersu with workinkg update subinary
fix apolo and dsp apk no crash any more no fc
fm radio now plays and with out earphones just plug any cable for antena
add panorama apk
fix video hd camera quality
add adreno latest drivers
add appolo from 4.2.2
add new camera jb working style with gallery now you have ics and jb style camera
added separate atachment for mass storage fix
reboot to recovery works at english language for other language choose the third choise
works only with fusion 4.3 and 4.5 720hd version kernel and fxp kernels
does not work with lupus kernel and does not work with new fusion 4.4 kernel
link for fixes http://www.mediafire.com/?0bzjsqey02m5dq5
flash the atachment 213.zip (mass storage fix) but not at first boot flash first the rom after fixes and gapps reboot to open the phone one time,,,, then reboot again and flash the atachment to get mass storage fix,,, and after flash the atachment reboot and do this For Mass Storage mode - Go to settings/ storage/RIGHT button/ click/usb conection/press at usb conection/set mass storage and enjoy
added disabler buck light enabler buck light
Click to expand...
Click to collapse
THIS
LukynZ said:
These modules are big as they are uploading for several hours
Click to expand...
Click to collapse
When you have to go to University, make a game in c++ and work on updates on this kernel then you can make a comment like this...ever thought that maybe I didn't have time to put them on mediafire ?
(modules will be up today)
Anyway anyone on that Pointer Location thing as I want to test something for the touchscreen this night
paul678 said:
When you have to go to University, make a game in c++ and work on updates on this kernel then you can make a comment like this...ever thought that maybe I didn't have time to put them on mediafire ?
(modules will be up today)
Anyway anyone on that Pointer Location thing as I want to test something for the touchscreen this night
Click to expand...
Click to collapse
i also have to slove some problems using C on my school
im dont know it enoth like you to make games
XPro version ???
kemoba said:
XPro version ???
Click to expand...
Click to collapse
Don't know, will see about it in the future
Modules are up, sorry for delay!
On the other hand 56 downloads and 0 people answered my simple question about some touch events, I guess (if it proves to work) you don't want it on your device.
Have a great day, Paul.
paul678 said:
Don't know, will see about it in the future
Modules are up, sorry for delay!
On the other hand 56 downloads and 0 people answered my simple question about some touch events, I guess (if it proves to work) you don't want it on your device.
Have a great day, Paul.
Click to expand...
Click to collapse
prs 0.03 and size 0.05

[kernel] {4.3.1}[p4wifi]

Ive been working on a kernel for the p4 wifi tab. My goal was to elimantae lag and increase IO scores.
Changelog 12/16
Update tcp congestion control
Add new governors
Clean code
Add more compiler flags
Adjust voodoo sound.
update writeback
further reduce readahead
enable system wide mounting
new makefile flag + fix derp on entropy commit
patch to aide in hotplugging
avoid depleting of entropy pool
reduce latency
make file optimization
vfp optimization
lower read ahead
small tweak to load avg
reduce some log spam
crc32 additions
compiler optimizations
lower swappiness
finish clocks
fix errors
block: fix infinite loop in __getblk_slow
fifo: Do not restart open() if it already found a partner
add xz
another clock adjustment
adjust vfs_cache_pressure
tweak smp.c
tweak mm/backing_dev.c
adjust makefile
boost clocks
add arm topology
sched: clock wrap bug in 2.6.35-stable kills scheduling
scheduler pick nexthighest task
add io schedulers
improve the group logic
allow pipe compiling
vfp compile with neon
optimize slub
mm tweaks
tweak aio.c to increase io performance
reclaim some ram
disable gentle sleepers enablearch power
increase readahead
linaro fix
Bugs
Reboot from roms does not work properly. Need to reboot manually
Download p4 wifi
http://d-h.st/Db5
MY source
https://github.com/thicklizard/p4wifi
Download p4 7500
http://d-h.st/n4n
thanks:
pershoot
AAcount
for all the support they have givento this device
Incredible this is the extra boot my tablet needs, i'm using kasper's omni rom and it has always been extremely smooth, now with a lower ram usage and some tweaks, it's even better ! thank you!
DefQoN_BE said:
Incredible this is the extra boot my tablet needs, i'm using kasper's omni rom and it has always been extremely smooth, now with a lower ram usage and some tweaks, it's even better ! thank you!
Click to expand...
Click to collapse
i installed this kernal and can no longer get root. Are you having this problem. I am on kaspers Omni rom as well.
I had the same issue and had to re-flash the rom. Looking at the file, it looks to be for CM based rome only.
Most if not all modern aosp Roms like aokp, pacman, and others use the same kernel source. I am using a cm10.2 based rom on my tablet but, a kernel should not effect superuser. What errors are you getting? Have you tried updating Superuser or supersu which ever one is installed?
When I tried to run Titanium Backup, but it kept telling me that it did not have root.
I tried installing and updating each of the Superuser and SuperSU separately without success. When I re-flashed the PAC 4.3 rom, things went back to normal.
Flashed UPDATE-SuperSU-v1.80 will gain root again......
rogconnect said:
Flashed UPDATE-SuperSU-v1.80 will gain root again......
Click to expand...
Click to collapse
Thanks! :good: Do you have the link for the file?
Dreameagl said:
Thanks! :good: Do you have the link for the file?
Click to expand...
Click to collapse
http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
How about for P7500?
Is there a kernel like this for P7500?
AJtheAndroidNoOb said:
Is there a kernel like this for P7500?
Click to expand...
Click to collapse
I could make one. Just will need a willing tester.
thicklizard said:
I could make one. Just will need a willing tester.
Click to expand...
Click to collapse
I can test it.
Sent from my GT-P7500 using Tapatalk HD
s14tam said:
i installed this kernal and can no longer get root. Are you having this problem. I am on kaspers Omni rom as well.
Click to expand...
Click to collapse
Dreameagl said:
I had the same issue and had to re-flash the rom. Looking at the file, it looks to be for CM based rome only.
Click to expand...
Click to collapse
Nope, i have no issues at all, flashed it and works perfect since day one, still using same ROM and this kernel, it's just perfect for me like it is now
eushaun99 said:
I can test it.
Sent from my GT-P7500 using Tapatalk HD
Click to expand...
Click to collapse
I added a link in the op. Please test and confirm all is well.
DefQoN_BE said:
Nope, i have no issues at all, flashed it and works perfect since day one, still using same ROM and this kernel, it's just perfect for me like it is now
Click to expand...
Click to collapse
I think I must have had some other issue. I had to do a wipe and re install and now everything works great.
Sent from my GT-P7510 using XDA Premium HD app
Waiting for the response
I'm still waiting for the response eushaun is gonna give
AJtheAndroidNoOb said:
I'm still waiting for the response eushaun is gonna give
Click to expand...
Click to collapse
Why? Just flash it. It works perfectly fine for me. No root issues at all.
Sent from my GT-P7500 using Tapatalk HD
eushaun99 said:
Why? Just flash it. It works perfectly fine for me. No root issues at all.
Sent from my GT-P7500 using Tapatalk HD
Click to expand...
Click to collapse
So the version I posted last night for the 7500 is all good? There really is no reason it wouldn't be just needed confirmation.
thicklizard said:
So the version I posted last night for the 7500 is all good? There really is no reason it wouldn't be just needed confirmation.
Click to expand...
Click to collapse
Yup, no problems at all.
Sent from my GT-P7500 using Tapatalk HD
Any difference?
eushaun99 said:
Yup, no problems at all.
Sent from my GT-P7500 using Tapatalk HD
Click to expand...
Click to collapse
What difference did you see after you flashed? is it better than one packed with from bee_gee's ROM?

Categories

Resources