Here we go guys, new version of my BFS AOSP kernel (sense to come)
Been working hard on this kernel for quite some time, and Birdman helped out drastically (even though he broke stuff )
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, Pershoot, and plenty of others I can't remember right now.
KangBang 0.8
Kanged workqueue 2.6.36.1 backport from Imoseyon
Kanged 3.0rc6 cpufreq/cpuidle backport from Imoseyon
Couple other adjustments
Added new CPU governor: LagFree. This new governor is based on conservative, and tweaked to lower the cpu frequency on suspend, and keep it over a minium value
during phone operation. This governor added some nice tweaks to be added to other governors, looking in to that.
Swap cache dropped more agressively via ck1 patch
More compiler optimizations
Decrease default dirty ratio via ck3 patch
Enable swaptoken only when swap is full via ck3 patch
Wifi voltage lowered
2.6.39 Conservative governor backported
Call Recording support added
2.6.39 bcm4329 (wifi) driver backported
Mecha: Add gan sound device.
Mecha: Allow varying of button backlight levels.
Mecha: Allow disabling of the back mic.
Mecha: Add gan sound device
Mecha: wifi: Improve BT-coex in A2DP mode
KangBang 0.7:
Added SmartAss back
Ondemand and interactive have sleep profiles again
Sound fix from birdman included
SLQB Memory Allocator re-added
KangBang 0.6:
Re-based to Ace kernel source, so I lost some of my changes for now (until i'm not so lazy and fix them)
There are a LOT of changes/additions.
Theres a new RCU boost, which is proving to be nice so far.
Changed the memory allocator to SLUB until I get SLQB ported in
As of right now, theres no auto sleep profile in ondemand/interactive. Both of these governors still need adjustments.
The clock frequencies are the default CM frequencies. Their table is populated correctly, and currently, I'm adding frequencies back in one at a time to make sure it will boot. This will take a while... bare with me guys
Lowered RR_Interval to 6 to increase latency. Might drop it to 4
Neon and VFP optimizations
OnDemand governor Threshold adjustments
CONFIG_HZ=300 instead of 100
Add Tiny Preempt RCU
RCU Boost Prio set to 50, Delay set to 300 (still playing with these)
Sound tweaks credit to CodeAurora/Birdman
GPU Memory allocation raised
Numerous fixes from CM kernel source
KangBang 0.5:
Reverted the GPU/Camera memory allocation adjustment, as it screwed up the camera.
Reverted to my old config file, as the extra slim one broke certain apps
Stabilized voltages
KangBang 0.4:
Full wifi/settings/MMS/etc. fix credit to beavis9k!!
Added V/R I/O Scheduler (still using BFQ as default for now)
BT Audio volume raised (Credit to Slayher)
Prevent memory leak on hotplug (thx Pershoot)
GPU/Camera memory allocations raised
Cleaned up my defconfig even more. This kernel is tiny, tinier than ever before. The actual kernel zImage is 1.9mb as opposed to the 2.2 it was before. This will allow a performance increase, as there is less the kernel is trying to crank out.
Initial release, 0.3:
Feature packed for the first release.
2.6.35.13 (latest upstream linux kernel)
System/Data/Cache mounted EXT4
Numerous EXT4 file system tweaks
Overclock up to 1.8 Ghz
Undervolted for battery life/stability
BFS v404 (HUGE performance increase from the v3xx BFS series)
Tiny RCU
SLQB Memory Allocator
BFQ v2rc1 I/O Scheduler (much nicer than the original BFQ)
Kernel speed defaulted to 1024, stock tbolt speed
OnDemand governor backported from 2.6.39, with sleep/wake code (kanged from Imoseyon's OnDemandX, thanks Imoseyon!)
Wifi driver updated to latest AOSP driver
AOSP-style BT driver (kanged from Slayher's kernel source, thanks Slayher!)
MULTIPLE fixes pulled in from CyanogenMod MSM7x30 kernel source (time compensation, ashmem flush, wifi n support, CPU-supported unaligned access, compensation for rounding on odd-frequency clocksources, etc.)
Interactive governor with sleep/wake code (kanged from interactiveX, thanks Imoseyon!)
Numerous BFS tweaks for better performance, and better support for android.
SD Card read-ahead buffer increased
FS read-ahead buffer increased
Some other things I probably can't remember right now (I should take better notes, I'll add more as I remember)
Whew. Pretty hefty initial release.
Secondly, I comply with GPL. Here is my source code. Feel free to kang away, just credit me, at least in your source if not anywhere else
http://bit.ly/lSXnZx
Now to the goodies:
Download link:
BFS:
http://bit.ly/nHxIV1
CFS:
not yet updated
Broken list in 2nd post, To Do List with it.
For the latest news/updates, or just to show some love, follow me on twitter! @Drod2169
If you like my work, please consider helping support my red bull addiction!
http://bit.ly/k5swff
Broken:
Car dock.
To Do List:
Sense/GB Sense/AOSP specific defconfigs
Add Simple I/O scheduler. V/R is already in, just not built with the kernel.
Add extra frequencies one at a time to make sure it will boot (WIP)
Looks like I have a new kernal to try out
Do I overclock the same way I overclock on IMO
Sent from my ThunderBolt using XDA App
dc iz 2 legit said:
Looks like I have a new kernal to try out
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
Post back your experiences, please
It's been an openish beta on twitter for a while, but this release version has quite a few nice additions.
I will bang this kang and let you know what's goodies.
Looking forward to the sense version - unless of course the cell standby battery drain issue is no longer there on CM7 using this kernel.
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, and plenty of others I can't remember right now.
Click to expand...
Click to collapse
-.- ..........
Installed came from dream kernal...so far so good has alot of overclock options I'm on stock speeds right now right of the bat I notice its charging really quickly, no apps uninstalled yet
Edit: wifi connected right away but right when I turned it of had 3g
green but no data did reboot with wifi off and fixed
Edit: battery is really good on this kernal I'm getting 10min per percentage on medium to heavy use
Sent from my ThunderBolt using XDA App
FINALLY, about dam time!!
Will report back!!
Awesome work, cant wait for a sense version!
Berzerker7 said:
-.- ..........
Click to expand...
Click to collapse
Jake's been a big help and support to me in my kernel work. He taught me a lot when I first got started, and he's been nothing short of a great guy. While you have your opinions, I will continue to respect the man. Please don't clutter the thread with this talk.
Wow man running super fast, wasn't planning on leaving stock, but this has surpassed my expectations. Thanks a lot!
Sent from my ThunderBolt using XDA App
Downloaded, will try later or tomorrow and post back.
Thanks for your hard work!
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Derrtydozen said:
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
From what I can tell, data handoff seems to be A LOT LESS flaky than on other kernels. Battery life will the true test for me.
Unrelated but related: Anyone have LPP FC upon EVERY reboot now? Works fine after it has been restarted.
I have experienced this across kernels/voltages/governors/CPU freq.
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
So does wifi not work at all with this kernal?
Bimmer323 said:
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
it does not.
I run ondemand governor, at min: 230mhz, max: 1024mhz (stock settings)
iastonish said:
So does wifi not work at all with this kernal?
Click to expand...
Click to collapse
been told by numerous people it works flawlessy. if you have issues, try flashing imoseyon's fixwifi zip from his kernel thread
I stand corrected, data is working fine, WiFi is working fine, battery seems good. The true test for battery will be tomorrow for work
Sent from my ThunderBolt using XDA App
Bit of a general question here, but I am getting some really wacky benchmark scores. They're all over the place and id like to know if any of you guys have found a rom and kernel that just works.
I've tried quite a few custom rom's now both Lollipop and Marshmallow, and they've all offered underwhelming performance (Not much faster than my old 801 soc device).
Albeit for the exception of resurrection remix, of which gave me phenomenal in game performance and AnTuTu scores within the 7700 range. A HUGE improvement over stock and other custom Rom's. Unfortunately Resurrection Remix 6.0 is by far the buggiest rom I've loaded, soft reboots everywhere, no working camera and artifacts.
Any recommendations for a good rom ? or should I be focusing on kernels with say stock Oxygen OS ?
I would say stay on OOS so that you can use all Sensors (FP and LF) and give Boeffla Kernel a try. Gives me amazing performance and pretty good benchmarks if i configure the Kernel to give me max performance (i dont do this often because a Benchmark score says nothing). With a balanced setting on the Kernel you get good Battery life and a good performance for daily use.
Use stock with Boeffla, guaranteed stability and from what others have posted with their tweaks seems best option. Everything else looks too experimental or unstable.
just use kernel auditor and use these settings; govenor-interactive, scheduler-row, readahead-1024, in virtual memory dirty ratio-30, dirty background radio-10, swappiness-10, Z-ram-250, under entrphy read-128, write-256. you will hit over 90,000 on antutu with stock rom. I've used these setting with stock with stock kernel, skydragon and oxyslim. i prefer stock now, i just uninstalled the apps i don't use plus oemkitlog, oneplus telephony, com.codeauroroa.img
But why should you even bother with Z-Ram when you have 4GB RAM in this phone?
Doesnt make any sense for me ...
Scherzengel said:
But why should you even bother with Z-Ram when you have 4GB RAM in this phone?
Doesnt make any sense for me ...
Click to expand...
Click to collapse
It is totally pointless in a system with 4GB (even 3) RAM, wouldn't add performance since CPU now has to compress/decompress data on the fly - but what I'm wondering is: does Android have ZRAM by default or is this added? If it's added, lose it. If you were running an emulator this would be a hit.
Is there any kernel that allows one to overclock the 6p's GPU and/or RAM? I know you can overclock both CPU clusters so I thought this might be possible as well.
Also, I read awhile ago that undervolting was not possible on the 6p. Does this still hold true?
Thanks
Would still love to know if this is possible. I know that the Snapdragon810 version 2.1 is inside the 6p, which has a stock GPU clock of 630mhz but unfortunately it's onlyclocked to 600mhz.
michaelearth said:
Is there any kernel that allows one to overclock the 6p's GPU and/or RAM? I know you can overclock both CPU clusters so I thought this might be possible as well.
Also, I read awhile ago that undervolting was not possible on the 6p. Does this still hold true?
Thanks
Click to expand...
Click to collapse
The max frequency for the GPU is at 600 mHz. And speaking based on my own usage (as I have no data about other uses), it's very rare for the phone to reach that frequency, even when doing gpu-intensive tasks like gaming. So I think that value would suffice for the heaviest graphical tasks you'd throw at it. That said I've tried almost every kernel out there-AK, Kylo, Franco, Elemental, Googymax, Lean, Zigzag, and God's (back in the day) and have never seen a GPU value higher than 600 mHz so I guess that's the max limit which the GPU reaches as far as kernel tweaking goes.
As for RAM, I don't think there's such thing as "overclocking" it, though some custom Kernels provide customization for ZRAM, Low Memory killers, Virtual memory options, etc. If you wish to maximize the available RAM and memory performance then disabling ZRAM and tweaking the other values will be the way to go.
As for undervolting, I could gather from past reading that the values are only present on most kernel tweaking apps for visibility purposes. Mainly for People to know the stock voltages of the phone. I don't think it can be tweaked, and in the first place tweaking it is not ideal due to the big.Little nature of the SD 810.
Overall, my personal opinion is that even if such extreme customization (GPU and RAM, undervolting) is possible I'm afraid it won't be practical. The overall custom kernel development the phone enjoys is already top notch, and already pushes the boundaries of performance and battery life. (thanks to our Kernel Devs) Suffice to say we are currently in kernel tweaking heaven already.
As every MM rom is plagued with countless bugs, I don't see it very logical to stop LL development when everything related to MM isn't even working properly. What's even worse about that is that, some nice features (like OC) have emerged not a long ago, and there's no dev working anymore to bring them back to LL. Personally I refuse to use any MM rom due to the endless bugs and overall slowness.
What I'm trying to do is to build a kernel with basic custom features (faux audio, msm hotplug (or any other hotplug), intelliactive (or any other custom governor), usb keyboard, gpu OC and mainly cpu OC, which I was able to accomplish). However, using github, and all the coding stuff is really a pain. I know that I'm gonna face a lot of problems since I'm not even a dev, I just started this 3 days ago and the only knowledge I have is basically nothing. But, it'd be great if someone could help me, both for the good of the users and to speed up the development of this.
I'll be doing some research to make this go further, and, if I ever make a stable build, I'll be making a thread in the respective development section.
What I've done so far:
- Build it successfully without major errors
- Add cpu OC support (Thank you @zakee94 and @h2o64 for the commits)
To-do list:
- Fix no media playback (If someone could tell me if this is general and it's not just me, it would be nice)
- Add MSM Hotplug... or any other hotplug
- Add intelliactive governor... since I want this kernel to be perfomance-driven, this governor is so damnly good over any other gov.
- Add gpu OC and simple_ondemand as its governor.
- Add faux's sound control
- Add usb keyboard/mouse support
- Learn to use github, inb4 sorry for not posting source code
Consider me a beginner. I need your help, experienced guys.
P.S: If you try the test build, please be aware that this is a super-extremely-alpha version. It's intended only for feedbacks, so don't forget to backup your current kernel.
Please correct me on anything that I'm about to post below. I will correct it ASAP. Here Goes:
Here's what I've noticed since switching from a stock based ROM (Viper 9) with using EX Kernel to LOS 14.1 or AICP 7.1.2.
From what I've researched, these AOSP builds are using a MSM8960 kernel on our apq8064 board. It is also CAF based kernel as well. MSM8960 is very very similar to APQ8064. Which is why it works on our M7. APQ8064 support ended on CAF around ICS/JB days (from what I've skimmed in the CAF changelog). I've been researching different tunables on the interactive gov and the Ondemand gov. I'm trying to find the best settings to extend the battery while on 7.1.2. To me, it just dies too quickly with default gov tunings either on LOS or AICP. I'd like for other users to post their settings and which gov they are using while on 7.1.2. I'll post my settings as soon as I find the right combination on either the interactive gov or the OnDemand gov.
Edit: I've noticed that by disabling MPDecision and disabling at least 2 cores, battery life has improved. What I have been doing when I play a game is re-enabling the other 2 cores and switching to interactive gov for better in-game experience. I also set the min GPU freq. to 400mhz. Another tunable I adjust is the sync freq in the interactive gov. When gaming I set to either 918mhz or 1026mhz depending on how much load the app places on the cpu.
I've also been tinkering with L Speed app (root required as well). Enabling a profile caused my phone to exhibit a faulty touchscreen. Cherry-picking the optimizations I want doesn't have the same effect.
Which ROM supports customizable turntables or what kernel? I don't use ondemand anymore, it's always interactive for the CPU and simple for the GPU on my end.
i use a kernel manager like Kernel auditor or EX Kernel manager to adjust kernel settings. With those to apps you must have root.
93zx7 said:
i use a kernel manager like Kernel auditor or EX Kernel manager to adjust kernel settings. With those to apps you must have root.
Click to expand...
Click to collapse
Yes I have root, but i'm saying do you have a custom kernel?
zeeBomb said:
Yes I have root, but i'm saying do you have a custom kernel?
Click to expand...
Click to collapse
technically it is. It supports dt2w and s2w. It was linked from the AICP 12.1 Nougat thread