[KERNEL][10/26/13][JSS + JWR][W6 R2] BCM Kernel - Nexus 4 Original Android Development

Disclaimer:
I nor anyone else is responsible for any damage to your phone or the effects of you flashing this kernel
With that said, enjoy, here are the goodies:
My Github
Downloads
Changelog
Thank you:
(no particular order)
@mathkid95
@franciscofranco
@faux123
@anarkia1976
@morfic
@stratosk
@Imoseyon
For your commits and contributing to the community.
If you enjoy my work:
Remember to Rate and Thanks!
Follow me on Twitter
Donation is in no way necessary but appreciated.
Donate

BCM Kernel is a kang and compilation of the best interfaces/tweaks/solutions from all of the great developers we have here for the Nexus 4.
Its features are as follows:
Code:
CPU Frequency Scaling:
Mako Hotplug - franciscofranco
Modified Interactive - franciscofranco
Extra Low CPU Clocks down to 162Mhz - faux123
Thermal Driver:
msm_thermal - franciscofranco
GPU:
GPU OC to 487Mhz - anarkia1976
Simple GPU Governor by faux123 + franciscofranco - default
Interactive GPU Governor by franco
CPU Governors:
WHEATLEY
INTERACTIVE by franco - default
SMARTMAX
INTELLIDEMAND
DANCEDANCE
ONDEMANDPLUS
ONDEMAND
USERSPACE
POWERSAVE
PERFORMANCE
LAZY
HYPER
Schedulers:
ROW
FIOPS
NOOP
DEADLINE
CFQ
Dynamic fsync - faux123
Voltage Control - morfic and franciscofranco
"Z-Control" patches - faux123
DoubleTap2Wake - franciscofranco
Gamma Control - faux123
Kexec MultiROM/Hardboot - Tassadar
USB Fast Charge
FauxSound - faux123
BLX - mathkid95
EXT4 patches from Linux 3.5+ - Me
memcg patches from Linux 3.5+ - Me
Much more :victory:
I am 100% transparent in this. This kernel is a relatively small amount of my work. I looked at the Linux kernel and took patches for a lot of things and merged it into this kernel for whatever reason I decided. I have merged well over 100 patches from the mainline Linux kernel and I think these patches really do make a difference... you can make that judgement for yourself as well
The difference between my kernel and compilation kernels is that my kernel is not based off of any one persons kernel. I started from scratch on AOSP sources and merged in commit by commit to make sure I got what I think are the best solutions.

The best app I have found for controlling this kernels behavior is FauxClock so I will give you my setup in terms of FauxClock. I if I don't mention a setting that means I leave it stock.
My setup:
CPU:
162Mhz Min - 1512Mhz Max
Governor: Interactive OR Intellidemand for battery
MPD: off
GPU:
400Mhz
Governor: Interactive for performance OR simple/ondemand for battery
VSync: On
IOSCHED:
IO Scheduler: FIOPS
Readahead: 512
eMMC entropy Contribution: Off
Gamma Control:
I use the "obsanity_AMOLED" profile
Z-Control:
ZRAM Swap: On
ZRAM Diks Size: 180MB
Clear VFS Cache after Boot: On
Auto FS Writeback Delay Mode: On
Misc:
Dynamic fsync: Off
TCP Congestion Control: westwood

last one

Nice, a new kernel!
What is on offer?

Me likey!!
Sent from my Nexus 4 using Tapatalk 4

From what I could gather
Sound - faux interface
Gamma - faux
Hotplug - Franco
Interactive, on demand, Wheatley, lazy governors
Sent from my Nexus 4 using xda app-developers app

How would be the battery life?
Gesendet von meinem Nexus 4 mit Tapatalk 2

moonwalker1 said:
How would be the battery life?
Gesendet von meinem Nexus 4 mit Tapatalk 2
Click to expand...
Click to collapse
Theoretically it should be quite good.

moonwalker1 said:
How would be the battery life?
Gesendet von meinem Nexus 4 mit Tapatalk 2
Click to expand...
Click to collapse
Come on man he just dropped it... Honestly battery life is what we his new testers are going to determine...

Ace42 said:
From what I could gather
Sound - faux interface
Gamma - faux
Hotplug - Franco
Interactive, on demand, Wheatley, lazy governors
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Gamma: Franco
No lazy governor

Enjoying the kernel so far, running smooth on CM 10.2. But as this is solely a kanger's work, it would better fit into the Android development section because this is anything but original isn't it?

mindfever91 said:
Enjoying the kernel so far, running smooth on CM 10.2. But as this is solely a kanger's work, it would better fit into the Android development section because this is anything but original isn't it?
Click to expand...
Click to collapse
I did make "it" AFAIK this is the only kernel of its kind. There are other merges that are not as complete and don't give proper credit to some of the developers, however I give 100% credit. Also there are other kernels that pull from other developers/ user their interfaces that are still in this section.
Not attacking you, just explaining my logic for having it in this section, if a moderator wants it moved as well I have no problem with that.

i have been running this kernel for a week and its great on battery.
its just as quick as any other kernel out there. Byte did a great job getting all these tweaks in and running smooth. :good:

mindfever91 said:
Enjoying the kernel so far, running smooth on CM 10.2. But as this is solely a kanger's work, it would better fit into the Android development section because this is anything but original isn't it?
Click to expand...
Click to collapse
If you aren't a developer you can judge ... Try it and don't spam with questions not related to kernel.
Respect please. :thumbup:
Sent from my Nexus 4 using Tapatalk 2

Remember using your giant mako kernel for 4.2.2, it was quite good.
Will try this with a fresh install of crDroid ROM.

unsungkhan said:
Remember using your giant mako kernel for 4.2.2, it was quite good.
Will try this with a fresh install of crDroid ROM.
Click to expand...
Click to collapse
Thanks, my kernel for 4.2.2 was not my best effort by far, you should like this one much more
Sent from my Nexus 4 using Tapatalk 4

So far so good..Installed with Odyssey Rom....Beach Buggy plays nice and smooth and runs cool..Left everything on default for now...Lots of settings to play around with in Trickster to...Thumbs up.

djnewt said:
So far so good..Installed with Odyssey Rom....Beach Buggy plays nice and smooth and runs cool..Left everything on default for now...Lots of settings to play around with in Trickster to...Thumbs up.
Click to expand...
Click to collapse
Just looked at Trickster, there do seem to be quite a few settings in which to change lol
Sent from my Nexus 4 using Tapatalk 4

It would be great if you can add faux gamma...doesn't work with fauxclock.
Tap, tap says the wicked NeXus⁴

Related

[YP-G70][Kernel][3.0.8][LiveOC] KKernel R2.1 by KOala888

Ok, please respect my time spend on that kernel and read at least those few opening posts and last pages of topic.
Many users reported that overclocking doesn't work for them, they got SODs etc. most probably because of gpu overclocking. So I present you a kernel with LiveOC feature that should be good for every user.
1. Main features
2. Tunables
3. Source
4. FAQ
5. Credits
6. Download
1. Main features (more in changelogs and on mine git)
* LiveOC
* Fastcharge
* CustomVoltage
* 441mb of RAM
* 400,800,1000,1100,1200,1300,1400 frequency steps with stock gpu&bus speed
* BFS
* Lowmemorykiller from 3.4
* Frandom
* 3.0.8
* Fsync disabled
* Lowered screen minimum brightness (I hope so that this is our hardware limit)
* default SIO and conservative
* opitmal readahead
* mine touchscreen values
* wifi works at normal speed when device is locked
* battery is charged to its 100%
* Touchscreen undervolted 20%
* Maaany other fixes and small features
2. Tunables
For managing those features you are supposed to use apk like NSTools or any other, but that one is highly recomennded
LiveOC
I implemented it so everybody can overclock as he wants to, total personalization and freedom of choice. And possibility to squeeze maximum performance.
LiveOC simply overclocks CHOOSED cpu frequencies by a % choosed by YOU, user.
As the gpu&bus frequency is simply cpu frequency divided by a number, it also is overclocked by choosed %.
Unfotunatelly cpu frequency and gpu&bus frequency are linked so choosed % affect both of them.
As I said, you can also choose which frequencies to overclock which is great facility.]
You won't probably be able to overclock more than 127% because of our BUS which can't achieve such a frequency (most devices)
For example, you choosed minimum frequency affected by LiveOC as 1300mHz and maximum as 1400mHz.
You set LiveOC % to 110., then:
1,1*1300 ==> 1430mHz
1,1*1400 ==> 1540mHz
1,1*200 ==> 220mHz - gpu&bus frequency for both of the frequencies
Now you probably think: Ok, I can overclock even to 1,7gHz but my device will reboot for sure because of too low voltages! That is why I also implemented CustomVoltage. Although when you overclock it slightly then you possibly won't have to adjust voltages.
*WARNING*
Some frequencies seem to not like liveoc, for me it is 1300mhz. Also some liveoc values can be laggy, use different then.
CustomVoltage
CustomVoltage allows to set you custom voltage for both cpu and gpu&bus.
Perfect solution for undervolting and overvolting when using liveOC
ARM voltage - voltage given to CPU
INT voltage - voltage given to GPU&BUS
Fastcharge
Fastcharge make charging via USB as fast as via normal A/C charger
You can simply turn it on and off whenever you like.
Minimum Brightness
Now your device can be even dimmer when using it at night.
*WARNING* You have to use RootDim apk for this thing. Lowering brightness via setting or on statusbar would require rom modification
I highly recommend seting up a custom tile, you choose Rootdim night1 and for example system icon "cloud".
Then you open RootDim, set your brightness to 1 and longpress Night1 button.
Voilla! You have a custom tile that sets your brightness to 1
I hope that it set brightness to our hardware minimum.
I also recommend switching off keys backlight by a script or manual permissions change
3. Source
https://github.com/KOala888/blahblah
anyway some changes are still only on my HDD
4. FAQ
This will be created in future
Some terms:
BFS - http://en.wikipedia.org/wiki/Brain_****_Scheduler
Frandom - http://billauer.co.il/frandom.html
Fsync - http://forum.xda-developers.com/showthread.php?p=33381928
Readahead - http://en.wikipedia.org/wiki/Readahead
5. Credits
JackpotClavin - for his 3.0 kernel for our lovely venturi and other contributions and helping me to build
Mevordel - For verything he has contributed us and explaining me many kernel things
android1234567 - For his source, advices, discoussions with him, helping me to build and solve errors, answering in my threads
Ezekeel - for creating LiveOC and many useful features
ts1506 - for his repo and advices
Fishears - For his awesome repo and advices
DerTeufel - For CustomVoltage and modification to liveOC and his ideas
Stratosk - For his epic work for aries and his repo
morific - For his EPIC work to many devices, inspiration and origial idea
The order doesn't matter. If I forgot someone then I am sorry and please point me that
5. Downloads
Downloads:
usa:
http://www31.zippyshare.com/v/27472720/file.html
intl:
http://www2.zippyshare.com/v/42191562/file.html
CHANGELOG
7th July 2013 - Release 2.1
*3.0.85
*Updated GPU drivers
*less debugging and ram dedicated to it
*new wifi drivers? not sure if we use same as aries
*some fixes to SLUB
*KSM and VM tuned
*async I/O improved
18th June 2013 - Release 2
*3.0.82
*Build with A8 cortex optimized toolchain
*Some optimization for flags - feels smoother
*Finally found my dream governor - intellidemand, seems to be perfect for my idea of the kernel
*Update zip contains script turning off our keys backlight! From now with the minimum brightness mod you can enjoy using player at night
31th May 2013 - Release 1
*unnecessary governors removed & conservative - default - can cause laggy UI - still have to find proper governor
*even dimmer screen
26th May 2013 - Beta 2
*linux 3.0.8
*removed 100&200mhz frequencies to eliminate SODs
*Battery is charged to its 100%
19th May 2013 - Beta 1
*initial release
Download is up so please enjoy
LiveOC helps to squeeze 100% from EVERY device
woah another kernel from you already, woot time to flash
The only one supported. Old are totally aborted. I just had to start from a scratch again.
I hope that youtube and kerys will work for usa, not sure
ok so far i been testing international kernel on latest iurnait's cm10.1 , tried vice city on medium graphics and it works pretty smooth, the touchscreen tweaks makes it really easy to control, cpu freq 100mhz-1400mhz, performance as governor and SIO as scheduler are just working great for heavy usage, best performance on my galaxy player so far, good job :good:
@KOala888 you should add instructions on how to configure liveOC so far Ezekeel's liveOC is pretty interesting but it doesn't scale up voltage and it doesn't OC the GPU well
BTW you should add credit for Ezekeel in the OP because he made the liveOC
1 last thing: there's no UKSM in the kernel
peztoa said:
ok so far i been testing international kernel on latest iurnait's cm10.1 , tried vice city on medium graphics and it works pretty smooth, the touchscreen tweaks makes it really easy to control, cpu freq 100mhz-1400mhz, performance as governor and SIO as scheduler are just working great for heavy usage, best performance on my galaxy player so far, good job :good:
Click to expand...
Click to collapse
Thank you, you should try liveoc for sure Maybe later when I will add more detailed instructions.
android1234567 said:
@KOala888 you should add instructions on how to configure liveOC so far Ezekeel's liveOC is pretty interesting but it doesn't scale up voltage and it doesn't OC the GPU well
BTW you should add credit for Ezekeel in the OP because he made the liveOC
1 last thing: there's no UKSM in the kernel
Click to expand...
Click to collapse
There are some accualy
Also, I did everything in hurry, and as you can see I have written that I have to make better opening post in future, so don;t worry everything will be added, like credits But thank you.
Also it isn't exacly ezekeel's liveoc I think. Why it doesn't OC gpu well? Stratosk has voltages scallable, but it is very individual feature. Most often you overclock 1-2 frequencies, not all of them, so not too much to adjust
I will add suggested configurations and voltages in future. I like liveoc because you can get literally maximum performance from overclocking here.
About UKSM, not sure, git doesn't match my HDD repo to well ;c
KOala888 said:
Thank you, you should try liveoc for sure Maybe later when I will add more detailed instructions.
There are some accualy
Also, I did everything in hurry, and as you can see I have written that I have to make better opening post in future, so don;t worry everything will be added, like credits But thank you.
Also it isn't exacly ezekeel's liveoc I think. Why it doesn't OC gpu well? Stratosk has voltages scallable, but it is very individual feature. Most often you overclock 1-2 frequencies, not all of them, so not too much to adjust
I will add suggested configurations and voltages in future. I like liveoc because you can get literally maximum performance from overclocking here.
About UKSM, not sure, git doesn't match my HDD repo to well ;c
Click to expand...
Click to collapse
It is Ezekeel's, he originally made it for the Nexus S and I believe his name is in the copyright for the liveOC file. By bad GPU overclocking I mean that the GPU is barely being overclocked at all (unless it doesn't have GPU overclocking). For example, in my kernel the GPU runs at 229MHz when the CPU is at 1600MHz. In Nenamark2 with my kernel and CPU at 1600MHz I get 33fps. In this kernel I set the liveOC to 115% and set the CPU to 1680MHz and I only scored 30fps.
Sent from my HTC Sensation 4G using xda app-developers app
Well I wouldn't say it is anything related to liveoc overclocking gpu in a bad way. It can be voltage, other kernel changes, toolchain (which I will change too), anything
I prefer hardcoded overclocking, but liveoc gives same performance and you can push it to the limits
And I don't need it to be the best in benchs, I want it to be universal. For me it is the best anyway
In epic citadel I got 41 fps
Wysłane z mojego Nexus S za pomocą Tapatalk 2
I hope im not the only one who wants this or i most surely will look like a boob...but is there any chance you could make a kernel like this for gingerbread? Entropy512's is just seeming so outdated after seeing the amazing features in the jellybean kernels . I and i hope some others would greatly appreciate if you just considered creating a gingerbread kernel. Thank you
Sent From My USA Galaxy Player 5.0
Okay so with live oc my over clock will increase when needed and remain low when not...
So it's like on demand?
Sent from my GT-I9300 using xda premium
Nope. If you overclock it to 120% then every affected frequency will stay at 120% unless you change it to 100%
Feel free to ask
And about gingerbread, I don't use it. It literally sucks comparing to 4.2.x
So sorry but I can't. Hardware acceleration and many useful features do the thing.
But maybe in future, as an experiment, to see whether it isn't faster while gaming. I already had gb kernel some time ago but discraded.
Wysłane z mojego Nexus S za pomocą Tapatalk 2
An1mus said:
Okay so with live oc my over clock will increase when needed and remain low when not...
So it's like on demand?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
LiveOC is not automatic, you have to configure it and use it manually. Basically, it allows you to increase the frequencies by a percent between 100 and 150 that you put in. Let's say you put in 110%, then the speed of all the frequencies will go up by 10%, so 1400MHz will become 1540MHz, 1300MHz will become 1430MHz, and so on.
Sent from my HTC Sensation 4G using xda app-developers app
But I included tunable selective liveoc too. So you can choose frequencies to overclock
Than you for help android1234567, btw do you use it? how is it?
Goodnight guys
Wysłane z mojego Nexus S za pomocą Tapatalk 2
KOala888 said:
But I included tunable selective liveoc too. So you can choose frequencies to overclock
Than you for help android1234567, btw do you use it? how is it?
Goodnight guys
Wysłane z mojego Nexus S za pomocą Tapatalk 2
Click to expand...
Click to collapse
I tested the kernel and it works well
How do I use the selective overclock?
Sent from my HTC Sensation 4G using xda app-developers app
Man, these 5.0 kernels are just amazing. The ram, OC, and everything. I'm really hoping that we'll see kernels with these features on the 4.0 sometime soon!
I'm curious, how much of a battery improvement does the LCD UV make? On the 4.0, the display eats tons of battery, tons and tons more than anything else. Wondering if we brought that to the 4.0 that it might fix that issue.
With this kernel every time I turn my screen on it doesn't come back on
Sent from my YP-G70 using xda premium
Is just me or the compass is fixed now? Its working perfect on Google maps
Sent from my YP-G70 using xda app-developers app
android1234567 said:
I tested the kernel and it works well
How do I use the selective overclock?
Sent from my HTC Sensation 4G using xda app-developers app
Click to expand...
Click to collapse
In NSTools in cpu card you have values like OC target low and OC taget high. If you choose for example 800 and 1200 then every frequency from 800 to 1200 will be overclocked
WHib96 said:
Man, these 5.0 kernels are just amazing. The ram, OC, and everything. I'm really hoping that we'll see kernels with these features on the 4.0 sometime soon!
I'm curious, how much of a battery improvement does the LCD UV make? On the 4.0, the display eats tons of battery, tons and tons more than anything else. Wondering if we brought that to the 4.0 that it might fix that issue.
Click to expand...
Click to collapse
Hm, just take from batterystats the % of battery that your LCD takes and multiply it by 0,8 Also, you have other display
An1mus said:
With this kernel every time I turn my screen on it doesn't come back on
Sent from my YP-G70 using xda premium
Click to expand...
Click to collapse
See first post, set minimum frequency to 400mhz until I won't fix it
peztoa said:
Is just me or the compass is fixed now? Its working perfect on Google maps
Sent from my YP-G70 using xda app-developers app
Click to expand...
Click to collapse
I never used it. If I foxed it then by accident
Wysłane z mojego Nexus S za pomocą Tapatalk 2

[KERNEL][TW][9005] | WonderChild Kernel | 3GHz | 3.4.74 | | TouchWake | Much More!! - 12|22|13

[KERNEL][TW][9005] | WonderChild Kernel | 3GHz | 3.4.74 | | TouchWake | Much More!! - 12|22|13
Disclaimer: We're not responsible for any damages, explosions, transformations or mutations that may happen with your device. Do understand that flashing this kernel, or any custom kernel voids your warranty and the Knox flag thinga-ma-jig. This is a kernel discussion thread, which means feel free to discuss this kernel. Be respectful of your opinions, both good and bad.
Devices Supported: T-Mobile Note 3, AT&T Note 3, International Note 3 (Snapdragon 800), Rogers Wireless Canadian N900W8. Other Note 3 variants MAY or MAY NOT work! You've been warned!
This kernel is designed, based on what djintrigue808 and myself wanted in a kernel. Originally, we weren't going to share it with the public, because people love to scrutinize and criticize, two things we've dealt with previously and quite frankly don't care for. We're not doing this for donations, recognition or anything of the sort. Although they are welcomed and appreciated, it's not something we're striving for. It's our first real kernel folks, we're not pros or veterans at this... lol. This kernel will be updated when it gets updated. There's no set schedule or anything... we're both busy men with life and responsibilities...
Click to expand...
Click to collapse
***WonderChild***
Discussion Thread
WonderChild is proudly presented by @itsmikeramsay and @djintrigue808
Kernel Status: BETA
Features:
Latest Kernel Updates: 3.4.74
GCC 4.7.2
ExFAT Support
File Systems: NFS, NTFS, FAT,
SELinux: Permissive
LZO Compression (Bigger file, but boots much faster)
Overclocked: 3.01GHz (3GHz)
Underclocked: 96MHz
USB FastCharge - yank555-lu
MDNIE Lite Controls - yank555-lu
LED Extended Controls - yank555-lu
TouchWake Finger/S-Pen - yank555-lu
Battery Life Extender (BLX) - Ezekeel
Bricked Mpdecision - show1978
Custom Voltage Table - Imoseyon
OndemandX - Imoseyon
InteractiveX - Imoseyon
Faux Sound - faux123
Intellidemand - faux123
Intellithermal - faux123
Simple GPU Gov - faux123
Smartmax - maxwen - Note1
Smartmax_eps - maxwen - Note1
WheatleyX
ConservativeX
Ultra Kernel Same-page Merging (UKSM) - jasmison904
FIOPS Scheduler - Doomlord
SIO Scheduler - Doomlord
ZEN Scheduler - Brandon Berhent (No username)
Disabled CFQ Scheduler (May Enable Later)
Disabled Userspace, Powersave, & Conservative Governors
Click to expand...
Click to collapse
​
Note1: Smartmax & Smartmax_eps are NOT benchmarking governors. You'll generally get great performance/battery, but the way it's setup, it's not meant to be used for such purposes. It's still being fine-tuned also.
Click to expand...
Click to collapse
Downloads:
Main Thread w/Downloads
Old Builds
Click to expand...
Click to collapse
v1.1 BETA 2 Changes:
Voltage minimum set to 600mv
Bricked mpdecision - show1978
TouchWake (Finger/S-Pen) - yank555-lu
Battery Life Extender (BLX) - Ezekeel
Fixed InteractiveX Reboot - Imoseyon
Current Bugs:
* We're still working on all benchmarking issues... some still having issues
Click to expand...
Click to collapse
Side Note: Many of you may wonder... Why Mike, Why DJ, why 3GHz? Our answer to that is, because. That's it lol. We're curious to know the max of this kernel that EVERYONE can run... 3GHz seems like it so far. Now I'm not telling you to go and run 3GHz ALL day, that's up to you the users, but at the end... we did it just for the heck of it...
​​
Source
EndPost
XDA:DevDB Information
WonderChild, a Kernel for the Samsung Galaxy Note 3
Contributors
itsmikeramsay, itsmikeramsay, djintrigue808
Kernel Special Features: Listed above
Version Information
Status: Beta
Current Stable Version: v1
Stable Release Date: 2013-12-07
Current Beta Version: v1.1
Beta Release Date: 2013-12-22
Created 2013-12-11
Last Updated 2013-12-22
Great kernel.
What is the benefit of Simple GPU gov?
What is benefit of Wheatly?
What is UKSM?
Sent from my SM-N9005 using Tapatalk
danieljamie said:
Great kernel.
What is the benefit of Simple GPU gov?
What is benefit of Wheatly?
What is UKSM?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Wish I knew the exact answer to all those questions. Its my first kernel and im still learning...
Simple GPU im not sure I just know throughout having it its given me better performance.. from my use and experience.
Wheatley from what I know id similar to ondemand but focuses more on battery life.
Uksm is a performance enhancement for the kernel overall.
Theres a thread somewhere on xda that has details for these. I'll look for it in a feq and add a link to it.
Sorry I didnt have details for each though. Still a n00b lol
That's cool, thanks for the reply
Sent from my SM-N9005 using Tapatalk
nice to see you guys here
great kernel
---------- Post added at 06:38 PM ---------- Previous post was at 06:35 PM ----------
danieljamie said:
Great kernel.
What is the benefit of Simple GPU gov?
What is benefit of Wheatly?
What is UKSM?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1736168
UKSM stands for Ultra KSM :: A page (as in memory page) merging algorithm used in linux servers (and desktops...and also KitKat) that merges identical copies of page memories.
So if you have 2 processes that occupy some memory that is identical, instead of using 2x the memory, UKSM will merge them and replace copies with pointers.
It means it makes common processes use less RAM
CekMTL said:
UKSM stands for Ultra KSM :: A page (as in memory page) merging algorithm used in linux servers (and desktops...and also KitKat) that merges identical copies of page memories.
So if you have 2 processes that occupy some memory that is identical, instead of using 2x the memory, UKSM will merge them and replace copies with pointers.
It means it makes common processes use less RAM
Click to expand...
Click to collapse
When would this be used in real life application?
Sent from my SM-N9005 using Tapatalk
has anyone tested it yet ?
Sent from my SM-N9005 using Tapatalk
Maroc_Specops said:
has anyone tested it yet ?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I ran uksm on my Note 2 in the last month or two I had it, and I did notice that I had a decent amount more ram in real world use. Not massive difference but it does help
Sent from my SM-N9005 using xda app-developers app
i just flashed this kernel on the international Note 3. My phones turns hot like a fresh baked pizza. battery drain if u overclock even 100 mhz.
i reflashed civitz 1.6 kernel much better also in benchmarks.
Sent from my SM-N9005 using Tapatalk
Maroc_Specops said:
has anyone tested it yet ?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I'm getting random reboots. Sorry I meant black screen where I have to battery pull.
Works great on my Eur Note 3. Smartmax + UV seems to be doing wonders to my battery. 1 hour of Clash of Clans and only drained 10%
fenomenal kernel ! 38500 with antutu and 27800 quadrant. linpack multi core test 1150 !
Sent from my SM-N9005 using Tapatalk
Ok peeps, here's what I can confirm about next update...
Linux 3.4.74
3.01GHz as new max frequency
LED Fade & Brighter LED (Still needs to be tested, but added)
More file systems like:
FAT
VFAT (Properly supported by FAT)
NFS
NTFS
Click to expand...
Click to collapse
These all need to be tested and fine-tuned so v2 beta will be out soon...
A more detailed changelog with proper credits are soon to come...
​
Maroc_Specops said:
fenomenal kernel ! 38500 with antutu and 27800 quadrant. linpack multi core test 1150 !
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
which are the settings you use???
I wonder if it's possible to add that new file system that was used in to Moto G? Apparently it's responsible for the great scores despite the Moto G using an eMMC card.
Sent from my SM-N9005 using xda app-developers app
Logi_Ca1 said:
I wonder if it's possible to add that new file system that was used in to Moto G? Apparently it's responsible for the great scores despite the Moto G using an eMMC card.
Sent from my SM-N9005 using xda app-developers app
Click to expand...
Click to collapse
If you could find me the name of thar file system it may be possible.
@itsmikeramsay
So looking forward to it!!!
/CK
WheatleyX! Now you can customize the max screen off frequency like Imoseyon's ondemandx and interactivex.
I may remove conservativex by Jamison and add back the default conservative and make that conservativex.
Gonna be working on that today peeps.
Still looking into the led fade notifications. The original one i added picked from the S4 didnt work.
Anyone know a kernel app that allows led control? Not like color control but the blink times and stuff. I got full LED controls implemented, but dont see a kernel app that allows the control. TricksterMod i dont think has it.
Also what about mdnie controls. Got the display color customizations implimented but cant properly test it for the Note 3 yet because there isnt an app that will allow me to change it.
Any suggestions?

[KERNEL] MAC Kernel - 10/17/2014 - R1

MAC Kernel
Figure I might as well release this now before L is here.. This is for kitkat. I will update this kernel for L once source is available and features are updated.
Flash stock kernel if you are coming from a kernel with its own ramdisk also make sure there are no conflicting files from previous kernels. (init.d scripts, etc, etc)​
Disclaimer
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/​
Features
Linux 3.4.0
Makefile optimizations
-O3 optimized
Cortex a15 optimizations
LZ4 kernel compression
vfp optimizations
Optimized aes and sha1 routines
Optimized arm rwsem algorithm
Optimized lib: memcopy and string
Moto msm memcpy enhancements
Proprietary charger detection
CPU OC @ 2534.4Mhz
CPU uC @ 96Mhz
L2 bus and bandwidth OC
Bricked mpdecision (default)
Bricked thermal (default)
Intelli plug
Intelli thermal
ASMP hotplug
Update CPU Topology
CPU Power driver
Msm-sleeper
Battery Life eXtender
Scheduler Auto Group
NEON kernel mode
Voltage control
Faux sound control
Gamma control
Gamma corrected brightness
Kcal control
Doubletap2wake
Sleep2wake
S2W/DT2W powerkey suspend
S2W/DT2W timeout
Fast charge
Frandom
Export krait chip variant
Powersuspend driver
Stereo call recording
Simple GPU governor
Dynamic Fsync
Async Fsync
Kexec
exFAT
F2FS
Lots of patches from codeaurora.org, kernel.org, Motorola, and Nvidia (see source)
Backports
Workqueue (Linux 3.6)
RWSEM (Linux 3.9)
zRam, zsmalloc, and zpool (Linux 3.17)
Governors
Intellidemand
Intelliactive
ElementalX
IO Schedulers
Simple
FIOPS
BFQ
Showp1985 kernel zip
ON-THE-FLY-RAMDISK EDITS!
THIS KERNEL USES YOUR RAMDISK, it will just modify it on the fly while flashing. These changes are not creating any incompatibilities with roms/other kernels.
removes min freq overrides from the ramdisk
removes governor overrides from the ramdisk
adds init.d support to your ramdisk (if not already supported)
modifies stock ondemand settings
add module insertion
Kernel was compiled with cortex a15 optimized linaro toolchain
Download
https://www.androidfilehost.com/?fid=95747613655047080
Source
https://github.com/MikeC84/mac_kernel_lge_hammerhead
Special Thanks
Showp1984
Flar2
Faux123
Yank555-lu
Myfluxi
Savoca
Mrg666
Franco
kernel.org
codeaurora.org
Motorola
Linaro
Nvidia
Bugs
None that I am aware of..
To Do
Linux 3.4.104
BFQ v7r6
Add BLX to configuration files
Change Log
10/17/2014
https://github.com/MikeC84/mac_kern...42d67...android-msm-hammerhead-3.4-kitkat-mr2
Kernel Info
Kernel Configuration
MAC Kernel config is located at /system/etc/mac.conf
run init.d script as root or reboot to apply changes
max screen off frequency (msm-sleeper)
gpu governor
zram
s2w/dt2w
s2w/dt2w power key toggle
s2w/dt2w timeout
exfat module loading
gamma profile (several included)
elemantalx governor gboost
Kernel Log
MAC Kernel log is located at /dev/log/mac.log
this shows which features are enabled/disabled
Max Screen Off Frequency
The default max screen off frequency is 729 MHz.
This can be changed at /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
Battery Life eXtender
To change the max charging limit - /sys/class/misc/batterylifeextender/charging_limit
http://forum.xda-developers.com/nexus-s/development/mod-battery-life-extender-blx-t1257497
Next version will have this included in the configuration file
USB Force Fast Charge
There are 5 charge levels available. Set at /sys/kernel/fast_charge/fast_charge_level
500
900
1200
1500
2000
Krait Chip Variant
To see what krait chip your phone uses go to /sys/kernel/debug/krait_variant
Snail
Slower
Slow
Nominal
Fast
Faster
Over 3000
Thanks
Enviado desde mi Nexus 5 mediante Tapatalk
Will giver her a whirl and report back in a few days :good:
Looks awesome. thanks for sharing
Where have I've seen your name before.Did u do work on the evo [email protected]
Sent from my Nexus 5 using Tapatalk
shizkoff777 said:
Where have I've seen your name before.Did u do work on the evo [email protected]
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yeah I did for evo 3d and evo lte..
Forgive my ignorance but since ramdisk edits are done during flash with the work with aosp/cm11 based ROMs. As well as Hybrids like Vanir?
Didn't see that mentioned in detail and with shout outs to savoca, flar ,myfluxi, and codeaurora, I thought that might be the case. Thanks
Just double checking is this for lpx13d? Or older L preview builds?
Edited: Nvm. Didn't read properly... :/
razrlover said:
Forgive my ignorance but since ramdisk edits are done during flash with the work with aosp/cm11 based ROMs. As well as Hybrids like Vanir?
Click to expand...
Click to collapse
This kernel is for aosp. It will not work on cm based roms.
razrlover said:
Didn't see that mentioned in detail and with shout outs to savoca, flar ,myfluxi, and codeaurora, I thought that might be the case. Thanks
Click to expand...
Click to collapse
It a thanks to who ever I grabbed features and commits from. Savoca for kcal control, flar2 for msm-sleeler, myfluxi for gamma control, codeaurora for miscellaneous patches, etc, etc. Take a look at the source to see what has been done. I will add a change log tonight or in the morning.
Thank you very much for sharing your hard work so N5 users have another kernel to choose from.
I have read the OP but failed to spot anywhere that it has kxec-hard boot patch for Multirom.
Sorry if its mentioned and I missed it.
arifqur said:
I have read the OP but failed to spot anywhere that it has kxec-hard boot patch for Multirom.
Sorry if its mentioned and I missed it.
Click to expand...
Click to collapse
He has mentioned kexec in features. Can it be?
how often you will update this thread
how often you update this thread and will this thread continues?
@MikeC84 loved yur kernel. Performance is so great. But battery performance is low for me with this kernel.
Blaze Forth said:
@MikeC84 loved yur kernel. Performance is so great. But battery performance is low for me with this kernel.
Click to expand...
Click to collapse
Battery life has got nothing to do with the kernel. It's has to be an issue with a specific "badly coded" application you are using. Install BetterBatteryStats and figure it out.
On a sidenote Awesome Kernel! :good:
akash4357 said:
Battery life has got nothing to do with the kernel. It's has to be an issue with a specific "badly coded" application you are using. Install BetterBatteryStats and figure it out.
On a sidenote Awesome Kernel! :good:
Click to expand...
Click to collapse
Dude i was using code blue kernel. I got good battery backup with that. Compared to that i felt this kernel got battery performance low. Found a new kernel and i flashed it. Reported here what i felt.
---------- Post added at 06:05 PM ---------- Previous post was at 06:00 PM ----------
And performance wise i got 39k+ antutu score with this kernel. No oc. For first time. THANKS dev.
Blaze Forth said:
Dude i was using code blue kernel. I got good battery backup with that. Compared to that i felt this kernel got battery performance low. Found a new kernel and i flashed it. Reported here what i felt.
---------- Post added at 06:05 PM ---------- Previous post was at 06:00 PM ----------
And performance wise i got 39k+ antutu score with this kernel. No oc. For first time. THANKS dev.
Click to expand...
Click to collapse
A kernel won't really help. All a kernel does is interact between hardware and software. If you have no good signal in the city, that is what is eating your battery. A cell will practically kill itself to maintain the weakest of signals. Kernels can make a difference when your phone is idle, but if you're actually using a phone the things that affect battery life are screen brightness, signal strength, and how much data you're moving. A Kernel won't, I don't believe, make a lot of difference in battery performance.
akash4357 said:
A kernel won't really help. All a kernel does is interact between hardware and software. If you have no good signal in the city, that is what is eating your battery. A cell will practically kill itself to maintain the weakest of signals. Kernels can make a difference when your phone is idle, but if you're actually using a phone the things that affect battery life are screen brightness, signal strength, and how much data you're moving. A Kernel won't, I don't believe, make a lot of difference in battery performance.
Click to expand...
Click to collapse
Full 3G signal, no auto brightness, same data usage. You cant be always correct dude. And am sticking with this kernel. Got awesome performance.
Anyway thanks.

[Kernel] Dealer's Choice [StarKissed] [Sprint]

This kernel has moved to http://forum.xda-developers.com/note-4/unified-development
Support and discussion specific to Sprint can be found at:
http://forum.xda-developers.com/showthread.php?t=2931218
View the complete list of warnings, interfaces, and "namebrand" features
Additional information for Sprint version:
Potentially Unavailable:
Potentially Unsafe:
Direct image install
Incomplete / Inactive:
Does this Kernel support loop devices?
J-Rod1988 said:
Does this Kernel support loop devices?
Click to expand...
Click to collapse
CONFIG_BLK_DEV_LOOP=y
Good to go. As far as I know, pretty much all of them do by default these days.
Woo hoo! First custom kernel! Thanks for this. I would like to see sound mods(equalizer, bass boost, general headphone + speaker amplification) as well as LED mods(brightness, fade, etc) brought to the device via kernel. But thanks again for the early work. Will flash tonight!
Sent from my SM-N910P using Tapatalk
This is T Mobile why is it over here?
LulzactiveQ govenor
Man that was fast. This is exactly what I was waiting for. Will be testing this tonight. Coming from a note 2 and my favorite Governor was lulzactiveQ, is there any technically reason why that governor would not work with this kernel. I know its a derivative of Samsung PegasusQ and could be specific to their framework. If it's possible. I would love to make that a feature request. If not, I just appreciate the hard work your devs are doing.
Androidwarrior said:
This is T Mobile why is it over here?
Click to expand...
Click to collapse
The original thread is T-Mobile and it was their source that was published to coincide with release of the device.
The kernel, on the other hand, uses the included spr configuration with the NIE ramdisk (Both Sprint).
Haters welcome, too
Dimahnbloe said:
Man that was fast. This is exactly what I was waiting for. Will be testing this tonight. Coming from a note 2 and my favorite Governor was lulzactiveQ, is there any technically reason why that governor would not work with this kernel. I know its a derivative of Samsung PegasusQ and could be specific to their framework. If it's possible. I would love to make that a feature request. If not, I just appreciate the hard work your devs are doing.
Click to expand...
Click to collapse
It should work, but it'll need to be rewritten. I'll try to find a copy that works as a base.
twistedumbrella said:
The original thread is T-Mobile and it was their source that was published to coincide with release of the device.
The kernel, on the other hand, uses the included spr configuration with the NIE ramdisk (Both Sprint).
Haters welcome, too
It should work, but it'll need to be rewritten. I'll try to find a copy that works as a base.
Click to expand...
Click to collapse
Flashed it....it booted we will see how it runs
Androidwarrior said:
This is T Mobile why is it over here?
Click to expand...
Click to collapse
Its for sprint it works fine
Sent from my SM-N910P using XDA Premium HD app
pbedard said:
Its for sprint it works fine
Sent from my SM-N910P using XDA Premium HD app
Click to expand...
Click to collapse
Samsung has a knack for unified source. They did it on the Galaxy Camera and that one was vzw, AT&T, or WiFi only. At least these are all relatively similar.
Booted up, everything good so far.
Downloading.
pantmunu said:
Downloading.
Click to expand...
Click to collapse
Let's not start that here. I'm sure we'll need the space for other things
twistedumbrella said:
Let's not start that here. I'm sure we'll need the space for other things
Click to expand...
Click to collapse
Lol. Im sorry. It wasnt downloading for a while and i posted .. i cant download . But it downloaded later so ... but running smooth so far. Lionheart governor and zen. Lets see.
pantmunu said:
Lol. Im sorry. It wasnt downloading for a while and i posted .. i cant download . But it downloaded later so ... but running smooth so far. Lionheart governor and zen. Lets see.
Click to expand...
Click to collapse
I was having a hiccup getting all configured. It's one thing to build a few kernels separately, but it turns into a circus building 5 simultaneously.
twistedumbrella said:
I was having a hiccup getting all configured. It's one thing to build a few kernels separately, but it turns into a circus building 5 simultaneously.
Click to expand...
Click to collapse
Damn .. That's a lot. But again thank you . its working good.
Anything and everything that's in Ktoonez's kernels (been using his for years for of my Galaxy S devices but now I decided to go with the note) ;P
But generally want to see cfq, bfq, sio, noop, row, for I/O schedulers and zen, intellidemand, smartassv2, ktoonservative (if that's possible of course, not sure if that is exclusively available for his kernels).
And of course OC and UV for the CPU and GPU as well as governor support for GPU. Changing the TCP protocol would be cool because I've had a lot of good fortune changing it to "lp" from westwood.
P.S. Not demanding features or an ETA of course, just getting somethings out there I would love to have haha! Thanks for bringing this over to Sprint.
Sent from my SM-N910P using XDA Free mobile app
Inline said:
Anything and everything that's in Ktoonez's kernels (been using his for years for of my Galaxy S devices but now I decided to go with the note) ;P
But generally want to see cfq, bfq, sio, noop, row, for I/O schedulers and zen, intellidemand, smartassv2, ktoonservative (if that's possible of course, not sure if that is exclusively available for his kernels).
And of course OC and UV for the CPU and GPU as well as governor support for GPU. Changing the TCP protocol would be cool because I've had a lot of good fortune changing it to "lp" from westwood.
P.S. Not demanding features or an ETA of course, just getting somethings out there I would love to have haha! Thanks for bringing this over to Sprint.
Sent from my SM-N910P using XDA Free mobile app
Click to expand...
Click to collapse
cfq, noop, and row are included by default
sio and zen were added
intellidemand has been attempted but it didn't work at first. Now that a lot of other stuff has been sorted out, this may be revisited.
OC and UV are already a work in progress
GPU has about 5 governors included by default
TCP is already covered.
From http://forum.xda-developers.com/note-4-tmobile/orig-development/kernel-dealers-choice-t2915824:
Feature List:
intelli-plug
Stereo call recording support
NTFS enabled
frandom / erandom
Power Suspend
Simple GPU gov
Overclock to 2.8
Underclock to 268
LZ4 compression
Dynamic FSync
SELinux optimization
HardLimit CPU Limiter
intelli-thermal
Power Suspend Driver v1.5
Sweep2Sleep
Forced Fast Charge v1.2
SELinux permissive
KNOX disabled
io: sio, fifo, zen, vr
gov: yankeractive, lionheart, dancedance, smartmax
init.d support
Advanced TCP avoidance
Edit: pegasusQ and smartassV2 are being tested. smartassV2 is going to need a HUUUGE rewrite eventually
Any plans on faux sound support?

(Discussion) Best governor?

I find many thread say some governor good for battery but wht work best for u guys ?
Here.
Smartmax when coupled with CPUQuiet and Pegasusq with mpdecision. Zzmoove is probably my favorite overall though.
also here
But I use zzmoove
RJDTWO said:
Smartmax when coupled with CPUQuiet and Pegasusq with mpdecision. Zzmoove is probably my favorite overall though.
Click to expand...
Click to collapse
Share ur setup pls! Im using boeffla
phoberus said:
also here
But I use zzmoove
Click to expand...
Click to collapse
Share ur setup im using boeffla
LolHacker17 said:
Share ur setup im using boeffla
Click to expand...
Click to collapse
Here's my profile: https://drive.google.com/file/d/0B8-BnmYEYG0uUmgyNTVrVTY0TFU/view?usp=sharing
It's a battery saving profile. For gaming, you can set the CPU governor profile to "optimal", set the GPU governor to msm-adreno-tz and if needed increase the CPU Max frequency
CPU Voltages credits to @RJDTWO
Best governor to me is actually conservative. I can maintain performance and get a fluid experience (i dont game) on the UI. Every other governor i tried has micro stutters when scrolling. This one works very well, proably because it does not scale down too fast (which i assume its the cause for scrolling micro stutters). Tried lots of configs and settings on interctive and other governors, but conservative always gives me a more fluid UI
Currently using blu_active from @eng.stk without any lags or stutters.
There's so many to go thru be along time before find a best.
using inyeractive based govs for a while now. have to be tweaked properly though
Gesendet von meinem ONE E1003 mit Tapatalk
Zzmove is the real deal on the OPX, incredibly smooth and battery friendly.

Categories

Resources