[KERNEL][Z][6.0.1][CM/AOSP] Airless Kernel - Xperia Z Original Android Development

Introduction
The idea for creating this kernel came up around a year ago, during early LP custom ROM builds. I thought it would be a nice idea to fork the most advanced kernel at the time, EvoMix, developed by our renowned Olivier, Joe (SuperHanns) and Alex, and add to it the latest upstream 3.4 patches as well as mix its features with another good kernel, KMA.
After that experiment turned out not so bad, me and fellow xda user BrateloSlava got an idea to continue developing that mixed kernel with our own cherry-picks from the best kernels available for various devices, and use it in my builds of RR and later GZR Tesla ROM.
Now, one year later, I continued the development that BrateloSlava did on the kernel for the last months for my Tesla and Validus ROMs, and I thought it would be a nice idea to extend this kernel's availability to the users of all custom ROMs around at the moment.
So, here is Airless Kernel for Xperia Z, compatible with all CM/AOSP based Marshmallow ROMs.
Features:
CPU
- Governors: ondemand, interactive, performance, intellimm, yankactive, yankdemand, zzmoove, barry_allen
- Multicore Power Saving - tries to group tasks into the least cores possible
- Schedule workqueues on awake CPUs
- CPU Frequency underclock (192 MHz) and overclock (1.7 GHz) capability
- Voltage regulation
Thermal management
- Simplified and efficient thermal driver
- Flexible ramp threshold temperature
GPU
- Governors: simple, ondemand, performance
- 27 MHz idle frequency for ideal power saving
- Overclocked to 487 MHz
Sound
- Faux Sound Control allowing amplified speaker, headphones and microphones volume
Misc
- RGB subtractive color control
- I/O Schedulers: sioplus, bfq, fiops, zen, row, deadline, noop
- Dynamic FSYNC
- Kernel Samepage Merging
- ARM Auto Hotplug (mpdecision replacement) - no tunables
- Gentle Fair Sleepers
- PM: Power Suspend as a replacement to Early Suspend
- TCP congestion protocols: westwood, highspeed, cubic, reno
- Disabling of some well known wakelocks (e.g. msm_hsic_host)
- Double Tap to Wake
- Fast Charge
- Vibration Strength control
- Compiled with latest UBER 5.x GCC toolchain
- Latest upstream patches: 3.4.112
- Many build flag optimizations (graphite, Ofast)
Download
Latest version (20160901)
Installation:
- Make sure you're running a CM or AOSP-based Marshmallow ROM (Resurrection Remix, AOKP, etc..)
- Flash the zip in TWRP 3.0 (tested, recommended) or other compatible recovery
- Reboot
Source code
Github link
Bug reporting rules
Only use the DevDB bug report tool for reporting bugs, provide proper logs and state the ROM, its XDA thread and version you're using. All other reports will be ignored!!
You assume all responsibility for anything that may happen
and I cannot and will not be held responsible
for anything that may happen to your device as a result of flashing a kernel.
*FLASH AT YOUR OWN RISK*
XDA:DevDB Information
Airless Kernel, Kernel for the Sony Xperia Z
Contributors
airlessproject, BrateloSlava
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2016-09-01
Created 2016-05-09
Last Updated 2016-09-01

Tunables for reducing minimal brightness:
Code:
### Reduce backlight brightness
## to revert to default - enter 0
echo "8" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_reduction;
## values of brightness, lower than lm3533_bl_brightness_min, are being decreased by lm3533_bl_reduction
echo "30" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_brightness_min;

Important: disable mpdecision in Kernel Adiutor. This kernel has its own hotplugging driver.

Oh god thanks, i can't wait to try this kernel :fingers-crossed:
Sent from my D6503 using Tapatalk

THX! works great! on AOKP
Sent from my Xperia Z using XDA-Developers mobile app

Thanks bro.Good work.

@airlessproject
RGB subtractive color control
Click to expand...
Click to collapse
How do I make make use/activate it?
Also, could you please add pre-tuned Gamma settings like Tommy-Geenexus did for his Zombie Kernel? As you are well aware, the XZ screen by default is very dull and could do with extra constract/saturation.
Thanks
Edit--
After flashing this kernel, it feels a bit sluggish as if it's saving too much power.

Will install it now. Can you add lower brightness like in zombie kernel?

There is already lower brightness, you'll just need to set up a init.d script with these lines:
Code:
### Reduce backlight brightness
## to revert to default - enter 0
echo "8" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_reduction;
## values of brightness, lower than lm3533_bl_brightness_min, are being decreased by lm3533_bl_reduction
echo "30" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_brightness_min;
I may add pre-tuned gamma for next builds, until then use the RGB control in Kernel Adiutor -> Screen.
If you feel it's slow, just tune some parameters in kernel adiutor, like up_threshold in the cpu governor, disable multicore power saving etc. Also check if there's a stuck throttled cpu max frequency, that can happen sometimes if it throttles during boot.
Anyway for me it's not sluggish at all, I wouldn't have published it if it was.
Also I'd like to kindly remind all to use the devdb feature and at least provide logs for any problems you encounter and state the ROM you use and its version.
Devs are not psychic to know what's going on with your usage.
Sent from my E6553 using Tapatalk

Please make this kernel for Xperia ZL!

Zotmen said:
Please make this kernel for Xperia ZL!
Click to expand...
Click to collapse
Sorry, I'm not planning to make blind builds.
If there's any dev that owns odin and is willing to do it, he can freely rebuild my kernel for it, just keep the source references and filename.
Sent from my E6553 using Tapatalk

Nice to see a Custom Kernel for our old phone . Thank you for your hard work, it really made a difference in speed on my phone running the latest version of RR.
As a request, can you add to the GPU the 400Mhz option? I mean I'm not fond of overclocking, and prefer to use the stock speed regarding the CPU and the GPU.

DragosBad said:
As a request, can you add to the GPU the 400Mhz option?
Click to expand...
Click to collapse
Unfortunately an additional frequency cannot be added due to known problems with frequency decisions of the driver when it's added, so it would have to be fully non-overclocked if we want to have 400 MHz.
I can assure you that there's no significant battery drain with 487 MHz nor any other issue, but if you totally insist on having stock max frequency, I can provide an optional version of the kernel with GPU OC disabled.
Sent from my E6553 using Tapatalk

airlessproject said:
Unfortunately an additional frequency cannot be added due to known problems with frequency decisions of the driver when it's added, so it would have to be fully non-overclocked if we want to have 400 MHz.
I can assure you that there's no significant battery drain with 487 MHz nor any other issue, but if you totally insist on having stock max frequency, I can provide an optional version of the kernel with GPU OC disabled.
Sent from my E6553 using Tapatalk
Click to expand...
Click to collapse
No need to do this. I will just downclock to 320Mhz, since the difference in performance isn't that big to affect my daily use. Anyway you are awesome for making this offer.:good: You don't see this kind of thing everyday.

Sd card corrupted error after flash((
How to fix?(
I don't want to format it
I tried sd card on computer and it worked...

Is it safe for those who are on customized rom??

mohamadtigre said:
Sd card corrupted error after flash((
How to fix?(
I don't want to format it
I tried sd card on computer and it worked...
Click to expand...
Click to collapse
Logs please, also which ROM and version did you use it with.
pedro.pambasag said:
Is it safe for those who are on customized rom??
Click to expand...
Click to collapse
This is only for custom Marshmallow ROMs (RR, AOKP, CM etc.)
Sent from my E6553 using Tapatalk

How to unlock BL.?
I wish to going MM rom..:'(
Sent from my C6603 using XDA-Developers mobile app

Xzborneo87 said:
How to unlock BL.?
Click to expand...
Click to collapse
http://forum.xda-developers.com/xperia-z/development/tutorial-xperia-z-zl-bootloader-t2153261

Great job mate. Is it compatible with cm 12.1 nighlty?

Related

[KERNEL]Netarchy Nexus for NS + NS4G (22-Oct-2011) Testing: 1.4.1

Netarchy Nexus represents my foray into the world of kernel development for the Nexus S, having previously been working on kernel builds for the Evo 4g.
Current Change List vs the stock kernel:
- BFS (Courtesy of work by Con Kolivas) *In builds as marked*
- Overclocking up to 1.4ghz enabled *overclocking not active by default, use a tool such as SetCPU or CM7's cpu performance settings to overclock* (Remember kids, not all phones tolerate overclocking equally)
- BFQ (Courtesy of work by Paolo Valente)
- Voodoo Sound driver - Courtesy of Project Voodoo
- Voodoo Color (as of 1.2.4) - Courtesy of Project Voodoo
- CIFS support
- TUN support
- NFS support (as of 1.2.4)
- Updated kernel base
- Cpu policy fix to avoid crashes with SetCPU and screen off profiles (Courtesy of work by coolbho3000)
- EXT4 remount tweak
- Interactive Governor (Use a tool such as SetCPU to change governors if you want to use it *still in need of some tuning*)
- BLN on i9020 models (As of 1.3.0.1) Thanks to work by Neldar.
- BLN on i9023 models (as of 1.3.0.8) Thanks to work by akent.
- Sysfs interface to custom-under/over volt in realtime (As of 1.3.0.4)
- Smartass Governor (as of 1.3.0.11)
- SLQB (as of 1.3.1)
- Ezekeel's backlight dimmer sysfs interface (As of 1.4.0)
- Ezekeel's Deep Idle modifications (As of 1.4.1)
Click to expand...
Click to collapse
Kernel builds are currently tested against a stock rom and CM7, while they may work unchanged in other roms, your mileage may vary.
All source code is available on my github (see signature).
Be safe, -ALWAYS- make a backup before flashing!
Click to expand...
Click to collapse
*Standard Disclaimer: All packaged builds are provided with no guarantees as to their safety. By flashing, you assume any and all potential risks that running a custom kernel might entail.*
*A note to overclockers: If your phone is unstable when running an overclock speed, your particular phone probably can't handle that overclock and you should choose a lower clock.*
All kernel builds mirrored HERE.
*It is generally a good idea to wipe Cache and Dalvik-Cache when flashing a new kernel build to avoid certain problems usually related to Dalvik-Cache*
Downloads:
Experimental Version: 1.4.1 (These are testing builds that are more likely to have issues)
2.3.4+ based roms (Nexus-S AND Sprint Nexus-S 4G Phones):
CFS BUILDS:
Netarchy Nexus - 1.4.1-cfs (For stock 2.3.4 or higher roms)
Netarchy Nexus - 1.4.1-cfs-universal (Universal for non-stock 2.3.4 or higher roms)
BFS BUILDS:
Netarchy Nexus - 1.4.1-bfs (For stock 2.3.4 or higher roms)
Netarchy Nexus - 1.4.1-bfs-universal (Universal for non-stock 2.3.4 or higher roms)
"Stable" Version: 1.3.7
2.3.4+ based roms (Nexus-S AND Sprint Nexus-S 4G Phones):
CFS BUILDS:
Netarchy Nexus - 1.3.7-cfs-2.3.4 (For stock 2.3.4 roms)
Netarchy Nexus - 1.3.7-cfs-2.3.4-universal (Universal for non-stock 2.3.4 roms)
BFS BUILDS:
Netarchy Nexus - 1.3.7-bfs-2.3.4 (For stock 2.3.4 roms)
Netarchy Nexus - 1.3.7-bfs-2.3.4-universal (Universal for non-stock 2.3.4 roms)
Code:
Changelog:
Revision 1.4.1:
- Updated Ezekeel's Touchkey Dimmer to version 3.0 bugfix 4
- Integrated Ezekeel's Deep Idle mod, current to bugfix 5
- 45,333 rabid naked bunnies were harmed during the making of this kernel
Revision 1.4.0:
- Revert a patch that caused random reboots in certain usage situations
- Added Ezekeel's backlight dimmer sysfs interface (See instructions in second post on how to use)
Revision 1.3.9:
- Return to Deadline as default IO scheduler, using BFQ v2 could cause bugged encounters such as a never ending boot
- Applied kernel tweaks from the recent 2.3.5 OTA (mostly relevant for sprint users)
Revision 1.3.8:
- BFQ updated to BFQv2-r1
- Some build options that may have contributed to random reboots have been modified
Revision 1.3.7:
- Voodoo Sound driver updated to v10
- Testing out tiny rcu
- Touchscreen tweaks are no longer applied by default on boot. Users can still custom tweak touchscreen settings if desired
by editing /system/etc/init.d/98touchscreen and rebooting as before.
Revision 1.3.6:
- Wifi driver changes, rolled back some code that was causing problems
- Added Cyaniris' touchscreen tweaks back in the form of a user customizable sysfs interface (courtesy of work by Cyaniris).
Users can set custom values by editing /system/etc/init.d/98touchscreen , followed by a reboot for the changes to take effect.
Currently the default values are set, users that find the defaults not optimal might want to try some suggested settings by Cyaniris
of 35 for touchthr, and 20 for noisethr.
- Corrected a bug that would have caused reboots and/or other assorted badness when having the phone sleep at a frequency other than 800mhz
(Confession: I was an idiot and forgot to move over this fix from my 2.3.3 kernel trees when making the new kernel trees for 2.3.4, woops!)
Revision 1.3.5:
- Wifi driver updates, bugfixes
- JHash3 Added
- Cpu cache clearing fixes
- New compiler toolchain for builds, using gcc 4.5.2
- Interactive governor adjustments
- IO scheduler set to Deadline, seems to have a nice balance in performance
Revision 1.3.4:
- Remove touchscreen adjustments for now, they were causing problems on some phones.
Touchscreen tweaks will be revisited for a future build
- Add auto group process scheduler for CFS builds
Revision 1.3.3:
- Touchscreen adjustments that may improve touch response
- Update Voodoo Sound driver to version 9
Revision 1.3.2:
- Update BFS builds to BFS404
- Add Simple IO Scheduler and set as default
Revision 1.3.1:
- Smartass screen-off speed adjusted to address unresponsive programs during screen-off
- Smartass adjustments to improve responsiveness
- SLQB slab allocator added to help optimize memory allocation performance
- Some build configuration changes that may improve overall feel
- Ondemand governor up threshold adjusted to improve battery usage while still maintaining responsiveness
Revision 1.3.0.12:
- Adjustments to smartass to improve performance (there is probably still room for improvement)
- Default I/O Scheduler set to CFQ (previously BFQ), this may prove to be more stable in certain situations
- Some adjustments made to the CFS scheduler that may result in a better overall feel to CFS builds
Revision 1.3.0.11:
- Added Smartass Governor
(Not enabled by default, use setcpu or CM's cpu performance
settings to change if you want to try it out)
- Raised voltage cap to 1600mV for crazy people that
want to turn their phone into a reactor ;D
- Set config options in 2.3.4 kernel builds that should enable
NS4G compatibility for our newly arriving sprint friends.
Welcome to club nexus ;D
Revision 1.3.0.10:
- Update kernel base to 2.6.35.13
- Excessive stuttering in apps such as Gun Bros should be resolved
or significantly improved; some problems with memory handling
were introduced in 2.6.35.12 and are resolved in .13
Revision 1.3.0.9:
- The cause of super-lag has been found (Big thanks to twitch153 for helping me test)
- Introducing Universal builds! These universal builds are designed to be flashed on any
non-stock rom of the series marked (ie; Universal 2.3.3)
- Misc other tweaks to the kernel config that may result in an even smoother overall
experience
Revision 1.3.0.8a:
- Fix issue preventing USB debugging (and adb), and sdcard space from working
Revision 1.3.0.8:
- Updated to support the 2.3.4 rom update
- Lots of updates from upstream, including components needed to support
the forthcoming nexus s 4g (yes that means that I will be supporting the ns4g)
- Back to the 2.6.35.12 kernel base, the sdcard tweak has been scaled back
as it appears to have been causing excess lag
- BLN work for i9023 models from akent included (not tested), i9023 users may
find they can now use BLN
Revision 1.3.0.7:
- Revert back to 2.6.35.11 base until I can track down the cause of ridiculous lag in the .12 base
(Not that .11 was a bad performer by any means ;D)
- BFS builds updated to BFS401
- BFS users should find that they have regained their bootanimation
Revision 1.3.0.6:
- Voodoo driver updated to v8
- Custom voltage sysfs interface has changed,
the method used in 1.3.0.4 and 1.3.0.5 is not compatible.
See the guide in the 2nd post for details on the new method.
Revision 1.3.0.5:
- Raised max voltage cap by 50 mV for people who want to try raising the voltage a little bit on 1.4ghz
- More tweaks to try and address instances of "super-lag"
Revision 1.3.0.4:
- Corrected a bug that could cause a slightly higher voltage to be used at certain speeds (resulting in slightly faster battery drain)
- Added a sysfs interface for manipulating voltage levels at various speeds, see 2nd post for details
(read: this allows the possibility of custom under/over volting in realtime)
- Used a different build configuration that may address the occasional "super-lag" that appeared in 1.3.0.3
Revision 1.3.0.3:
- Update kernel base from 2.6.35.11 to 2.6.35.12
- Updated BFS version from BFS 363 to BFS 400 (BFS builds only)
- Raised default read-ahead value from 128 to 2048 (read: sd speed tweak built-in, scripts not necessary)
Revision 1.3.0.2:
- Updated Voodoo Sound driver to version 7
- Fixed a bug that made the sysfs file "scaling_available_freqs" not exist
Programs that must read this file for discovering/controlling available cpu speeds can now do so.
(This also means that CM7 users can set their cpu speeds from the cyanogenmod performance
settings instead of having to use SetCPU)
Revision 1.3.0.1:
- Add initial BLN support (Currently only functional on SAMOLED models [i9020])
Download the BLN control app from the market to use BLN functionality
Revision 1.3.0.0:
- More adjustments to the default colours to try and de-smurf the
previous adjusted defaults while still avoiding "Yellow tint shock"
- Voodoo sound updates (see github commit if you want more details)
- Fixed a bug that caused boot times to take significantly longer than necessary
Revision 1.2.9:
- Voodoo Sound v5 driver update
- Adjust default colours to avoid the initial "Yellow tint shock"
Revision 1.2.8:
- Voodoo Color gamma fix
Revision 1.2.7:
- Voodoo Color driver updates/fixes
Revision 1.2.6:
- Bring panel code up to date with official kernel
- Update Voodoo Color driver to v2
- Release initial cm7 2.3.3 compatible builds
Revision 1.2.5:
- Add 2.3.3 compatible builds
- Incorporate many updates from the newer 2.3.3 kernel sources,
including wifi driver updates, touchscreen updates, drivers for
future SLCD nexus-s variants, and more
(far too many bugfixes and updates to list, review the commit list on my github if you want details)
- Ext4 tweak should be working again in stock builds
Revision 1.2.4:
- Add NFS modules
- Make TUN built-in rather than modular (this may address issues some have had loading the driver)
- Add Voodoo Color
Revision 1.2.3:
- Update kernel base to 2.6.35.11
- Removed the ~56fps cap
- Conservative governor tweaked to perform better for users that choose to use it
- Greater rom compatiblity, particularly with roms that use specialized init scripts
Revision 1.2.2:
- 1.3ghz and 1.4ghz added to the frequency table for overclockers
- Default cpu speed on boot is 1000mhz, use a tool such as SetCPU to overclock
(No doubt I'll get some flack for this, but it's a very bad idea to boot into the max possible overclock when not all phones can tolerate it, so I consider it a necessary evil)
- Interactive Governor added, use a tool such as SetCPU to change to it if you want to try it out (Probably needs a bit of tuning to avoid annihilating battery, we shall see)
- CFS and BFS variants are now available
- Infused with the power of 1000 rabid naked bunnies
Revision 1.2.1:
- Ext4 hack should be working properly now
Revision 1.2:
- Fixed a condition where limiting max speed to 1000 would result in
potential underclocking to 800 (Thanks DebauchedSloth)
- Set hi-res timer to 1000hz
- Gave a little more power to the cpu at 1.2ghz, this may help those
having trouble running at 1.2 be more stable
- Integrated ext4 hack into the ramdisk builds
(ext4 hack is not technically a kernel issue but worth pointing out)
Revision 1.1:
- 1.2ghz overclock *really* works now -Thanks for the help Morfic-
- Cpu policy fix to avoid crashes with SetCPU and screen off profiles
(Courtesy of work by coolbho3000)
Revision 1.0:
- Initial release
- Add BFS scheduler
- Add 1.2ghz overclock
- Add BFQ
- Add Voodoo Sound driver
- Add CIFS support
- Add TUN support
- Update kernel base to 2.6.35.10
Custom Under/Over volting 101:
Code:
**As of 1.3.0.6 the method of custom voltage control has changed, read carefully!**
It is now possible for users to define custom levels of under/over
volting via a new interface in sysfs.
The interface file in sysfs can be found at
/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
By default, the custom values are all zeroed out, so a
` cat /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table `
will show:
1400mhz: 1450 mV
1300mhz: 1400 mV
1200mhz: 1350 mV
1000mhz: 1250 mV
800mhz: 1200 mV
400mhz: 1050 mV
200mhz: 950 mV
100mhz: 950 mV
Modification of voltages is possible by echoing a string of 8 values
to the sysfs interface via the console, where the order of values
goes left to right from highest frequency affected to lowest.
To adjust the mV for a particular higher or lower than the default,
echo values divisible by 5 like in the following example from an adb shell (this is JUST an example, not guaranteed working values ;D):
` echo "1500 1400 1325 1275 1200 1050 900 850" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table `
Which has the following effect when examining UV_mV_table:
1400mhz: 1500 mV
1300mhz: 1400 mV
1200mhz: 1325 mV
1000mhz: 1275 mV
800mhz: 1200 mV
400mhz: 1050 mV
200mhz: 900 mV
100mhz: 850 mV
Rom developers, you can conceivably create custom scripts to
apply various under/over volt settings
For reference, these are the default voltages:
Default Frequency Voltage Table:
1400mhz: 1450 mV
1300mhz: 1400 mV
1200mhz: 1350 mV
1000mhz: 1250 mV
800mhz: 1200 mV
400mhz: 1050 mV
200mhz: 950 mV
100mhz: 950 mV
Additionally, there is currently a safety cap of 1600mV for max voltage,
setting a value higher than 1600mV will currently not have an effect greater than 1600mV.
(Read: You can set a value higher than 1600, but it will get dropped to 1600 behind the scenes)
This can be altered for future builds if I get feedback asking for it.
Backlight Dimmer:
Ezekeel said:
Based on the latest BLN version 9, I made some modifications to implement a backlight dimmer which does not need an external program (like cron) to trigger an off-switch.
To activate the dimmer, just echo the dim interval in ms (this is milliseconds; 1000ms = 1s) into /sys/class/misc/backlightnotification/in-kernel-dimmer. If you pass a value of 0, the dimmer will be deactivated.
Click to expand...
Click to collapse
FAQ:
Code:
Q: I'm getting a "Device or Kernel version not supported" error in Voodoo Control Plus!
A:The error is referring to the generic modules that voodoo control plus comes with to support
kernels that don't already have voodoo built-in (such as a completely stock kernel).
You can safely ignore this error, as voodoo is already built into the kernel.
Q: I'm getting SOD's (Sleep of Death) when undervolting!
A: You are probably undervolting too far
Q: OMG I'm getting a black screen (no boot animation) when booting a 2.3.3-based rom!
A: This tends to happen mostly on BFS builds, though it *can* occur on cfs builds (and even on the
stock kernel). The exact cause of this glitch is not known at this time, however, it is purely cosmetic.
You will notice that the bottom buttons are lit, and if you were to run adb logcat, you will see that the
phone is active. The phone is actually booting, just be patient.
Q: What are BFS and CFS?
A: They are task schedulers (they determine what processes get cpu time, how much, etc).
CFS (Completely Fair Scheduler) is the default scheduler in the official mainline kernel. It's a tried, tested, stable scheduler.
BFS (Brain **** Scheduler) is a third party scheduler written by Con Kolivas that must be patched into the kernel, and replaces the CFS scheduler. It tends to be faster in certain tasks, and is usually pretty stable, but sometimes there can be performance quirks.
Downloading and Testing! THx
Is using setCPU advised?
EDIT: Removed to avoid confusion as the info previously contained in this post is now outdated and invalid.
Someone give a shout out if this works with cm! Haven't got time to test it myself today. And thanks for your work!
Sent from my Nexus S using XDA App
I will put this in my ROM
Thanks
Just a heads up
Doesn't work with CyanogenMod 7 nightly
netarchy said:
SetCPU is not necessary.
You're free to use it of course, just remember that the NS idles at 800mhz, so if you use a screen off profile, take that into account.
Click to expand...
Click to collapse
Done. Works great with MoDaCo r10
demo23019 said:
Thanks
Just a heads up
Doesn't work with CyanogenMod 7 nightly
Click to expand...
Click to collapse
Thanks for heads up, thats sad. But thanks to the OP for the kernel its so nice to see.
Sent from my Nexus S using Tapatalk
Welcome.
Coolbho3k has a fix up. rewriting policies to enter sleep at 800 and restoring after.
Don't have link handy. You find it on his twitter.
Sent from my Nexus S
morfic said:
Welcome.
Coolbho3k has a fix up. rewriting policies to enter sleep at 800 and restoring after.
Don't have link handy. You find it on his twitter.
Sent from my Nexus S
Click to expand...
Click to collapse
Thanks for the tip
AAAAAAAAAAAAAAAAALOOOOVEEEEIIIIT !!!!!
1.4HGZ PLEEEASE
To make it cm7 compatible he can split_bootimg the cm7 kernel.
I'm looking into making one kernel working on both Bionix and cm7.
Currently it's 3 builds, Bionix, cm7 and stock for me. If I can unify it, I'll let you know.
Sent from my Nexus S
Please for CM7 KANG
dingdonghei said:
Someone give a shout out if this works with cm! Haven't got time to test it myself today. And thanks for your work!
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
nope, no boot with cm7. but it very successfully made my screen go black. woot!
Man this sounds good...tempted to flash my rom from nightly to try this thanks Dev for giving us more options.
morfic said:
To make it cm7 compatible he can split_bootimg the cm7 kernel.
I'm looking into making one kernel working on both Bionix and cm7.
Currently it's 3 builds, Bionix, cm7 and stock for me. If I can unify it, I'll let you know.
Sent from my Nexus S
Click to expand...
Click to collapse
THANK YOU MR MORFIC !!!!!!!!!!!!!!!
1.4Ghz it's possble ? sorry
morfic said:
To make it cm7 compatible he can split_bootimg the cm7 kernel.
I'm looking into making one kernel working on both Bionix and cm7.
Currently it's 3 builds, Bionix, cm7 and stock for me. If I can unify it, I'll let you know.
Sent from my Nexus S
Click to expand...
Click to collapse
Koush's anykernel can serve that purpose. It splits out the ramdisk from the current boot on the phone and combines it with the zImage of the new kernel (meaning no having to manually repack ramdisks to make various rom-compatible builds), then flashes the new boot image.
Once I have it playing nice with the NS I'll be able to post universal builds. One of the many things on my todo list ;D
Nice. Loved your work on my evo and stoked to try it here. More kernel devs means more choice and hopefully a richer collaborative spirit
Sent from my CM7 Nexus S!
kenvan19 said:
Nice. Loved your work on my evo and stoked to try it here. More kernel devs means more choice and hopefully a richer collaborative spirit
Sent from my CM7 Nexus S!
Click to expand...
Click to collapse
100% ! 100%

[Kernel][3.0.8] StrongAccord Kernel for ICS based roms (21/01)

Hello everybody I'm glad that I'm finally able to post my own thing in development section.
It's called Strong Accord because I'm accordionist and in future I'd like to make a rom with really good music sound
This kernel has been made for V30B (I didn't test it on CM10, it may work) and it's based on N00by's pure kernel. Compiled with linarno 4.6.
♪ ♪ ♪ CHANGELOG - v30b ♪ ♪ ♪
Code:
[B]Prelude - beta phase[/B]
- Added governors - Lionheart, Interactivex, SavagedZen
- Added shedulers - VR
- Compiled with -O3 optimization flags
- Undervolted WLAN and CPU
- Underclocked CPU min freq. to 250 MHz and overclocked max to 1050 MHz
- Overclocked GPU
- Dimmed softkeys leds to half of their power. Blue ones work as well
[B]Toccata - R.C. 0.1[/B]
- Added governor - SmartassV2
- Added scheduler - SIO
- Changed clocks to 250/500/700/900/1100
- fixed Wifi hotspot problem
- fixed some voltages problems
[B]Toccata - R.C. 0.2[/B]
- lowered CPU voltages
- OC GPU (290 MHz)
- made NemesisX version
[B]Toccata - R.C. 0.3[/B]
- optimized CPU voltages
- OC GPU (295 MHz and there won't be more)
- removed wheatley governor
- should work for every V30b based rom
[B]Toccata - R.C. 0.4 [/B]
- added init.d support from http://forum.xda-developers.com/showthread.php?t=1933849
- UC GPU to 285 MHz
- added OndemandX governor
- auto-clean Dalvik-Cache and Cache partitions
- set SIO and SmartassV2 as default
- some improvments at Deadline sheduler
- changed voltages
♪ ♪ ♪ CHANGELOG - v30c ♪ ♪ ♪
Code:
[B]Adagio 0.1 - Stable version [/B]
- Added governors - Lionheart, Interactivex, SavagedZen, IntelliDemand
- Added shedulers - VR and SIO
- Undervolted WLAN and CPU
- CPU clocks 250/500/700/900/1100
- Overclocked GPU to 285 MHz
- Added some tweaks
- init.d support
[B]Adagio 0.1a - Stable version [/B]
- Added SmartassV2
Download Prelude Version - http://d-h.st/48u
Download Toccata Version - http://d-h.st/yWG
Download Toccata Version 0.2 - http://d-h.st/Xdh
Download Toccata Version 0.2 NemesisX - http://d-h.st/M7b
Download Toccata Version 0.3 - http://d-h.st/GSy
Download Clean Repack V30C with Blue leds and init.d support http://d-h.st/Aab - should work with V30C rom
Download Adagio 0.1 - Stable version - http://d-h.st/KHW
Download Adagio 0.1 - Stable version HIGH VOLTAGE - http://d-h.st/AFa
Download Adagio 0.1a - Stable version - http://d-h.st/cCW
Download Adagio 0.1a - Stable version HIGH VOLTAGE - http://d-h.st/Uck
Source - https://github.com/Hellmanor/kernel_sniper-ICS
Source - https://github.com/Hellmanor/kernel_v30c
If somebody has USB Mass Storage problem just Re-launch USB Developer Options.
If Wifi doesn't work take from your rom file called wireless.ko in system/etc/wifi and replace it with that in my kernel.
Thanks to N00by for his CWM and LEDs fixes and andr00ib for support
If you like my work, you can buy me a beer
Enjoy it!
and i just thought that you'r a Honda fanatic.
Accord, Prelude..
you'r kernel sounds good, maybe i'm going to try tomorrow..
now i'm on zerogravity kernel.
I'm trying this kernel in ultrsound v30b.
After first boot phone was very slooow, I show in setcpu that max freq was 250, I changed it to 1050 and now phone is faster than before.
I tried to set smartassv2 governor but is missing in setcpu.
Wifi hotspot doesn't work, like in zerogravity kernel, is disabled in less than 1 second.
Led light is a little low, but I prefer it like that.
jes0411 said:
I'm trying this kernel in ultrsound v30b.
After first boot phone was very slooow, I show in setcpu that max freq was 250, I changed it to 1050 and now phone is faster than before.
I tried to set smartassv2 governor but is missing in setcpu.
Wifi hotspot doesn't work, like in zerogravity kernel, is disabled in less than 1 second.
Led light is a little low, but I prefer it like that. It would be nice if led's don't turn off until turn off screen.
Click to expand...
Click to collapse
how is the battery drain and Bluetooth
joker shadow said:
how is the battery drain and Bluetooth
Click to expand...
Click to collapse
I just installed the kernel now, hadn't have time to try bluetooth and battery.
Anyone else has wifi hotspot problem? 'Cause for me it's good...
And sorry - I didn't mean to miss SmartAss. I hope new version of kernel will appear in 5-6 hours from now - I can't do it faster, because I have exams.
Great to have new dev thread
but dont forget to provide source
http://forum.xda-developers.com/showthread.php?t=1992818
Using this kernel now with ultrasound ICS, good battery and smooth on game(NFSMW), never got this game so smooth before with any ICS I try. Thanks
Sent from my LG-P970 using Tapatalk 2
I hope you wont stop development of this kernel cause andr00ib droped support for ZeroGravityKernel for V30B.
At the Moment i use your kernel but i get ultra low 3D scores in antutu. Only about 600 or so.
No, I won't. Right now I'm trying to set github.
I think I fixed wifi problem.
And you've got strange score... I have 1196 in antutu...
EDIT: It will take some time to set git (my upload speed is so bad...), so I will just merge kernel and post it here...
Hellmanor said:
No, I won't. Right now I'm trying to set github.
I think I fixed wifi problem.
And you've got strange score... I have 1196 in antutu...
EDIT: It will take some time to set git (my upload speed is so bad...), so I will just merge kernel and post it here...
Click to expand...
Click to collapse
It was because of the interactive governor. on performance i got 1189.
savadgedzen: stuck at 250mhz
ineractivex: goes only down to 600mhz
interactive: seems to work
conservative: seems to work
ondemand: seems to worlk
Lionheart: seems to work
performance: works (of course it does
Thanks for your effort. I will look into code. Also I will try to enable o/c to 1200 MHz and stock 1000.
I enabled smartass v2 and sio governor. I think about adding Anticipatory scheduler.
And pls remember - I'm new in developing, but I will try my best
Try! And if you fail........try again.
Hellmanor said:
Anyone else has wifi hotspot problem? 'Cause for me it's good...
And sorry - I didn't mean to miss SmartAss. I hope new version of kernel will appear in 5-6 hours from now - I can't do it faster, because I have exams.
Click to expand...
Click to collapse
It seems to be ultrasound v30b v2 problem, sorry for post it in this threat without check it with stock kernel on this rom.
EDIT: Maybe I have to check it too, beacuse I'm not on stock.
just wanna ask, why did OB max OC is only 1350Mhz??
123r4ka456 said:
just wanna ask, wht did OB max OC is only 1350Mhz??
Click to expand...
Click to collapse
yes.
Sent from my LG-P970 using Tapatalk 2
OMAP 3630 can't handle more than 1300 MHz without issues. Stable is 1200 MHz
When can we expect version with 1000 and 1200 ?
And what about those new comits from arce , will you implement them ?
And another thing , will 1200 freq be undervolted ?
Cant wait for new version
Yes, I just want to be sure that all things are stable.
Can you show me that commits?

[KERNEL][STABLE] Badass Kernel 1.9.2

Hey guys. This is Badass Kernel, a modified version of AU Kernel with a little bit too many additions to fit in the Original Development section.
You'll find my ROM right here!
Logs are disabled in this kernel. This is not a bug, it's a feature.
Compatibility:
Android 4.2.2
CM10.1
AOSPA
PAC
AOKP
Android 4.0.4/4.1.2
CM9
CM9.2
AOSP
Touchwiz ICS V5
So.. new stuff:
1.0
CPU Undervolt down to (0-1-2-4-6).
A_U's bootsplash
Added Badass CPU Governor
Added Badass GPU control
Replace ZRAM LZO compression with Google Snappy compression which is a lot faster
Kernel Samepage Merging enabled by default
Writeback tweaked to do the work only when the screen is off
Added ROW I/O scheduler
Tweaked smartassV2 for more battery saving
Tweaked CFQ and Deadline
1.1
Added frandom support for CrossBreeder to finally work properly
Fixed memory leak in android binder
Restored and updated Lazy CPU Governor (expected: smooth UI, much better battery life and some lag in the first 20-30 seconds after boot)
Filesystem tweaks
Memory tweaks
Added SFB net scheduler and Veno TCP congestion algorithm for better use of internet
Disabled a lot of debugging
1.2
Implemented Dynamic Filesync and enabled by default
Proportional Rate Reduction for TCP
Correct AXI bus values for CPU
Re-added 825 and 844 MHz frequencies (be careful with these as they're not stable, they were left out with a reason)
Trimming /cache every 15 minutes if media playback is stopped.
Updated LowMemoryKiller driver (if you use ram manager or scripts for setting minfree, here are some really good values:3072,4096,12800,14336,15360,19200)
New bootsplash (HTC-alike)
1.2.1
Fixed Snappy
Further UV (0-1-2-3-6)
1.2.2
Enabled Compaction and linked it to LowMemoryKiller
Updated Deadline(now it's better than ROW)
Changed kernel compressor/decompressor from GZIP to the much faster LZ4.
Writeback tweaks from Linus Torvalds
Added TCP congestion algorithms: Hybla, Westwood, Highspeed-TCP. Default is Hybla because in tests, performed better than the rest.
1.3
Enabled Triple Buffering (component of Project Butter by Google)
Added Tiny RCU for smaller memory footprint
Added BoostPulse interface for SmartassV2
1.3.1
Added BoostPulse interface for SmartassH3 and updated it with a new variable(boost_freq) to suit the governors ramping policy
1.4
Lots of code optimizations
AHB Overclocking for faster R/W operations[787 MHz and higher don't have this kind of overclocking because of instability)
New 652 MHz undervolted frequency
CPU Unaligned Access (much faster booting time because of better kernel decompression)
Buffer values updated from Samsung original sources(Triple Buffering, Camera)
SmartassH3 and KSM parameters tweaked for better battery life
1.5
CPU clocks rework
Modified AXI Bus to allow lower CPU frequencies
Added completely stable 68 MHz frequency
New undervolt settings (0-0-1-2-3-5-6-7)
Rewritten Badass CPU and GPU control driver to make more use of 68 MHz frequency
Tuned SmartassH3 to make more use of low frequencies
Added fully functional zCache and ZsmAlloc, backported from 3.4 kernel
1.5.1
Added LowBattery Powersave feature for Badass governor
Badass parameters are more performance biased now
Recalculated Frame Buffer Size for Triple Buffering
Clean-up(remove deprecated CPU governors)
1.6
Add newest Adaptive RED Net Scheduler from 3.4 kernel and make it default.
Replace Snappy Compression with LZ4 Compressor(this is the fastest compressor on the market)
Make our kernel probably the first 2.6 kernel to have these two features
1.6.1
Update LZ4 Compressor from original sources and make it fully functionable
1.7
Replace zRam XvmAlloc with the better ZsmAlloc integration
Update zRam from 3.0 drivers
Make zRam LZ4 decompressor work faster in the same CPU cycles
1.8
Add SIOPlus scheduler (finally something equal or better than deadline)
Add CPU Idle driver to support C4 Deeper Sleep state
Add Wheatley governor to make more use of the new C4 state.
Change Bootsplash
1.9
New governor: WheatleyPlus
Reworked scaling down logic for less calculation
Added BoostPulse interface
Linked BoostPulse to the touchscreen driver (now the governor can really "sense" a touch and boost the frequency after a specific time threshold)
Added Triphasic scaling up logic from Badass (Phase2 is 360 MHz and Phase3 is 480 MHz)
Fixed the Deep Sleep states verification for scaling
Added GPU Control Driver
Added Sampling Down Momentum for dinamically changing the factor for scaling down
Updated OnDemand governor (it's pretty good at the moment)
Remove Badass and Lazy as they were deprecated
Link BoostPulse to the touchscreen driver for SmartassH3 and OnDemand
Optimize the CPU clock structure for WheatleyPlus
Update SIOPlus and add fluid tunables
Introduce Dynamic Cache Pressure
Revise Dynamic Writeback algorithm
Introduce Timer Slack Controller (aka Timer Coalescing, explanation below)
Deep Sleep tweaks
Backport OOM Killing algorithm from 3.8 kernel
Backport LowMemoryKiller and Timed GPIO drivers from 3.8 kernel
Add Whitelist feature to LowMemoryKiller (you can write PIDs of the processes you want to whitelist, in this file > /sys/module/lowmemorykiller/parameters/w_list ~ below you'll find the script for doing this at boot)
Android Binder update
CFS kernel scheduler optimizations
GPU driver optimizations and code cleanup
Make sure that the GPU turns off when the screen is off
Make the sleep states transitions faster
1.9.1
Finetune WheatleyPlus for better responsiveness
Optimize WheatleyPlus for overclocking on 652 MHz and 768 MHz
Fixed graphical glitches(hopefully)
1.9.2
Every bug fixed
Removed WheatleyPlus
Updated Interactive governor to the latest version from 3.8 sources
Add Dynamic Interactive governor (98% the same as Interactive, but it dynamically changes its parameters according to the load)
Dynamic PLL Overclock
Further undervolt until 768 MHz (the latter allows us to do this without losing performance)
Predefine minfree and adj values
Fully functional App Whitelist (example script here)
Forced unaligned access
Fast Charge (use this to enable it: FastCharge.apk - 1.29 MB) [Disconnect USB Cable - Turn ON - Connect USB Cable]
Timer Slack Controller: (this is a copy-paste from boype's thread)
What does the timer slack feature do?
Timer slacking aims to synchronize applications' and processes' CPU requests. The goal is to wake up the CPU less often in oder to save battery. What you need to know here is the following: waking the CPU up and putting it back to sleep again consumes power. Imagine that four apps wake the CPU up four times each in one second. While without timer slacking the CPU would be woken up 16 times, it is desirable to coordinate the wakeups. If done right, the CPU would wake up less often, effectively allowing power savings and longer sleep periods. This is what timer slacking does.
I have activated timer slacking only for background applications, so that everything else stays as responsive as you know it.
Apple has recently introduced this feature under the name 'timer coalescing' with their Mac OSX Maverick (link).
More information: How Apple does timer slacking ('Timer coalescing') (Scroll a little down to the diagrams)
LZ4 Compressor:
LZ4 is a very fast compressor, based on well-known
LZ77 (Lempel-Ziv) algorithm. Originally a fork from LZP2, it provides
better compression ratio for text files and reaches impressive decompression
speed, in the range and beyond 1GB/s per core (!), especially for binary files.
These speeds are scalable with multi-threading modes, quickly reaching
RAM speed limits on multi-core systems.
ROW I/O scheduler:
The ROW scheduling algorithm will be used in mobile devices as default
block layer IO scheduling algorithm. ROW stands for "READ Over WRITE" which
is the main requests dispatch policy of this algorithm.
The ROW IO scheduler was developed with the mobile devices needs in mind.
In mobile devices we favor user experience upon everything else, thus we want
to give READ IO requests as much priority as possible. The main idea of the ROW
scheduling policy is just that: - If there are READ requests in pipe - dispatch them,
while write starvation is considered.
Download:
AOKP ICS:BadassKernel-AICS.zip - 4.74 MB
AOKP:BadassKernel-AOKP.zip - 4.77 MB
AOSP 4.0.4:BadassKernel-ICS.zip - 6.41 MB
CyanogenMod 10:BadassKernel-CM10.zip - 7.01 MB
CyanogenMod 9.2:BadassKernel-CM9.2.zip - 4.74 MB
CyanogenMod 10.1:BadassKernel-JB.zip - 4.77 MB
Various tweaks
Script for adding apps to LowMemoryKiller's whitelist:Whitelist
(you have to edit it to add your own apps, then move it to init.d and set correct permissions. right now you can only add one app, I'll fix this in the next version)
Script to enable zRam with optimized disksize for our Mini: View attachment zRamV2.zip (flashable zip) [UPDATED]
Jeeko's PureAudio fixed for CM10.1 and AOKP: View attachment PureAudio__1.0_-_STUDIO.zip [ Please thank Jeeko for this awesome mod. ]
NOTE: This version of PureAudio is compatible with absolutely any equalizer or player.
If you have Titanium Backup installed, in the menu you'll find an option named "Integrate sys Dalvik into ROM". Use it.
This is something like odexing your system, but keeps the classes.dex files inside the apps. Don't worry if you don't have a lot of system space, Titanium will odex as much as it can until the free space runs out.
TIP: So in latest version of CrossBreeder, the OP added some system tweaking which interferes with our kernel. So I edited those parts to match our settings and device limits.
If anyone wants to install CrossBreeder:
-First uninstall by flashing this file: CrossBreeder_Uninstall_7.2.13.zip - 943.12 KB
-Then install this custom version: CrossBreeder_7.2.13-Badass.zip - 1.59 MB
Sources:
GitHub
Credits:
A_U for compiling the base kernel
franco for the various tweaks I cherry-picked from his source
androidarmv6 for fixing bluetooth
Ezekeel for his Wheatley governor
Uhhm.... You mention CyanMobile, that's mean this kernel works for Gingerbread ?
Which android version is this kernel for...and will changing the ram disk make it compatible with others too?
Sent from my GT-S5570 using Tapatalk 2
Kay, i'll try it on CM7.2
F4uzan said:
Kay, i'll try it on CM7.2
Click to expand...
Click to collapse
I thought your mini was bricked....?!
Sent from my GT-S5570 using Tapatalk 2
@F4uzan I don't think it's for gingerbread..A_U kernel is for cm10.1 so maybe he miswrote...
i think this kernel should be for JB and/or CM 10.1.
hsay said:
I thought your mini was bricked....?!
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
LOL, forgot to tell you, they done it in only 5 hours ! I'm proud how fast they work. BTW, kernel didn't work for GB, i'm stuck at Bootsplash
Sorry, I forgot to mention the compatible roms
The kernel is for 4.2.2 and that includes CM10.1, AOSPA, PAC and AOKP.
Yes, changing the ramdisk would make it compatible with every rom based on 4.0+ .
I mentioned CyanMobile because that is the name of the maintainer of the repository on github. I think it is based on the kernel used by squadzone for CyanMobile because it has traces of those weird governors (lulzactive, darkside, smoothass etc.)
alin.p said:
Sorry, I forgot to mention the compatible roms
The kernel is for 4.2.2 and that includes CM10.1, AOSPA, PAC and AOKP.
Yes, changing the ramdisk would make it compatible with every rom based on 4.0+ .
I mentioned CyanMobile because that is the name of the maintainer of the repository on github. I think it is based on the kernel used by squadzone for CyanMobile because it has traces of those weird governors (lulzactive, darkside, smoothass etc.)
Click to expand...
Click to collapse
Thanks BTW, tried it on CM10.1, seem smoother and faster.
I think you should change "CyanMobile" to "Squadzone"
can anyone change the ramdisk and make it work on aosp.also i have a question if i am using patched service jar with flymod and ram manager will this kernel affect performance.
darkshadow1997 said:
can anyone change the ramdisk and make it work on aosp.also i have a question if i am using patched service jar with flymod and ram manager will this kernel affect performance.
Click to expand...
Click to collapse
Upload your boot.img here and I will change it.
And none of those would interfere with the kernel.
In the meantime, I will upload a script to enable zRam, you might wanna check it out after you flash the kernel.
alin.p said:
Upload your boot.img here and I will change it.
And none of those would interfere with the kernel.
In the meantime, I will upload a script to enable zRam, you might wanna check it out after you flash the kernel.
Click to expand...
Click to collapse
Man, I'm already impressed with A_U's Kernel , and wanna test yours. Here's the boot.img (I think it's from cm9 but it's still ICS, same thing, right?) Thanks BTW.
Tested and everything work like a charm to restart, phone got restart and stay on boot animation
Edit .: manual reboot make phone boot
Wysyłane z mojego Nexus 7 za pomocą Tapatalk 2
Hello bro...!! i am uploading stock Android AOSP ICS kernel built by Paul.... i.e. not from any modded roms based on dat...
thanks a ton.. and finally I am happie that even our device is seeing some new kernels.. i always wondered why almost all devices have so many kernels and ours not as dat much..
plz change the ramdisk... anytime your free. no ETA's right now m using ur undervolted AU kernel for aosp ics.. wanna say this.. no deep sleep in my phone... bt still i get insane battery backup now... like 8 hrs... thats too much THANKS
i seriously dont want to change from TW UX V5 to 4.2.2... .
I would say that the kernel is very good, but I think that it could add things known to speed mod kernel (no speed mod for galaxy mini). Please Alin.p kernel to develop even better and allowed the acceleration of 10.1 cm (speed)
RicardoQ5 said:
Man, I'm already impressed with A_U's Kernel , and wanna test yours. Here's the boot.img (I think it's from cm9 but it's still ICS, same thing, right?) Thanks BTW.
Click to expand...
Click to collapse
aniketh12 said:
Hello bro...!! i am uploading stock Android AOSP ICS kernel built by Paul.... i.e. not from any modded roms based on dat...
thanks a ton.. and finally I am happie that even our device is seeing some new kernels.. i always wondered why almost all devices have so many kernels and ours not as dat much..
plz change the ramdisk... anytime your free. no ETA's right now m using ur undervolted AU kernel for aosp ics.. wanna say this.. no deep sleep in my phone... bt still i get insane battery backup now... like 8 hrs... thats too much THANKS
i seriously dont want to change from TW UX V5 to 4.2.2... .
Click to expand...
Click to collapse
Here is the kernel: View attachment BadassKernel-ICS.zip
You have the same ramdisk so this should be compatible for both of you.
Deep sleep is working with this kernel. What your problem might be: constant wakelocks from badly written apps (use Wakelock Detector to check that) or min frequency of the CPU set too high. 122-600 MHz with SmartassV2 and Deadline I/O and you won't have any problem.
piotr9821 said:
I would say that the kernel is very good, but I think that it could add things known to speed mod kernel (no speed mod for galaxy mini). Please Alin.p kernel to develop even better and allowed the acceleration of 10.1 cm (speed)
Click to expand...
Click to collapse
Thanks for telling me about SpeedMod. I'm looking into it and see what I can port.
As for the acceleration, are you talking about Hardware Acceleration? Because this is already working in this kernel.
can u upload/commit ur sources? i would like to see some stuff..thanks.
alin.p said:
Here is the kernel: View attachment 2017226
You have the same ramdisk so this should be compatible for both of you.
Deep sleep is working with this kernel. What your problem might be: constant wakelocks from badly written apps (use Wakelock Detector to check that) or min frequency of the CPU set too high. 122-600 MHz with SmartassV2 and Deadline I/O and you won't have any problem.
Thanks for telling me about SpeedMod. I'm looking into it and see what I can port.
As for the acceleration, are you talking about Hardware Acceleration? Because this is already working in this kernel.
Click to expand...
Click to collapse
No bro.. my problem is with Power button.. Itz not working.. hence my deep sleep is not working in any rom at all...
itz definitely not the kernel prob. I am sure.. and all these days i used to get worst battery backup.. this hinders me from using 4.2.2 rom for a long time.
Any way now thankz to you and A_U combined efforts with this kernel I feel like a BEAST and with TW UX v5.. Man my phone is Legendary now.. I love it more than ever...!! Thankz a lot.. and yeah.. already pressd THANKZ button a lot....
A_U said:
can u upload/commit ur sources? i would like to see some stuff..thanks.
Click to expand...
Click to collapse
It is right here: https://github.com/alin23/android_kernel_samsung_msm7x27
I'll update the OP in a few hours with the source and a new update.
The first commits are really messy because I didn't know much about git.
aniketh12 said:
No bro.. my problem is with Power button.. Itz not working.. hence my deep sleep is not working in any rom at all...
itz definitely not the kernel prob. I am sure.. and all these days i used to get worst battery backup.. this hinders me from using 4.2.2 rom for a long time.
Any way now thankz to you and A_U combined efforts with this kernel I feel like a BEAST and with TW UX v5.. Man my phone is Legendary now.. I love it more than ever...!! Thankz a lot.. and yeah.. already pressd THANKZ button a lot....
Click to expand...
Click to collapse
Well, there are applications that can put your device to sleep by touching the overlay or the shortcut on the homescreen. It is exactly the same as pressing the power button.
Here is one of the most popular: https://play.google.com/store/apps/details?id=com.jiubang.goscreenlock.plugin.lockscreen

[KERNEL][Z] Rojak Kernel (v5) for Omnirom (20141105)

Rojak Kernel for Xperia Z
WARNING!!
This kernel allows you to set the CPU frequency beyond the stock rated frequencies. Do this at your own risk! I will not be responsible for any damage to your device if you do so!
INTRODUCTION
This is a kernel for Xperia Z running Omnirom. It may or may not work on other roms.
Any feedback is welcome.
FEATURES
Linux 3.4.86
Gamma control
Sweep 2 Wake
Doubletap 2 wake
USB Fastcharge
CPU overclocking up to 1836 MHz
Intelli-Plug
Additional CPU governors - intellidemand, intelliactive, preservative
Additional I/O scheduler - bfq, sio, fiops
GPU overclocked to 450 MHz
Additional GPU governor - simple
Voltage control
Sound control
Intellithermal (NEW)
REQUIREMENT
This kernel work with Omni 4.4 for Xperia Z. It's tested on Omni 4.4.4 nightly build 20141031. Please update your rom if you're using an older version.
INSTRUCTION
Make sure you're using Omnirom build 20140324 or later. Download here. Flash the zip in CWM or TWRP recovery.
NOTES
To change CPU governor or min/max cpu frequency (i.e. over/underclocking), first disable MPDecision and enable Intelliplug using an app like Fauxclock or Trickster Mod. To over/underclock, use Omnirom's performance setting. Third-party apps might not work.
To use Gamma control, see this post: http://forum.xda-developers.com/showpost.php?p=45436325&postcount=3. Credits to alnikki25k.
.
SOURCE CODE
https://github.com/aidfarh/android_kernel_sony_apq8064/tree/rojak_kk
CREDITS
This kernel is based on Omnirom kernel for yuga. Various codes were copied from kernels by DoomLord, alnikki25k, maxwen and faux123. Thanks to all other kernel developers who's contributed codes to various linux and android kernels.
XDA:DevDB Information
Rojak Kernel for Yuga, Kernel for the Sony Xperia Z
Contributors
aidfarh
Kernel Special Features:
Version Information
Status: Stable
Created 2014-03-26
Last Updated 2014-11-05
Reserved
CHANGELOG
v1 (2014-03-25)
Gamma control
Sweep 2 Wake
Doubletap 2 wake
USB Fastcharge
CPU overclocking up to 1836 MHz
Intelli-Plug
Additional CPU governors - intellidemand, intelliactive
Additional I/O scheduler - bfq
v2 (2014-03-27)
Added sio and fiops I/O schedulers
Overclock GPU to 450 MHz
Include wlan firmware in kernel zip
v3 (2014-04-12)
Added voltage control
Added preservative CPU governor
Updated GPU drivers (copied from xzaosp kernel)
Added simple GPU governor
Kernel updated to Linux 3.4.86
Compiled using Linaro 4.7-2014.01 toolchain
Various optimisations (mostly cherry-picked from xzaosp kernel by alnikki25k) (see github for details)
Added sound control (doesn't seem to work)
v4 (2014-05-05)
Added sound control v3.2
Compiled using Linaro 4.8-2014.03 toolchain
Enabled some linaro optimisations
v5 (2014-11-05)
Synced with updated omnirom kernel source code
Compiled using Christopher83's 4.9.2-2014.09 toolchain
Added intellithermal (disabled by default; enable using Trickster Mod, Fauxclock or similar app)
Updated intelliplug to ver 3.8
Modified preservative governor for extra smoothness
Also see the notes in this post: http://forum.xda-developers.com/showpost.php?p=56506979&postcount=134
Congrats on your kernel, mate! Looks good, will try this
Will this work on ROM based on Omnirom like for example Dirty Unicorn...
Sent from my C6603 using Tapatalk
Vishalkris said:
Will this work on ROM based on Omnirom like for example Dirty Unicorn...
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
I honestly don't know. Please try and provide feedback.
K will do it
Sent from my C6603 using Tapatalk
Im wondering the same thing.Tell us when you test please.
FakeSmile said:
Im wondering the same thing.Tell us when you test please.
Click to expand...
Click to collapse
ok first im updating my rom DU...new test build then once booted in to the system will flash the kernel and update how things go...:angel:
---------- Post added at 02:40 AM ---------- Previous post was at 02:17 AM ----------
flashed the kernel on Dirty Unicorn Build 25...every things good...no graphic glitches like Meow Kernel...
Bugs:
1) WiFi doesn't work. @aidfarh it would be good if you provide a Wifi module zip file till u find a way to resolve the issue.
2) A little digestible lag... while scrolling list view in settings and i also while scrolling side wise in the app drawer...
Suggestions.
1) More CPU governors. i know will happen today or tomorrow
2) Release Wifi Modules till the kernel is compatible with omni based roms
3) GPU overclocking can be peaked a little more higher (meow kernel had achieved it 450Mhz u can look in to it)
4) Never leave devloping this kernel as its the first for Omni and we got limited choice when it comes to kernel based on aosp and cm
But still for this stage the kernel is "remarkably good". lots of high expectations from all the omni rom and omni rom based rom users
Keep up the good work
I can confirm that it perfectly working with aslyum rom latest..nothing find unusual.. Post it soon regarding the battery life..
Edit: wifi reception was lower than stock omini..
Sent from my C6603 using Tapatalk
Vishalkris said:
ok first im updating my rom DU...new test build then once booted in to the system will flash the kernel and update how things go...:angel:
---------- Post added at 02:40 AM ---------- Previous post was at 02:17 AM ----------
flashed the kernel on Dirty Unicorn Build 25...every things good...no graphic glitches like Meow Kernel...
Bugs:
1) WiFi doesn't work. @aidfarh it would be good if you provide a Wifi module zip file till u find a way to resolve the issue.
2) A little digestible lag... while scrolling list view in settings and i also while scrolling side wise in the app drawer...
Suggestions.
1) More CPU governors. i know will happen today or tomorrow
2) Release Wifi Modules till the kernel is compatible with omni based roms
3) GPU overclocking can be peaked a little more higher (meow kernel had achieved it 450Mhz u can look in to it)
4) Never leave devloping this kernel as its the first for Omni and we got limited choice when it comes to kernel based on aosp and cm
But still for this stage the kernel is "remarkably good". lots of high expectations from all the omni rom and omni rom based rom users
Keep up the good work
Click to expand...
Click to collapse
I expected that wifi might not work with other roms or older omnirom builds. The latest omnirom kernel has updated wlan drivers but it also need updated wlan firmware to work. Try flashing the attached zip that contains the updated wlan firmware and see if it works.
Lags are hard to quantify and hard to fix. Try other CPU governors or I/O schedulers and see if things improve.
What CPU governor to do you want?
GPU overclocking is planned, but I can't promise anything.
FINALLY!!!! When i sow the thread title i couldn't believe my eyes
Long time we are waiting for a kernel that support Roms that are not based on stock, specially when u bring to us Gamma control and fast charge pleasure.
So i want to say thank u aidfarh from all of my heart, and yes plz don't stop this, keep the development up as much as u can cuz we need u
(now i feel like i am a little girl who asking too much LOL).
I am about to flash PA today, will flash it and I'll try your kernel to see how it goes, and if it doesn't then i'll back to my favorite ROM Dirty Unicorns then i'll try again.
Thank U :victory:
works good in DU
Sent from my C6603 using Tapatalk
off-topic: hahaha ROJAK kernel. typical orang malaysia in naming mixed things!
back to topic, could you include FIOPS IO scheduler by faux123? According to faux, intellidemand/active works the best when combine with FIOPS scheduler.
kingrion88 said:
off-topic: hahaha ROJAK kernel. typical orang malaysia in naming mixed things!
back to topic, could you include FIOPS IO scheduler by faux123? According to faux, intellidemand/active works the best when combine with FIOPS scheduler.
Click to expand...
Click to collapse
Thanks for your suggestion. I'll take it under consideration.
Will this kernel work on Paranoid Android??
acutraaq said:
Will this kernel work on Paranoid Android??
Click to expand...
Click to collapse
Try the pacman kernel will work
Sent from my C6603 using Tapatalk
OK.. It's working on DU 15/03/2014 build, had no WIFI but after flashing wlan firmware the WiFi get fixed.
I don't have any random errors, FC's, Reboots, lags... everything is perfect.
One thing I've noticed is Gamma control, the sittings doesn't stick after reboot and i don't now if that is the same for fast charge or for the
o/u clocking.
Will keep testing...
Its working flawless on infected's omni build 0324. Hope u keep updating this Bad ass. No issues at all so far. Cant wait for the sound control! Thank you dude.
Gesendet von meinem C6603 mit Tapatalk
I need to buy the app to use gamma control,right?
FakeSmile said:
I need to buy the app to use gamma control,right?
Click to expand...
Click to collapse
Yes faux clock
Sent from my Xperia Z using Tapatalk

Lightning kernel cm11

Lightning kernel
this kernel is made for cyanogenmod 11 roms and i take no responsibility if you brick,destroy your device due to this kernel
features
sound control 3.2
gpu overclock to 627mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand,preservative,hyper,wheatley,lionheart governors
row,fiops,tripndroid io schedulers
undervolting
sweep to wake and double tap to wake
auto mpdecision (turn off stock qcom mpdecession)
sound stuttering fixed(zzz sound while hearing music)
Motorola MSM memcpy enhancements
cpu unallingnment access
kernel mode neon
exfat support
gpu voltage control
multi rom byOlivier (sony 233 blobs)
more to come
source code https://github.com/nikhil18/android_kernel_sony_apq8064
installation instructions
flash the zip in recovery
for extreme overclocking disable qcom mpdecision
Setting custom GPU Voltages via sysfs
NB:
- Safe lock is present on MIN/MAX values:
Quote:
#define GPU_MIN_VDD 900000
#define GPU_MAX_VDD 1200000
The default GPU voltages are:
Quote:
+ [VDD_DIG_NONE] = 0,
+ [VDD_DIG_LOW] = 975000,
+ [VDD_DIG_NOMINAL] = 1075000,
+ [VDD_DIG_HIGH] = 1175000
Verify the actual settings:
Quote:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
975000
1075000
1175000
Adjust to desired values and verify:
Quote:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
credits
doomlord for kernel building instructions
jeroenqui for meow kernel
thomas1991_12 for linux patches and features
cyanogenmod for kernel source
Tommy-Geenexus for guidance
faux123 - For almost all kernel features
Alx31TLse-for ramdisk
XDA:DevDB Information
Lightning kernel, Kernel for the Sony Xperia Tablet Z
Contributors
nikhil18
Kernel Special Features:
Version Information
Status: Testing
Created 2014-09-20
Last Updated 2014-09-20
changelog
version 1-initial release with all features
downloads
nikhil18 said:
changelog
version 1-initial release with all features
Click to expand...
Click to collapse
Awesome but which do I use for tablet z 312
cantenna said:
Awesome but which do I use for tablet z 312
Click to expand...
Click to collapse
pollux windy is wifi and pollux is wifi and 3g
.....
Does it also work on omnirom?also which app should we use to control cpu/gpu overclock?trickster mod or setcpu?
pangiotis24 said:
Does it also work on omnirom?also which app should we use to control cpu/gpu overclock?trickster mod or setcpu?
Click to expand...
Click to collapse
no it wont work on omni rom because its not cm based you can try carbon rom and use trickstermod kernel app available on playstore for cpu and gpu settings
gpu acceleration
Nog possible to use hardware acceleration in video. Used bsplayer and xbmc. Device resets. No overclock, just default settings. Pollux windy.
adoe said:
Nog possible to use hardware acceleration in video. Used bsplayer and xbmc. Device resets. No overclock, just default settings. Pollux windy.
Click to expand...
Click to collapse
Doesn't seem to work with multi rom, is it possible?
cantenna said:
Doesn't seem to work with multi rom, is it possible?
Click to expand...
Click to collapse
it should work because the kernel is multirom patched but only the twrp recovery is missing
if only CM have working GPS... daamn
Using this kernel the app animations lag a lot, also it seems like even though I'm forcing the min and max CPU clock to 1836mhz, It's still maxing out at the default 1.5ghz. Using the latest CM11 nightly on the pollux with a clean install. Any suggestions?
ok guys version 1 reuploaded the problem was the voltages which i did not change for the tabs and please use simple gpu governor because ondemand drains more battery.
Rootk1t said:
and what about interactive governor?
Click to expand...
Click to collapse
Could not find a proper commit for the governor but I had put one from nexus 4 but it did not work
nikhil18 said:
ok guys version 1 reuploaded the problem was the voltages which i did not change for the tabs and please use simple gpu governor because ondemand drains more battery.
Click to expand...
Click to collapse
and what about interactive governor?
I Love you OP! thanks for a custom kernel for my pollux windy will Try tomorrow
This is a really good kernel! Possible to make it compatible with aero control from play store? Cheers
cantenna said:
This is a really good kernel! Possible to make it compatible with aero control from play store? Cheers
Click to expand...
Click to collapse
It is compatible but trickster mod app is still better
Sent from my C6603 using XDA Premium HD app
Seems to be one of the best kernel
As title say, it's true. I installed this kernel o cm11.pollux10072014 and everything is just great. I was made my root with a help by xzdualrecovery. Put some mods as a beats 2.0 and voilà... Everything is a perfect. CPU is ticking on 1728 MHz with a governor INTERACTIVE and GPU is on 627 MHz and the governor is PERFORMANCE. I'm using 3c toolbox pro, formerly called Android Tuner to set all clocks, governors and build.prop and the stuff include OOM, SD Card boost, Entropy etc. etc. So now, I have in a new Antutu benchmark (5.1) score about 25500 points. So big thanks to the developer for this great kernel. Have a great time, Peter :good: :laugh:
nikhil18 said:
It is compatible but trickster mod app is still better
Sent from my C6603 using XDA Premium HD app
Click to expand...
Click to collapse
Any chance for an aosp kernel?
I find omnirom the smoothest rom for pollux_windy.
varben said:
Any chance for an aosp kernel?
I find omnirom the smoothest rom for pollux_windy.
Click to expand...
Click to collapse
No bro I need to make the kernel from scratch and I don't have time but I am going to make a kernel for omni ROM when lolipop comes out which will be also compatible with cm12

Categories

Resources