[Kernel] [froyo] leanKernel: minimalistic kernel, v2.6.0 sense 6/5/11 - Thunderbolt Android Development

This is a minimalistic Thunderbolt kernel based on the HTC Incredible S source (vivo-2.6.35.9), then upgraded to 2.6.35.13. Some of the code is backported from latest linux (2.6.39). See FEATURES section for more details on how awesome this is.
SENSE - ALL FROYO ROMS
1) lean: stripped down and minimalistic. undervolt/overclock/slots are now controlled by the "speedtweak.sh" script (more info below)
2) special edition: slightly less lean. Supports in-call recording, and TUN. "speedtweak.sh" script also available.
3) 184Mhz: lean version with 184Mhz enabled (but locked by default). You may experience battery drain or overheat when you unlock the slot.
SENSE KERNEL DOWNLOADS (ALL ROMS EXCEPT CM7):
1) lean, 2) special edition, 3) 184Mhz
speedtweak.sh
This script will allow you to "transform" your kernel into normal, extreme, 1.92, 1.92X and battsaver versions (ie. it allows you to control speed, voltage, and slots to a certain degree). Once you run the script, everything will be self-explanatory. To run the script:
1) Open Terminal Emulator (install it from market if you don't have it).
2) Type "su" (without quotes) and hit enter.
3) Type "speedtweak.sh" (without quotes) and hit enter.
leanKernel kernel speed tweaker
------------------------------_
1) normal: undervolted, overclocked to 1.41Ghz
2) extreme: extremely undervolted, overclocked to 1.41Ghz
3) 1.92: undervolted, overclocked to 1.92Ghz
4) 1.92X: extremely undervolted, overclocked to 1.92Ghz
5) battsaver: extremely undervolted, not overclocked
6) Unlock 184Mhz
7) Lock 184Mhz
8) View current settings
Please type 1, 2, 3, 4, 5, 6, 7, or 8:
Click to expand...
Click to collapse
speedtweak.sh and SetCPU
The risk of running setcpu is that it can inadvertently override the min and the max that were set by the speedtweak script. (oh it can also override the governor setting but that's not as bad). Other than that it's pretty harmless - it can't mess with the voltage settings. So if you're going to use SetCPU, keep this in mind. One way to make this work is to use SetCPU to configure governor and min/max, and use speedtweak.sh to configure voltage settings. Or just don't use SetCPU.
FEATURES
Linux Kernel v2.6.35.13. This is many revisions newer than the stock tbolt linux kernel. Majority of kernel code such as memory management, file systems, network, kernel base, etc were mostly completely re-written and are either identical or very similar to latest linux kernel (2.6.39).
speedtweak.sh script to adjust clock frequencies and voltages.
Completely reworked on-demand governor (backported from linux-2.6.39-rc2) for better performance and power efficiency.
Heavily modified/optimized smartass code (based on erasmux's latest git).
InteractiveX and ondemandX governors! Added my own suspend code to interactive and ondemand code to make the phone lock at low clock speed when screen is off. No need for sleep setcpu profile anymore.
For 1.92Ghz builds, interactiveX and smartass governors were modified to minimize unnecessary spikes above 1.8Ghz to keep phone stable.
My kernel tweaks directly applied to kernel and ramdisk via code changes. ie. vm, minfree, etc. No more sysctl and init.d shenanigans!
No EXT2, TUN, FUSE, YAFFS/2, etc. Stripped down and lean!
backported 2.6.35 wifi driver which includes low power mode! (idle wifi consumes 50% of power than stock wifi driver). Sense only.
low # (5-10) of cpufreq slots for simple management and less governer transitions.
Undervolted *drastically* for longer battery life.
SWAP and EXT4 enabled.
Increased readahead buffer.
init.d enabled in ramdisk
filesystem speedup in ramdisk
.. a few other small optimizations
BATTERY SAVING TIPS
1) Install one of my kernels, 2) Stay on WIFI as long as possible (ie. avoid 3g/4g as much as possible).
CHANGELOGS (SENSE)
v0.1 - initial beta release (testers are welcome!)
v0.2 - fixed quadrant/linpack scores! (apparently my own overclocking code was kinda lame - borrowed code from richardtrip for now - more changes in the future).
v0.3 - added MD back in (needed for a2sd), undervolted the crap out of it especially lowest frequency which is where your phone spends most of its time, added /tmp tmpfs support, disabled install-recovery so init.d scripts don't run twice.
v0.4 - removed YAFFS/2 (shaved off 2Kbytes), added 460800 clock speed, removed powersave governor.
v0.5 - increased readahead buffer to 1024KB (should improve I/O, especially for sdcard), created lame and 1.92Ghz versions.
v0.6 - Reworked on-demand governor, backported from linux-2.6.39-rc2, which includes massive amount of improvements and fixes.
v0.7 - Added 122880 at 550 VDD for extended battery life. Went back to my own overclock code (for the most part) without losing speed.
v0.71 - fixed a bug preventing the 1.92 version from booting. Cleaned up some overclock code and adjusted VDD a bit on some of the clock speeds. Changed file names which make better sense now.
v0.72 (extreme version only) - got rid of 123Mhz. good riddance! Undervolted some more.
v0.72 (1.92) - fudged around the VDD to stabilize it for difficult phones.
v0.8 - Implemented smartass governor (based on erasmux's latest, optimized code for my kernel), reworked conservative governor (backported from latest linux source), added 1.79Ghz slot for 1.92 version, removed EXT4 until I have a reliable way to convert filesystems, brought back LOGGER until i'm done debugging stuff, more VDD tweaks, and filesystem speedups in ramdisk.
v0.85 - reworked overclock code, tweaked VDD some more to stabilize. added audio & battery tweaks from adrynalyne per popular requests
v0.9 (4/13/11) - removed profiling for extra speed, reworked slab allocator (backported from 2.6.39-rc2), backported 2.6.35 wifi driver (low power mode!), added battsaver version, optimized the heck out of smartass for power efficiency, disabled a couple of debug stuff for smaller kernel, removed performance governor.
v0.92 (4/14/11) - fixed smartass performance (should be close to ondemand now), changed default i/o scheduler to noop and removed other i/o schedulers (even leaner!)
v1.0 (4/15/11) - introducing interactiveX governor (interactive + my own suspend code), heavily optimized smartass code (again), undervolted 1.92X a little more at the top end, removed conservative governor, made interactiveX default, went back to deadline i/o scheduler (was causing issues with 1.92 overclock).
v1.1 (4/18/11) - ondemandX governor (ondemand + my own suspend code to keep phone under 369Mhz when screen is off), modified interactiveX and smartass governors to prevent unnecessary spikes over 1.8Ghz to stabilize my 1.92 builds, extreme/1.92X/battsaver now all share the same VDDs at and below 1024Mhz, OC/UV code re-written again to smooth out transitions and reduce random reboots, and added one more slot to 1.92 builds.
v1.11 (4/19/11) - fixed smartass to suspend properly (ONLY NEED TO UPDATE IF YOU'RE USING SMARTASS).
v1.2.3 (4/27/11) - fixed 1Ghz speed, removed more unnecessary components for leaner kernel, GPU+ patch from CM.
v2.0.0 (5/5/11) - brand new kernel base (2.6.35) - mostly new code. Extreme,battsaver, and 1.92X have an extra slot at 184Mhz/650VDD for better battery life.
v2.0.1 (5/5/11) - extreme, 1.92X and battsaver only. Fixed lowest clock undervolting.
v2.1.0 (5/6/11) - 184Mhz battery draining fixed, flashlight brightness fixed, EXT4 enabled
v2.1.1 (5/8/11) - 184Mhz slot disabled by default (use the enable_lowslot.zip to re-enable it), filesystem speedup in ramdisk, full kernel version names.
v2.2.0 (5/8/11) - revamped governors to possibly improve battery life while on 3g/4g (fingers crossed), brought back readahead buffer tweak from my mecha kernels.
v2.4 (5/10/11) - combined all my kernel flavors into one, speed/voltage can be controlled by speedtweak.sh script, added vdd_levels support (code from snq- via adrenalyn's git), kernel upgraded to 2.6.35.13.
v2.4.1 (5/11/11) - enhanced speedtweak.sh to include governors and show current mode. EXT4 mounting is now enabled for EXT3 partitions. Temporarily added a 246Mhz version until I get in touch with setcpu folks.
v2.4.2 (5/11/11) - fixed 184Mhz (sorry about that)
v2.4.3 (5/11/11) - fixed speedtweak settings not sticking at reboot (sorry about that!!)
v2.4.4 (5/12/11) - made a tiny change to speedtweak script to require you to hit enter before the screen loops back. Purely aesthetics - optional upgrade.
v2.4.6 (5/12/11) - reverted to EXT3, EXT4 was killing quandrant scores. Will bring back EXT4 after more testing.
v2.5 (5/14/11) - reworked interactiveX for better performance and power efficiency, removed 184Mhz from lean version, created a separate 184Mhz version, enhanced speedtweak script (added time-in-state), enhanced filesystem mount options for speed.
v2.5.1 (5/16/11) - reverted interactiveX wake speed, added a setcpu friendly option to speedtweak.sh.
v2.6.0 (6/5/11) - in-call recording added by default, overclock code reworked, interactive/smartass governor tweaked, speedtweak.sh script enhanced.
DIRECTIONS
Uh.... flash the zip in clockworkmod. No need to wipe anything.
GOVERNORS
First, my take on the governors that are out there: http://forum.xda-developers.com/showpost.php?p=13020648&postcount=617
I offer three governors: interactiveX, ondemandX, and smartass. What are they?
interactiveX - it's the interactive governor from CM, but I added suspend/wake logic so when the phone screen is off it runs at 246Mhz. Also, I modified its code some more to minimize unnecessary cpu spikes above 1.8Ghz if you happen to be running one of my 1.92 kernels. Most tbolts are unstable above 1.8Ghz, and it's the quick jump above 1.8Ghz that usually locks up the phone. It will hit 1.92Ghz only when it makes sense (ie. sustained high load). This is my favorite governor - perfect combination of speed and power efficiency.
ondemandX - ondemand governor code from latest linux source *plus* the suspend/wake logic described above, except it has the ability to ramp to 369Mhz while screen is off. No additional code was added for stabilizing above 1.8Ghz.
smartass - smartass code from erasmux, but I wasn't happy with its performance so I tuned it for quicker ramp up in speed. It has the same suspend/wake logic as ondemandX, and the same >1.8Ghz stabilizing mod as interactiveX.
FAQ
1) Why 1.41Ghz? - my kernel's 1.41 runs very close to stock voltage at 1Ghz, and with the other frequencies undervolted you should realize longer battery life. If you go any higher, you're going to experience poor battery life since you need to use more juice to support higher frequency. Plus most of you probably can't tell the difference between 1.4 and 1.8.
2) Why release so often? - I try to minimize # of changes to at most 2-3 per release so we can easily pinpoint any benefits or harm my code changes or tweaks made.
3) What is enable_swap.zip and why do i need it? - Flashing the zip will create a 200MB swap file (at next boot) and activate the swapfile on every boot. Completely optional. Read more about it here.
bitbucket: https://bitbucket.org/imoseyon/leankernel-tbolt-aosp-vivo, https://bitbucket.org/imoseyon/leankernel-tbolt-sense-vivo
{
"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"
}
Donate to your favorite charity, or donate to me.

I'll b testing tonight will report in the morning thanks!

Sounds amazing. Will flash ASAP!

i will test too!

flashing now...

Cool let me know how it goes guys. I come from the Linux server world and hope to bring some fresh approaches to the already established/mature android kernel scene.

will this override your tweaks or do nothing since they're already on the phone? i've had em installed since you posted em..

Just for clarification, when you say no "LOGGER", this is something separate from what is used to generate the system logs to produce a logcat right?
Sent from my ADR6400L using Tapatalk

MYxdaUSERNAME said:
will this override your tweaks or do nothing since they're already on the phone? i've had em installed since you posted em..
Click to expand...
Click to collapse
So my tweaks zip becomes redundant, more or less. You no longer need them.

cool, gonna run this for a day and report back. quadrant is way down, but the phone feels just as snappy...any chance of adding something around 400 to use as a min setting?

ShanDestromp said:
Just for clarification, when you say no "LOGGER", this is something separate from what is used to generate the system logs to produce a logcat right?
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
LOGGER = logcat. If you're an advanced user, i think dmesg might be good enough for some troubleshooting. If there's enough demand for logcat, i can release another kernel called SlightlyLessLeanKernel.

Thanks for the kernel. I will definitely try this out and report back with comments.
Is there a preferred governor we should use? I assume on-demand but wanted to know if this has been tweaked for smartass?

Kernel is functional on Virus rom, however, regardless of the battery savings the quadrants were too low for my tastes. 1741, 1856, and 1912. I could achieve 1800 on my dinc. I am more about performance, I don't know if there is further tweaking but I could achieve over 2000 easily with bamf's 1.2G OC kernel. Don't know about longevity of battery life and won't know, but bluetooth, internet, and wifi are all functional. Thanks for your efforts.

Imoseyon said:
1) Automatic process group scheduling (this patch dramatically speeds up desktop linux - not sure how much effect on android phone).
Click to expand...
Click to collapse
It won't make any difference at all.
I'll try the kernel out tomorrow and let you know how it goes ... thanks for posting this.

Once a couple people have tried this and reported, will probably give it a try. I like the different approach toward things.
Look forward to reading more!
Sent from my ADR6400L using XDA Premium App

MYxdaUSERNAME said:
cool, gonna run this for a day and report back. quadrant is way down, but the phone feels just as snappy...any chance of adding something around 400 to use as a min setting?
Click to expand...
Click to collapse
hmmm quadrant and linpack scores do concern me a little. I'm going to remove the autogroup scheduler tomorrow and do a comparison between the two. Thanks for testing guys!

Quadrant indeed is quite low, 1967 at 1408/1408 performance. FPS is very low @ 17fps and I/O score is about 1/2 what I've seen on the bamf kernel

lets golf and raging thunder 2 both play great, and like I mentioned, the phone still feels quick and snappy @ 1408/768 ondemand..i'll check the battery life out tomorrow once I get it fully charged.

jlevy73 said:
Quadrant indeed is quite low, 1967 at 1408/1408 performance. FPS is very low @ 17fps and I/O score is about 1/2 what I've seen on the bamf kernel
Click to expand...
Click to collapse
Hehe, i'm going to add "SLOW" to the list of features on the OP. Actually i think i know what the problem is. Will have a fix soon... (or tomorrow since it's bedtime for me).

Ok, v0.2 is up in OP. Please test again! I think this fixes benchmark app scores. I don't use Quadrant but Linpack scores improved. Ok going to bed now.

Related

[ROM][JS32.2.1] Paragon RC6 - Updated 03/02/11 - Video Review - More themes added...

Par·a·gon n.
1. A model of excellence or perfection of a kind; a peerless example
This ROM has been in the making for several weeks. It's finally to the point where I feel it is ready for release. The biggest holdup for me was getting GPS working perfectly on JPY. After a long beta testing period and with the help of beta testers it's finally ready for you to enjoy.
Changelog in second post.
FEATURES
JS3 Base rom - Deodexed, zipaligned and png optimized
Bloat removed
Paragon Kernel - OC/UV up to 1.4ghz (no OC by default - use Voltage Control app). Optimized for speed and battery life. Several kernel options available: 1200, 1280, 1300, 1344 and 1400mhz. More on kernel in 3rd post.
JK4 Modem - I've done a lot of testing with the others and keep coming back to JK4
My own custom theme. Used elements from several of my favorite themes along with my own original ideas. Came out looking really nice.
Ad Blocking
Android ID fix
My own custom blend of transition and window animations
References to video calling removed from phone, contacts, etc.
Modified camera - take pictures with power button
Boot and shutdown animations
Extended power menu
Apps updated to latest versions
Customized Launcher2 (removed default widgets, favorites, etc.)
Gingerbread keyboard with working haptic feedback
Swype
Working bluetooth (voice dialing included)
Wired headset working
Amazing GPS - 12/12 sat lock within seconds. Fantastic tracking!(make sure use Wireless Networks is turned OFF in settings) No other changes needed. Everything is preconfigured.
Backlight Notifications - Blinky App included
Lagfix applied on first boot (all EXT4)
Kernel tweaks applied by default
Voodoo Sound 4
5 Lockscreens
Headphone calling support
Modded 3d gallery
Removed annoying fully charged audible and icon notifications
Wifi battery drain fix
buttons light up on screen press
Call recording
Video Review
Removed
SCREENSHOTS - (OUTDATED. Need to update for RC6)
Lockscreen:
{
"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"
}
Clean homescreen (add your own shortcuts/widgets)
Notifications
GPS Test - this was taken in dense fog on an extremely cloudy night.
Extended power menu
Keyboard
DOWNLOAD - Paragon RC6 -
http://www.multiupload.com/GIANEZJHQ7
Mirror - Thanks deanhatescoffee for the mirror!
INSTALL INSTRUCTIONS
BACKUP First!
Flash back to stock via Odin.
Master clear RECOMMENDED (THIS WILL DELETE EVERYTHING ON YOUR PHONE!).
Copy ROM and attached update.zip to SD Card.
Reboot into recovery.
Choose Reinstall packages (might have to do twice).
Choose Install zip from sdcard.
Choose zip from sdcard.
It will take a long time to reboot. It should ask you if you want to backup and restore. Please select this option. It will automatically apply the lagfix. After it boots for the first time let the phone sit for a couple of minutes. Then reboot again and the install will be complete.
Enjoy!
Paragon Themes - 6.0 compatible only!
Thanks to bentonhall for putting all these together! Thanks to CapnPez for the boot animations!
Default
http://dl.dropbox.com/u/18659421/paragon-rc6-defaultblack-theme-cwm.zip - Default Green/Black
http://dl.dropbox.com/u/18659421/paragon-rc6-defaultstock-theme-cwm.zip - Default Green/Stock
Red
http://dl.dropbox.com/u/18659421/paragon-rc6-redblack-theme-cwm.zip - Red/Black
http://dl.dropbox.com/u/18659421/paragon-rc6-redstock-theme-cwm.zip - Red/Stock
Blue
http://dl.dropbox.com/u/18659421/paragon-rc6-blueblack-theme-cwm.zip - Blue/Black
http://dl.dropbox.com/u/18659421/paragon-rc6-bluestock-theme-cwm.zip - Blue/Stock
Orange
http://dl.dropbox.com/u/18659421/paragon-rc6-orangeblack-theme-cwm.zip - Orange/Black
http://dl.dropbox.com/u/18659421/paragon-rc6-orangestock-theme-cwm.zip - Orange/Stock
Purple
http://dl.dropbox.com/u/18659421/paragon-rc6-purpleblack-theme-cwm.zip - Purple/Black
http://dl.dropbox.com/u/18659421/paragon-rc6-purplestock-theme-cwm.zip - Purple/Stock
Yellow -
http://dl.dropbox.com/u/18659421/paragon-rc6-yellowblack-theme-cwm.zip - Yellow/Black
http://dl.dropbox.com/u/18659421/paragon-rc6-yellowstock-theme-cwm.zip - Yellow/Stock
CREDITS
Lancez - testing/feedback
CapnPez - testing/feedback and bootanimations
Reefermatness - theme tips, used elements from Darkness theme
MikeMike01 - guide for removing video call references from contacts
hardcore (kernel based on speedmod k13a)
raspdeep
plasticdarlow - theme elements
supercurio - voodoo sound
dena994 - theme elements
MagnusRagnarok - animations
deanhatescoffee - Thanks for the mirror!
laststufo
di11igaf - button light up on screen press mod
Tonicacid - the awesome shutdown animation
r64 - theme elements
bentonhall - blue theme
Goldieking - boot animation
Working on list of credits. Don't want to forget anyone...
Changelog
03/02/11
-More themes added!
02/22/11 - RC6
- updated titanium backup
- updated voodoo sound control app
- added lcddensity
- added miuimusic player
- added dialer tones
- apps and theme multi dpi compatible
- added rotary unlock (5 lockscreens)
- call recording
- 2g/3g toggle in settings
- theme overhaul
- notification menu much slimmer and faster
- gps tweak
- new kernel - based off speedmod k13a
- usb car dock support
- neutral/warm/cold color option, selectable from recovery
- disable minimum auto-brightness level option, selectable from recovery
- usb debugging enabled by default
- fixed smoke live wallpapers
02/08/11 - RC5.1
- added fixed gallery3d.apk
- removed text messages from call log
- buttons light up when screen pressed
- samsung keyboard fixed
02/03/11 - RC5
- rebuilt on JS3 - zipaligned, deodexed and optimized all apps and framework
-New Kernel(s)
- based off speedmod k12t
- went back to single speed overclocks. Many versions available 1200,1280,1300,1344, and 1400 in both 100hz and 500hz forms (see 3rd post for more kernel information)
- Voodoo Sound 4
- improved gps
- voltagecontrol app back to 2.0rc2 due to new kernels
- added modded 3d gallery app (fixes a battery drain issue)
- annoying fully charged icon and audible notification removed
- updated voodoo sound app
- updated all system apps that had updates
- updated titanium backup
- tweaked animation speeds
- removed some sql from init scripts and moved to default settings
- removed fm radio references from kernel and voodoo app
1/26/11 - RC4
-new kernel
- based off speedmod k12q - http://forum.xda-developers.com/showthread.php?t=893880
- OC up to 1.6ghz.
- Use voltage control app to enable OC frequencies. No OC by default.
- OC options include 1120, 1200, 1300, 1400, 1500, and 1600mhz. 1200mhz should be stable for just about everyone. 1300 for most. Very few will be able to go above 1400 and stay stable. Please see shaolin95's OC/UV Guide
- voodoo sound 2
- 339mb ram
- Kernel HZ set to 100
- voodoo sound 2
- fixed timer notification
- optimized and aligned framework - everything super smooth
- voltage control app 2.3
- updated ad blocking
- optimized init scripts
- fixed animations turning back on after reboot
- updated market
- updated flash
- added spareparts
- added voodoo sound app
1/20/11
- Added animation options to original post.
1/19/11 - RC3
- Updated Swype
- Battery charging animation fixed
- Browser fix for distored sounds on streaming radio sites (thanks shaolin95)
- 4 Lockscreens - switch in Settings->Display->Unlock Screen
- dark text on dark background notification during market download fixed
- AppWidgetPicker added
- cleaner extended power menu
- various theme tweaks/changes (darker transparent menus, etc.)
1/16/11 - RC2
- Added Voodoo Sound
1/16/11 - RC 1.1
- fixed haptic feedback on home button
- fixed live wallpapers
DOWNLOAD RC6 UPDATE (only for flashing from RC5+ to RC6) -
http://www.multiupload.com/SFE7K31TK1
MIRROR - http://xda.deanhatescoffee.com/roms/paragon-rc6-update-cwm.zip
Download link for full ROM in Original post.
Paragon Kernel
Based on speedmod k13a kernel.
Hardcore deserves all the credit here for the awesome speedmod kernel. I have taken his kernel and added OC/UV support and compiled several different versions. The default paragon kernel is OC to 1.2ghz with HZ set to 100hz. No OC by default. Turn on from voltage control app.
From Hardcore's 'What is speedmod kernel page':
- Based on JPX Froyo kernel source code
- 340MB RAM
- Voice calls: audio works with standard stereo headphones and phone mic
- Voice calls: louder earpiece volume and tweaked mic gain to reduced distortion
- Recordings: corrected mic gain to remove audio distortion from video recordings
- Slight boost to rear speaker volume level
- Improvements to FM radio sound quality
- Headphone output boost with support for Voodoo Sound application
- Improved sharpness: enabled AMOLED mode in MDNIE processing
- Superb text clarity: Removed over-sharpening of the screen
- Better colors
- Enhanced version of sztupy's Universal Lagfix
- Safest ext4 mount options
- Supports ext2 / ext3 / ext4 / ext4nj / jfs lagfixes (only ext4 is recommended)
- Supports conversion of /system partition
- Minimum brightness lowered by 30% for comfortable low-light use
- Auto-Brightness adjusted to keep the screen dimmer longer in low light
- Auto-Brightness adjusted to make the screen brighter earlier in bright light
- Auto-Brightness sensor polling interval increased from 0.5s to 1.2s
(Saves battery and makes brightness levels more stable)
- Disabled kernel debug logging
- Disabled Android debug logger (can be re-enabled via Tweaks)
- Replaced kernel jhash2 with jhash3
- Battery level polling frequency reduced from 5s to 60s
- Tweaks for CFQ IO scheduler
- Tweaks for VM parameters
- Tweaks for increased Battery Life
- Updated ext4 code in kernel
- Properly working Tiny RCU patch for better speed and efficiency
- Updated lowmemorykiler from Android git
- Includes neldar's BackLightNotification 2.3
- Compiled using latest Codesourcery 2010.09-51
- Better GPS performance
- usb car dock support
Please see shaolin95's OC/UV Guide for instructions on how to get a stable OC/UV system.
ClockworkMod Flashable Versions
100hz
1200mhz - Default kernel
1280mhz
1300mhz
1344mhz
1400mhz
Now this came out of the blue rigth when I am about to test Darky 8.1 and Serendipty 3.5 so I guess I would give this one a shot first!
Do you have that Wifi fix applied here?
Also, any problem using a different modem?
Thanks!
Why now when I have 11% battery.... Guess I'll flash tomorrow and possibly see if any bugs arise. This looks fantastic though.
Sent from my SAMSUNG-SGH-I897 using XDA App
shaolin95 said:
Now this came out of the blue rigth when I am about to test Darky 8.1 and Serendipty 3.5 so I guess I would give this one a shot first!
Do you have that Wifi fix applied here?
Also, any problem using a different modem?
Thanks!
Click to expand...
Click to collapse
Don't you LOVE it when that happens, too many ROM's not enough Cappy's
Looks really nice from the screens. Congrats on your ROM! I'll give it a run and get you some feedback when I have a moment to flash it
it's been in the oven for a while, glad to see it finally came out
downloading now....
gonna test this out in the morning.... screens look great.
Really excited for this ROM! Blow me away!
Sent from my SAMSUNG-SGH-I897 using XDA App
I am getting ready to flash...love tryng a new kernel that is not too far from my normal 1344 overclock...maybe I can convince him to give it one or two more steps so I can still do 1344 with his kernel
Does this ROM have the 4 lockscreen options?
cant wait to see the reviews looks amazing. sticking with darky for right now loving the 2.3.1 bugger is fast smooth and so far great battery life. might be willing to give this a try though
The moment you start to get comfortable with a rom, and BAM!- something new and shiny comes along. And the endless spiral of reflashing continues... lol.
always interested in trying a new kernel..thats usually where the 'good' stuff can be found
any way we might get a full list of whats in the kernel besides the OC? Im a bit of a stickler and since i know what all the optimizations are after countless nights of reading i like knowing what people have included in their kernels.
ROM looks awesome will give it a go when my battery is fully charged
I loved your last rom, so I can't wait.
shaolin95 said:
Now this came out of the blue rigth when I am about to test Darky 8.1 and Serendipty 3.5 so I guess I would give this one a shot first!
Do you have that Wifi fix applied here?
Also, any problem using a different modem?
Thanks!
Click to expand...
Click to collapse
It is using the wifi fix. No problem using a different modem. Feel free to use whatever works best for you. JK4 just works best for me.
kangi26 said:
Don't you LOVE it when that happens, too many ROM's not enough Cappy's
Looks really nice from the screens. Congrats on your ROM! I'll give it a run and get you some feedback when I have a moment to flash it
Click to expand...
Click to collapse
theMaDHakkeR said:
Why now when I have 11% battery.... Guess I'll flash tomorrow and possibly see if any bugs arise. This looks fantastic though.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
rnewton01 said:
downloading now....
gonna test this out in the morning.... screens look great.
Click to expand...
Click to collapse
kennethpenn said:
Really excited for this ROM! Blow me away!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Looks much better on the phone than on the screens!
Lancez said:
it's been in the oven for a while, glad to see it finally came out
Click to expand...
Click to collapse
Yes it has! Glad to finally get it out there. Thanks for all your help and feedback!
sweet! downloading right now.
what's new/different in the kernel? seems like an oc'd speedmod?
bamonkey said:
always interested in trying a new kernel..thats usually where the 'good' stuff can be found
any way we might get a full list of whats in the kernel besides the OC? Im a bit of a stickler and since i know what all the optimizations are after countless nights of reading i like knowing what people have included in their kernels.
ROM looks awesome will give it a go when my battery is fully charged
Click to expand...
Click to collapse
acdbx said:
sweet! downloading right now.
what's new/different in the kernel? seems like an oc'd speedmod?
Click to expand...
Click to collapse
I'll be making a new post for the kernel in the morning. I'm too tired right now, but basically it's a tweaked speedmod k12k kernel with OC/UV. Details will be in the kernel post.

[ZIP] Synapse + Script => Universal Kernel Manager v3.8.1

Hello and welcome! So I started this because I hated having to have a different app to change some of the kernel settings and having init.d scripts for each kernel was a hassle to me, plus some users were having trouble with so many options available so I created this for all those who like to flash & test different kernels like me. I would like to dedicate this project of mine to my friend @ak for all the help and patience he has, he truly is a great dev and we owe him for some of the best kernels available for the Nexus 4.
So how this works is on every boot the script verifies all the tunables it finds specific for the kernel you have at the moment and generates the necessary files so it can be read & displayed on Synapse. Don't feel bad if you don't see all the listed options, it's just your kernel doesn't have those available.
In time I will be adding more scripts so we can have most, if not ALL tunables I can cram into. Hope you like it!
Screenshots:
{
"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"
}
So what you need:
-Root (obviously)
-Working Busybox
-Your ROM has to support init.d scripts
-Synapse
Click to expand...
Click to collapse
Download Links:
BusyBox
Universal Kernel Manager v3.8.1
Synapse Google Play Link
UKM Uninstaller v2
To install:
-Reboot in recovery
-Flash the .zip (No cache/dalvik wipe necessary)
-Install Synapse
-You're done!
Click to expand...
Click to collapse
Features:
Info
General
Model Number
Android Version
Kernel Version
ROM Description
ROM Version
ROM Build Date
SOC Binning
Last KMSG
Status
Battery Temperature
CPU Temperature
Memory
Uptime
Unused CPU States
Time in state for CPUs
Kernel Wakelocks
CPU
Live CPU Frequency
CPU Min Frequency
CPU Max Frequency
CPU Max Screen Off Frequency
CPU Multicore Power Saving
CPU Governor
CPU Governor Options
CPU Governor Tunables
Hotplug
MPDecision (Qualcomm)
Intelliplug (faux123)
ECO Mode
Snakecharmer
Intellithermal
MSM MPDecision (show-p1984)
Screen off Single Core
Min CPUs
Max CPUs
Idle Frequency
Event Boost
MSM Hotplug (myfluxi)
Min CPUs
Max CPUs
Max CPUs Boosted
Boost Lock Duration
Down Lock Duration
History Size
Update Rate
Fast Lane Load
Offline Load
Suspend Frequency
Auto Hotplug (Thalamus)
Disable Load Threshold
Enable Load Threshold
Enable All Load Threshold
Min Sampling Rate
Sampling Periods
Min Online CPUs
Max Online CPUs
Dynamic Hotplug (stratosk)
Minimum Online CPU
Maximum Online CPU
Up Threshold
Up Timer Control
Down Timer Control
Alucard Hotplug (Alucard)
Hotplug Enable
Sampling Rate
Max Cores Limit
Max Cores Limit Sleep
CPU Down Rate
CPU Up Rate
Hotplug Loads
Hotplug RQs
Hotplug Frequencies
Mako Hotplug (franciscofranco)
Cores on touch
First Level
Suspend Frequency
CPU Boost Driver
Boost
Sync Threshold
Input Boost ms
Input Boost Frequency
CPU Voltage
Global Voltage
Frequency Voltage
AK
Faux
Semaphore
I/O Control
Read-ahead Size
I/O Scheduler
General I/O Tunables
I/O Scheduler Tunables
GPU
Live GPU Frequency
GPU Max Frequency
GPU Governor
Simple Governor Tunables
Interactive Governor Tunables
Gamma
Faux Gamma Profiles
Faux Gamma Tunables
Franco Gamma Tunables
Motley Gamma Tunables
LCD Backlight Tunables
Sound
Faux Sound Profiles
Faux Sound Tunables
Franco Sound Tunables
Speaker
Faux Speaker Profiles
Faux Speaker Tunables
Memory
Z-RAM
Virtual Memory
Wake Control
Apply at init.d
DoubleTap2Wake
Touch Wake
Sweep2Wake
Sweep2Sleep
Power Key Suspend
Miscellaneous
TCP Congestion Control
Temperature Control
Temperature Limit Minimum Frequency
Power Suspend State
FSYNC
Dynamic FSYNC
Vibrator Strength
USB Fast Charge
OTG
Battery Life Extender
Touchscreen Accuracy Filter
LED Control
Advanced
C-States
Kernel Samepage Merging (KSM)
Ultra Kernel Samepage Merging (UKSM)
Gentle Fair Sleepers
Low Memory Killer
Build.Prop
Wifi Scan Interval
VM Heapsize
Allow Purgeable Assets
DNS Tweaks
Tools
Toggle Bootloader Lockstate
Toggle Bootloader Tamper Flag
Toggle SELinux Status
Preferred Network Mode
Kernel Image Managment (Backup, Restore)
Log Creation (logcat, dmesg, last_ksmg)
Reboot
Profiles
Changelog:
UKM v3.8.1
Lowered min CPU voltages
Fixed missing hotplug tunables
Fixed sqlite version mismatch
UKM v3.8
New Devices (Additional LG G3 variants, Samsung Galaxy S4, Samsung Galaxy S5)
Additional 10 rows for frequencies in time in state
Added msm_hsic_host wakelock tunable
Added new kcal tunables from savoca.
Improved preferred_network mode.
Fixed compatibility with certain devices.
Fixed permissions issue when flashing.
Minor bug fixes.
UKM v3.7
New UKM backup script.
New Devices (Moto G 2014, Samsung Galaxy S3, Sony Xperia Z Ultra).
Added new Wake toggles.
Added Simple GPU parameters for other devices.
Added Force Audit toggle in tools.
Added live Fauxsound version.
Added Software CRC Control toggle.
Added kcal_invert gamma toggle.
Moved Headphone PA Value to device files.
Fixed blu_plug display error.
Fixed device write error in several files.
UKM V3.6.1
Added back old CPU Boost Input Freq
Fixed drop caches null value
UKM v3.6
New Devices (Motorola Droid Ultra, Moto X 2013, Sony Xperia Z2).
Added initial support for Nexus 6 (shamu).
Alternate way of detecting device on startup.
New Config module for import/export of settings.
Support for gamma action in new Config module.
New Galaxy Nexus settings for gamma.
Moved MSM Limiter & CPU Boost to CPU tab.
New MSM Limiter tunables (individual CPU control).
New CPU Boost tunables (individual CPU control).
New Power-efficient Workqueues tunables.
Added Bricked Hotplug tunables.
Added LMK profiles.
Set permissions for UKM files on startup.
Additional permissions for UKM files on startup.
Increased Fauxsound max limit settings.
Changed vibrator titles in misc tab.
Added vibrator strength for wake controls.
Additional gamma profile for Nexus 5.
Added additional voltage control for Galaxy Nexus.
Fixed Kernel logger & Bootloader tunable.
Fixed empty value in global voltage.
Fixed error in GPU frequency list.
Fixed GPU Governor in hammerhead.
Fixed display error on device hostname.
Fixed Idle Freq error in Bricked Hotplug.
Fixed Sound Control for devices without Poweramp.
UKM v3.5
Fixed Sound Control Lock for certain devices.
Fixed write error when restoring gamma profiles.
Added Live Installation Check.
Added ability to change IO settings for all blocks.
Added tunable for dmesg kernel logging.
New Intelliplug hotplug tunables.
New MSM Hotplug tunables.
New & Fixed Alucard hotplug tunables.
New CPU Boost hotplug tunables.
New Intellithermal tunables.
New tunables to change individual CPU settings (Kernel Dependent).
New Gamma settings for Galaxy Nexus.
New vibrator settings for Galaxy Nexus.
Added check to see if GPU settings are present.
Code optimization in config.json.generate file.
New Devices! (Sony Xperia Z1, LG G3, HTC One M8, Moto G 2013, Moto G 4G 2013, Galaxy Nexus).
v3.4.3
Disabled DNS Tweaks for now
Excluded weights from IO Scheduler tunables
Added auto clear data when kernel changed detected (to prevent boot errors)
Additional permissions for init.d in recovery
Auto set permissions for LMK file on Android L
Updated SOC path, New Deferred Timer for KSM
Added Gamma control for OnePlus One
New tunables for updated ZRAM
Added sound control lock to Fauxsound
Moved thermal settings, New MSM MPDecision Hotplug tunables
New thermal section (New Intellithermal settings, New MSM Thermal settings)
Support for new devices (LG G2, HTC M7, Sony XPeria Z, Sony Xperia ZL)
Minor bug fixes
Fixed Intellithermal path
v3.3.2
Lowered CPU voltage step
Increased max sleep for KSM & UKSM
Added Optimize Databases tool
Added Drop Caches tunable (Clear VFS Caches)
Added Vibrator support for OPO
Added support for devices with auto PowerAmp
Added additional gamma profiles for N5
New Blu_Plug hotplug & updated AutoSMP tunables
Added support for LG Optimus G, LG G Pad 8.3 & Nexus 7 2012
Fixed derp on action for powersaver_mode (Blu_plug)
Fixed echo write error when setting CPU frequencies
Fixed derp on wildcard for gee variants
v3.2
Fixed Intelliplug 5.0 tunable errors
Fixed GPU voltages with uV values
Disabled toggle switch between s2s/s2d
Fixed write error invalid argument display message
Apply value of 1 to kcal_ctrl if it exists
Added back s2s, removed unnecessary notifiers
Added High Performance Mode sound tunable
Added descriptions for Memory & Advanced options
New Laptop Mode (Auto FS Writeback Delay Mode) tunable
v3.1
Fixed default headphone_pa_gain for Nexus 5.
Fixed voltage write error for certain kernels.
Fixed wake write error when applying profile.
Added support for OnePlus One device (bacon).
Added default screen for non-supported devices.
Added kcal (independent) & kcal_min tunables.
Added additional wake toggles (DoubleTap2Wake profiles, DoubleTap2Wake Feather, Sweep2Wake profiles, OPO touchpanel).
Added tool to Clear Synapse Data internally.
New AutoSMP, MSM Limiter & Intelliplug 5.0 hotplug tunables.
Minor bug fixes.
v3.0
New USB Fast Charge & BLX for N7
Added additional wake settings
Load default mako config if device not supported
Fixed device parameters for OnePlus One
Set new device specific parameters for GPU & Bin
Create dynamic device parameters for Bin Settings
Create dynamic device parameters for GPU Settings
Support for kernels with basic speaker settings
Fixed Franco hotplug, New AutoSMP hotplug
Fixed incorrect device detection for fauxsound
Fixed creation of Logs folder only when needed
Minor bug fixes
v2.9
Added new gamma profiles
Fixed headphone gain for Nexus 5
Fixed gamma profiles for Nexus 5
Fixed incorrect product device for Oneplus One
Misc bug fixes
v2.8
Fixed more config.json errors for Nexus 5
Added Default Custom Profiles (to avoid reset)
Added better permissions for init.d wake toggles
More Code optimization
Added support for Oneplus One (let's go @ak)
v2.7.2
Add new hotplug, misc & advanced tunables (thanks to @ak)
Few bug fixes
v2.7
Attempt to fix gamma invalid argument error
Several bug fixes
General code optimization
Added additional log mode
Added Power Suspend Mode
Added New Intelliplug tunables
v2.6
Fixed invalid argument error
Fixed config.json generate with duplicate GPU freq
Fixed several tunable parameters
Additional mount parameters for wake options
Merged CPU Gov tab with CPU tab
Added CPU Global Volt file to save values
v2.5
Fixed JSON configuration parsing failed for certain kernels.
Fixed Fast Charge Level & Touchscreen Accuracy.
Fixed init.d permissions & owner for Wake toggles.
Fixed N5 Power Key Suspend tunable.
Fixed Preferred Network Mode & Added Log Mode in tools.
Added N5 Franco Gamma Profiles, Fixed Permissions in gamma files.
Added Device Hostname & Wireless Port in build.prop.
Modified notifiers for better performance.
New Intelliplug Tunables.
New MSM Hotplug Tunables.
New MSM MPDecision Tunables.
Disabled CPU Frequency Display (for now).
v2.4
Fixed Wake Notifier bug.
Added Temp Threshold, New Faux Fast Charge.
Added GPU Min Freq.
Ability to set CPU settings for all Cores.
Increased CPU Frequency Poll (download the latest Synapse!).
Added Custom Gamma Profiles (Faux & Franco).
Added MSM Hotplug Load Levels, Fixed Fast Lane Load values.
v2.3
Integrated sqlite3
Fixed Interactive GPU (for good this time)
Added New Semaphore Tunables
Added Franco Hotplug Tunables
Added ability to apply wake options at init.d
Added UKSM Tunables
Added LED Control Tunables
v2.2
Fixed TWRP flash error
Fixed GPU Settings for supported devices
Fixed certain Hotplug settings not displaying
Fixed Live Wakelocks for devices without file
Added Interactive GPU tunables
Added Preferred Network Mode
v2.1
Lowered CPU & GPU refresh rate to display correct CPU & GPU frequency (tested with perfmon)
Fixed Restore Profiles (now checks .tgz first)
Fixed default CPU & GPU values in device config
Fixed incorrect devices parameters in live action
Added Power Suspend State (N5)
Fixed Franco Gamma, Added Franco Sound Tunables
v2.0
No longer N4 exclusive.
Re-coded entire script to support other devices (N4, N5 & N7 for now).
All commands are now called from internal busybox.
Optimized code (faster & less CPU usage).
Added Kernel Image Management (Backup, Restore & Delete).
Added Live Kernel Wakelocks.
v1.7
Integrated busybox for better support
Better way to fix permissions in CPU Frequencies
Fixed Faux Gamma Custom Profiles Link
Fixed Uptime, Unused, Time in State, CPU Freq & Bootloader displays
Fixed Bootloader Lock State. Added Tamper Flag & SELinux Toggles
Added Alucard & CPU Boost Hotplug
Added Allow Purgeable Assets (build.prop)
v1.6
Fix Conservative GPU governor error
Attempt to fix permissions in CPU Frequencies before opening app
Fixed MSM Hotplug display for HellsCore & HellsDoctor users
Added ability to name your backup in Profile
Added Semaphore Hotplug Tunables
Added New Tools Section (Bootloader Lock Status, Log Creation, etc.)
Added Franco Gamma Tunables, New Faux Gamma Profiles
Added Semaphore CPU Voltage Tunables
Added TouchScreen Accuracy Filter Tunables
v1.5
Better UCI support on certain ROMS
Fixed default CPU scaling & New CPU multicore tunable
Fixed display issue in live unused & time in states
More build.prop tweaks, New DNS tweaks
More MSM Hotplug & New Auto Hotplug Tunables
Added LCD Backlight
Added Temperature Limit Minimum Frequency
v1.4
Fixed permission issues in files
Added Fahrenheit Temps, CPU time in state
Added build.prop tweaks
Added Intellithermal Settings
Fixed ondemand sampling_rate_min error
v.1.3
Fixed interactive boostpulse error
Added Global CPU Offset Voltages
Added Faux Sound Settings
Added Live Status
v1.2
Added Faux Gamma Profiles & Tunables
Added Faux Speaker Profiles & Tunables
v.1.1
Fixed CPU live label
Added Profile Settings (For backup & restore)
v1.0
Initial Release
Click to expand...
Click to collapse
Thanks:
@ak - for his help in getting this started.
@AndreiLux - for his awesome app Synapse.
@osm0sis - for his ideas on the Galaxy Nexus.
@eng.stk - for his help on the support for Nexus 5.
GitHub is Here:
UKM
Any suggestions, bugs or others settings you need just let me know.
Code:
Please rate the thread and don't forget the THANKS button below! :D
Supported devices:
Nexus 4
Nexus 5
Nexus 6
Nexus 7 (2012 & 2013)
Galaxy Nexus
OnePlus One
LG G2
LG G3
LG G Pad 8.3
LG Optimus G
HTC M7
HTC One M8
Moto Droid Ultra
Moto G 2013
Moto G 4G 2013
Moto G 2014
Moto X 2013
Samsung Galaxy S3
Samsung Galaxy S4
Samsung Galaxy S5
Sony XPeria Z
Sony Xperia ZL
Sony Xperia Z1
Sony Xperia Z2
Sony Xperia Z Ultra
Click to expand...
Click to collapse
Tested kernels:
Should work on any kernel, but my personal tested kernels & confirmed by other users are the following:
Nexus 4:
AK
Faux
Matr1x
HellsCore
HellsDoctor
Semaphore
moob
dimfish
Aufa
Zulfa
Furnace
Nexus 5:
Code Blue
Uber
ElementalX
Nexus 7:
AK
OnePlus One:
AK
Click to expand...
Click to collapse
F.A.Q.
No UCI support detected? Check the following:
a) Does your ROM support init.d scripts?, IF it doesn't try this,
b) Check in /system/xbin if the uci file exists. IF it doesn't exists you can try reflashing the .zip or run the following in terminal emulator:
su
ln -s /data/N4UKM/uci /system/xbin/uci
Click to expand...
Click to collapse
c) Check the permissions of /system/xbin/uci AND /data/N4UKM/uci, it should be 755 or 777. IF it isn't you can try reflashing the .zip or run the following in terminal emulator:
su
chmod 755 /system/xbin/uci
chmod 755 /data/N4UKM/uci
Click to expand...
Click to collapse
d) Check the config.json file in /data/N4UKM/, if the file is blank you can try generating the file again with the following in terminal emulator:
su
uci reset
uci
Click to expand...
Click to collapse
IF NONE OF THE ABOVE WORKED FOR YOU send me a screenshot of your terminal emulator running the following command to determine your issue:
su
uci reset
uci
Click to expand...
Click to collapse
Some steps to fix most common issues when coming from another kernel and UKM is still installed: (thanks to gorillap)
Step 1 - go to settings>Apps>Synapse - force close - Clear data - ReOpen Synapse
If this doesn't work
Step2 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Reinstall Synapse in play store
If this doesn't work
Step3 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Delete Synapse folder. Reboot to recovery. Reflash kernel, Reflash UKM. Install Synapse
If this doesn't work, request support in thread.
To use UKM on Lollipop just do this: (Thanks to thereal_bigjake)
1) Flash Permissive boot.img (thanks to ramjet73).
2) Install SELinux Mode Changer and set to permissive.
3) Install Synapse and flash UKM v3.5 or higher (you need busybox installed also)
4) Run a terminal after boot and type su, then type \system\etc\init.d\UKM
5) Enter Synapse and profit.
To restore a profile: (Thanks to apb_axel)
1) Save the profile to the /sdcard/Synapse/saved_profiles folder.
2) Open Synapse, go to profiles tab and press the Restart Synapse button (to make to profile appear).
3) Open Synapse, go to profiles tab and select the profile, click the √ and select Restore Selected Profile.
4) At this moment Synapse will close automatically so give it a few seconds and it will open automatically again.
5) When it opens, click the X button on top, not the √.
6) Done.
Restrictions on config files: (thanks to apb_axel)
1) You can't import settings that don't exist on your current kernel (this is fairly obvious so no explanation needed).
2) Some settings that are not imported/exported for privacy concerns are: buildprop net.hostname, buildprop service.adb.tcp.port.
3) You can't import/export the SELinux status, either Enforcing or Permissive (I've read that some people had issues when restoring profiles that were based on a KitKat ROM and when it was restored on a Lollipop ROM it broke their root, they had to reinstall everything from scratch so I prefer to avoid this at all costs).
4) You can't import/export the Preferred Network Mode (again some people have complained that restoring a profile where their carries have different settings had their phone stopped working).
5) You can't import/export voltage settings (Not every CPU is build the same, so to avoid device shutdown do to low voltages this is disabled).
6) You can't import/export sound settings (This is more of a personal setting and doesn't affect battery/performance).
7) You can't import/export speaker settings (This is more of a personal setting and doesn't affect battery/performance).
8) You can't import/export gamma settings (This is more of a personal setting and doesn't affect battery/performance).
Want to integrate UKM into your ROM?: (thanks to kecinzer)
http://forum.xda-developers.com/showpost.php?p=58054064&postcount=2409
I cannot get cpu settings to show... Btw awsome work hpe to see it get even better
Edit: oops i am on stock rom so i cannot use this, realised just now ... Is there any way to add init.d support to stock ROM?
Sent from my Nexus 4 using Tapatalk
chewu.pg said:
I cannot get cpu settings to show... Btw awsome work hpe to see it get even better
Edit: oops i am on stock rom so i cannot use this, realised just now ... Is there any way to add init.d support to stock ROM?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
There is an app that can help you get init.d support to stock ROM, try it out and let me know if it works: http://forum.xda-developers.com/showthread.php?t=1933849
The .zip works fine on PSXv4.0.4 & ak Exodus 227
Enviado desde mi Nexus 4 mediante Tapatalk
Good work.
Glad to see that you took full advantage of the capabilities of the app. Also very happy to see that you took advantage of the notifiers for the global voltage slider in exactly the way that I intended them, although that I would have done the behaviour a bit different, but that's a choice of preference.
Let me know on Github on any wishes/comments/feedback.
Ideally in the future I was planning to do a sister-app which does a configuration-injection much like you do, but for global device compatibility, and self-contained. Sadly it's a lot of work and needs to be maintained, hope I can do it by this summer. Goal is to basically annihilate other apps such as Trickster and all other custom kernel configs apps.
apb_axel said:
There is an app that can help you get init.d support to stock ROM, try it out and let me know if it works: http://forum.xda-developers.com/showthread.php?t=1933849
Click to expand...
Click to collapse
Worked!! Thank you so much, its so awsome and first thing i did after, is uninstall trickster... still need to keep fauxclock for color presets but i hope it will come to this app the time passes... Also noticed that synapse boot failed toast massage, so will try restarting few times to see if set on boot works
Sent from my Nexus 4 using Tapatalk
AndreiLux said:
Good work.
Glad to see that you took full advantage of the capabilities of the app. Also very happy to see that you took advantage of the notifiers for the global voltage slider in exactly the way that I intended them, although that I would have done the behaviour a bit different, but that's a choice of preference.
Let me know on Github on any wishes/comments/feedback.
Ideally in the future I was planning to do a sister-app which does a configuration-injection much like you do, but for global device compatibility, and self-contained. Sadly it's a lot of work and needs to be maintained, hope I can do it by this summer. Goal is to basically annihilate other apps such as Trickster and all other custom kernel configs apps.
Click to expand...
Click to collapse
Thanks for the kind words! That sister-app sounds awesome if you need anything just let me know.
chewu.pg said:
Worked!! Thank you so much, its so awsome and first thing i did after, is uninstall trickster... still need to keep fauxclock for color presets but i hope it will come to this app the time passes... Also noticed that synapse boot failed toast massage, so will try restarting few times to see if set on boot works
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I'm glad it worked for you. That synapse boot failed happens mainly the first time you boot up, it should go away on another reboot and let it set the auto settings or just apply any settings to dismiss it.
Now I see Backup & restore page is lose for me
Ultraspeedy n⁴ powered by PSX v4.0.4 & AK EXODUS v227
Kaotiko77 said:
Now I see Backup & restore page is lose for me
Ultraspeedy n⁴ powered by PSX v4.0.4 & AK EXODUS v227
Click to expand...
Click to collapse
To backup & restore profiles? I'll add it to my to-list.
apb_axel said:
To backup & restore profiles? I'll add it to my to-list.
Click to expand...
Click to collapse
Thanks and very good and hard job
Ultraspeedy n⁴ powered by PSX v4.0.4 & AK EXODUS v227
Tried it, and it works! Thanks for this app! (FYI: I had to reboot 2x to get it working.)
EotT said:
Tried it, and it works! Thanks for this app! (FYI: I had to reboot 2x to get it working.)
Click to expand...
Click to collapse
Yeah it happened to me once in my testing, couldn't reproduce it so i though it was a fluke. I'll take another look just in case.
It's not really a problem. At first, I was a bit disappointed, because I thought it didn't work. I'm glad I was mistaken.
Damn geart job man! Cannot wait for volume settings. Then I can get rid of trickstermod and have 1 app instead.
Konstantinos said:
Damn geart job man! Cannot wait for volume settings. Then I can get rid of trickstermod and have 1 app instead.
Click to expand...
Click to collapse
Yeah sound settings are coming! First I will release gamma then definitely sound.
apb_axel said:
Yeah sound settings are coming! First I will release gamma then definitely sound.
Click to expand...
Click to collapse
Thanks! You rock.
On a side note, on "ROM Description"(First tab) it says PARANOID3, but I use PARANOID4.(PA 4.3 Beta 1) Who cares about this, but I'm just saying.
Hi @apb_axel, thanks for your work
I have a little issue after flashing your script. Core 0 stays at high speed ( 1.5 Ghz ) and doesn't fall to lower frequency ( 162 in my case ), even if hotplug is enabled. I'm using Ondemand with the latest AK kernel.
EDIT : After a while I had this, see the screenshot.
Konstantinos said:
Thanks! You rock.
On a side note, on "ROM Description"(First tab) it says PARANOID3, but I use PARANOID4.(PA 4.3 Beta 1) Who cares about this, but I'm just saying.
Click to expand...
Click to collapse
The folks of paranoid android probably didn't update the build.prop file in the ROM, run this in terminal emulator and see what you get:
Code:
su
getprop ro.build.host

[ZIP] Synapse + Script => Universal Kernel Manager v3.6.1

hello friends, today i want to share this GENIUS script+app, created by @apb_axel, with everybody in the Z section.
NOTE: THIS IS NOT MY WORK, ALL CREDIT'S GOES TO @apb_axel
So how this works is on every boot the script verifies all the tunables it finds specific for the kernel you have at the moment and generates the necessary files so it can be read & displayed on Synapse. Don't feel bad if you don't see all the listed options, it's just your kernel doesn't have those available.
Click to expand...
Click to collapse
So, what you need:
-Root (obviously)
-Working Busybox
-Your ROM has to support init.d scripts
-Synapse
Click to expand...
Click to collapse
Download links:
BusyBox
Universal Kernel Manager v3.6.1
Synapse Google Play link
UKM Uninstaller
To install:
-Reboot in recovery
-Flash the .zip (No cache/dalvik wipe necessary)
-Install Synapse
-You're done!
Click to expand...
Click to collapse
Features: (warning: big list)
Info
General
Model Number
Android Version
Kernel Version
ROM Description
ROM Version
ROM Build Date
SOC Binning
Last KMSG
Status
Battery Temperature
CPU Temperature
Memory
Uptime
Unused CPU States
Time in state for CPUs
Kernel Wakelocks
CPU
Live CPU Frequency
CPU Min Frequency
CPU Max Frequency
CPU Max Screen Off Frequency
CPU Multicore Power Saving
CPU Governor
CPU Governor Options
CPU Governor Tunables
Hotplug
MPDecision (Qualcomm)
Intelliplug (faux123)
ECO Mode
Snakecharmer
Intellithermal
MSM MPDecision (show-p1984)
Screen off Single Core
Min CPUs
Max CPUs
Idle Frequency
Event Boost
MSM Hotplug (myfluxi)
Min CPUs
Max CPUs
Max CPUs Boosted
Boost Lock Duration
Down Lock Duration
History Size
Update Rate
Fast Lane Load
Offline Load
Suspend Frequency
Auto Hotplug (Thalamus)
Disable Load Threshold
Enable Load Threshold
Enable All Load Threshold
Min Sampling Rate
Sampling Periods
Min Online CPUs
Max Online CPUs
Dynamic Hotplug (stratosk)
Minimum Online CPU
Maximum Online CPU
Up Threshold
Up Timer Control
Down Timer Control
Alucard Hotplug (Alucard)
Hotplug Enable
Sampling Rate
Max Cores Limit
Max Cores Limit Sleep
CPU Down Rate
CPU Up Rate
Hotplug Loads
Hotplug RQs
Hotplug Frequencies
Mako Hotplug (franciscofranco)
Cores on touch
First Level
Suspend Frequency
CPU Boost Driver
Boost
Sync Threshold
Input Boost ms
Input Boost Frequency
CPU Voltage
Global Voltage
Frequency Voltage
AK
Faux
Semaphore
I/O Control
Read-ahead Size
I/O Scheduler
General I/O Tunables
I/O Scheduler Tunables
GPU
Live GPU Frequency
GPU Max Frequency
GPU Governor
Simple Governor Tunables
Interactive Governor Tunables
Gamma
Faux Gamma Profiles
Faux Gamma Tunables
Franco Gamma Tunables
Motley Gamma Tunables
LCD Backlight Tunables
Sound
Faux Sound Profiles
Faux Sound Tunables
Franco Sound Tunables
Speaker
Faux Speaker Profiles
Faux Speaker Tunables
Memory
Z-RAM
Virtual Memory
Wake Control
Apply at init.d
DoubleTap2Wake
Touch Wake
Sweep2Wake
Sweep2Sleep
Power Key Suspend
Miscellaneous
TCP Congestion Control
Temperature Control
Temperature Limit Minimum Frequency
Power Suspend State
FSYNC
Dynamic FSYNC
Vibrator Strength
USB Fast Charge
OTG
Battery Life Extender
Touchscreen Accuracy Filter
LED Control
Advanced
C-States
Kernel Samepage Merging (KSM)
Ultra Kernel Samepage Merging (UKSM)
Gentle Fair Sleepers
Low Memory Killer
Build.Prop
Wifi Scan Interval
VM Heapsize
Allow Purgeable Assets
DNS Tweaks
Tools
Toggle Bootloader Lockstate
Toggle Bootloader Tamper Flag
Toggle SELinux Status
Preferred Network Mode
Kernel Image Managment (Backup, Restore)
Log Creation (logcat, dmesg, last_ksmg)
Reboot
Profiles
That's a huge list, isnt it?
And there's a quite huge list of supported device's too!
For more information's, changelog's, eventual bug reports, FAQ's, screenshot's, and to hit @apb_axel's THANKS BUTTON:
check the original thread over HERE
This thread is just for sharing, this is NOT my work. QUESTION'S or BUG REPORTS wil NOT be answered, as i am only a happy user of @apb_axel's script+app
Have a nice day and check his thread if u like to cheers!
Thanks Bro
Vishalkris said:
Thanks Bro
Click to expand...
Click to collapse
Is it working with 5.0 ?
streetu said:
Is it working with 5.0 ?
Click to expand...
Click to collapse
Not on all ROMs just few for xperia Z
Work fine existenz 3.5.5

[KERNEL][4.9] Dark Ages Ultimo

{
"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"
}
Designed to give better battery life without compromising performance or features ​
Features:
- Latest Linux-stable and caf tags
- New profiles applied automatically on boot
- OC GPU to 725
- Klapse 5.0
- BFQ IO scheduler
- westwood TCP
- Advanced TCP congestion algorithms
- state notifier driver
- pixel_smurfutil governor (from pixel 3 and smurf kernel)
- Dynamic stune sched boost
- DS Boost
- Dynamic fsync
- CPU input boost
- Adreno GPU input boost
- Enable 19MHz idle GPU Frequency
- adaptive low memory killer
- Sound control
- USB fast-charge up to 900mAh
- Power-efficient workqueue enabled by default
- F2FS and sdcardFS support
- Latest wireguard
- Boeffla wakelock blocker
- Various IO Optimizations
- Check 3rd post for full changelogs
Installation:
- Reboot to recovery
- Backup your current kernel(boot.img)
- Go to install
- Flash kernel zip
- Reboot
- Enjoy!!
Downloads:
- Website
- Beta builds Channel
Credit:
- mdeejay for kernel base
- manolorey for old display drivers commits
- MOVZX for darkness control (and Reffanism for recommending it)
- Luan Halalko fro base build script
- all the people i cherry-picked from
- xda and google for having best tutorials/guides for everything
XDA:DevDB Information
Dark Ages, Kernel for the Xiaomi Redmi Note 5 / 5 Plus
Contributors
blacksuan19, mdeejay, manolorey, rama892
Source Code: https://github.com/Blacksuan19/android_kernel_dark_ages
Kernel Special Features: focused on stability and battery
Version Information
Status: Stable
Current Stable Version: Último
Stable Release Date: 2020-11-15
Created 2018-06-28
Last Updated 2020-11-14
starting from el octavo a balanced profile is included in the ramdisk by default.
if you want to override it use any app like Ex kernel manager or darkness or you could extract the zip, edit the profile script and zip it again and flash it
you can find some custom profiles in Ken's channel
and as from the beginning, the main focus was never gaming cuz games are a waste of time. if you want to game try and if you don't get the experience you expected to modify the settings, just don't expect me to make any gaming specific changes.
for normal folks, the default profile is as stable and efficient as it could ever get
To apply a profile import it in Darkness Control Profile Manager, also don't forget to set it to apply on boot
Download Darkness Control
Download Old Profiles (Dont use old profiles with new releases )
Balanced: Good for daily casual usage
Electron: same as balanced but with electron governor which I find more stable
Power saving electron: underclocked and balanced electron for a more battery saving approach
Changelog:
Último 13/11/2020:
• Supports Android 11
• Upstream to latest Linux kernel tag
• Upstream wireguard to the latest release
• Fix Ramdisk overlay not applying
• Fix left headphone sound gain being 1 by default
• Fix top-app boosting issue
• Improved DStune boost
• General scheduler improvements
• Add support for speaker gain
• Many more changes I can't remember
Decimo 01/11:
Release Post
El Noveno 13/09:
Release Post
El Octavo 28/06:
Release Post
Séptimo 13/03:
* Latest Linux-stable and caf tags
* Compiled with dark-engine 2.0
* Add Electron governor
* Add BFQ IO scheduler (set as default)
* Enable power efficient work queue
* Add fingerprint boost drive
* Add state notifier driver
* TTL fixation
* Increase charging up to 2300mAh
* Enable lz4 zram compression
* Set default zram size to 510mb
* enable AutoSMP by default
* Disable LMK debugging by default
* Upstream CPU boost drive
* Tweak CPU boost values
* Overall better ram management
* Better frequency scaling (switch governor to electron)
* Default read ahead as 2048(better for 32GB+ devices)
* Add klpase drive(LiveDisplay Like)
* this release is more focused on better ram management and smoother experience on default settings if you want to game switch governor to performance, etc
Sexto 07/02:
- support for non treble has been dropped because we're moving to pie now (fully treble)
- Now based on the latest CAF pie tag for msm8953
- support for all display's
- merged latest 3.18 and CAF tags
- disable CPU boost by default
- AutoSMP hotplug
- Adreno idler
- MSM thermal control 3.0
- Kcal Controls
- sound control
- adaptive LMK and LMK process reclaim from Android GO devices
- Dynamic Fsync
- westwood TCP
- other fixes/ improvements etc
- this is a new kernel so not all features will be there, features will be added again gradually
Dark Santa Edition(Quinto) 25/12:
- Fix audio on roms with MIUI10 blobs
- tweaked for better stability and battery(no need for profiles)
- merge latest Linux-android-stable tags and changes
- Merge latest CAF tags
- Disable Gentle Fair Sleepers (more responsive UI)
- Kernel can be built inline with rom now (use darky-inline branch)
Cuarto 14/10:
- merged latest linux-stable tags and patches
- merged latest prima caf changes
- audio optimizations ( from LH kernel )
- added UKSM ( optimized for ARM devices )
- upstream some modules
- rework CPU, GPU frequency ( more efficient )
- enable dynamic fsync by default ( having no fsync at all isn't exactly a good situation )
- clean up unnecessary defconfig's
- add process force reclaim driver ( better ram management )
- add kernel memory controller from android GO devices
- Add USB fast charging
- Add Support for various USB peripheral ( joystick, storage, printer, mouse and keyboard)
- Add backlight dimmer ( alternative way of adjusting brightness below what the system usually allows, kinda fixes brightness issues on some Pie ROM's and MIUI )
- other backports from newer kernels
- updated profiles
Tercero 12/09:
=> Switched to anykernel2 for packaging
=> One zip for both treble and non
=> Optimized Toolchain for Cortex-A53
=> Merge latest Linux stable tags and patches
=> Merge latest CAF tag 'LA.UM.6.6.r1-09600-89xx.0'
=> Fix vendor mismatch error on boot in treble roms
=> Add speaker gain
=> Fix sound gain gets reset after a while
=> Max out CPU freq when an app is launched (apps will launch faster)
=> Tweaked msm_performance for more efficient and faster hotplugging
=> Update and tweak cpu_boost
=> Add and tweak adrenoboost
=> Tweaked adreno_idler for better GPU frequency control
=> Kill Kcal inverse option (nobody uses that)
=> Enable LZ4 for ZRAM compression
=> Optimized idle sleep, fair sleepers
=> Upstream Wireguard, Zsmalloc and Zram
=> Add USB HID gadget support
=> Enable Zcache
=> Optimized boot time
=> Other upstreams and Backports from newer kernels
=> removed cpu_input_boost
=> Updated profiles
Segundo 25/07:
=> Treble Varient is now available (Tested on Android P)
=> Merge latest 3.18.116 tags
=> Merge latest patches from linux-stable
=> Merge latest LA.UM.6.6.r1-09200-89xx.0 CAF tags
=> Intreducting Darkness Control Kernel Manager
Segundo 21/07:
=> compiled with latest GCC 8
=> merge 3.18.114, 3.18.115 kernel tags
=> upstream kernel patches from linux-stable
=> merge LA.UM.6.6.r1-09000-89xx.0, LA.UM.6.6.r1-09200-89xx.0 CAF tages
=> sources cleanup
=> add PowerSuspend drivers v1.7
=> Add and Use snappy compression v3 library by default instead if LZ4
=> Add sound control
=> Add Alucard, Darkness, Nightmare, Electron, Relaxed and ElementalX governors
=> New CPU, GPU frequency's design
=> tweaked interactive governor for better battery life and sleep
=> tweaked CPU boost for shorter boosting times
=> Add AutoSMP hotplug (disabled by default)
=> Add state_notifier driver
=> Add input boost driver
=> SlimBus overclock
=> Intelli-Thermal 3.0 control (disabled by default)
=> Hexagon DSP Optimizations
=> Qnova charging interface
=> Add zen and maple I/O schedulers
=> Add driver to change I/O scheduler to noop when screen is off
=> Add Dynamic Fsync (disabled by default)
=> Fsync On/Off Switch (disabled by default)
=> Add sdFAT File System driver
=> Add Frandom RNG Driver
=> And a lot more under the hood work
=> for more detailed changelog check my commit history
Primero:
=> initial release
Which ROM can use this?
- Any Android 8.x or 9.x ROM, except MIUI
Why no overclocking?
- I don't find it useful for the profile this kernel is following which is stability and battery backup above all, if you want to overclock use LH, genom or zucc kernels
Why no spectrum support?
- it's an unnecessary gimmick, those darkness control profiles do the same configs and have a lot more options
Why all the cores are running all the time?
- turn on AutoSMP from hotplug section in darkness control
which profile should I use?
- any electron profile should be better than interactive because electron governor handles frequency scaling a lot better than interactive
So Dammnn Goodd
i use your Rom always. now match with this. thanx
Can we use this kernel with Miui base ROM?
raymondoliviero said:
Can we use this kernel with Miui base ROM?
Click to expand...
Click to collapse
no MIUI support
is it ok for RR 8.1 Vince
Sent from my vince using XDA Labs
NeerajBhatt said:
is it ok for RR 8.1 Vince
Click to expand...
Click to collapse
All rom with 8 are okay.. But not miui and 7
Do you use this kernel in Havoc Rom, pre installed in Havoc???
Cooooool @blacksuan19 great kernel for battery finally got the deserved attention...now good things start
Quick charge not support?
Sent from my [device_name] using XDA-Developers Legacy app
I miss the option to increase speaker and headphone volume like in xprise and LH kernel.
jes0411 said:
I miss the option to increase speaker and headphone volume like in xprise and LH kernel.
Click to expand...
Click to collapse
Coming
So far superb battery performance
What does "Adreno ilder" do? Googling around comes up with nothing
What is the best setup for this kernel? Thankss
CzechDervish said:
What does "Adreno ilder" do? Googling around comes up with nothing
Click to expand...
Click to collapse
It is best for battery .
Performance is okay.
Stability is prfct.
It is best it only uses those CPU which is needed like if you are doing multitasking a lot then it will wakeup other CPUs but while the phone is asleep it only keeps 1-2 CPU up , that's y its best for battery
Hey @blacksuan19 can u make a kernel with nethunter support.. that include all wifi, hid external adapter patches. Since there is no nethunter kernel based for vince so.. plz. Make a nethunter supported build

[Kernel][P/Q]FeraKernel-v16(4.4.213)(OC/UV)(HMP)(MIUI/AOSP)

{
"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"
}
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
backup your data before flashing it!
YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
Do everything at your own risk!
FeraKernel for MI 8 lite platina​Little intro:
There are few custom kernels mostly with EAS - personally I find it YET unfinished, so I decided to make a good HMP kernel for now. I used clean 4.4.184 kernel version from nysadev as base & stock kernel config and did few changes on top. This kernel is tested on latest stable MIUI v10.3 but should work on all Pie ROMs. This kernel aims to bring you max stability.
Features:
Used clean 4.4.184 kernel version with fixed WiFi driver
Compiled with latest GCC 10
Compiled with ultimate kernel code optimizations flags
Updated kernel base with last changes for sdm660 from CAF msm-4.4 (LA.UM.8.2.r1-05100-sdm660.0)
GPU overclock to 700МHz
Kernel version upstreamed to 4.4.213
Ported some libs from 5.х kernel
Added LZ4 support
Disabled all kernel tracing
RAM bus freqs will be raised quicker on high loads.
Activated multi-threading for crypto routines
Faster VM allocation
Disabled unneeded task stats
Reduced log buffers memory
Enabled all Cgroups for better system handling
Heavily reduced various kernel debugging
Disabled core dumps
Disabled modules signature verification
More power-saving kernel
Updated WIFI driver to latest version (5.2.03.16F)
Enabled Clean-cache framework
Enabled Front-swap framework
Enable ZSwap & zbud
Swap service can run only on small cores
Cleaned kernel cmdline
Disabled unneeded drivers
Enabled MSM HW random generator
Increased audio buffer size
Enabled FS cache framework
Enabled NTFS (rw) support
Enabled Samba (SMB) network file system
Optimized crypto routines
Added, activated & set as default very latest version of 'anxiety' I/O scheduler
Activated & set as default 'westwood' TCP congression controller
Updated msm-adreno-tz GPU governor to very latest version
Tuned simple-ondemand GPU governor for better performance
Added Adreno boost logic
Disabled CRC checks while booting
Tuned GPU idle timeout
Undervolted GPU
Set minimal GPU freq as default
Disabled few more unneeded drivers
Overclocked CPU - BIG cores to 2.5Ghz
Slightly undervolted CPU
Slightly undervolted display
Increased CMA memory size
Increased thermal polling interval
Added TTL fixup support
Super-fast random entropy generator
Tuned VM tweaks
Updated GPU KGSL driver
Enhanced arm64 NEON instructions
Optimized interactive CPU governor
Added new FS sdfat v2.1.8
Meltdown CPU protection is off (slows down cpu & nobody will hack you over wifi while u use updated & secure browser)
Added enhanced I/O scheduler - maple
Added KCAL display color control
Added sound gain control
Zram default compression algo set to LZ4
Updated init.qcom.post_boot.sh to very latest version
Screen supports physical power off while deepsleep
Screen is set to 32bpp (bit per pixel) (was 24)
Tuned vibrator (more powersave)
Disabled I/O stats
Increased ION memory allocator performance
WiFi bands DB updated
Added new I/O scheduler - depression (from 'anxiety' author)(off by default - activate manually)
Audio driver fixes & enhancements
Removed KGSL dumps
Disabled logging in MMC core module & CFQ I/O scheduler
Added HDR support for display (HDR video higher than 720p resolution lags atm. 480p is OK)
Doubled GPU bus width
Increased UI rotator priority while screen rotation
Activated more TCP congression protocols - htcp, vegas, yeah (westwood by default)
Fixed CVE-2019-5489 vulnerability
Added FQ net scheduler
misc..
>> DOWNLOAD <<​
Source code: https://github.com/feravolt/FeraKernel-platina
Credits: @nysadev for 'clean' repo sources, @osm0sis for AnyKernel3 script.
Downloads
Make sure you have GLOBAL STABLE firmware onboard.
Starting from v12 - kernel should work on dev-firmware too.​VERY VERY recommended to use my universal optimizer - FDE.AI to get best performance/battery saving on any ROM. This will act like companion for my kernel and speed it up even more.
Changelog:
FeraKernel-v16
Code:
— New depression I/O scheduler enabled by default
— FQ net scheduler is activated by default
— HDR related fixes (720p+ video should not lag)
— Updated net drivers
— Updated ION driver
— Removed I2C/SPI overclock
— Iommu driver speed up
— Possible rare random reboots fixes
— misc..
DOWNLOAD v16: https://drive.google.com/open?id=11SO6tW0naMZrUAoPS74XT4wvozJbSDSx
Older versions:
FeraKernel-v15
Code:
— Updated kernel to linux 4.4.213
— Added new I/O scheduler - depression (from 'anxiety' author)(off by default - activate manually)
— Audio driver fixes & enhancements
— Removed KGSL dumps
— Disabled logging in MMC core module & CFQ I/O scheduler
— Added HDR support for display (HDR video higher than 720p resolution lags atm. 480p is OK)
— Tuned vibrator
— More GPU undervolt
— More CPU undervolt
— Removed Adreno idler - it lags UI
— Doubled GPU bus width
— Increased UI rotator priority while screen rotation
— Activated more TCP congression protocols - htcp, vegas, yeah (westwood by default)
— Fixed CVE-2019-5489 vulnerability
— Added FQ net scheduler (can be activated in terminal: su -c sysctl -w net.core.default_qdisc=fq)
— misc..
DOWNLOAD v15: https://drive.google.com/open?id=1uPAmwThehVECQAbBLwjATEjLBRQUAKxw
FeraKernel-v14
Code:
— Fixed long wakeup bug
— Fixed 'vendor image is invalid' bug
— Added 'misc' binaries exec support (for wine & exagear)
— Enhanced powersaving
— misc..
DOWNLOAD v14: https://drive.google.com/open?id=1R5NUmzsrboT7CsEKL7Tb3bCsPp3Rugk-
FeraKernel-v13
Code:
— Kernel updated to linux version v4.4.212 (many positive changes)
— Updated WiFi band database
— Google's scheduler parameters
— Fixed rare bug with screen not turning on after deep sleep
— Tuned vibrator (more power-save)
— Disabled I/O stats
— ION memory allocator performance improved
— misc..
DOWNLOAD v13: https://drive.google.com/open?id=1lRP1kDb3NHNHrRF5zbWGFfJWBGoF161H
FeraKernel-v12
Code:
— Kernel updated to linux version v4.4.208 (many positive changes)
— Updated WiFi driver to very latest version (5.2.03.16F)
— Updated CAF tags to LA.UM.8.2.r1-05100-sdm660.0
— Fixed possible soft-reboots from prev. version
— Works fine on Android 10 (BT may not work depending on ROM)
— Totally bugfree on Android 9 (tested on havoc 2.9)
— Works both on stable and dev firmware.
— Sound bug fixed
— misc..
DOWNLOAD v12: https://drive.google.com/open?id=10QaRUxMBxQqSt6ts0wNenG8LYt2FzCXv
FeraKernel-v10
Code:
— Chrome bugs fixed
— Disabled unneeded crypto algos
— misc..
DOWNLOAD v10: https://drive.google.com/open?id=1vEk8nLjgSwrtNwKw_-7d1SUDpDttu4B9
FeraKernel-v9
Code:
— Screen supports physical power off while deepsleep
— Screen is set to 32bpp (bit per pixel) (was 24)
— Various bugfixes
— FPS stability improvements
— misc..
DOWNLOAD v9: https://drive.google.com/open?id=1hF-OpnT2TRFT05PZrfxqDGN3BOT6erK7
FeraKernel-v8
Code:
— Added enhanced I/O scheduler - maple
— Added KCAL display color control
— Added sound gain control
— Reverted some possibly conflicting changes
— Zram default compression algo set to LZ4
— Updated kernel core version to .197
— Added Fsync on/off toggle support
— GPU KGSL driver enhancement
— Disabled many more debugging shet from Qcom
— Updated kernel config
— Updated init.qcom.post_boot.sh to very latest version
— misc..
Download v8: https://drive.google.com/open?id=17NDlCIDbHgUyTAW1q0C-PVbnVP5f-SGj
FeraKernel-v7
Code:
— Meltdown CPU protection is off (slows down cpu & nobody will hack you over wifi while u use updated & secure browser)
— Refactored kernel code optimization flags
— Added new FS sdfat v2.1.8
— File system related bugfixes
— Vendor partition is not touched
— Enhanced arm64 NEON instructions
— Optimized interactive CPU governor
Download v7: https://drive.google.com/open?id=1RjYdP3A_jIyQEvMsuz5OZbQrbAwCf_zx
FeraKernel-v6
Code:
— Updated kernel base to 4.4.196 over previous kernel sources (v5)
— Updated kernel base with last changes for sdm660 from CAF msm-4.4 (framebuffer,camera,ufs, etc)
— Compiled with GCC 10
— Brutal kernel code optimization flags (graphite+crypto)
— More kernel debugging deactivated
— Disabled all kernel tracing
— Power-save CPU work-queues
— Disabled underclock for both cores
— sdm660 board configuration updated
— Increased max allowed readhaead
— Updated WIFI driver to latest version (5.1.1.74N)
— Disabled GPU wake on screen touch
— Improved GPU undervolt
— Super-fast random entropy generator
— Tuned VM tweaks
— I2C/SPI bus max freq overclock from 500 to 800Mhz
— Updated GPU KGSL driver
— Disabled KSM
— Disabled kernel auto-sched groups (let android do it better)
— Built-in HMP fix for custom ROMs
— WiFi signal strength report fix
— GPU freq related bugfix
— A lot of sdm660 SoC configuration optimizations
— No need for Magisk installation after kernel flash
— Many more things i forgot to mention...
Download v6: https://drive.google.com/open?id=1oCkv3fLOGChEGarp2mgMysPsHft5xLzu
FeraKernel-V5
Code:
— Enhanced CPU overclock
— GPU overclock to 700МHz
— Slightly more undervolted GPU
— Proper CPU undervolt
— Kernel version upstreamed to 4.4.185
— Ported some libs from 5.х kernel
— Added LZ4 support
— Compiled with LINARO GCC
— Brutal kernel optimization flags
— CPU underclock for both clusters (300 Mhz freq unlocked)
— RAM bus freqs will be raised quicker on high loads.
— Activated multi-threading for crypto routines
— Faster VM allocation
— CPU freqs raised while kernel is booting
— Misc...
DOWNLOAD v5: https://drive.google.com/file/d/1Fs-Q-LWzShNrXvYdNndbHBnfQoBC4E03/view?usp=sharing
FeraKernel-V4
Code:
— Overclocked CPU - BIG cores to 2.5Ghz
— Slightly undervolted CPU
— Slightly undervolted display
— Increased CMA memory size
— Increased thermal polling interval
— Added TTL fixup support
— Wifi config fix
— various board fixes..
FeraKernel-V3
Code:
— Touchscreen issues should be fixed
— Added, activated & set as default very latest version of 'anxiety' I/O scheduler
— Activated & set as default 'westwood' TCP congression controller
— Updated msm-adreno-tz GPU governor to very latest version
— Tuned simple-ondemand GPU governor for better performance
— Added & activated Adreno idler logic
— Added Adreno boost logic
— Tuned KSM parameters
— Tuned VM parameters
— Disabled CRC checks while booting
— Tuned GPU idle timeout
— Undervolted GPU
— Set minimal GPU freq as default
— Disabled few more unneeded drivers
— misc.
Hey my Touch Display is not working.?
Pasternack96 said:
Hey my Touch Display is not working.?
Click to expand...
Click to collapse
Guess you have touchscreen for another vendor...I will try to fix that in next version, thx for feedback.
Okay thx
FeraVolt said:
Guess you have touchscreen for another vendor...I will try to fix that in next version, thx for feedback.
Click to expand...
Click to collapse
Same here
Wait what?
And in system battery usage something weird
Each app randoms like this .
But there no errors by using it kernal is so good , good job:good:
Im using stock latest stable version of miui 10.3.2
New version is uploaded. v3. Works fine here.
When i try to install it on havoc os this message appears evert time i try to send a voice message using messenger or whatsapp
This
FeraVolt said:
New version is uploaded. v3. Works fine here.
Click to expand...
Click to collapse
Touch works now, wifi signal is weird it stays at the minimum.
Also here's ferakernel vs acrux antutu score, fera beats acrux by more than 15k
No issue on beta 9.7.4 good job..
Nice bro. Thx a lot.
pavaosk said:
Also here's ferakernel vs acrux antutu score, fera beats acrux by more than 15k
Click to expand...
Click to collapse
I got the same score as Fera with acrux. Don't trust antutu.
porozex said:
I got the same score as Fera with acrux. Don't trust antutu.
Click to expand...
Click to collapse
What rom exactly ?
ma4a3er said:
What rom exactly ?
Click to expand...
Click to collapse
Mokee os
Nev version - v4 is released. Overclock, undervolt, TTL fixup support.
Latest weekly EU ROM with FeraKernel v4: works fine, but no audio engine
kennethstarr said:
Latest weekly EU ROM with FeraKernel v4: works fine, but no audio engine
Click to expand...
Click to collapse
Audio works on my end

Categories

Resources