[AROMA][Stock Kernel 4.2/4.3/4.4] XzKernel-26 [LTS] - Xperia Z Original Android Development

Note!
v1 to v16.5 are for Android 4.2.2 Stock-based Sony ROMs only
v17 to v23.5 are for Android 4.3 Stock-based Sony ROMs only
v24 and onwards are for Android 4.4 Stock-based Sony ROMs only
Click to expand...
Click to collapse
Features
Gamma Control - HOW-TO
DoubleTap2Wake - HOW-TO
Sweep2Wake - HOW-TO
GPU Voltage Control - HOW-TO (Only v18.5 and below)
Advanced Xperia Recovery - HOW-TO (Only v23 and above)
Based on 10.4.1.B.0.101 kernel sources (for Android 4.3)
Based on 10.5.A.0.230 kernel sources (for Android 4.4)
Updated to Linux 3.4.10 kernel sources
CPU overclock upto 1.944 GHz (ONLY in v23 and below)
Undervolting
Built with Linaro 4.9.1 toolchain using -O2 optimisation
Updated Prima WLAN drivers to 3.2.7.47
Thermal control with custom thermal (Developed by me)
Interactive GPU governor
Uses CODEL NET Scheduler
Additional CPU governors - Preservative and SmartMAX
Tweaked SIO and added FIOPS, Zen, VR block schedulers
USB force fastcharge
Sound Control 2.0
Dynamic Clock scaling of SD-card and storage
MP-Decision by showp (For Android 4.3 and 4.4)
Additional Network Congestion protocols for better network performance
Updated Ondemand governor
Compressed kernel using XZ
Tweaked voltage regulators
Click to expand...
Click to collapse
Installation instructions (Simple)
Flash in CWM/TWRP and follow the AROMA instructions
By default, Advanced Xperia Recovery can be accessed by tapping the screen when the phone vibrates and the "Blue" LED pops up.
During the installation process, this behaviour can be changed.
Click to expand...
Click to collapse
Installation instructions
UNLOCK THE BOOTLOADER FIRST!
1 - Reboot to recovery
2 - Flash the Zip. You'll be presented with the AROMA installer
3 - Click next and continue the installation process
4 - Select Advanced Xperia Recovery for best compatibility
5 - Select the recovery you need
6 - Uninstall DualRecovery, if prompted
7 - Reboot
Click to expand...
Click to collapse
Un-Installation instructions
Use the AROMA installer to uninstall the kernel
Click to expand...
Click to collapse
Credits
Sony - I love what they do and only wish they got more recognition. They deserve it.
faux123 - For almost all kernel features including exFAT Open Source drivers
DoomLord - For the RAMDISK
Stratosk - For undervolting tweak
Championswimmer - Native D2Wake + FOTARecovery
Click to expand...
Click to collapse
Donors
@ItalDiamond2008
@Skypezero
@o0oP5
@Tommy-Geenexus
@-totonio-
@DarkStone82
@Kocayine
Click to expand...
Click to collapse
Source
Bitbucket
bitbucket.org
Click to expand...
Click to collapse
Don't like what you see?
Try my other kernel
XzInnere
Click to expand...
Click to collapse
XDA:DevDB Information
[Stock-Kernel] XzKernel-26 [Linaro-4.9.1], Kernel for the Sony Xperia Z
Contributors
alnikki25k, Tommy-Geenexus
Source Code: http://bitbucket.org/nikhiljan93/xzkernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 26
Stable Release Date: 2014-08-02
Beta Release Date: 2014-01-10
Created 2013-09-09
Last Updated 2015-04-28

Reserved
Follow this thread - Have updates delivered to your doorstep!
http://forum.xda-developers.com/devdb/project/?id=523&task=follow
Click to expand...
Click to collapse

Reserved
ONLY FOR v17.0 AND ABOVE
Gamma Control
{
"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"
}
Instructions for Gamma Control - More info
1. Download FauxKernel Enhancement from the play store
2. Adjust your desired color and gamma settings, then press the "apply color" button.
3. If you decided to change your GAMMA settings after you've already adjusted them, you will NEED to RESET by pressing the "reset gamma" button, then proceed to adjust your new gamma settings again!
Discuss Gamma Settings here
http://forum.xda-developers.com/showthread.php?t=2608559
Click to expand...
Click to collapse
Click to expand...
Click to collapse
ONLY FOR v16.0 AND BELOW
Intelli-thermal
v16.5 and above now uses a different method that is slightly more easier to implement
Trickster-MOD has been updated to include better control over intelli-thermal. Here are the recommended settings for a good thermal-performance balance
Click to expand...
Click to collapse
Explanation
Frequency Throttle Limit : This is the maximum temperature after which the frequencies are throttled
Core Offline Limit : This is the maximum temperature after which the CPU cores are turned off
Frequency throttling cores : The cores which are throttled after hitting the Frequency Throttle Limit
Offline cores : The cores which are turned off after hitting the Core Offline Limit
Click to expand...
Click to collapse
Example -above
Frequency Throttle Limit : 85 C
Core Offline Limit : 75
Frequency throttling cores : Cores 0 & 1 are throttled when they hit the thermal limit
Offline cores : Cores 2 & 3 are switched off when they hit the thermal limit
Click to expand...
Click to collapse

Changelog
Long-Term-TO-DO
XzK - Eventual
CM/AOSP support (NOT POSSIBLE, YET)
Click to expand...
Click to collapse
Next-Release-TO-DO
XzK - 27
Brightness Boost
Gamma Control through X-Kernel App
Click to expand...
Click to collapse
Current-Release
XzK - 26
Ondemand update from Xperia Z Ultra
Remove all hotplugs
Tweak Preservative CPU governor
Tweak Interactive GPU governor
Click to expand...
Click to collapse
Previous releases
XzK - 25
Revert back to 3.4.10
Replace MSM-MPDecision with AutoSMP hotplug
More debugging code removed
Lowered latency in SMP code
Added TripNDroid IO Scheduler - Now default
Interactive governor update from CAF
Fixed SuperSU issue
Enable Quad-Core statistics
Click to expand...
Click to collapse
XzK - 24
Update to KitKat sources - 230
Linux 3.4.93
Enable NEON-mode kernel resources
New AROMA options
Fixed Audio Stuttering Bug in KK
New exFAT driver
F2FS Support - New File System (Read More)
Click to expand...
Click to collapse
XzK - 23.5
Linux 3.4.92
Smaller recovery images
New thermal control
Replace Intelli-plug with MP-Decision (Experimental)
Remove many governors
Fixed camera reboot issue
Remove CPU Overclock
Updated Prima to 3.2.7.47
Fixed MAC-Address Issue (Thanks to @pabx)
Click to expand...
Click to collapse
XzK - 23
Intelliactive CPU governor
New! Advanced Xperia Recovery Bootloader
Linux 3.4.82
Fix USB Tethering
Better battery - Fixed Stamina Mode
Fixed exFAT Mounting
Click to expand...
Click to collapse
XzK - 22.5
Fixed WiFi
Fixed Touchscreen freeze
Click to expand...
Click to collapse
XzK - 22
Sony 10.4.1.B.0.101 sources
Linux 3.4.80
Enable Intelli-plug by default
Switch to Cortex-A15 2014 Linaro toolchain
More tap2wake fixes - Wake-up now uses evgen method
Added optimised BFQ v7r1 (IO-Scheduler) and set as default
Lots of unnecessary debugging removed to improve speed
Fixed FM Radio
Temporarily Disable Multi-ROM
Use XzDualRecovery and reduce kernel size
AROMA Installer
Fixed Reboot to Recovery
Click to expand...
Click to collapse
XzK - 21
Single version release with better Tap2Wake control
MultiROM Xperia for Xperia Z - http://www.youtube.com/watch?v=9f9gG1sRNog
- Initial implementation. Not functional. Just testing boot.
Linux 3.4.78
Interactive GPU governor
Remove Simple GPU governor
Click to expand...
Click to collapse
XzK - 20
Revert back to 4.3 Battery/Power-Supply Drivers and fix (Thanks pabx)
Updated Prima to 3.2.6.119 (CAF)
New Adreno Driver
Remove showp's MP-Decision
Ramdisk tweaks
Switched to recovery sources by [NUT]
Click to expand...
Click to collapse
XzK - 19.0
Sound Control 2.0 - Fixed
Wifi Deep Sleep - Fixed
Display Bug - Fixed
Updated Kernel to Linux 3.4.77
GPU Overclock - Removed
GPU Undervolting - Removed
Stable fix for exFAT-SD-Card mounting
Click to expand...
Click to collapse
XzK - 18.5
Completely fixed deep sleep issue(Sony better pay me for this )
Click to expand...
Click to collapse
XzK - 18.0
Bugfix! A mmc1_detect wakelock is causing a suspend_backoff (Partly Fixed in the next release)
Fixed Gamma control turning screen white
Fixed Gamma control not loading in Faux's App
Fixed "Snake Charmer" in FauxKernel App
Fix 'Data Usage' (Finally!)
Update kernel to Linux 3.4.76
Click to expand...
Click to collapse
XzK - 17.0
Android 4.3 compatibility
Gamma control ported
Snake charmer in FauxKernel Enhancement App
Fully replace intelli-thermal with Fransisco's Algorithm
Sony Stamina mode ported and updated from Sony Z1 sources
Click to expand...
Click to collapse
XzK - 16.5
Tweaked Interactive Governor - Much better Performance
Updated MP-Decision
Replaced intelli-thermal with Fransisco's thermal patch
Updated to 3.4.75
New Linux Power-Efficient Workqueues - Battery savings
Updated freezer settings - Better Deep Sleep
CPU-Boost is now back as "Touch-Boost": Integrated with interactive governor
Click to expand...
Click to collapse
XzK - 16.0
Remove CPU-Boost driver
Disable unnecessary debugging for better battery
Quieter kernel startup - Reduce kernel start-up time
Initial patches for "Project Optimus_Yuga"
- Kernel Trimming
- Disable Profiling
- Switch to automatic CGROUP Scheduler
- TCP Early Retransmit (Fully Backported from Linux 3.5)
- Remove stale power aware scheduling remnants
Click to expand...
Click to collapse
XzK - 15.0
Update intelli-demand + intelli-plug
Add CPU-Boost driver
Update to Linux 3.4.74 Kernel sources
Fix Screen Blanking
Fix CPU Overclock not sticking
TCP: network speed tweak
Click to expand...
Click to collapse
XzK - 14.0
Add GPU Voltage Control
Completely remove SIO+ entries
Update kernel to 3.4.73
- Much better deep sleep
- Improved performance
Add 1.89 and 1.94 GHz CPU overclock steps
Switched to Linaro 4.8.3 - December 05 Toolchain
Enable compiler optimizations specific to the Cortex-A15
Add new CPU governors
----abyssplug, abyssplug v2, adaptive, asswax, and wheatley
Upgrade interactive CPU governor to Google Kitkat sources
Moderately boost I/O
Click to expand...
Click to collapse
XzK - 13.0
Enhancements to stability
Support for serial-modem comm
Click to expand...
Click to collapse
XzK - 12.5
Update Intelli-plug hotplug governor
Re-work Ex-FAT code
Create a version without touch-wake
Patch touch-wake version to fix touchscreen freeze
Click to expand...
Click to collapse
XzK - 12.0
Update RAMDisk
Introduce additional CPU frequencies
Enhance Vibrator intensity
Lower initial display brightness at boot-time
Fix SLUB compatibility with Linaro 4.8 - Should be more efficient than SLAB
Optimisation and fixing to SLAB/SLUB/SLOB allocators
Much better deep sleep
Removed SIO+ scheduler
Fixed MAC Address Issue
Fixed USB-OTG
Click to expand...
Click to collapse
XzK - 11.0
Fix touchscreen freeze issue (Final)
ex-FAT mounting fixed (Thanks to @m0b for testing)
Click to expand...
Click to collapse
XzK - 10.0
Switched to Stock boot logo
Update linux to 3.4.63
Fix touch in CWM - Thanks to Phil!
Switched to MP-Decision in-kernel - Much better performance
Fix screen freezes
Updated SmartMAX governor
Switch to -O2 optimisation (-O3/Ofast broke inline functions)
Switch back to XZ compression to reduce kernel size
Free Up Some RAM
Click to expand...
Click to collapse
XzK - 9.0
Two-finger Sweep2Wake - HOW-TO
New Boot-Logo
CD-ROM emulation
Update CWM to Philz-Touch Advanced CWM - Touch Not Working yet
Update to 10.3.1.A.2.67 kernel sources
Click to expand...
Click to collapse
XzK - 8.0
Double Tap 2 Wake - HOW-TO
Updated TWRP - Thanks to monx
Switch default CPU frequency to 1.5 GHz
Click to expand...
Click to collapse
XzK - 7.2
Fixed Screen Flickering
Click to expand...
Click to collapse
XzK - 7.0
Speed up sync by 7-8x on busy file-systems - Back-ported from Linux 3.11
Suspend: Enable freeze timeout configuration through sysfs
GPU overclock removed.
Fix extra clocks reported in voltage table
Updated recoveries - Thanks @jeroenqui
Add Async-IO
Updated kernel to 3.4.62
Add support for architecture generated random numbers
Compiled with Linaro - September release GCC
Re-worked Gamma levels to be closer to stock, but still better than stock.
Click to expand...
Click to collapse
XzK - 6.0
Re-applied gamma/color tweak
Added additional CPU governor - Ondemandplus
Tweaked voltage regulators
Added CPU frequency limiter - This makes the overclock/underclock stick in all the cores
More efficient battery usage
Default maximum CPU frequency set to 1.7 GHz
Update kernel to 3.4.61 upstream
Removed in-kernel MP-Decision
Add randomness(RNG) from hardware sources
Click to expand...
Click to collapse
XzK - 4.5
Reverted gamma/color tweak
Fix black screen issue
Screen OFF CPU frequency regulation
Switched to motley's thermal control
Add exFAT open source module
Click to expand...
Click to collapse
XzK - 4.0
Re-based on XzK 2.0 for better battery and stability
Add CPU overclock upto 1836 MHz
Re-enabled MP-Decision for now
Disable dancedance governor
Screen-going-full-retard fixed
Better Deep Sleep
Disable ZRAM
Click to expand...
Click to collapse
XzK - 3.0
Introducing MP-Decision by showp
Unlocked additional Network Congestion protocols for better network performance
Updated Ondemand governor
Fixed issues with gaming
Added Intelli-demand governor
Added SIO+ IO-Scheduler
Compressed kernel using LZ4
Added GPU overclocking to 487 MHz (Might not stay at 487 for long)
RAMDISK tweaks
Click to expand...
Click to collapse
XzK - 2.0
Updated Prima WLAN drivers
Replaced thermal control with Intelli-thermal by Paul
Added Simple GPU governor
Uses CODEL NET Scheduler
New CPU governors - Smartmax, wheatley and dancedance(maybe unstable)
Tweaked SIO and added FIOPS and zen block schedulers
Added USB force fastcharge
Added Sound Control 3.0 by Paul
Added Dynamic Clock scaling of SD-card and storage.
Added ZRAM for Android
Added Intelli-plug hotplug governor
Tweaked Sharp panel's gamma - Let me know if this change is good or I should revert to stock
Click to expand...
Click to collapse
Developer Message
Also, I would highly appreciate any donations for my contribution in helping you enjoy your device better. I am currently hoping to a buy a developer tablet, but don't have the funds for it. So, you could consider buying the following donate app "XzKernel Configurator" from the play store to keep me going
https://play.google.com/store/apps/details?id=com.excelsior.coreguardian.cg
Click to expand...
Click to collapse
You could also use the ad-supported free app, here
http://forum.xda-developers.com/devdb/project/dl/?id=7608
Click to expand...
Click to collapse
Thank you!
Click to expand...
Click to collapse
Download
v26
With / Without Touch-Wake
XzK-v26 (Flashable Zip)
Click to expand...
Click to collapse
Previous releases
v25
With / Without Touch-Wake
XzK-v25 (Flashable Zip)
Click to expand...
Click to collapse
v24
With / Without Touch-Wake
XzK-v24 (Flashable Zip)
Click to expand...
Click to collapse
v23.5
With / Without Touch-Wake
XzK-v23.5 (Flashable Zip)
Click to expand...
Click to collapse
v23
With / Without Touch-Wake
XzK-v23 (Flashable Zip)
Click to expand...
Click to collapse
v22.5
With / Without Touch-Wake
XzK-v22.5 (Flashable Zip)
Click to expand...
Click to collapse
v22
With / Without Touch-Wake
XzK-v22 (Flashable Zip)
Click to expand...
Click to collapse
v21
With / Without Touch-Wake
XzK-v21 (Flashable Zip)
Click to expand...
Click to collapse
v20
With Touch-Wake
XzK-v20 (Flashable Zip)
Without Touch-Wake
XzK-v20 (Flashable Zip)
Click to expand...
Click to collapse
v19
With Touch-Wake
XzK-v19 (Flashable Zip)
Without Touch-Wake
XzK-v19 (Flashable Zip)
Click to expand...
Click to collapse
v18.5
With Touch-Wake
XzK-v18.5 (Flashable Zip)
Without Touch-Wake
XzK-v18.5 (Flashable Zip)
Click to expand...
Click to collapse
v18.0
With Touch-Wake
XzK-v18.0 (Flashable Zip)
Without Touch-Wake
XzK-v18.0 (Flashable Zip)
Click to expand...
Click to collapse
v17.0
With Touch-Wake
XzK-v17.0 (Flashable Zip)
Without Touch-Wake
XzK-v17.0 (Flashable Zip)
Click to expand...
Click to collapse
v16.5
With Touch-Wake
XzK-v16.5 (Flashable Zip)
Without Touch-Wake
XzK-v16.5 (Flashable Zip)
Click to expand...
Click to collapse
v16
With Touch-Wake
XzK-v16 (Flashable Zip)
Without Touch-Wake
XzK-v16 (Flashable Zip)
Click to expand...
Click to collapse
v15
With Touch-Wake
XzK-v15 (Flashable Zip)
Without Touch-Wake
XzK-v15 (Flashable Zip)
Click to expand...
Click to collapse
v14
With Touch-Wake
XzK-v14 (Flashable Zip)
Without Touch-Wake
XzK-v14 (Flashable Zip)
Click to expand...
Click to collapse
v13
With Touch-Wake
XzK-v13 (Flashable Zip)
Without Touch-Wake
XzK-v13 (Flashable Zip)
Click to expand...
Click to collapse
v12.5
With Touch-Wake
XzK-v12.5 (Flashable Zip)
Without Touch-Wake
XzK-v12.5 (Flashable Zip)
Click to expand...
Click to collapse
v12.0
XzK-v12.0 (Flashable Zip)
Click to expand...
Click to collapse
v11.0
XzK-v11.0 (Flashable Zip)
Click to expand...
Click to collapse
v10.0
XzK-v10.0 (Flashable Zip)
Click to expand...
Click to collapse

Advanced Xperia Recovery
What is Advanced Xperia Recovery?
This is a new method to boot into the recovery, bootloader or simply power off the phone. It is a modified binary of multirom.
Click to expand...
Click to collapse
How does it work?
During bootup, the system uses the FOTAKernel (which is useless for unlocked bootloaders). This partition contains the recovery that the user wants.
Advantages -
1 - All kernels that support the FOTA method can use a single recovery. Currently all CM/AOKP/PAC based kernels support FOTAKernel Recovery. Thus, even when you use another CM-based ROM, you can still retain the same recovery.
2 - Reboot to recovery from the ROM works perfectly without the need for any additional app or user interaction
3 - The kernel RAMDisk no longer contains the recovery, thus making it faster during kernel de-compression
Click to expand...
Click to collapse
How do I install it?
Just follow the instructions in the AROMA setup. Additionally, you can refer to this thread to learn more about FOTAKernel Recovery.
Thanks @championswimmer
Click to expand...
Click to collapse
How do I use it?
Initially, just tap on the screen when the phone boots up and the "Blue" LED comes up and the phone vibrates. While installing, you can configure whether you want to use the power-button or the volume keys or just use the touch-screen.
Click to expand...
Click to collapse
Remember! This is a single recovery solution as including multiple recoveries is not the aim of this project.
About CPU/GPU Voltage control
Setting custom CPU Voltages
The easiest method would be install Trickster Mod and perform the necessary changes.
Trickster Mod:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
Click to expand...
Click to collapse
Setting custom GPU Voltages via sysfs(Only for v18.5 and below)
NB:
- Safe lock is present on MIN/MAX values:
#define GPU_MIN_VDD 900000
#define GPU_MAX_VDD 1200000
Click to expand...
Click to collapse
The default GPU voltages are:
+ [VDD_DIG_NONE] = 0,
+ [VDD_DIG_LOW] = 945000,
+ [VDD_DIG_NOMINAL] = 1050000,
+ [VDD_DIG_HIGH] = 1150000
Click to expand...
Click to collapse
Verify the actual settings:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
Click to expand...
Click to collapse
945000
1050000
1150000
Adjust to desired values and verify:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
Click to expand...
Click to collapse

About DoubleTap2Wake/Sweep2Wake
If you want to toggle DoubleTap2Wake execute this command on your phone (adb shell or directly), you can also add it to an init.d script
To disable DoubleTap2Wake
echo "0" > /sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
To enable DoubleTap2Wake
echo "1" > /sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
Video:
Click to expand...
Click to collapse
If you want to toggle Sweep2Wake execute this command on your phone (adb shell or directly), you can also add it to an init.d script
To disable Sweep2Wake
echo "0" > /sys/android_touch/sweep2wake
Click to expand...
Click to collapse
To enable Sweep2Wake
echo "1" > /sys/android_touch/sweep2wake
Click to expand...
Click to collapse
Video:
Click to expand...
Click to collapse
OR
Use Trickster MOD
Note: Sweep2Sleep is not supported by this kernel (atleast for now). You can only wake the device up.

Locked bootloader or ub only?
Sent from my C6603 using xda premium

tuancanlc94 said:
Locked bootloader or ub only?
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
You cannot flash a custom kernel on a locked bootloader, unfortunately.

alnikki25k said:
You cannot flash a custom kernel on a locked bootloader, unfortunately.
Click to expand...
Click to collapse
the OP said it was stock kernel o.o

Nice to see a new Kernel
Is it possible to create an own Kernellogo?

spazzy1912 said:
the OP said it was stock kernel o.o
Click to expand...
Click to collapse
Maybe he meant FOR STOCK firmware, not that it is stock kernel... it should mean something that this thread is in original android dev

spazzy1912 said:
the OP said it was stock kernel o.o
Click to expand...
Click to collapse
Yes it did. But you cannot flash a custom stock kernel even for a stock firmware without unlocking your bootloader. The locked bootloader will reject my custom kernel as it is not signed by Sony.
Sent from my C6603

Is this kernel have recovery cwm or twrp??

radekg7 said:
Is this kernel have recovery cwm or twrp??
Click to expand...
Click to collapse
Both. Press Volume Up for CWM and Volume Down for TWRP

Nice to see a new stock kernel, looking forward to seeing what features you can implement on this, hopefully will be as good as cyanX
Sent from my C6603 using xda app-developers app

Testing..

If no one is interested, I might as well close this thread.
If anyone is still willing to try, I have a bunch of updates pushed to my git sources, which I will release as 2.0 only if necessary.
Sent from my C6603

alnikki25k said:
If no one is interested, I might as well close this thread.
If anyone is still willing to try, I have a bunch of updates pushed to my git sources, which I will release as 2.0 only if necessary.
Sent from my C6603
Click to expand...
Click to collapse
well I tried it out and it worked well , but I went back to Doomkernel. Not because yours wasnt good , i think doomkernel was just more frequently updated and had more features like fast charge etc . But i do love your work with cyanX roms and all.

Will try it later and report back with some feedback.
Gesendet von meinem C6603 mit Tapatalk 4

Pls. keep on improving your work...
alnikki25k said:
If no one is interested, I might as well close this thread.
If anyone is still willing to try, I have a bunch of updates pushed to my git sources, which I will release as 2.0 only if necessary.
Sent from my C6603
Click to expand...
Click to collapse
It's nice to have several alternatives (kernels) to choose from! Your kernel works fine and I've been waiting for the next release to test it again.
Keep up the good work, my friend! :good:

Related

[KERNEL] SG-NS-ICS - 29-02-2012 - 11UV|Voodoo|BIGMEM|BLN|BLD|BLX|TW|3.0.22

SG-NS-ICS Kernel​
Here is what's included in the kernel:
Tweaks:
- Boot @ 1.1Ghz Overclock (Bus 220MHZ)
- 1320 Mhz overclock
- Undervolted to maximize battery life
- Kernel updated to 3.0.22 (new)
- Cold colors
- Cpuidle backport from 3.2 Kernel
- Ext4 and IO tweak backports from 3.2 Kernel
- CIFS Module built-in
- init.d support
- USB On the GO! Build5
- Wifi PM_FAST for faster screen off download speed and compatibility
- Increased refresh rate --> ** Only in HIGH_HZ version **
Governors:
- Ondemand
- Conservative - Default
- Performance
- Lazy
- Smartassv2
- Lulzactivev2
IO Schedulers:
- CFQ - Default
- Noop
- Deadline (tweaked for flash devices)
- VR
- Simple IO
Mods:
- Voodoo Sound V10
- BIGMEM for more available memory
- Backlight Notification
- Backlight Dimmer
- Battery Life Extender
- TouchWake
- Custom voltage
Rules and FAQs
Read before downloading
(Note: I don't wanna be rude, I just want to keep this thread clean...)​
Q: What settings do you recommend? What governor? What IO Scheduler?
A: I recommend the default settings. This is why it there by default!
Click to expand...
Click to collapse
Q: My phone as rebooted on its own or is stuck on a reboot loop.
A: There are 3 reason why your phone may reboot on its own:
1. Your phone does not handle the Undervolt of the kernel
Flash the stock voltage add-on. (NO I will not make the kernel with stock voltage by default)​
2. Your phone cannot handle the Overclock of the kernel
Use another kernel, Sorry...​
3. There is a bug in the kernel and I should fix it:
Post the /proc/last_kmsg output as a ZIP in the thread. BUT, before posting make sure the last_kmsg contains the mention "Kernel panic", if not, don't bother posting this because your problem is related to point 1 or 2...​A kernel Panic looks like this:
Code:
[ 4079.850240] Kernel panic - not syncing: Fatal exception
[ 4079.850307] Backtrace:
[ 4079.850504] [] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
[ 4079.850568] r7:00000005 r6:d6b3a600 r5:c0707990 r4:c0741068
[ 4079.850905] [] (dump_stack+0x0/0x1c) from [] (panic+0x7c/0x1a8)
[ 4079.851022] [] (panic+0x0/0x1a8) from [] (die+0x1a4/0x1d8)
Click to expand...
Click to collapse
Q: Why did you remove feature X?
A: Because I think it sucks
* This is my personal opinion and I am allowed to have it
Click to expand...
Click to collapse
Q: Can you add feature X?
A: Depends. Before asking that question, check the changelog.
If it was removed, NO.
* If you have a really good reason why you think a feature should come back from the dead, you can defend your case by PM.
If it's a new feature that I may not know about, just let me know of the feature and I'll consider it.
If its a new shinny CPU governor or IO scheduler, NO the ones that will remain do the job perfectly...
Click to expand...
Click to collapse
Q: What does feature X do?
A: Please try Google or Wikipedia before asking this. The answer is at the tip of your finger tips
Click to expand...
Click to collapse
Downloads​Stable Kernels:
SG-NS-ICS_27022012.zip
SG-NS-ICS_27022012_HIGH_HZ.zip
SlimSG_08032012_FS.zip (FileSync Enabled - Safer)
SlimSG_09032012_NoFS.zip (FileSync Disabled - Faster)
Experimental:
* None *
Kernel Add-ons: **Flash in CWM after the kernel.
SG-NS-ICS_StockVoltageMod.zip (new)
SG-init.d-installer
Old kernels:
SlimSG_29022012.zip
SG-NS-ICS_05022012.zip
SG-NS-ICS_05022012_HIGH_HZ.zip
SG-NS-ICS_31012012.zip
SG-NS-ICS_31012012_HIGH_HZ.zip
SG-NS-ICS_14012012.zip
SG-NS-ICS_14012012_HIGH_HZ.zip
SG-NS-ICS_17012012.zip
SG-NS-ICS_17012012_HIGH_HZ.zip
Apps:
Manage this kernel with NSTOOLS. Thx arifhn!
To get USB-OTG working you need USB Host Controller app installed. Thx sztupy!
Thanks to ezekeel, supercurio, morfic, franciscofranco, sztupy, reddv1 and koush which made this kernel possible.
kernel source
Change log:
SlimSG_09032012_NoFS.zip
- Removed FileSync (Faster IO)
- Kernel 3.0.23
- Bring back UV
SlimSG_08032012_FS.zip
- Enabled FileSync (Safer IO)
- Kernel 3.0.23
- Bring back UV
SlimSG_29022012.zip
- Release Slim version of SG kernel. This version is whatever setting I'm running at the moment and everything else removed...
SG-NS-ICS_27022012.zip and SG-NS-ICS_27022012_HIGH_HZ.zip
- Kernel Update to 3.0.22
- Fixed SmartassV2 Sysfs Interface
- Fix in Custom Voltage
SG-NS-ICS_05022012.zip and SG-NS-ICS_05022012_HIGH_HZ.zip
- Kernel Update to 3.0.19
- Use PM_FAST power saving method for WIFI to get Higher throughput and better compatibility.
SG-NS-ICS_31012012.zip and SG-NS-ICS_31012012_HIGH_HZ.zip
- Removed useless Governors
- Removed useless IO Scheduler
- Tuned down conservative and ondemand for better battery life
- Kernel upgrade to 3.0.18
- Updated USB-OTG to Build5
SG-NS-ICS_24012012-NoFSYNC.zip and SG-NS-ICS_24012012_HIGH_HZ-NoFSYNC.zip
- Added V(r) IO Scheduler
- Tweaked deadline IO for flash devices
- Tweaked conservative governor
- IO backport from 3.2
- ext4 backport from 3.2
- ext4 tweaks
- optimized sha1, memcopy, string libs
- TCP tweaks
- Added USB-OTG
- and more ...
SG-NS-ICS_17012012.zip and SG-NS-ICS_17012012_HIGH_HZ.zip
- New CPU Governors: Lagfree, MinMax, Smartassv2, InteractiveX and Lulzactivev2
New Add-on 17012012
- Change boot script to use stock voltage instead of Undervolt. *Requires busybox to be installed
SG-NS-ICS_14012012.zip and SG-NS-ICS_14012012_HIGH_HZ.zip
- Removed GPU OC since it doesn't do anything
- Made init.d support built-in
* Note: You need to have busybox installed for init.d to work. Look for the busbox installer app in the market.
New Add-on 13012012
- Adds init.d support to the kernel
SG-NS-ICS_12012012.zip and SG-NS-ICS_12012012_alternate.zip
- Kernel 3.0.17
- Experimenting with GPU Overclock (now at 250Mhz instead of 200Mhz)
SG-NS-ICS_11012012_alternate.zip
- Include increased refresh rate
- Should have more washed out colors
SG-NS-ICS_11012012.zip
- Back to cold colors
- Remove increase refresh rate, cause colors to look washed out
- Still has the 1320 Mhz
SG-NS-ICS_10012012.zip
- Added Test Voodoo color with green flicker fix
- Added 1320Mhz overclock
SG-NS-ICS_09012012.zip
- Updated kernel to 3.0.16
- Added Cpuidle backport from 3.2 kernel
SG-NS-ICS_06012012.zip
- Remove readahead because it was causing slow down in the UI
- Adjusted OnDemand governor to make it snappier
- Fix to cpufreq to make it more statble
- Added Simple IO scheduler
- Made colors 8500K instead of 6500K
** Note: This kernel is a lot faster than previous ones
SG-NS-ICS_04012012.zip
- BLN
- BLD
- BLX
- TouchWake
- Custom Voltage
- CIFS
- Adjusted Ondemand governor default values
SG-NS-ICS_03012012.zip
** Initial Release **
- 1.1Ghz Overclock
- UV
- Lazy governor
- BFQ v3r1 IO Scheduler
- Voodoo Sound V10
- BIGMEM
- Kernel 3.0.15
- 65 FPS
- 1024K Memory Readahead
Yeah, thank you. Will try it! Love your kernel!
fleischbanane said:
Yeah, thank you. Will try it! Love your kernel!
Click to expand...
Click to collapse
There is definitely still work to be done and room for improvement but it does work.
steve.garon said:
Decided to start a new thread for my ICS 11UV Kernel.
Here is what's included for now:
- Boots @ 1.1Ghz Overclock
- Undervolted to maximize battery life
- Lazy governor
- Added BFQ v3r1 IO Scheduler
- Added Voodoo Sound V10
- BIGMEM for more available memory
- Kernel updated to 3.0.15
- Increased refresh rate
- Increased Memory readahead
Stable Kernels:
** Not tested enough...
Experimental:
SG-NS-ICS-03012012.zip
Thanks to supercurio, morfic, ezkeel and koush which made this kernel possible.
kernel source
Click to expand...
Click to collapse
thanks steve
I'll give it a try and report everything I can find. What's about BLN, BLD and BLX?
Welcome back, SG!
I'm flashing
Sent from my Nexus S using XDA App
fleischbanane said:
I'll give it a try and report everything I can find. What's about BLN, BLD and BLX?
Click to expand...
Click to collapse
Not there yet. Next release I guess...
No voodoo color, nice not good yet on ICS
Sent from my Nexus S using XDA App
Backlight MODs next?
Sent from my Nexus S using XDA App
phone_user said:
Backlight MODs next?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
It there anyone who's fixed the backlight autobrightness yet?
steve.garon said:
It there anyone who's fixed the backlight autobrightness yet?
Click to expand...
Click to collapse
Eek, I mean BLD, BLN, TW etc
Never mind
Sent from my Nexus S using XDA App
@1.1GHz bus/GPU 220MHz?
Sent from my Nexus S using XDA App
phone_user said:
Eek, I mean BLD, BLN, TW etc
Never mind
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
yes!
nexusphone said:
@1.1GHz bus/GPU 220MHz?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
and yes!
Good! init.d next version?
Thanks
Sent from my Nexus S using XDA App
How about using Lucid's custom color, cuz Voodoo color not yet stable on ICS?
Thanks for release
http://forum.xda-developers.com/showpost.php?p=20593750&postcount=385
On ICS, LiveOC & Deep_Idle causing "reboot while calling" and will not fixed for many weeks
GLaDOS thread
At SG kernel's 1.1GHz, bus/GPU +10%, 220 MHz! The only kernel presenting the users with smoothness just now and for the time being.
Thanks, Steve
OP Updated.
Code:
SG-NS-ICS_04012012.zip
- BLN
- BLD
- BLX
- TouchWake
- Custom Voltage
- CIFS
- Adjusted Ondemand governor default values
steve.garon said:
OP Updated.
Code:
SG-NS-ICS_04012012.zip
- BLN
- BLD
- BLX
- TouchWake
- Custom Voltage
- CIFS
- Adjusted Ondemand governor default values
Click to expand...
Click to collapse
Thanks for update with the necessary MODs
Initial Release, battery GOOD!!!
---------- Post added at 01:36 PM ---------- Previous post was at 12:52 PM ----------
Kernel_SG-ICS-20120104_init.d.zip
init.d support MOD
Battery efficiency GooD!
Sent from my Nexus S using XDA App

[KERNEL][CM12/CM11/AOSP] Donkey Kang Kernel - V3.8 (FINAL - discontinued)

for Moto G
Smooth, power efficient and featured
supporting CM11, CM12 and AOSP Roms
Hotplug Drivers:
- Modified Aero_Hotplug (default)
- Faux's Intelliplug
- MpDecision
Custom Features:
- CPU Underclock
- GPU underclock/overclock
- Default CPU Govs tweaked and optimized
- Add Intelliplug/Intellidemand (tweaked)
- Added SmartAssFalcon (tweaked)
- Added IntelliMinMax (tweaked)
- LCD Kcal Control
- DoubleTap2Wake / Sweep2Wake
- USB Fast Charge
- LCD Notify / PowerSuspend V1.5
- Faux's IntelliThermal V2
- Faux's Sound Control
- Power Efficient WorkQueues
- Added BFQ/SIO/FIOPS/ZEN/VR IO Schedulers
- Ultra Kernel Samepage Merging
- Extra ram free (reduced loggers)
- Kexec patched (only CM12 version)
Optimizations:
- Updated to last CM11/CM12 developement
- Built with Linaro 4.9.3 / Gcc 4.9 (ArmV7 optimized) - Sabermod 4.8.4
- Performance & Energywise flags systemwide (+O2/+O3)
- TCP optimizations (faster locks, balanced power comsumption)
- Heavily tweaked and optimized workqueues
- Sched powersave and performance tweaks
- Kgsl & CpuFreq & Futex optimizations
- Compression & Crypto optimized
- Better ramdomness implementations
- Fixed SimpleOndemand GpuFreq governor
- Added Faux's implementation to msm_cpufreq GpuGov
- Much more (check my git source for further info)
Thanks to:
- Cyanogenmod team, AOSP and Motorola Mobillity LLC, dhacker, savoca, alberto76, yoshishapow, faux123, NeoBuddy, Blechd0se, Quarkx, Klozz, anerik, Shivam Kuchhal, Yank555.lu, Pinkflozd, and so many other great devs (sorry if I'm missing anyone)
DISCLAIMER: Your warranty is now void. I am not responsible for bricked devices, or any other damage you may produce. Read carefully and make sure you know what you are doing. Remember, YOU are choosing to make these modifications, so you responsible for the results. AND PLEASE; AS THIS IS ONLY FOR CM12/CM11/AOSP[/U] BASED ROMS. DO NOT FLASH IT ON STOCK/GPE.
Community 'Niceness' common ground:
- Don't ask for ETAs, remember... patience is a virtue.
- If you got some bug or problem to report, be nice, clear and try to provide evidence I can work with (logcats, etc.)
- If you don't know how to do that, check this link: https://plus.google.com/u/0/+PaulReioux/posts/BcWrhEr1JCz
- If you need some help on how to behave among other XDA people, you can check this too, LOL:
http://www.xda-developers.com/androi...m-user-xda-tv/
XDA:DevDB Information
Donkey Kang Kernel, KERNEL for Moto G
Contributors
fermasia
Source Code
ROM OS Version: 4.4.x KitKat / 5.x Lollipop
Version Information
Status: Beta
Created 2014-11-15
Last Updated 2015-1-10​
RELEASES: (developement of this kernel has been discontinued,
and I'll be giving no support for this kernel anymore!!)
THIS LITTLE FILE YOU ARE DOWNLOADING, TOOK A BIG EFFORT.
SO PLEASE, IF YOU APPRECIATE MY WORK, HIT THE THANKS BUTTON) :good:
Version 3.8 - CM12/Aosp Lollipop - [03/01/15]
Version 3.8 - CM11/Aosp KITKAT - [03/01/15]
Version 3.7 - CM12/Aosp Lollipop - [31/12/14]
Version 3.6 - CM12/Aosp Lollipop - [27/12/14]
Version 3.5 - CM12/Aosp Lollipop - [20/12/14]
Version 3.2 - CM12/Aosp Lollipop - [16/12/14]
Version 3 (beta - CM12)
Version 3 (alpha3 - CM12)
Version 3 (alpha - CM12)
Version 2 (beta - CM11/Aosp KitKat)
Version 1.1 - Regular ZIP (CM11/Aosp KitKat)
Version 1.0 - AnyKernel ZIP (CM11/Aosp KitKat) / http://d-h.st/SnK
How to Install
- Boot into recovery (tested on TWRP, should work fine on CWM/Philz)
- Wipe Cache and Dalvik
- Flash .zip
- Reboot & enjoy
CHANGELOGS:
Version 3.8 - KitKat
- Kitkat support resumed, including all features from the CM12 version, except for kexec patches.
Version 3.8 - CM12
- Kexec Hardboot patches applied (multirom compatible)
Version 3.7 - CM12
- Reverted power efficiency patches that were causing SODs
Version 3.6 - CM12
- Sorted out Interactive Gov getting stuck on max freq
- Re-tweaked Aero-Hotplug and IntelliMM tunables
- Applied some battery saving patches
- Built with Sabermod 4.8.4 and back to 02 flags.
Version 3.5 - CM12
- Added Double Tap 2 Wake and Sweep 2 Wake (testing) - disabled by default
- Added USB fast charge (testing)
- Added IntelliMinMax governor and adapted/retweaked it for our device
- Added Intelithermal V2 - enabled by default
- Combined LCD Notify and PowerSuspend (when pwsusp is disabled Lcd Notify will operate)
- CPU underclock
- GPU underclock and overclock
- Various sched, lowmemorykiller and workqueues optimiations
- Built with Linaro 4.9.3, and own optimization flags
- Governors optimized and re-tweaked
- More battery saving and stability optimizations
Version 3.2 - CM12
- Solved random-reboots (as far as I've tested, you might get ocassional problems when toggling the hotplug driver).
- Added Faux's Intelliplug and IntelliActive/Demand governors.
- Now the hotplug drivers are toggleable (mpdecision/aero_hotplug/intelliplug) - Aero_Hotplug is located in userspace (!) in Faux's Control App, or if using Trickstermod, Aero-Hotplug will be active if Intelliplug (and mpdecision, of course) are disabled.
- Default combo: AeroHotplug + Ondemand gov
- Better compression optimizations.
- Samepage merging enabled by default.
Version 3 - beta
- Switched from MyFluxi's hotplug driver to Aero_Hotplug (thanks to @Blechd0se and @Quarx)
- Adpated and tweaked hotplug driver
- Readded powersuspend, bumped to v1.5 and optimized settings.
- IOsched power saving optimizations
- Dumped Intellidemand, Intelliactive, OndemandPlus and Weathley governors (for now)
- Added SmartAssFalcon governor (thanks to @YoshiShaPow)
- CPU Min Freq set to 192000 (again)
- Picked some commits to make the kernel fully compatible with Alberto76's build (to be tested)
- Reworqued workqueues even more, following blechd0ses's implementation for aero_hotplug and added more tweaks
- Added LZ4 kernel compression to fasten bootup process
Version 3 - alpha 3
- Added powersuspend (for now) - got to enable it through any kernel tweaker, thought.
- IOsched optimizations
- Applied several fixes for diff. mem leaks
- Added crypto optimizations
- Added GPU overclock (to be set in any kernel tweaker)
- Min CPU freq set to 192000
- Power efficient workqueues
- Added Faux's sound control support
- Randomness and cpu-freq optimizations (optimized interactive and ondemand governors)
- TCP performance and stability tweaks
- Much more!
Version 3 - alpha
- Based on the official CM12 source (rebuilt from scratch).
- Compiled with Linaro 4.9.2
- Added msm-hotplug (alongside mpdecision, can be toggled)
- Defaulted to 1 cpu and 300000 freq while lcd is off.
- Added LCD Notify
- Optimized GPU / SimpleOndemand GPU gov working with msm-hotplug (not mpdecision)
- Added more IO schedulers
- Added LCD KCAL
- TCP and other various optimizations
Version 2
- Added MSM Hotplug by default - huge thanks to @savoca for his Titan sources and help
- Simple Ondemand GPU governor working fine (no reboots)
- CPU freq lower limit 192000
- GPU max freq 533mhz
- Optimized CPU governors for msm-hotplug
- Optimized workqueues management
- LCD Notify
- Ramdisk tweaks
- A really big bunch of optimizations and fixes to make hotplug more efficient
Version 1.1
- Dropped AnyKernel template.
- Added some ramdisk tweaks and defaults.
Waiting fa tha linkz
OldYellowBricks said:
Waiting fa tha linkz
Click to expand...
Click to collapse
Have just posted the link, check the second post. :good:
Does this kernel have f2fs support??
Sent from my Moto G using XDA Free mobile app
Is the function home2 wake available on your kernel?
You didn't mention which variant it's for.
Does it work on XT1033 with networks?
Sent from my Moto G using XDA Premium 4 mobile app
syrkles said:
Does this kernel have f2fs support??
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
Yes.
Mchasard said:
Is the function home2 wake available on your kernel?
Click to expand...
Click to collapse
If you mean dt2w, no, it's stated in the op.
KDB223 said:
You didn't mention which variant it's for.
Does it work on XT1033 with networks?
Sent from my Moto G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
As it's based on CM11 it should support all variants CM support, so yes, it should.
But as I own an xt1032 I haven't tested, and I'm not familiar with any 1033 specific bugs the CM11 base has.
I'd appreciate your feedback, please.
fermasia said:
As it's based on CM11 it should support all variants CM support, so yes, it should.
But as I own an xt1032 I haven't tested, and I'm not familiar with any 1033 specific bugs the CM11 base has.
I'd appreciate your feedback, please.
Click to expand...
Click to collapse
Okay then. I'll try it out and report.
Sent from my Moto G using XDA Premium 4 mobile app
wifi not turning on. Logs are here:
runnning CrDroid which is CM11 based build date I guess circa 10-29 (which is the latest build for this ROM)
camera and bluetooth is running fine
View attachment 2014-11-09_13.31.zip
OldYellowBricks said:
wifi not turning on. Logs are here:
runnning CrDroid which is CM11 based build date I guess circa 10-29 (which is the latest build for this ROM)
camera and bluetooth is running fine
View attachment 3006288
Click to expand...
Click to collapse
I'm on Crdroid aswell and I'm connected without problems. Try to reboot (or reflash!). So far no problems with the kernel, everything ok! Thank you very much for your work buddy, keep it up
Feyerabend said:
I'm on Crdroid aswell and I'm connected without problems. Try to reboot (or reflash!). So far no problems with the kernel, everything ok! Thank you very much for your work buddy, keep it up
Click to expand...
Click to collapse
gonna try a clean flash of CrDroid and I'll get back in 10 mins I guess okay?
Working great on liquidsmooth milestone. Thanks for the solid work Dev.
Sent from my Moto G using XDA Free mobile app
OldYellowBricks said:
wifi not turning on. Logs are here:
runnning CrDroid which is CM11 based build date I guess circa 10-29 (which is the latest build for this ROM)
camera and bluetooth is running fine
View attachment 3006288
Click to expand...
Click to collapse
Feyerabend said:
I'm on Crdroid aswell and I'm connected without problems. Try to reboot (or reflash!). So far no problems with the kernel, everything ok! Thank you very much for your work buddy, keep it up
Click to expand...
Click to collapse
First, THANKS (I'm gonna cry) for reporting your problem with a logcat and dmesg - lol.
It doesn't look like kernel related, and since Feyerabend got it working, it mustn't be. Try with a fresh & clean install (specially if you've been flashing other kernels, or stuff).
Feyerabend said:
I'm on Crdroid aswell and I'm connected without problems. Try to reboot (or reflash!). So far no problems with the kernel, everything ok! Thank you very much for your work buddy, keep it up
Click to expand...
Click to collapse
Man I tried a clean flash and wifi still doesn't turn on haha. Wonder what's causing the problem (for me at least)
(by clean flash I mean clean for new rom via philz, and flashing crdroid, after that flashing the kernel, and then rebooting)
Just flashed it, EVERYTHING works beautifully - WiFi, camera, network - EVERYTHING.
Thanks a lot Mr. Dev
EDIT : On an (unconverted) XT1033
Sent from my Moto G using XDA Premium 4 mobile app
fermasia said:
First, THANKS (I'm gonna cry) for reporting your problem with a logcat and dmesg - lol.
It doesn't look like kernel related, and since Feyerabend got it working, it mustn't be. Try with a fresh & clean install (specially if you've been flashing other kernels, or stuff).
Click to expand...
Click to collapse
Man I tried a clean flash and wifi still doesn't turn on haha. Wonder what's causing the problem (for me at least)
(by clean flash I mean clean for new rom via philz, and flashing crdroid, after that flashing the kernel, and then rebooting)

[MM-KERNEL][UC][F2FS] Project T for MM [STOCK ROM ONLY]

Hello again,
This is my work on the stock Marshmallow Kernel for Zenfone 2, based on the officially released ZF2 kernel source code.
Please note that I do my testing on a ZE551ML 4GB 2,3GHz
Note: This kernel works ONLY on stock based versions!​
Features:
Based on Zenfone 2 V4.21.40.184 kernel source (completely from scratch)
Built with gcc4.9 toolchain
UC to 333MHz
Touchboost input event handler
Added the following CPU governors:
- Lionheart
- Bioshock
- Yankactive
- TheSSJactive (Yankactive with hotplugging)
Added IO schedulers:
- sio
- zen
- vr
- fifo
- sioplus (credits to @boype, fixed afterwards for zf2 by me)
- fiops
- working ROW scheduler!!!
- deadline
Added TCP congestion algorithms:
-BIC
-CUBIC
-WESTWOOD
-HSTCP
-HYBLA
-HTCP
-VEGAS
-VENO
-SCALABLE
-LP
-YEAH
-ILLINOIS
Approx. 30% faster due to CRC disabling and auditing
Power efficient Work queues
Powersuspend
Dynamic FSync
Set minimum brightness to 2 instead of 15 percent (changeable via kernel adiutor, please set it to 1 there, otherwise your screen is pretty much black)
exfat support (no fuse, all credits to @Dorimanx, automounting of devices fixed by @sorg)
Sweep2Sleep (all credits to Lord Boeffla)
frandom RNG
F2FS support
ZRAM
WLAN Wakelock reducer
More to come:
Init.d
If I should find the time also:
BLX
A separate KVM build
Compiling with another Toolchain
How to install:
1st pre-requisite: Unlock your Bootloader
2nd pre-requisite: Use the stock Marshmallow ROM ;-)
3rd pre-requisite: BACKUP!!!
Download the flashable anykernel zip here:
Drive
Flash it via TWRP and reboot. The Anykernel zip preserves whatever modification you already have (xposed, root,...) and just replaces the needed parts :good:
Credits:
@jrior001, @crpalmer, @jamison904, @tectas, @dorimanx, @Lord Boeflla, @say99​
XDA:DevDB Information
[MM-KERNEL][UC][F2FS] Project T for MM [STOCK ROM ONLY], Kernel for the Asus ZenFone 2
Contributors
TheSSJ
Source Code: https://github.com/TheSSJ/zf2_mmkernel
Kernel Special Features: F2FS, more governors, underclocked, more IO schedulers, westwood TCP cong
Version Information
Status: Stable
Current Stable Version: 1.5
Stable Release Date: 2016-11-25
Created 2016-09-09
Last Updated 2016-12-08
Reserved
Changelog:
25-11-2016 v1.5
- Updated to latest kernel version from Asus Website (.184)
23-09-2016 v1.4
- backlight is configurable again (super simple patch)
- Mechanism to avoid entropy depleting (aka generating random numbers as needed)
20-09-2016 v1.3
- set brightness to the minimum possible before the screen goes off
- restrict user space apps to modify the min_brightness node, Kernel adiutor cannot mess around anymore with it
- increase speed of mathematical operations
18-09-2016 v1.2
- Fixed deep sleep issue and camera problems
18-09-2016 v1.0 & 1.1
- Implemented WLAN wakelock divider (configurable in KA)
- Enabled Deadline IO scheduler
- Increased performance by approx. 30% (according to the rumors)
- GPU: Set default frequency to 266MHz
- Should automount cache and data depending if ext4 or f2fs
17-09-2016 v0.6
- Enabled video driver of z008, should work now
- Built-in wireless driver instead of a module
- Fixed urgent request handling in row scheduler
- set ROW as default IO sched
Older releases:
16-09-2016 v0.5
- Failed build while trying to reduce modules to 0
13-09-2016 v0.4
- Updated to latest ASUS source code (V4.21.40.134)
- Added configurable LED blink rate (check Kernel Adiutor! Thanks to @crpalmer for the implementation and @say99 for pulling this to the source)
- Dynamic FSync turned on by default
- Updated Powersuspend driver to 1.7
- Increased readahead for memory handling (this has nothing to do with reading from int./ext. storage)
- Updated Block-system to support urgent request handling (pre-requisite to get the ROW scheduler working)
- Added working row IO scheduler
12-09-2016 v0.3
- power efficient work queues
- added quick wakeup driver (improves deep sleep)
- under the hood Improvements
11-09-2016 v0.2
- added powersuspend driver
- added dynamic fsync
- working Anykernel zip system!
09-09-2016 v0.1
Initial build flashable with Anykernel system
- UC
- More governors
- More IOSchedulers
- F2FS
- exFAT support
- Sweep2Sleep
- Touchboost working for Thessjactive and Yankactive
Reserved
Any bugs? Tell me about your current phone setup and describe the problem!
Project T, reborn! It's incredible to see this project alive agan!
@TheSSJ, about F2FS: it supports mixed setups (F2FS /data and ext4 /system and /cache) or only F2FS-all setups?
I love you
---------- Post added at 10:50 AM ---------- Previous post was at 09:59 AM ----------
@TheSSJ
For some reason, after flashing, the kernel does not install.
I reboot to twrp, dirty flash WW134 ROM, flash supersu, flash xposed, flash twrp and flash this kernel. Wipe cache and d.cache.
Reboot and it stock kernel.
I tried 2nd time. Flash kernel in twrp and it still stock kernel.
@TheSSJ
My friend @TheSSJ
Thanks for your kernel.....
I flashed it , but when i reboot, my kernel is stock... Flash again and same stock kernel.
Regards!!
Carlos6862 said:
My friend @TheSSJ
Thanks for your kernel.....
I flashed it , but when i reboot, my kernel is stock... Flash again and same stock kernel.
Regards!!
Click to expand...
Click to collapse
Same issue here
Good job:good:
Z008 support???
Carlos6862 said:
My friend @TheSSJ
Thanks for your kernel.....
I flashed it , but when i reboot, my kernel is stock... Flash again and same stock kernel.
Regards!!
Click to expand...
Click to collapse
same here. I was on borets kernel, and it keeps.
Thats bad..will look into it later to see what went wrong...thx for the feedback
wow great
Cool it everyone, I think it's just a misunderstanding
I have uploaded a flashable zip for now as Anykernel doesn't work as I want it to work ^^
At the moment this can be only flashed by people
WITH root and
WITHOUT xposed
After flashing the kernel, then you can re-flash xposed, this should work then
TheSSJ said:
Cool it everyone, I think it's just a misunderstanding
I have uploaded a flashable zip for now as Anykernel doesn't work as I want it to work ^^
At the moment this can be only flashed by people
WITH root and
WITHOUT xposed
After flashing the kernel, then you can re-flash xposed, this should work then
Click to expand...
Click to collapse
Thanks! downloading...
EDIT:
After flashing the kernel the system became unbootable. It boots into recovery after "reboot system".
Dan_Jacques said:
Thanks! downloading...
EDIT:
After flashing the kernel the system became unbootable. It boots into recovery after "reboot system".
Click to expand...
Click to collapse
Okay, did you have xposed installed? Could you please try to remove xposed and just flash the kernel without it? This Anykernel thing seems to be the only available option...
TheSSJ said:
Okay, did you have xposed installed? Could you please try to remove xposed and just flash the kernel without it? This Anykernel thing seems to be the only available option...
Click to expand...
Click to collapse
My friend @TheSSJ
my phone boot up with your great kernel......First, I did a wipe cache and dalvik and then flash your kernel. Thanks again!!
Regards!!!
Carlos6862 said:
My friend @TheSSJ
my phone boot up with your great kernel......First, I did a wipe cache and dalvik and then flash your kernel. Thanks again!!
Regards!!!
Click to expand...
Click to collapse
Hello. Do you have xposed?
Thanks in advance.
---------- Post added at 08:07 AM ---------- Previous post was at 08:06 AM ----------
TheSSJ said:
Cool it everyone, I think it's just a misunderstanding
I have uploaded a flashable zip for now as Anykernel doesn't work as I want it to work ^^
At the moment this can be only flashed by people
WITH root and
WITHOUT xposed
After flashing the kernel, then you can re-flash xposed, this should work then
Click to expand...
Click to collapse
Ok cool down.
Thanks master. Let me try.
Tiongkia said:
Hello. Do you have xposed?
Thanks in advance.
---------- Post added at 08:07 AM ---------- Previous post was at 08:06 AM ----------
Ok cool down.
Thanks master. Let me try.
Click to expand...
Click to collapse
No my friend @Tiongkia! Without xposed.
I lost it, when flash the kernel.
Regards!! ? ?
Carlos6862 said:
No my friend @Tiongkia! Without xposed.
I lost it, when flash the kernel.
Regards!! �� ��
Click to expand...
Click to collapse
Yes, i tired. Same results. Xposed don't work.
Thanks buddy
TheSSJ said:
Okay, did you have xposed installed? Could you please try to remove xposed and just flash the kernel without it? This Anykernel thing seems to be the only available option...
Click to expand...
Click to collapse
do we have a plan to break xposed?? [emoji14]
anyways I will try looking into any kernel, since I really prefer it over doing mess with ramdisk [emoji14]
Sent from my ASUS_Z00A using Tapatalk
say99 said:
do we have a plan to break xposed?? [emoji14]
anyways I will try looking into any kernel, since I really prefer it over doing mess with ramdisk [emoji14]
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
Maybe I'm being paid to break xposed
I just need to take the time to see where the script goes wrong (by the way,I took your anykernel as base :laugh: )
Will test it line by line on my linux machine today :good:

[KERNEL] [LOS 14.1][EAS] Nagatobimaru [26 September]-EOL

DISCLAIMER
I will not be held responsible for anything that happens to your device after flashing this kernel. If you don't know how to bring your dead device back to life please don't make any modifications and stay with stock MIUI. This is only meant for advanced users.
Features :
-Compiled with UBER 6.4.1 TC-
-CPU/GPU O.C-
-Voltage Control-
-Savoca KCAL-
-schedutil Cpu Gov-
-FIOPS I/O-
-Chacha20 CRNG-
-Adreno Idler-
-Sound Contol-
-Slimbus O.C for better sound quality-
-Vibration Control Intensity-
-ExFat/NTFS Support-
-Toggleable Software CRC-
-TCP congestion Algorithms-
-Misc Changes-
-Spectrum support-
Installation:
-Boot Into Recovery-
-Flash Kernel-
-Flash EAS Patch-
-Wipe Cache and Dalvik (Optional)-
-Reboot!-
all EAS users should use this EAS Supported ROM , i won't accept any bug report on any other rom.
Download :
https://www.mediafire.com/folder/2eahxx74oq3wv/Nagatobimaru
--------------------------------------------------------------------------------------------------------------------------------------
Credits:
@eng.stk @flar2 @ak @franciscofranco @The Flash @frap129 @osm0sis
--------------------------------------------------------------------------------------------------------------------------------------
Contributors:
MEGAX91
Changelog :
v1.6 :
-updated Wlan Driver
-updated sound control
-updated thermal driver
-updated cpuidle driver
-updated F2FS driver
-memory management improvements
-upstream updates
-bug fixes
v1.5 :
-Merge Last CAF branch LA.UM.5.5.r1-05800-8x96.0
-Updated Wlan Driver
-added Tripndroid I/O Scheduler
-added cpu-boost (optimized for EAS)
-removed CPU OC
-removed voltage control
-removed qpnp-fg family wakeup sources
-Blocked lot of kernel wakelocks
-updated EXT4 driver
-lot of upstream changes
-Bug Fixes
v1.4 :
-Bluetooth: Properly check L2CAP config option output buffer length (CVE-2017-1000251 / BlueBorne fix)
-added Binder changes from O
-Increased max readahead
-removed FP wakelocks ( on kernel side ) like : qbt_wake_source / captouch_ttw_wl
-added 710MHz GPU OC
-reduced memory latency
-Fixed Bluetooth issues
-Fixed overflows on wlan driver
-Fixed issues on Thermal driver
-Bug Fix
v1.3.1:
-Bug Fix
v1.3:
-added SafetyNet Fix
-I/O latency improvement
-hwmon fixes
-Updated F2FS
-Fixed direct references to HZ
-Updated PM/devfreq
-Bug Fixes
v1.2:
-Updated binder
-Updated cfq I/O
-Bug fix
v1.1:
-Fixed Sound issue.
-added Flar2 sound Control
-Bug Fix
v1.0 :
initial release
don't dirty Flash my kernel on any other custom kernel , if you are coming from another custom kernel , first flash your Rom's stock kernel through Fastboot , then Flash my kernel.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
never post problems without full details of what setup you are using, it's not possible to help that way.
Provide me some logs:
- ADB logcat dump
- /sys/fs/pstore contents
- dmesg dump
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if you think your battery life is not good enough , use betterbatterystats and find the battery drain causes..
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if you use CPU O.C steps and your device experiencing random reboot while its on standby mode , it means your CPU can't take it. The 821 Lite is a maxed out 820 , No more room for CPU OC.
Dev. Can you make kernel for miui 9? Of course if you want and have time?
kael2404 said:
Dev. Can you make kernel for miui 9? Of course if you want and have time?
Click to expand...
Click to collapse
will make a MiUi build as soon as i find some free time.
Does it work with Nougat bootloader?
jigs4wkiller said:
Does it work with Nougat bootloader?
Click to expand...
Click to collapse
yes.
what's the difference between this and guyver kernel?
skyline91 said:
what's the difference between this and guyver kernel?
Click to expand...
Click to collapse
Guyver is HMP
Nagatobimaru is EAS
Have some problem with earphone: sound distortions.
On it kernel, on Guyver kernel. AICP-rom, firmware 7.8.22
How to fix? What logs needed?
It default oc to 2.3 GHz?
---------- Post added at 09:35 AM ---------- Previous post was at 08:59 AM ----------
I've got twice reboot when pluging usb to PC.
LikvidatorMax said:
Have some problem with earphone: sound distortions.
On it kernel, on Guyver kernel. AICP-rom, firmware 7.8.22
How to fix? What logs needed?
Click to expand...
Click to collapse
what kind of sound distortion ?
use syslog and take log ( kernel log & Maine log )
357662149 said:
It default oc to 2.3 GHz?
I've got twice reboot when pluging usb to PC.
Click to expand...
Click to collapse
No , kernel don't use OC CPU steps by default.
No such issue here.
send me your /sys/fs/pstore contents after random reboot.
emm..voltage control
zjy2200656 said:
emm..voltage control
Click to expand...
Click to collapse
it does have voltage control ! use Kernel Adiutor
MEGAX91 said:
what kind of sound distortion ?
use syslog and take log ( kernel log & Maine log )
.
Click to expand...
Click to collapse
Hard to describe. After play 30 second normal sound. After that 30second some distortion. Distortion like sizzle, like cable tv when it lost signal.
Then return to normal sound.
Hope it will help
https://drive.google.com/open?id=0B-Qc1XzHUKGbSF9pY2pjdkp1NzA
Do this kernel support mm bootloader cause i tried it on aospex f2fs just stuck on mi logo for 5 minutes so i assumed it failed.
its work epic rom 7.7.20 ?(miui8)
mszain said:
Do this kernel support mm bootloader cause i tried it on aospex f2fs just stuck on mi logo for 5 minutes so i assumed it failed.
Click to expand...
Click to collapse
never tried it on MM bootloader , why woluld you use MM bootloader , while kernel is compatible with N bootloader?!
taylan08 said:
its work epic rom 7.7.20 ?(miui8)
Click to expand...
Click to collapse
No!
AFAIK system changes are needed to properly support an EAS enabled kernel and without them you won't see the power saving benefits.
MEGAX91 said:
never tried it on MM bootloader , why woluld you use MM bootloader , while kernel is compatible with N bootloader?!
Click to expand...
Click to collapse
i tried guyver 2.3 and it also stuck in mi logo, well i guess its time to update to n bootloader

[07/01/2018][KERNEL][UberTC][EMUI 4.0.X] SimpleKernel v4.1

SimpleKernel - a custom kernel for hi6210sft devices.​
Changelog:
Code:
v1.0
-Updated Linux kernel version to 3.10.107
-Added ROW and DEADLINE I/O Shedulers.
-Fixed GPU performance, thanks [user=6152035]@Kostyan_nsk[/user]
-Added Governors:
*PMC, credit goes to [user=7354786]@XePeleato[/user]
*Smartmax, credit goes to [user=7354786]@XePeleato[/user]
*Interactive
*Conservative
*Ondemand
*Powersave
-Added CPU hotplugging (ThunderPlug), credit goes to [user=7354786]@XePeleato[/user]
-Added init.d support
v2.1 (published as v2-beta)
-Removed features that slowed down cpu
-Added Zen and Fiops ioshedulers
-Added Bioshock governor
-Compiled with UberTC
-Fixed Multitasking
-Fixed ZRAM issues
v2.2
-Added ASMP hotplugging driver
-Added PMC and smartmax governors again
-Added wheatley governor
-Added fingerprint boost driver
-Added some other performance tweaks
v2.3
-Added again Intelliplug and Thunderplug (Both updated)
-Some other performance tweaks
-Compiled with newest version of UberTC
v3.0
-Added BFQ iosheduler
-Added Maple iosheduler
-Added lazyplug hotplugging driver
-Added blu_active cpu governor
-Use lz4 zram compression instead of lzo (lz4 is a lot faster than lzo)
-Added frandom driver
-Added fsync toogle (disabling can result very high increase of ux performance)
-Added Gentle Fair Sleepers toogle
-Added Arch power toogle
-Added new TCP congression algoritms:
-bic
-westwood
-highspeed
-hybla
-htcp
-vegas
-veno
-scalable
-lp
-yeah
-illinois
v4.0
-Linux 3.10.108
-Added uKSM (a bit buggy for now, will be fixed soon)
-ext4 fs patches
-Updated lz4 compression driver (lz4 from 3.0 is used as zram main compressor)
-Added pegasusq governor
-Added sioplus ioshed
-Added CRC_ARM64
-And a lot of performance/battery/stability patches :D
v4.1
Changelog:
-Disabled UKSM
-Added zzmoove governor
-Set westwood as default tcp
-Improved interactive governor
-Added GPU governors: (MAY BE UNSTABLE! See: /sys/devices/gpufreq/devfreq/gpufreq/available_governors )
-userspace
-powersave
-simple_ondemand
-pm_qos (stock kernel default, it was already here)
-Fixed bug related to gpu frequency "indicator", now cur_freq != 0 (see: /sys/devices/gpufreq/devfreq/gpufreq/cur_freq)
Installation:
Code:
1. Reboot to recovery
2. Click install then install image button
3. Find downloaded image and click on it
4. Select partition you want to flash in this case boot
5. Flash it by swiping this thing :D
NOTE: Remember to make backup! You can also flash it using fastboot.
Downloads:
SimpleKernel Github
Credits:
@kosmitchak
@XePeleato
@Kostyan_nsk
Source code:
https://github.com/kosmitchak/simplekernel_hi6210sft
FAQ
Comming soon
reserved
(No jak tam somsiedzie, dalej na stockowym kernelu?)
Does it require wipe?
Gwozdem said:
Does it require wipe?
Click to expand...
Click to collapse
nope, just dont flash it on custom rom
co ty kosmitchak jak ty nokie 3310 masz???????????????????
Aourek said:
co ty kosmitchak jak ty nokie 3310 masz???????????????????
Click to expand...
Click to collapse
Yes, working on Nokia 3310,download twrp 0.0.1.3 and flash it. Kurvvy logic. Btw, shouldn't be in original Android development?
What are the bugs?
SethEtherald234 said:
What are the bugs?
Click to expand...
Click to collapse
SIM is detected after 10 sec, that's it.
Some benchmark results, please?
Thanks
XTutorials said:
Some benchmark results, please?
Thanks
Click to expand...
Click to collapse
3d: 2.850 ram 4.150 cpu and ux is depending on user.
I've lost ROOT after flashing this Kernel. Had to root my phone again through TWRP and flashing those 1 and 2 files again.
Had after that a small bootloop but after 3rd attempt it booted normal. Still, being blocked 10s on unlocking sim card is scary sometimes ))
FlyingMeme said:
The ****?
Click to expand...
Click to collapse
WTF
FlyingMeme said:
Exactly xd
Click to expand...
Click to collapse
Its emui 4.0 not 4.1 right?
kosmitchak said:
Its emui 4.0 not 4.1 right?
Click to expand...
Click to collapse
He has b610
Will this rom be able to run on Y6II?
SethEtherald234 said:
Will this rom be able to run on Y6II?
Click to expand...
Click to collapse
I flasheer it on a rom cam and I brickeo the device
SethEtherald234 said:
Will this rom be able to run on Y6II?
Click to expand...
Click to collapse
Look thread name, it's clearly stated that you need EMUI 4.0 not 4.1. Maybe later I will make version for emui 4.1. 4.0 Kernels won't boot on 4.1 probably because different baseband.
FlyingMeme said:
4.0 B610
Click to expand...
Click to collapse
It's happening after installation of kernel? Veeeeeery strange.
SethEtherald234 said:
Will this rom be able to run on Y6II?
Click to expand...
Click to collapse
You can install the P8 Lite B610, then you can flash this kernel.
eEnzo0 said:
I've lost ROOT after flashing this Kernel. Had to root my phone again through TWRP and flashing those 1 and 2 files again.
Had after that a small bootloop but after 3rd attempt it booted normal. Still, being blocked 10s on unlocking sim card is scary sometimes ))
Click to expand...
Click to collapse
Root modifies the Kernel. If you change it, root is gone. To root again, you can just flash the latest SuperSU or Magisk zip. You don't need those 2 root files. To fix the 10 second wait, you could disable SIM PIN.

Categories

Resources