Related
[KERNEL] [2.6.32.24] [HAVS] [BATTFIX] [BFS] [OC] [UV] KiNgxKernel #5/#5 "Falling Up"
I DO NOT have an HTC Incredible but will continue to cook kernels for it. My girlfriend has Verizon however, and I am saving for two devices, one of them being an HTC Evo. Any donations go toward my devices. Bear with me until then
DO NOT FORGET TO READ THE ENTIRE POST ON MY SITE, THERE IS IMPORTANT INFO
So, just as the name implies, this is an HTC Incredible kernel with SVS (Static Voltage Scaling) & HAVS (Hybrid Adaptive Voltage Scaling.) A huge thanks to estes for the havs code and raven for being the first to implement it into the nexus kernel. What this does is provide SUPERIOR BATTERY life with stability to boot. Just flash the .zip in your favorite recovery image. Enjoy and post any bugs with a logcat please.
This is compatible with any 2.2 Sense ROM
Code:
Also, a little info on HAVS and AVS:
The purpose of HAVS is to minimize the power used by the CPU by determining
and setting the optimal voltage. At the same time, the maximum voltage by
which HAVS can scale to is fixed to a specified voltage depending on the
CPU frequency in order to prevent scaling to a higher voltage than what is
normally used at a specified voltage. The optimal voltage is actively determined
for each frequency and temperature. HAVS actively adjusts the CPU voltage as the
CPU frequency and temperature changes.
Code:
While we are at it, some info on BFS:
What is BFS(Brain **** Scheduler):http://ck.kolivas.org/patches/bfs/sched-BFS.txt
FAQS about BFS:http://ck.kolivas.org/patches/bfs/bfs-faq.txt
ENJOY!
Credits: Cyanogen, Koush for his any kernel .zip, Estes for all the code of AVS itself, Raven for being the first to implement into the Nexus kernel, and most importantly HTC for their kernel source code
Download:
If you Like my work follow me on Twitter:
All my code is on github:
I am not responsible for anything that happens to your device
ChEeRs
CFS Changelog
Kernel #5
- Kernel now patched up to 2.6.32.24
- Bug fix causing battery drain
- Reverted some UV levels causing instability
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
* sched: Fix select_idle_sibling()
* sched: cpuacct: Use bigger percpu counter batch values for stats counters
* sched: fix racy fair sched*trq
* sched: Cleanup select_task_rq_fair()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- drm: Only decouple the old_fb from the crtc is we call mode_set*
- arm fixes: arm: fix really nasty sigreturn bug
- RDS memory leak fixed
- mm: page allocator: update free page counters after pages are placed on the free list
- mm: page allocator: calculate a better estimate of NR_FREE_PAGES when memory is low and kswapd is awake
- So much more, check my code if you please
Kernel #4
- Patched up to Linux Kernel version 2.6.32.21 (all commits an android kernel would need, no extra bloat) *All credit goes to the linux project, check my github for authors please*
- Bug fix causing battery drain
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- SO much more, tired of typing
Kernel #3
- Updated for stability
- Introduced the new 'BFQ' I/O scheduler!
- Still supporting the 'CFQ' I/O scheduler
- Using the 'BFQ' I/O scheduler by default
- Benchmark increases
- Undervolted the frequencies that can be
- Pumpin 25 more volts to get the highest speeds stabler
- Updated configurations
- Much much more I won't even bother explaining
Kernel #2
- BIG update
- Battery life significantly imrpoved
- Fixed HAVS scaling bug
- Undervolted even more
- Overclockable now up to 1.19Ghz!
- Changed I/O scheduler to CFQ
- Anticipatory scheduler still supported
- Added CPU Governor 'Conservative'
- Switched default CPU Governor to 'Conservative'
- Added support for 'powersaver' CPU Governor
- EXT4 compiled into the kernel now, no longer a module
Kernel #1
- Kernel base 2.6.32.15
- Flashable update.zip (flash it like a ROM in your recovery)
- HTC Sourced *thank you guys*
- Using Hybrid Adaptive Voltage Scaling (HAVS)
- Long battery life
- Overclockable! Up to 1.113Ghz stable
- Undervolted
- CPU Governor Ondemand supported
- CPU Governor Userspace supported
- CPU Governor Performance supported
- Using CPU Governor Ondemand by default
- Using anticipatory I/O scheduler
- Included tun.ko module
- EXT4 compiled as a module
- Included all the modules you would ever need
- More I will add, it is late and I am tired
BFS Changelog
Kernel #5
- BIG update!
- Voltage regulator changes (now using the correct one)
- HAVS code fixed (HAVS now functioning correctly!)
- HAVS code cleaned up
- LONGER battery life due to HAVS functioning correctly
- EXT4 now compiled as a module for those with bad boot.img sectors
- Minor patches to the BFS scheduler (the big one is wip)
- Fixed memory leak in vmem
- Voltage tweaks
- Kernel size squashed a bit
- More I will add
Kernel #4
- Now based off of NEW fresh source code from HTC
- Default CPU governor changed to 'Interactive'
- Numerous small changes I won't list that htc did
- Removed bloat from kernel
- Merged all my commits into the new code so
- Still using BFQ I/O scheduler
- Much much more check my code if you have any questions. I am heading out for the night
Kernel #3
- BFS Scheduler patched up to BFS330
- Applied and tweaked BFS330 test patch on top
- Voltage tweaks for battery life (245Mhz is $$$)
- Higher clock speeds will be MUCH more stable now! (1.113=ez)
- Battery charging tweaks to allow your battery to charge faster
- Be sure to wipe dalvik cache before flashing
- Compiled with neon arm optimizations
- Quadrant scores boosted
- Now using powersave governor, feel free to change it via SetCPU
- More I will add
Kernel #2
- BFS Scheduler patched up to BFS 318
- My hacks to enable 'fast battery charging' *LET ME KNOW HOW IT WORKS OUT*
- Your batteries should charge faster now
- Kernel size shrunk
- Tweaks for stability
- Performance increase
- More I will add
Kernel #1
- Implemented the BFS CPU scheduler *BFS313* (read OP for details)
- Now there are 2 kernel releases - A BFS and a CFS version
- Performance increase
- Undervolted even more for longer battery life
- New CPU Governor! 'Interactive Governor'
- Still using conservative CPU Governor by default
- Included tun.ko for OpenVPN support
- Rpcrouter handles larger message writes *performance increase*
- Rpcrouter handles multiple replies now
- EXT4 compiled as a module once again
- Other things I will add
I saw your EVO kernel thread. I will be trying this out in a few hours.
Thanks!
Your post says any 2.2 Sense ROM. I'm running CM6 so thus no Sense. I figure it should work fine, but I just wanted to make sure.
DL link isn't working, even on the other site, but it looks like you know that cause it was just pulled. Looking forward to trying this out for the INC.
Nevermind, looks like it was just added.
opengeo said:
DL link isn't working, even on the other site, but it looks like you know that cause it was just pulled. Looking forward to trying this out for the INC.
Nevermind, looks like it was just added.
Click to expand...
Click to collapse
yup, its officially live now
Had some issues with 4shared
jtcarnes said:
Your post says any 2.2 Sense ROM. I'm running CM6 so thus no Sense. I figure it should work fine, but I just wanted to make sure.
Click to expand...
Click to collapse
It won't work on CM6. Sense roms only.
jtcarnes said:
Your post says any 2.2 Sense ROM. I'm running CM6 so thus no Sense. I figure it should work fine, but I just wanted to make sure.
Click to expand...
Click to collapse
flash and let me know
kingklick said:
yup, its officially live now
Had some issues with 4shared
Click to expand...
Click to collapse
Have it flashed on SkyRaider 2.2.5. SO far so good. No boot loops which I got constantly with all of the Hydra OC kernals. One question, how can I OC this to 1.13? Using SetCPU, it says I have a 528 max. Am I missing something?
I have it on the 8/1 leak. So far so good. Over clocked with set cpu to 1.13 and using"on demand"profile. Quadrant: 1376. Was 1406 with hydra's (@1.15) so not much difference there. I have fully charged 2150 battery so I'll report battery stats after weekend use. If it improves greatly, donation coming.
Thanks for the hard work!
Typed on my Incredible phone!
this is just what I have been waiting for! I am using de-sensed Jager ROM and it works great. I am currently using setCPU to overclock it to 1.113.
jermaine151 said:
I have it on the 8/1 leak. So far so good. Over clocked with set cpu to 1.13 and using"on demand"profile. Quadrant: 1376. Was 1406 with hydra's (@1.15) so not much difference there. I have fully charged 2150 battery so I'll report battery stats after weekend use. If it improves greatly, donation coming.
Thanks for the hard work!
Typed on my Incredible phone!
Click to expand...
Click to collapse
Edit, nevermind. Reinstalled SetCPU and I'm overclocked now.
Nice work
Just installed
Quadrant (pre SetCPU) 1297
Quadrant (Post SetCPU) 1397
LinPack (Pre SetCPU) 34.6
Linpack (Post SetCPU) 37.2
Let's see how it holds out for the next couple of days, I might have to change my signature block and send some development (beer) money to the creator...
Thanks.
Any chance of getting one that will work with CM6?
What am I missing? I don't see a download link anywhere, would love to try it.
Working on SkyRaider 2.5.2 Vanilla. Will post battery stats later
sent from my kickass Droid Incredible SkyRaider Froyo ALPHA BEAST of a phone.
About to install on skyraider 2.5.2. I am very excite!
Sent from my ADR6300 using XDA App
Have had this installed since it was posted. No reboots. Yay!
Just flashed your kernel onto my friends Evo. Looking forward to giving this a shot.
Any chance BFS will make it into this kernel like in the Evo?
I know this just came out, but can the early adopters try to pay attention to charging times, too?
Some people (including me) have noticed that the time it takes to charge the battery has increased -- not sure if it's due to the radio or the kernel. Discussion in the [THINK TANK] thread seems to point to the kernel. It would be good to see if the issue persists with this kernel.
Thanks for testing.
**EDIT** added link to Think Tank thread**/EDIT**
SG-NS-ICS Kernel
Here is what's included in the kernel:
Tweaks:
- Boot @ 1.1Ghz Overclock (Bus 220MHZ)
- 1320 Mhz overclock
- Undervolted to maximize battery life
- Kernel updated to 3.0.22 (new)
- Cold colors
- Cpuidle backport from 3.2 Kernel
- Ext4 and IO tweak backports from 3.2 Kernel
- CIFS Module built-in
- init.d support
- USB On the GO! Build5
- Wifi PM_FAST for faster screen off download speed and compatibility
- Increased refresh rate --> ** Only in HIGH_HZ version **
Governors:
- Ondemand
- Conservative - Default
- Performance
- Lazy
- Smartassv2
- Lulzactivev2
IO Schedulers:
- CFQ - Default
- Noop
- Deadline (tweaked for flash devices)
- VR
- Simple IO
Mods:
- Voodoo Sound V10
- BIGMEM for more available memory
- Backlight Notification
- Backlight Dimmer
- Battery Life Extender
- TouchWake
- Custom voltage
Rules and FAQs
Read before downloading
(Note: I don't wanna be rude, I just want to keep this thread clean...)
Q: What settings do you recommend? What governor? What IO Scheduler?
A: I recommend the default settings. This is why it there by default!
Click to expand...
Click to collapse
Q: My phone as rebooted on its own or is stuck on a reboot loop.
A: There are 3 reason why your phone may reboot on its own:
1. Your phone does not handle the Undervolt of the kernel
Flash the stock voltage add-on. (NO I will not make the kernel with stock voltage by default)
2. Your phone cannot handle the Overclock of the kernel
Use another kernel, Sorry...
3. There is a bug in the kernel and I should fix it:
Post the /proc/last_kmsg output as a ZIP in the thread. BUT, before posting make sure the last_kmsg contains the mention "Kernel panic", if not, don't bother posting this because your problem is related to point 1 or 2...A kernel Panic looks like this:
Code:
[ 4079.850240] Kernel panic - not syncing: Fatal exception
[ 4079.850307] Backtrace:
[ 4079.850504] [] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
[ 4079.850568] r7:00000005 r6:d6b3a600 r5:c0707990 r4:c0741068
[ 4079.850905] [] (dump_stack+0x0/0x1c) from [] (panic+0x7c/0x1a8)
[ 4079.851022] [] (panic+0x0/0x1a8) from [] (die+0x1a4/0x1d8)
Click to expand...
Click to collapse
Q: Why did you remove feature X?
A: Because I think it sucks
* This is my personal opinion and I am allowed to have it
Click to expand...
Click to collapse
Q: Can you add feature X?
A: Depends. Before asking that question, check the changelog.
If it was removed, NO.
* If you have a really good reason why you think a feature should come back from the dead, you can defend your case by PM.
If it's a new feature that I may not know about, just let me know of the feature and I'll consider it.
If its a new shinny CPU governor or IO scheduler, NO the ones that will remain do the job perfectly...
Click to expand...
Click to collapse
Q: What does feature X do?
A: Please try Google or Wikipedia before asking this. The answer is at the tip of your finger tips
Click to expand...
Click to collapse
DownloadsStable Kernels:
SG-NS-ICS_27022012.zip
SG-NS-ICS_27022012_HIGH_HZ.zip
SlimSG_08032012_FS.zip (FileSync Enabled - Safer)
SlimSG_09032012_NoFS.zip (FileSync Disabled - Faster)
Experimental:
* None *
Kernel Add-ons: **Flash in CWM after the kernel.
SG-NS-ICS_StockVoltageMod.zip (new)
SG-init.d-installer
Old kernels:
SlimSG_29022012.zip
SG-NS-ICS_05022012.zip
SG-NS-ICS_05022012_HIGH_HZ.zip
SG-NS-ICS_31012012.zip
SG-NS-ICS_31012012_HIGH_HZ.zip
SG-NS-ICS_14012012.zip
SG-NS-ICS_14012012_HIGH_HZ.zip
SG-NS-ICS_17012012.zip
SG-NS-ICS_17012012_HIGH_HZ.zip
Apps:
Manage this kernel with NSTOOLS. Thx arifhn!
To get USB-OTG working you need USB Host Controller app installed. Thx sztupy!
Thanks to ezekeel, supercurio, morfic, franciscofranco, sztupy, reddv1 and koush which made this kernel possible.
kernel source
Change log:
SlimSG_09032012_NoFS.zip
- Removed FileSync (Faster IO)
- Kernel 3.0.23
- Bring back UV
SlimSG_08032012_FS.zip
- Enabled FileSync (Safer IO)
- Kernel 3.0.23
- Bring back UV
SlimSG_29022012.zip
- Release Slim version of SG kernel. This version is whatever setting I'm running at the moment and everything else removed...
SG-NS-ICS_27022012.zip and SG-NS-ICS_27022012_HIGH_HZ.zip
- Kernel Update to 3.0.22
- Fixed SmartassV2 Sysfs Interface
- Fix in Custom Voltage
SG-NS-ICS_05022012.zip and SG-NS-ICS_05022012_HIGH_HZ.zip
- Kernel Update to 3.0.19
- Use PM_FAST power saving method for WIFI to get Higher throughput and better compatibility.
SG-NS-ICS_31012012.zip and SG-NS-ICS_31012012_HIGH_HZ.zip
- Removed useless Governors
- Removed useless IO Scheduler
- Tuned down conservative and ondemand for better battery life
- Kernel upgrade to 3.0.18
- Updated USB-OTG to Build5
SG-NS-ICS_24012012-NoFSYNC.zip and SG-NS-ICS_24012012_HIGH_HZ-NoFSYNC.zip
- Added V(r) IO Scheduler
- Tweaked deadline IO for flash devices
- Tweaked conservative governor
- IO backport from 3.2
- ext4 backport from 3.2
- ext4 tweaks
- optimized sha1, memcopy, string libs
- TCP tweaks
- Added USB-OTG
- and more ...
SG-NS-ICS_17012012.zip and SG-NS-ICS_17012012_HIGH_HZ.zip
- New CPU Governors: Lagfree, MinMax, Smartassv2, InteractiveX and Lulzactivev2
New Add-on 17012012
- Change boot script to use stock voltage instead of Undervolt. *Requires busybox to be installed
SG-NS-ICS_14012012.zip and SG-NS-ICS_14012012_HIGH_HZ.zip
- Removed GPU OC since it doesn't do anything
- Made init.d support built-in
* Note: You need to have busybox installed for init.d to work. Look for the busbox installer app in the market.
New Add-on 13012012
- Adds init.d support to the kernel
SG-NS-ICS_12012012.zip and SG-NS-ICS_12012012_alternate.zip
- Kernel 3.0.17
- Experimenting with GPU Overclock (now at 250Mhz instead of 200Mhz)
SG-NS-ICS_11012012_alternate.zip
- Include increased refresh rate
- Should have more washed out colors
SG-NS-ICS_11012012.zip
- Back to cold colors
- Remove increase refresh rate, cause colors to look washed out
- Still has the 1320 Mhz
SG-NS-ICS_10012012.zip
- Added Test Voodoo color with green flicker fix
- Added 1320Mhz overclock
SG-NS-ICS_09012012.zip
- Updated kernel to 3.0.16
- Added Cpuidle backport from 3.2 kernel
SG-NS-ICS_06012012.zip
- Remove readahead because it was causing slow down in the UI
- Adjusted OnDemand governor to make it snappier
- Fix to cpufreq to make it more statble
- Added Simple IO scheduler
- Made colors 8500K instead of 6500K
** Note: This kernel is a lot faster than previous ones
SG-NS-ICS_04012012.zip
- BLN
- BLD
- BLX
- TouchWake
- Custom Voltage
- CIFS
- Adjusted Ondemand governor default values
SG-NS-ICS_03012012.zip
** Initial Release **
- 1.1Ghz Overclock
- UV
- Lazy governor
- BFQ v3r1 IO Scheduler
- Voodoo Sound V10
- BIGMEM
- Kernel 3.0.15
- 65 FPS
- 1024K Memory Readahead
Yeah, thank you. Will try it! Love your kernel!
fleischbanane said:
Yeah, thank you. Will try it! Love your kernel!
Click to expand...
Click to collapse
There is definitely still work to be done and room for improvement but it does work.
steve.garon said:
Decided to start a new thread for my ICS 11UV Kernel.
Here is what's included for now:
- Boots @ 1.1Ghz Overclock
- Undervolted to maximize battery life
- Lazy governor
- Added BFQ v3r1 IO Scheduler
- Added Voodoo Sound V10
- BIGMEM for more available memory
- Kernel updated to 3.0.15
- Increased refresh rate
- Increased Memory readahead
Stable Kernels:
** Not tested enough...
Experimental:
SG-NS-ICS-03012012.zip
Thanks to supercurio, morfic, ezkeel and koush which made this kernel possible.
kernel source
Click to expand...
Click to collapse
thanks steve
I'll give it a try and report everything I can find. What's about BLN, BLD and BLX?
Welcome back, SG!
I'm flashing
Sent from my Nexus S using XDA App
fleischbanane said:
I'll give it a try and report everything I can find. What's about BLN, BLD and BLX?
Click to expand...
Click to collapse
Not there yet. Next release I guess...
No voodoo color, nice not good yet on ICS
Sent from my Nexus S using XDA App
Backlight MODs next?
Sent from my Nexus S using XDA App
phone_user said:
Backlight MODs next?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
It there anyone who's fixed the backlight autobrightness yet?
steve.garon said:
It there anyone who's fixed the backlight autobrightness yet?
Click to expand...
Click to collapse
Eek, I mean BLD, BLN, TW etc
Never mind
Sent from my Nexus S using XDA App
@1.1GHz bus/GPU 220MHz?
Sent from my Nexus S using XDA App
phone_user said:
Eek, I mean BLD, BLN, TW etc
Never mind
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
yes!
nexusphone said:
@1.1GHz bus/GPU 220MHz?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
and yes!
Good! init.d next version?
Thanks
Sent from my Nexus S using XDA App
How about using Lucid's custom color, cuz Voodoo color not yet stable on ICS?
Thanks for release
http://forum.xda-developers.com/showpost.php?p=20593750&postcount=385
On ICS, LiveOC & Deep_Idle causing "reboot while calling" and will not fixed for many weeks
GLaDOS thread
At SG kernel's 1.1GHz, bus/GPU +10%, 220 MHz! The only kernel presenting the users with smoothness just now and for the time being.
Thanks, Steve
OP Updated.
Code:
SG-NS-ICS_04012012.zip
- BLN
- BLD
- BLX
- TouchWake
- Custom Voltage
- CIFS
- Adjusted Ondemand governor default values
steve.garon said:
OP Updated.
Code:
SG-NS-ICS_04012012.zip
- BLN
- BLD
- BLX
- TouchWake
- Custom Voltage
- CIFS
- Adjusted Ondemand governor default values
Click to expand...
Click to collapse
Thanks for update with the necessary MODs
Initial Release, battery GOOD!!!
---------- Post added at 01:36 PM ---------- Previous post was at 12:52 PM ----------
Kernel_SG-ICS-20120104_init.d.zip
init.d support MOD
Battery efficiency GooD!
Sent from my Nexus S using XDA App
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nebula kernel is for AOSP based KitKat android 4.4+ ROMs
and AOSP based Lollipop android 5.0+ ROMs
Download the latest PERFORMANCE CONTROL APP to utilize the full potential of the kernel.
Brief explanation of few of the features in nebula can be found in the third post. For more info, use Google.
FEATURES
Compiled using the latest Linaro 4.9.1 - 2014-05 toolchain
Based on kernel version 3.0.101
Additional Governors: SmartassV2, SmartassH3, Lulzactive, LulzactiveQ
Additonal I/O Schedulers: ROW, SIO, SIOPLUS, VR, ZEN, BFQ
Overclock: 1.3 Ghz, 1.4 Ghz, 1.5 Ghz, 1.6 Ghz
F2FS support
CPU Boost driver
UKSM (Ultra KSM) support (enable it in Performance Control app)
Frandom
Dynamic Sync Control (enable it in Performance Control app)
Asynchronous FSync ported from HTC One
Cross Memory Attach
Entropy tweaks
Increased read-ahead from 16/128 to 32/2048 (can be customized in Performance Control app)
Disabled Cyclic Redundancy Checks (CRC) for better performance
Many patches, fixes and improvements from codeaurora
Many more performance and battery friendly tweaks
INSTALLATION
Download the latest nebula zip
Flash using CWM recovery
Wipe cache
Wipe dalvik cache
Reboot
NOTE
You are free to use kernel as the default kernel in your ROMs
Please DO NOT change the kernel name that shows up in Settings > About phone
Please link the nebula kernel thread in your ROM thread
DOWNLOADS
nebula kernel
(Please don't make mirror links of the kernel)
SOURCE
Source code of the kernel can be found at my Gihub.
CREDITS
- pawitp - nebula is based on his kernel source for CM11
- to all the developers whose mods I have included in my kernel
- @k2wl - for his extensive guide on kernel compilation. Big thanx to him.
- @CoolDevelopment
- Christopher83 for the Linaro toolchains
XDA:DevDB Information
nebula kernel, Kernel for the Samsung Galaxy Grand Duos i9082
Contributors
xenon92
Source Code: https://github.com/xenon92/android_kernel_nebula
Kernel Special Features: Compiled using Linaro Toolchain to get the best performance. Scroll up for features.
Version Information
Status: Stable
Current Stable Version: v3.20
Stable Release Date: 2014-11-22
Created 2014-04-24
Last Updated 2014-11-22
CHANGELOG
Changelog is available on nebula kernel wiki too
v3.20
- Fixes to network related kernel code
---x---x---x---
v3.18
- Stability fixes (check source code commits for details)
---x---x---x---
v3.16
- Backport timed General-Purpose Input/Ouput from hammerhead (Nexus 5)
- Improve multi-touch event handling
- Improve compiled kernel code
- Other fixes and improvements
---x---x---x---
v3.14
- Fix CVE-2014-3153
---x---x---x---
v3.12
- New I/O scheduler - BFQ (latest version - v7r4 - released on 18th May 2014)
- Memory Management: pass readahead info down to the I/O scheduler
- lib/memcopy: use glibc version
- Reverted JustArchi's optimization commits
---x---x---x---
v3.11b
This is a beta build. Testing the kernel optimization flags by JustArchi.
- Compiled using the latest Linaro 4.9.1 - 2014.05 toolchain
- Various kernel optimization flags from JustArchi's commit
---x---x---x---
v3.10
- Compiled using the latest Linaro 4.9.1 - 2014.04 toolchain
- Memory management - lazy cache flushing on non-mapped pages
- Many updates to Device Mapper
- Use proper memory barriers for bitops
- softirq: reduce latencies
- sync: don't block the flusher thread waiting on IO
- ext4: Speed up FITRIM by recording flags in ext4_group_info
- ext4: speed up truncate/unlink by not using bforget() unless needed
- vmscan: add customisable shrinker batch size
- Other fixes and performance tweaks
---x---x---x---
v3.04
- CPU Boost driver - decrease aggressiveness
- New governor - LulzactiveQ
- New I/O scheduler - SIOPLUS
- Other fixes and performance tweaks
---x---x---x---
v3.02
- CPU Boost driver - set tunables
- Wait just 1 second, instead of 4 seconds for other CPU core to halt
- Other performance tweaks
---x---x---x---
v3.00
- Added CPU Boost driver
- Reverted updates and based to v2.6
- Other performance tweaks
---x---x---x---
v2.9
- Updated ROW I/O scheduler with many updates and fixes from codeaurora
- Update DEADLINE I/O scheduler by hardcoding values
- Fixed a bug in CFQ I/O scheduler
- Other performance tweaks
---x---x---x---
v2.8
- Full F2FS support merged into main kernel branch
- Reduce latency for I/O schedulers
- Improvements to async I/O
- Update ROW I/O scheduler to v4
- Updates to SIO I/O scheduler
- Stable page writes
---x---x---x---
v2.7.3 - EXPERIMENTAL
- Fixed Wi-Fi issues on F2FS filesystem based ROMs
- Minor update to F2FS support
---x---x---x---
v2.7.1 - EXPERIMENTAL
- Updated F2FS support (read THIS)
---x---x---x---
v2.7 - EXPERIMENTAL
- Added F2FS support (read THIS)
---x---x---x---
v2.6
- Added a new governor - SmartassH3
- Added Dynamic FSync - Dynamic Sync Control (enable it in Performance Control)
- Added Cross Memory Attach (read more about it HERE)
- Fine tuned Deadline I/O scheduler
- Added Asynchronous Fsync from HTC One
- Entropy tweaks
- Many tweaks and improvements...
---x---x---x---
v2.5
- Added new governors - SmartassV2 & Lulzactive
- Added new I/O scheduler - ZEN
- Updates to Conservative governor
- Disabled Cyclic Redundancy Checks (CRC) for better performance
- Fixed few memory leaks
- Other performance tweaks
---x---x---x---
v2.4
- Added I/O schedulers - SIO, ROW and VR
- Performance tweaks
---x---x---x---
v2.3
- Added UKSM (enable it using Performance Control app)
- Enforce governor to stay in sync across CPU cores
- Disables multicast on suspend (less wakelocks)
- Few performance tweaks
---x---x---x---
v2.2
- Added support for ROMs that support dual-SIM (CM11)
- Added AnyKernel support (thanx to Koush, Apache14 and CoolDevelopment)
- Added Frandom
- Reduced Wi-Fi wakelocks by 4 times
---x---x---x---
BETA - v2.1
- Started the kernel from scratch
- Using the latest Linaro 4.7.4 2014-04 build
- OC 1.3 Ghz, 1.4 Ghz, 1.5 Ghz, 1.6 Ghz
- Lowered swappiness from default 60 to 45
- Fixed random reboots (reverted the change causing random reboots)
- Few performance tweaks
---x---x---x---
v1.5
- removed BLX
- reverted dynamic read-ahead to a constant 2048/32 value
- removed a lot of experimental code from the kernel (cleanup)
---x---x---x---
v1.4
- added new I/O scheduler - ZEN
- lowered swappiness
- added dynamic read-ahead instead of a constant read-ahead value (it can still be fixed to a higher value using Performance Control app)
- reduced WiFi wake-locks (better battery)
- few more performance improvement tweaks
- few bug fixes
---x---x---x---
v1.3
You'll have to use some or the other kernel tweaking app (Performance Control app included) for all the future builds to enable/disable tweaks and features to get the most out of the kernel.
- added BLX - Battery Life Extender
- added UKSM support (enable it in the Performance Control app)
- added Dynamic Sync Control (enable it in the Performance Control app)
- added Frandom
- added Performance control app in the kernel zip (credits to h0rn3t and educk for the amazing app)
---x---x---x---
v1.2
- Initial build
- Compiled using Linaro 4.7 toolchain
- Used -O3 optimization flag
- Additional Governors: SmartassV2, SmartassH3, Lulzactive
- Additonal I/O Schedulers: ROW, SIO, VR
- Overclock: 1.3 Ghz, 1.4 Ghz, 1.5 Ghz, 1.6 Ghz
- Increased read-ahead maximum/minimum values from 128/16 to 2048/32
---x---x---x---
v1.0 and v1.1
- Not uploaded as they were my test builds
BRIEF EXPLANATION ABOUT KERNEL FEATURES
UKSM
UKSM is about de-duplication of data in system memory rather than being another de-duplicating file-system. This improves RAM usage.
Dynamic Sync Control
The dynamic sync control interface uses Android kernel's unique early suspend / late resume interface. While screen is on, file sync is disabled. When screen is off, a file sync is called to flush all outstanding writes and restore file sync operation as normal.
Frandom
Frandom is a Linux kernel random number generator, which is 10-50 times faster than what you get from Linux' built-in /dev/urandom. It uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
CPU Boost driver
When certain bursty and important events take place, it might take a while for the current cpufreq governor to notice the new load and react to it. That would result in poor user experience. To alleviate this, the cpu-boost driver boosts the frequency of a CPU for a short duration to maintain good user experience while the governor catches up.
FAQ
On which ROM can I install nebula?
- nebula can be used on any AOSP kitkat 4.4+ based ROM. (Carbon, SlimKat, CM11)
What is the best and most stable configuration for nebula?
- Configuration depends from user to user. Still, the most stable configuration according to me and that I use is below. It might differ for you.
- Governor: SmartassV2
- Max. freq: 1.2 Ghz (OCing doesn't really have an increased and noticeable performance, rather it heats the processor and wastes battery for a marginal gain in performance as well as creates instability - random reboots etc. Google more about OC.) (Read the description on this commit.)
- I/O Scheduler - SIO
- Enable UKSM (from Performance Control app)
- Enable Dynamic FSync (from Performance Control app)
- I'll update this configuration as more tweaks are added to nebula
I get random reboots, what should I do?
- I am working on the kernel for myself and the kernel is quite stable for me. Still, if you face reboots see below:
- Make sure you followed the installation instruction written in Post #1.
- Make sure you "Fix permissions".
- OCing will always cause instability. Try reducing the max frequency to 1.2 Ghz
- It is quite possible that you don't know how to use a custom kernel. Not everything needs to be set at HIGHEST. Just because an "option" is there doesn't mean you have to select it. Try changing the configuration that meets your needs and satisfies you. If you set up the kernel properly, it would stop giving you random reboots.
- The only way to get things fixed is to provide logs. I cannot fix that I cannot see. Google, how to take logs to find and solve kernel issues. (kmsg/last_kmsg)
- Tell me a way in which I can reproduce the issue on my phone.
Does hotplugging work well with zzmove governor? I remember trying hotplug on s2vep and it freezed almost everytime while deep-sleeping.
CoolDevelopment said:
Does hotplugging work well with zzmove governor? I remember trying hotplug on s2vep and it freezed almost everytime while deep-sleeping.
Click to expand...
Click to collapse
Same issue on baffin too. That's why I have removed zzmoove from the kernel.
hmm... xenon92... already k2wl has made a custom kernel with O.C till 1.8GHz so why have you the max @ 1.6GHz ?
Soureen said:
hmm... xenon92... already k2wl has made a custom kernel with O.C till 1.8GHz so why have you the max @ 1.6GHz ?
Click to expand...
Click to collapse
Its Oc upto 1.7 Ghz not 1.8
Sent from my GT-I9082
Soureen said:
hmm... xenon92... already k2wl has made a custom kernel with O.C till 1.8GHz so why have you the max @ 1.6GHz ?
Click to expand...
Click to collapse
and he is present new build with new modification
its make wide development of grand :laugh:
Soureen said:
hmm... xenon92... already k2wl has made a custom kernel with O.C till 1.8GHz so why have you the max @ 1.6GHz ?
Click to expand...
Click to collapse
Read the description in this commit - Link
There has already been a discussion on CM11 thread about how much does it really benefit by OCing at higher frequencies. Refer to that thread's discussion for more info.
In short - OCing at too high frequency heats up the CPU (obviously) and doesn't necessarily increase performance.
Even though I have added OC till 1.6 Ghz, but even I don't use that setting. 1.2 Ghz is fine for me.
Another kernel for AOSP rom.....:laugh::laugh::good::good::good::good:
Installed the kernel in carbon ROM and is working fine....:good::good:
ll update more on the battery stat later...
any FC's anybody facing?....anything at all..during call or anything??..just asking..would have tested myself but my net is limited right now till tomorrow......so can't ..will surely tomorrow onwards download evry single one (as m xenon work fan lets say )...but wont risk using mbs if it got any bugs...
parag tetambe said:
Its Oc upto 1.7 Ghz not 1.8
Sent from my GT-I9082
Click to expand...
Click to collapse
It's actually 1797 MHz, so let's say it's only 3MHz shy from 1.8 GHz
This kernel looks promising, I will download, install, and use it for a few days
raghavsharmaxda said:
any FC's anybody facing?....anything at all..during call or anything??..just asking..would have tested myself but my net is limited right now till tomorrow......so can't ..will surely tomorrow onwards download evry single one (as m xenon work fan lets say )...but wont risk using mbs if it got any bugs...
Click to expand...
Click to collapse
No fcs and no issues with call, data, and msgs....
Been in interactive with 1200 max for an hour now...
Dint tried overclock though...:fingers-crossed:
I need a lil battery life guys my service provider doesn't have 3g for now some TRAI issues and i stay away frm hme most of the time so using 2g and the screentime i get max is 3 hrs 30 mins wid evolution kernel processor=conservative,I/O=sio or sio plus and today i reverted back to cm's stock kernel and have flashed the latest build my biggest issue is when my battery drops down to 30% it starts draining drastically say like for 2 mins from 30 to 24% any help would be definitely appreciated have made calibrations until now again calibrating tonight and will test after that nebula for sure because only name i knew for best custom roms was and is XENON92!:thumbup:
Sent from my GT-I9082 using XDA Premium 4 mobile app
i set the cpu at 1.5 but when i restart the phone it rest to 1.2 i also check on set on reboot and try on uncheck on reboot
mukeshpacheria said:
i set the cpu at 1.5 but when i restart the phone it rest to 1.2 i also check on set on reboot and try on uncheck on reboot
Click to expand...
Click to collapse
If the system did a forced reboot to avoid further CPU instability, the options will revert back to default... correct me if I'm wrong.
pawitp also said in the CM11 thread, that the options dont instantly set on system boot. You may have to wait 1 minute and check back.
naufalhadyan said:
If the system did a forced reboot to avoid further CPU instability, the options will revert back to default... correct me if I'm wrong.
pawitp also said in the CM11 thread, that the options dont instantly set on system boot. You may have to wait 1 minute and check back.
Click to expand...
Click to collapse
thanx mate ,,,, i read it also but forget
thanx again
@xenon92
Nice work. Just checked the CM11 thread. The latest update upgrades their generic kernel to 3.0.101 . Any plans of updating yours?:laugh::good:
raystriker said:
@xenon92
Nice work. Just checked the CM11 thread. The latest update upgrades their generic kernel to 3.0.101 . Any plans of updating yours?:laugh::good:
Click to expand...
Click to collapse
nebula is already 3.0.101.
xenon92 said:
nebula is already 3.0.101.
Click to expand...
Click to collapse
Oh. I haven't tried it yet. My bad. (You could write that in the first post?)
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, DO NOT
* point the finger at me for messing up your device.
* this kernel is only for the S5 mini SM-G8OOF/M/Y (Exynos) Do Not Flash this on any other device!
*/
19-10-2017 * Updated to v6.0 * Changes are in red or can be seen at the bottom of this post in the changelog: I am always applying patches to hopefully improve the kernel,so check out the "Patches and tweaks applied" section for a better view of the changes as well.
Notes
ALWAYS read the "Known Issues" section before flashing. I will add issues I have noticed or have been told about. Some may be VERY important. If you fail to do this and experience an issue that is listed I can not help you!
SELinux is set to permissive in this kernel. You can change this to enforcing at boot if you wish via an app like Kernel Adiutor-Mod
About voltage control: Setting frequencies that are unstable are going to cause lockups,freezes and reboots. This is NOT a fault in the kernel. My suggestion is to move the voltages up or down slowly (+/- 25) until you find some stable voltages that you're happy with.
Enough people were having problems with the 1.6ghz overclocked version that I've decided to release a non overclocked (1.5ghz) build as well. I would recommend trying the 1.6ghz and only if you experience a bootloop or instability then use the 1.5ghz version. I will not keep older versions of the 1.5ghz build up. Only the latest.
Having troubles deciding on a CPU governor or an I/O scheduler? Here is an amazing guide. All credits to Saber. Be sure to hit the thanks button. He obviously put a lot of time into that.
Features
Based on the latest Samsung kernel sources
Built an updated Sqlite3 (from version 3.9.2 -> 3.19.3 that will be pushed along with the kernel install (you can verify this by running "sqlite3 --version" in a terminal emulator before the new kernel install and then again after)
Compiled with self-built (ct-ng) UBERTC 8.0
Patched Linux to latest 3.4.113
Used anykernel2
Unlocked CPU frequencies: 200MHZ and 300MHZ
GPU overclocked to 600MHZ
CPU Overclocked to 1.6GHZ
CPU voltage control ( Max voltage =1500mV. Min voltage =600mV)
DriveDroid support (add sysfs entry for cdrom to LUNs)
Implemented zen-tune v4.5
Added CPU boost driver
Added PIE net scheduler
Added support for USB keyboards (You need This app)
Reduced vm_swappiness from 60 to 20
Added I/O scheduler switcher by sultanxda (changes the I/O scheduler for a specified request queue to Noop when the screen turns off in order to improve power consumption while the screen is off)
Added Fsync on/off
Added dynamic fsync
Added Dynamic management of dirty page writebacks (allows to have two different intervals for dirty page writebacks and to dynamically manage them when the system has been resumed (it's active) or when has been suspended - Not adjustable via Grarak's Kernel Adiutor app)
Proc: much faster /proc/vmstat
Full CIFS support ( Modules will be pushed with kernel install )
Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues ( Allows for power saving if selected in Kernel Adiutor ETC. )
Added /dev/frandom support ( It is yet to be implemented properly yet however )
Properly enabled faux123's powersuspend v2.5
Fading LED's
Enabled graphite
Enabled AIO
Readahead set to 512 (from 128 default)
Reverted "Enabled arch power" (There will be a switch to enable/disable this in the next build)
Many build flags for optimization
Added optimization flags for the GPU
Many more features being worked on and coming soon
Added CPU governors
- nightmare
- wheatley
- zzmoove
- dancedance
- darkness
- hyper
- lionheart
- ondemandplus
- bioshock
- pegasusq
- smartmax
- alucard (by alucard24)
- bluactive
- intelliactive (by faux123)
- intellidemand
Added CPU hotplug governors
- alucard hotplug (by alucard24)
- intelliplug hotplug (by faux123)
- thunderplug hotplug (by varun.chitre15)
- MSM Sleeper hotplug
- autoSMP hotplug
Added IO schedulers
- fiops
- sio
- zen
- fifo
- tripndroid
- bfq-v7r8
Added many TCP congestions
- reno
- vegas
- westwood and more
- Added the rest of the TCP congestions
- Westwood is now default TCP
Patches and tweaks applied include:
- Updated ARM topology and added cpu_power driver
- Input: Improve the events-per-packet estimate
- block/partitions: optimize memory allocation in check_partition()
- block: bfq-iosched: tuning for SSD (thanks to anarkia1976)
- cpufreq: Move get_cpu_idle_time() to cpufreq.c (This is important for CPU governors to work better/more efficiently with our kernel version-3.4)
- Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
- cpufreq: Introduce new relation for freq selection (It selects the frequency with the minimum euclidean distance to target. In case of equal distance between 2 frequencies, it will select the greater frequency)
- cpufreq: conservative: Set MIN_LATENCY_MULTIPLIER to 20
- cpufreq-ondemand-Set-MIN_LATENCY_MULTIPLIER-to-20
- cpuidle-Get-typical-recent-sleep-interval
- cpufreq: Persist cpufreq time in state data across hotplug
- implement-LoUIS-API-for-cache-maintenance-operations
- ARM-kernel-update-cpu_disable-to-use-cache-LoUIS-maintenance API
- update-v7_setup-to-the-new-LoUIS-cache-main
- USB-gadget Optimize-tx-path-for-better-performance
- af_unix: speedup /proc/net/unix
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
- fs/proc/array.c: make safe access to group_leader
- lib/memcopy: use glibc version (the kernel's memcpy and memmove is very inefficient. But the glibc
version is quite fast, in some cases it is 10 times faster than the kernel version)
- lib/string: use glibc version (same as above)
- lib/int_sqrt.c: optimize square root algorithm
- readahead: make context readahead more conservative
- sched-Fix-select_idle_sibling-bouncing-cow-syndrome
- sched-Implement-smarter-wake-affine-logic
- sched-Micro-optimize-the-smart-wake-affine-logic
- sched: Reduce overestimating rq->avg_idle
- power: make sync on suspend optional
- tcp: tweaked for speed
- writeback-fix-occasional-slow-sync
- writeback-fix-writeback-cache-thrashing
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- mutex-Queue-mutex-spinners-with-MCS-lock-to-reduce-cc
- mutex-Make-more-scalable-by-doing-less-atomic-operations
- ARM-use-generic-unaligned.h
- Kconfig-enabled-unaligned-capability-for-ARM
- decompressor-Enabled-unaligned-memory-access
- Optimized-ARM-RWSEM-algorithm
- ARM: Fixed negative idle stats for offline cpu
- disabled debugfs[/COLOR]
- mm: remove noisy remainder of the scan_unevictable interface
CONFIG_HZ=100 (reverted commit)
- Plus many more - Check my git repo for full details.
Sources
Kernel Source
Toolchain Source
Click to expand...
Click to collapse
Known Issues
Setting alucard hotplug along with certain other governors at boot via kernel adiutor etc can cause a reboot after setting is applied. So be certain to set the "delay" time in kernel adiutor or similar to 10 seconds or more,so if you have this you are able to cancel and change after a reboot.
There is a chance of some settings being reset after flashing the kernel (quick setting,sound,statusbar etc.) This is rather insignificant and all settings that have been changed can be set back in minutes.
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel. I am not responsible if you lose any or all of your data.
1.Download "Spookcity_Kernel-N"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP Select wipe -> Advanced wipe and wipe Dalvik/Art cache and the cache partition.
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot
Click to expand...
Click to collapse
Code:
Feedback can also be posted[URL="https://github.com/Spookcity/ROMS-G800F/issues/12"]-------> Here[/URL]
Test builds will be released [URL="https://github.com/Spookcity/ROMS-G800F/issues/22"]-------> Here[/URL]
Download the latest build
Spookcity_Kernel-N-v6.0
Spookcity_Kernel-N-v6.0-1.5GHZ Version
Click to expand...
Click to collapse
Download older version
Code:
[URL="https://www.androidfilehost.com/?fid=745425885120759188"]Version 5.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195920916"]Version 4.0[/URL]
[URL="https://www.androidfilehost.com/?fid=673368273298972709"]Version 3.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195913162"]Version 2.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195911617"]Version 1.0[/URL]
Huge credit and many thanks to:
Hennymcc,Ayke,Psyafter,mirhciulica,ctxZ,DjSteve,CurtisMJ,osm0sis,Archidroid,Chet Kener,andip71,faux123,flar2,ZaneZam,anarkia1976,AndreiLux,Yank,Francisco Franco,Sultanxda,varun.chitre15
Big thanks for testing and giving feedback:
Oleggluk,StanleyNL,Mikahlo,Guntzog
and any others as I'm sure I am forgetting people.
CHANGELOG
HTML:
01-09-2017 - Released Version 6.0
- Added MSM Sleeper hotplug
- Reduced vm_swappiness from 60 to 20
- Added intellidemand governor
- Added autoSMP hotplug
- Added CPU boost driver
- Proc: much faster /proc/vmstat
- Cpufreq: Persist cpufreq time in state data across hotplug
- Reverted "enable arch power"
- mm: remove noisy remainder of the scan_unevictable interface
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
01-09-2017 - Released Version 5.0
- Removed ROW I/O scheduler
- Added I/O scheduler switcher by sultanxda
- Added PIE net scheduler
- Added support for USB keyboards
- Properly enabled faux123's powersuspend v2.5
- Added dynamic fsync
- Added optimization flags for the GPU
- Enabled AIO
- Reverted a couple of HZ related commits
- Added intelliactive governor
- Added intelliplug hotplug driver
- Added thunderplug hotplug driver
- Added Dynamic management of dirty page writebacks
- Fixed voltage control on 1500MHZ version
- Fixed alucard governor
- Fixed ondemandplus governor
- Fixed bluactive governor
- ib/int_sqrt.c: optimize square root algorithm
- af_unix: speedup /proc/net/unix
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- readahead: make context readahead more conservative
- block/partitions: optimize memory allocation in check_partition()
- power: make sync on suspend optional
- block: bfq-iosched: tuning for SSD
05-08-2017 - Released Version 4.0
- Added 1.5GHZ version
- Added voltage control
- DriveDroid support
- Implemented zen-tune v4.5
- Full CIFS support
- Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- Added Fsync on/off
- Added ROW I/O sheduler
- Added BFQ-v7r8 I/O scheduler for 3.4 kernel
- Added Blu_active CPU governor
- block: disabled add_random
- tweaked build flags
- many workqueue related patches
- tcp: tweaked for speed
- CONFIG_HZ=300
- fs/proc/array.c: make safe access to group_leader
- disabled debugfs
19-07-2017 - Released Version 3.0
-GPU overclocked to 600MHZ
-Updated Sqlite3 to version 3.19.3 from 06-08-2017
Added CPU governors
-bioshock
-pegasusq
-smartmax
-alucard
-alucard hotplug
-Added the rest of the TCP congestions
-cpufreq: Move get_cpu_idle_time() to cpufreq.c
-Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
-Added /dev/frandom support
-cpufreq: Introduce new relation for freq selection
-lib/memcopy: use glibc version
-lib/string: use glibc version
-
03-07-2017 - Released Version 2.0
-GPU overclocked to 533MHZ
Added CPU governors
-dancedance
-darkness
-hyper
-lionheart
-ondemandplus
Added IO schedulers
-fifo
-tripndroid
Added many TCP congestions
-reno
-vegas
-westwood
-etc.
26-06-2017 - Fix "unsupported device" when flashing in TWRP 3.1.1.0
23-06-2017 - Initial release
Enjoy!
XDA:DevDB Information
[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS), Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2017-06-23
Last Updated 2017-10-19
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Oleggluk said:
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Click to expand...
Click to collapse
Yeah,I have temporarily removed synapse support. This is the reason its 2mb smaller. I will add it back once I have some things fixed. Too many things just don't work with it right now.
Sent from my SM-G800F using Tapatalk
And the test version will be?
Oleggluk said:
And the test version will be?
Click to expand...
Click to collapse
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
spookcity138 said:
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
Click to expand...
Click to collapse
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Oleggluk said:
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Click to expand...
Click to collapse
Hehe,yes. This build is based on the "OC CPU to 1.6" commit. So it includes everything before that,but nothing after. I will probably be releasing test builds in increments. Meaning,the next test build (hopefully this weekend) will still not include all that you see committed on my github repo. I want to do it this way to better be able to diagnose possible bugs and their reasons. So I'll release a test build on github. Have you and others willing to test give me feedback about any problems. Then release it on here...and then repeat these steps. Hope that makes some sense [emoji3]
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hehe [emoji3]
Click to expand...
Click to collapse
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once))
Oleggluk said:
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once)) :еек:
Click to expand...
Click to collapse
I'll make sure the next test build includes much of the new stuff. I'm a little bit worried that the GPU overclock is going to turn into a nightmare like the CPU overclock though. Guess we will find out. Fingers crossed.
Sent from my SM-G800F using Tapatalk
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Oleggluk said:
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Click to expand...
Click to collapse
Haha,You're definitely not testing any CPU overclocking [emoji3]
I have started messing with voltage control. I've enabled access,but at this point I'm unsure how you would access it as its not included in kernel adiutor and I've yet to properly set up synapse. Either way,the access is there,but the ability to actually change the voltages is not currently working. I believe I need to tweak a few things and add at least 1 additional file. Soon to come I hope.
Sent from my SM-G800F using Tapatalk
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
guntzog said:
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
Click to expand...
Click to collapse
Honestly I'm unsure off hand. However,I did enable arch power by default,so that should help battery life some. I have been working on the kernel recently and have added alucard and alucard hotplug CPU governors. This will come in the near future and I believe could really help with battery life.
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment recovery.log
upd. : it was a new twrp. I installed old version twrp and try to install kernel. And kernel was installed
GeorgianGreek said:
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment 4193251
Click to expand...
Click to collapse
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Oleggluk said:
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Click to expand...
Click to collapse
Ahh,that explains it. Thanks! Easy fix then.
Edit:
Fixed
Sent from my SM-G800F using Tapatalk
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Schweng said:
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Click to expand...
Click to collapse
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Model is F.
Rom is 14.1 Lineage, the 20170226 version from Ayke, i think.
"A kernel is the central part of an operating system. It manages the operations of the computer and the hardware - most notably memory and CPU."
It should be installed via Recovery (TWRP) over any LOS/AOSP 14/15/16/17-Based ROM. It doesn't need any tweaking with any app, just install it and use it.
BUT you can use Boeffla Config app (available here on the next post) or Kernel Adiutor if you like tweaking.
This kernel uses codes from other kernels, as you'd expect in an open-source community, most notably code from Boeffla, SmartPack, Lolz, Ares and Intelli-kernel
It has UNIQUE features like:
- a different "low memory killer" algorithm wrote by me. Extremely simple, but multiple apps can be killed in a batch!
- zcache is disabled for really *freeing* up memory that was used for caching files
- a different default cpu hotplugger. ALL kernels (even LOS/stock) relies on Qualcomm's vanilla MPDecision, I wrote my own
- Tuned CPU governor (it's the default). It's basically the Interactive governor but with a LOT of tuning to match up with the tuned hotplugger. Did you know stock/los roms uses a multi-socket Interactive governor that doesn't match our phone's cpu?
- many many many MANY compiler optimizations not found on boeffla kernel, LOS or anywhere else!
- MANY unused code simply REMOVED to free memory and CPU. People ADD a lot of stuff on a kernel, I like to remove
- compiled with 2019 GCC version 9.1 (instead of the ancient version 4.9 that EVERY ROM uses)
- Your battery will be charged to "real" 100% like TWRP does
- many unstable cpu and gpu governors and i/o schedulers removed. they only wasted space
- ext4 tweaks
- fair scheduler tweaks
- removed 3 touch boosters code.. why so many? just to raise your clock on every single touch?
- Maple i/o scheduler
- lowered "read ahead" of files and inodes.. why would you read something you don't know you'll need?
- lowered maximum i/o requests for lowering ram usage while writing to SD (internal or external)
- removed a lot of DEBUG code.. why release a software with debugging code built-in?
- removed network protocols we would never use
- removed some compatibility code
- removed dynamic fsync, why would anyone want to enable fsync in any moment anyway? it has been disabled by default linux kernel for decades!!
- decreased commit DELAY of file changes from 20s to 5s, which is linux default. there's no advantage in keeping new/modified data on ram for too long
And common features:
- Max cpu voltage set to 1.4v
- Min cpu clock set to 268mhz instead of 300
- Max cpu clock set to 2995mhz instead of 2457
- Max gpu clock set to 657mhz
- Compiled to speed, not size
- Voltage table for undervolting or overvolting
- Charging level for AC, USB and Wireless charger can be set
- LED fading control + brightness
- zen, noop bfq and sioplus i/o governors
Overall your phone will be snappier, and less battery hungry
You can go back to your rom's default kernel by simply installing rom's .zip again. No need to wipe anything ever!
Telegram Group: https://t.me/tunedkernel
If your voice on recordings or whatsapp calls is too LOW, try my fix for that: CLICK
XDA:DevDB Information
TUNED, a LOS Kernel for S5 - Performance and Battery life together!, ROM for the Samsung Galaxy S5
Contributors
fbs
ROM OS Version: Android 10
Version Information
Status: Stable
Stable Release Date: 2020-10-21
Created 2019-01-28
Last Updated 2020-10-23
Tuned Kernel versions will be attached here, the build date is at the file name.
com.ktoonsez.KTmonitor.1.apk is a little app that will show to you each cpu core clock and gpu clock. Please hold the red button and put at most 100 at "Update Speed". Don't touch the other options because they're buggy!
2.5.20-boeffla-config-v2.apk is the Boeffla Config App, where you can setup most of this kernel's options
klte = SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
klteduos = SM-G900FD, SM-G900MD
kltedv = SM-G900I, SM-G900P
kltekor = SM-G900K, SM-G900L, SM-G900S
kltechn = SM-G9006V
CLICK ON THE LINK BELOW WITH YOUR MODEL ON ITS NAME (KLTE or KLTEDUOS or KLTEDV or KLTEKDI or KLTEKOR or KLTECHN) TO DOWNLOAD:
Reserved
300119
- possible fix for encrypted devices and f2fs file system (f2fs is buggy on every s5 kernel, don't use this)
150219
- more overclocking on cpu and gpu
- sdfat updated
- tuned hot plugger enhanced
- xor and square root algorithms optimized for ARM
- boot time maybe a little faster with LZ4 compression (that's why kernel seems bigger)
- removed "read-ahead" code from kernel, don't bother changing read_ahead_kb because it won't work
- zcache (not zswap/zram) back on for now
170219
- 266mhz undervoltable again.
- f2fs removed for now
- ext4 read_ahead blks reduced but not eliminated
200219
- tweaks to zcache. still don't know if it's better with it on or off..
- tuned hotplugger will enable a core and put it on maximum freq right away!
- removed CPUBW_HWMON gpu governor
- tweaks to uv_oc table
220219
- compiling with march=armv7-a mtune=cortex-a15
070319
- linux 'fair' scheduler tuning
- zcache disabled
- more inlining while compiling
100319
- more tuning on linux cpu fair scheduler and tuned governor
- revised all kernel configs (klte and variants)
260319
- smooth screen animations
- new f2fs version
- maple scheduler tuned
- compiled with -funroll-loops but less function inlining
030419
- f2fs should be working now
- new assembly optimizations
150519
- boeffla app should work better now when changing cpu hotpluggers and charging voltages
- some governors are back
- using "system_freezable_power_efficient_wq" for disk events
- RoW and Maple schedulers tweaked
- ext4 tweaks
- fair scheduler tweaks
070619
- GCC 9.1 (2019 compiler and toolchains)
- Compiling with -fgraphite -fgraphite-identity -fschedule-fusion -ftree-lrs
- tuned hotplugger with different algorithm
110619
- number of online cores are now working on boeffla app
- boeffla app can raise input charger amperage to 2200
- minor gpu tweaks
200719
- Tuned governor and hotplugger tweaked
- Saving more battery when suspended
- Merging sd reads/writes by default
090819
- tuned governor tweaked
- defaulting to row i/o scheduler, even though benchmarks don't like it
- defaulting to "simple_ondemand" gpu governor, tweaked it a lot
100919
- back to xz compressed kernel image
- updates from upstream los16
- same kernel for los14 or 16. thanx Samuel Pascua
- some strncpys changed to memcpys
- tuned governor at 15ms frequency
221019
- updates from upstream los16
- rewrote tuned hotplugger: using even less cpu for itself but enabling cores more often, starting from core 4 instead of 2
- ZRAM enabled with lz4 compression but swappiness at 60% only
- made 1497mhz the default high load speed
- tuned governor at 10ms frequency
101119
- zram changed to vnswap but lower swappiness to save battery
- no more flicker when low brightness (thanks to samuel pascua)
- file system tweaks
201119
- f2fs code stolen from intelli-kernel
- file system tweaks
- default vm_swappiness to 25
170120
- GCC 9.2.1 MUSL 2019-12
- boot time reduced even more
- faster overall performance, lower overall battery drainage
- KTmonitor should show CPU Temperature now
- vnswap should work on Pie
- enforcing selinux after booting
- removed adreno input booster
- set sysctl_vfs_cache_pressure to 50 and vm_swappiness to 40
- ignoring zswap_max_pool_pages
040220
- Working on Q (Android 10)
- AnyKernel update to 3
- Tuned governor with min_sample_time defaulting to 80ms
- Charging till your battery gives 4.4v, or explodes
- UV/OV table matching scaling_frequencies
20200223
- Using higher l2-cache frequencies for performance
- Higher heat "tolerance"
- Battery voltage/power should now be showing correctly at lockscreen
- vnswap wasn't working on Pie but now it is
20200521
- Changed some timers to let the device sleep more (huge battery gain on stand by)
- Tuned governor now being more conservative
- Added back IO Schedulers
- Led control
- LOS updates
- Remove Adreno touch booster
thank you for great work
Thank you very much.
why a new thread?! and also the download link is missing.^^
Where's the download link, appears to be missing.
xda is completely ****ed up
Thanks a lot for your work! But where do I get this kernel?
I've just upload a new version for klte only for now. TEST with los15.1 and 16 please.. and see if boeffla config app is still working with it..
and please don't flood this thread about the variants
fbs said:
I've just upload a new version for klte only for now. TEST with los15.1 and 16 please.. and see if boeffla config app is still working with it..
and please don't flood this thread about the variants
Click to expand...
Click to collapse
thnx for this kernel ,can't download this kernel
warism100 said:
thnx for this kernel ,can't download this kernel
Click to expand...
Click to collapse
I couldn't download using XDA app, but I was able too by opening XDA desktop site using browser.
I hope this helps you.
Thank you I will try it.
g900w8 9.0 no working
I have installed this kernel for my S5 G900F
with latest lineageos 15.1 and i insttaled beoffla
apk too, the results is great , beoffla apps work
as before
LOS15.1 + kernel + beoffla apk work fine
vlad3647 said:
g900w8 9.0 no working
Click to expand...
Click to collapse
w8 isn't klte
Uff i didnt know ,could you please tell which is w8?
Thanks
vlad3647 said:
Uff i didnt know ,could you please tell which is w8?
Thanks
Click to expand...
Click to collapse
hum.. you were right, it is klte indeed.. did it work with previous tuned-klte version ?!
I used before smartpack
---------- Post added 30-01-2019 at 12:03 AM ---------- Previous post was 29-01-2019 at 11:59 PM ----------
Maybe bcx muy phone is pretty old
---------- Post added at 12:36 AM ---------- Previous post was at 12:03 AM ----------
I install this one and so far so good
Kernel Special Features: lighter, optimization-focused
Version Information
Status: Stable
Stable Release Date: 2018-08-22
Hi, fbs.
g900f (klte) on los 15.1
not worked on f2fs