(CM ALL_IN_ONE) ViRus kernel for Samsung Galaxy S4 (i9500) - Galaxy S 4 i9500 Android Development

STABLE version
Hello there..
This is my first kernel. It is still on alpha level and I'm working very hard on it.. :good:
Some working features are as under and soon I'll add more feature.
As it is on alpha version there is chance to have bugs so if you find any please report it in bug section..
[*]- Cpu Voltage Control
[*]- Linux kernel version update to 3.4.5
[*]- Cpu Underclock (not now)
[*]- fix little bit heating problem
[*]- add memory hotplug
[*]- Built with Uber 4.9
[*]- Working IR
[*]- Cpu governor zzmoove,alucard,pegasusq
[*]- flag o3
[*]- KSM
[*]- vibration control
[*]- charging tweak
[*]- SELINUX disabled
[*]- Hotplug
[*]- custom gpu dvfs
[*]- gpu overclock to 700mhz
[*]- f2fs support
[*]- modify MIF voltage control
[*]- modify INT voltage control
[*]- compression xz
Click to expand...
Click to collapse
No random reboot
Best Battery life
If you like my work don't say that, click on thanks button :good:
Hy guys If u like my work then help me for buy mobile data plan to keep me working like that I need to good Internet connection so Keep me online by some fund.
XDA:DevDB Information
ViRus, Kernel for the Samsung Galaxy S4
Contributors
vishal thakar, dhaval2904, emre3461, asad007
Source Code: https://www.dropbox.com/s/xlejzu3r8qwese4/ViRus_kernel.7z?dl=0
Kernel Special Features:
Version Information
Status: Stable
Created 2016-04-03
Last Updated 2016-09-23

changelog
NOTE:- GEAR CM RECOVERY recommended, otherwise you face problems.
-Clean kernel app data when you flash new kernel
-clean catch partition
flash all in one kernel over stock kernel
DOWNLOAD
KERNEL :- https://www.mediafire.com/download/787yb183t362yh2
Synapses:- https://www.mediafire.com/download/x8l5j57dgmm12eg
Tweak:- https://www.mediafire.com/download/x0c4ml9ne7u2qgf
OLD DETAIL
Code:
for new RR 5.7.0 follow this step:-
Su:-
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxZExzdVVlVnVFNnc/view?usp=docslist_api[/URL]
Kernel:-
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxdVYwdHNnaHg3QVU/view?usp=docslist_api[/URL]
Follow this step
1. Flash su.zip and reboot to system
2. Open setting app and wait for su promote and after promote provide su grant
3. Open super su (in setting ) and update su script
4. Now reboot to recovery and flash kernel and reboot
100% work tested by @[URL="http://forum.xda-developers.com/member.php?u=6044543"]vishal thakar[/URL] and @[URL="http://forum.xda-developers.com/member.php?u=5907474"]kingdevil731[/URL]
download link:-
=》 all in one kernel for all cm base rom (cm 12,12.1, 13, RR, mokee, cm Chinese )
synapses work only in cm13 and cm 12.1 if u r already in ViRus kernel. if u want synapse then flash virus black edition v7 then flash all in one kernel
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxWkE2ZDVKNHdQdFU/view?usp=docslist_api[/URL]
- also flash this file for tweak (after flashing this open synapse and click on right symbol)
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxa0t6UVNIa0RUYzA/view?usp=docslist_api[/URL]
=>MM:-
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxcFhxc3pkdE9RUE0/view?usp=docslist_api[/URL]
=>LL:-
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxN01ycV9vWkFlUlU/view?usp=docslist_api[/URL]
Chinese cm 12.1=>
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxZFNhOXRua2k3ak0/view?usp=docslist_api[/URL]
=>MOKEE LL
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxM09uRU9LZGR2ak0/view?usp=docslist_api[/URL]
=>ViRus_script_config:-
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxNk1FdDBtMFdFaWc/view?usp=docslist_api[/URL]
=>Fix official cm12.1 wifi (thanks to @[URL="http://forum.xda-developers.com/member.php?u=6043425"]melekbarca[/URL] ):-
[URL]https://drive.google.com/file/d/0ByZzA_jcaXIxUVVPX2ZlMGFkbTg/view?usp=docslist_api[/URL]
Changelog
Code:
ALL_IN_ONE_!
*new project
*working in all rom (cm base)
*synapses in all rom
*add tweak
[B][COLOR=Red]flash 3 files KEREL SYNAPSES TWEAK[/COLOR][/B]
black edition ll 6
*fix reboot
*wake lock reduce
*many more don't remember
black edition mm/ll 5.1
*deadline i/o improve for performance
*fix rendom reboot
*remove uc and oc of cpu
*synapse update
Black edition MM 5
*improve performance
*patch to kernel lz compration
*lock screen patch
*reduce wake lock
*many more
Black edition MM/LL 4
*fast charge
*improve performance
Black edition 3
MM/LL/mokee
* selinux disable
* fix random reboot and bootloop
* wakelock patch
* hotplug customisation in synapses
* synapses tweaks
* add power manager app
* start support to LL mokee rom
* many more tweak don't remember.
Black edition LL/MM v 2
* add governor
* add i/o
* remove some synapse tab
* active offline charge (switch off charge)
* synapse tweak
Black edition LL/MM v1
* selinux permissive
* synapses uci support
* custom synapses mod app inbuilt
* init.d support
* set gpu 350mhz
* increase earpiece speaker volume
* add gpu voltage control
* led control
* disable L2_hsic
* many more don't remember
Note- run this command in terminal
su
chmod 755 /system/etc/init.d/virus
LL/MM Stable v4
*Gpu overclock to 700 mhz (default 532mhz)
*increase performance of memcopy and memmove
*enable disable hotplug (using script)
*Gpu dvfs tweaks
LL/MM Stable v3:-
*add memory hotplug
*charging tweaks
*remove unwanted stuff
*fix little bit heating problem.
*Improve overall performance without effect on battery.
Stable LL 2.1:-
*fix wifi
Stable LL / MM 2:-
*fix hotplug
*improve performance
*now start ViRus kernel support to LL ;)
1.Take backup of system , data , boot
2.I m not responsible if something wrong with you.
3.feedback for LL version because I'm on cm13
Stable v1
*fix cpu voltage control
*use o3 flag
*modify INT voltage control
*modify MIF voltage control
Test v5
*Add governor
-alucard
-pegasusq
*gpu tweak
*increase microphone range
*update kernel 3.4.5
Test v4
*add custom gpu dvfs
*cpu ARCH tweak
*cpu ideal power tweak
*charging tweak
*display tweak
*many more
-clean kernel app data
test v3
*add Cpu Voltage Control
*fix random reboot for RR rom
*improve performance
*tweaks in zzmove governor (use profile 5 for battery
and profile 11for balance)
*default governor ondemand (for got to set zzmove to
default)
*if you use xprivacy then uninstall for batter's
performance (cm bug)
test v2.1
*add zzmoove Governor
*add zzmoove hotplug
*compression xz
*performance and battery improve
*fix hardware's button (now disable hardware button when enable on screen nav bar)
test v2
* change toolchain (now uber 4.9.4)
* modified kernel source (same as stock kernel)
* kernel Compression LMZA
*currently hotplug disable (fix in next version)
* and many more changes
test v1.2
fix camera blue tint
improve performance
add camera tweaks

Details for zzmoove
=>DETAILS FOR ZZMOOVE
(Q)how to change profile?
open kernel control app (kernel adiutor)
cpu > cpu governor tunables > profile_number (0 to 11)
=>profile details
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (1)'def' -> Default -> will set governor defaults -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (2)'ybat -> Yank Battery -> a very good battery/performance balanced setting -
* - DEV-NOTE: highly recommended! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (4)'zzbat' -> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving -
* - DEV-NOTE: might give some lags! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (5)'zzbatp' -> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting -
* - DEV-NOTE: recommended too! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (6)'zzopt' -> ZaneZam Optimized -> balanced setting with no focus in any direction -
* - DEV-NOTE: relict from back in the days, even though some people still like it! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (7)'zzmod' -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (8)'zzperf' -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast -
* - down scaling/hotplugging behaving -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (9)'zzinz' -> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (10)'zzgame' -> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (11)'zzrelax'-> ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings -
* ------------------------------------------------------------------------------------------------------------------------------------------

vishal thakar said:
XDA:DevDB Information
ViRus, Kernel for the Samsung Galaxy S 4
Contributors
vishal thakar, @asad007 @Dhaval2904 @my laptop[emoji14]Kernel Special Features: - Cpu Voltaqe Control - Cpu Underclock -
Version Information
Status: Testing
Created 2016-04-03
Last Updated 2016-04-03
Click to expand...
Click to collapse
For i9500?
Sent from my GT-I9500 using XDA-Developers mobile app

ridershahmir said:
For i9500?
Sent from my GT-I9500 using XDA-Developers mobile app
Click to expand...
Click to collapse
yes

Nice! Some more development for our device.
Bro, can I request something! Can you make a kernel for 5.1 chinese CM for I9500. It's a perfect ROM but only lacks a kernel with CPU Voltage control to reduce the heating and make the IR blaster work.
If you can just make a kernel that supports voltage control, many many users can benefit from it. Please try.
Here is the link to the ROM. :-
http://forum.xda-developers.com/galaxy-s4/general/rom-cyanogenmod-12-1-t3313812

vishal thakar said:
yes
Click to expand...
Click to collapse
Is it ready for flashing? expecting bugs.
Sent from my GT-I9500 using XDA-Developers mobile app
---------- Post added at 09:04 AM ---------- Previous post was at 08:51 AM ----------
What are the features?
Sent from my GT-I9500 using XDA-Developers mobile app
---------- Post added at 09:36 AM ---------- Previous post was at 09:04 AM ----------
vishal thakar said:
test version 1
cpu governor ondemand-sec
tick on disable HW overlays in developer options for fix camera and video color
XDA:DevDB Information
ViRus, Kernel for the Samsung Galaxy S 4
Contributors
vishal thakar, @asad007, @Dhaval2904, @my laptop[emoji14]Kernel Special Features: - Cpu Voltaqe Control - Cpu Underclock - working IR
Version Information
Status: Testing
Created 2016-04-03
Last Updated 2016-04-03
Click to expand...
Click to collapse
Flashing is successful but actually it isn't installing
Sent from my GT-I9500 using XDA-Developers mobile app

ridershahmir said:
Is it ready for flashing? expecting bugs.
Sent from my GT-I9500 using XDA-Developers mobile app
---------- Post added at 09:04 AM ---------- Previous post was at 08:51 AM ----------
What are the features?
Sent from my GT-I9500 using XDA-Developers mobile app
---------- Post added at 09:36 AM ---------- Previous post was at 09:04 AM ----------
Flashing is successful but actually it isn't installing
Sent from my GT-I9500 using XDA-Developers mobile app
Click to expand...
Click to collapse
now its fix

Im now testing your kernel and will give feedback after few days

cm 13 for i9500 ? if you mean gearcm you cant use the camera so its becoming useless :/

brokendreams23 said:
cm 13 for i9500 ? if you mean gearcm you cant use the camera so its becoming useless :/
Click to expand...
Click to collapse
camera working fine for me in gearcm13

i used a few camera other stock one but still doesnt work :S

brokendreams23 said:
i used a few camera other stock one but still doesnt work :S
Click to expand...
Click to collapse
Maybe that is problem with the rom you are using . Try using this rom http://forum.xda-developers.com/galaxy-s4/general/i9500-resurrection-remix-5-6-4-t3345407 . It was a fixed version of RR (MM) . Stock and third party camera all working fine with me even after flashed the kernel.

husseinholmes said:
Maybe that is problem with the rom you are using . Try using this rom http://forum.xda-developers.com/galaxy-s4/general/i9500-resurrection-remix-5-6-4-t3345407 . It was a fixed version of RR (MM) . Stock and third party camera all working fine with me even after flashed the kernel.
Click to expand...
Click to collapse
I'll try the suggested rom the kernel. I hope to go great. Overheating is under control?
Enviado desde mi GT-I9500 mediante Tapatalk

I don't know why, but the OP is less informative. Features?
Sent from my ASUS_Z00A using XDA Labs

updated to v1.2

krasCGQ said:
I don't know why, but the OP is less informative. Features?
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Yes...
I will update as soon as possible.

joshua764 said:
I'll try the suggested rom the kernel. I hope to go great. Overheating is under control?
Enviado desde mi GT-I9500 mediante Tapatalk
Click to expand...
Click to collapse
Its depending on your task
Under clock your cpu to 800mhz and reduce cpu voltage to 50-70

joshua764 said:
I'll try the suggested rom the kernel. I hope to go great. Overheating is under control?
Enviado desde mi GT-I9500 mediante Tapatalk
Click to expand...
Click to collapse
Yes is it under control when using sabermod kernel or virus kernel and set cpu max 500 and min 250 ( depend to you if you want to set it on 800 it also ok) but heat issue depending on your usage too , if you are playing games like COC then , it heat up . With normal usage mostly i get 55°C to 60°C on my S4 .

vishal thakar said:
Its depending on your task
Under clock your cpu to 800mhz and reduce cpu voltage to 50-70
Click to expand...
Click to collapse
husseinholmes said:
Yes is it under control when using sabermod kernel or virus kernel and set cpu max 500 and min 250 ( depend to you if you want to set it on 800 it also ok) but heat issue depending on your usage too , if you are playing games like COC then , it heat up . With normal usage mostly i get 55°C to 60°C on my S4 .
Click to expand...
Click to collapse
Is it actually useful to undervolt the cpu?
Sent from my GT-I9500 using XDA-Developers mobile app

Related

[KERNEL] AngsaKernel [Synapse][20150121]

Hello guys, this is my first contribution to Redmi 1S and here I presented AngsaKernel. I think this kernel only works with CM11 R15 (or later) for Redmi 1S.
Code:
/*
* Your warranty is now void. Lol, not really. This is Xiaomi.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features:
- Compiled with Linaro 4.7.4 for better performance
- Modified ion reserve to allow user using more RAM (861MB -> 877MB)
- Added Intellidemand, Conservative, wheatley, ondemandplus and intelliactive governors (more to come soon)
- Double-tap to wake and Sweep to wake implementation
- Offcourse, smoother user interface
- Using AnyKernel v2.0 makes it possible to install this kernel to several ROMs
- Linux 3.4.11 upstream patch
- using Synapse app to control kernel
- New hotplug solution to replace mpdecision
- Gamma control to set LCD colors
- add bfq, sio, fiops, vr, zen ioscheduler
- add FauxSound to control gain (via Synapse app)
- change vibrator intensity
- USB FastCharge
- Many others that I forgot.
Screenshots (click)
Latest Download:
- 20150121 - click here
Old Downloads:
- 20150114 - click here [mirror]
- 20150112 - click here [mirror]
- 20150110 (v0.2) - click here [mirror]
Special thanks to:
- @mdfzhi - for helping me building this kernel
- @show-p1984 - dt2w and s2w implementation
- @faux123
- Xiaomi - for the phone
- XDA - for the community
- any other devs that I cherrypicked his work
Source
XDA:DevDB Information
AngsaKernel for armani, Kernel for the Xiaomi Redmi 1S
Contributors
AngSanley
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 20150121
Beta Release Date: 2015-01-21
Created 2015-01-10
Last Updated 2015-01-21
Changelog
Code:
20150105
- first release
20150110
- fix display bug
- add governors
- dt2w, s2w
20150112
- using Synapse app to control kernel
- New hotplug solution to replace mpdecision
- Gamma control to set LCD colors
- add bfq, sio, fiops, vr, zen ioscheduler
- add FauxSound to control gain (via Synapse app)
20150114
- FastCharge (enable from Synapse > Misc)
- Vibrator Intensity changing (Synapse > Misc)
- Linux 3.4.11 upstream patch
20150121
- Fix Synapse app not getting installed
- Allow installation to other ROMs (try it)
- Add adaptive, smartmax and badass governors
Reserved
3rd Kernel That's born today
Way to go....Fire it up guys !
Thanks
Edit :- The kernel might not work on all KK ROMs ! They are all not updayed with Kernel built from Source !
Awesome bro....
Thanks for adding additional governors:thumbup:
Testing right now......
Sent from my HM 1S using Tapatalk
I just found out that dt2w aren't enabled by default, because I forgot the script
SH3H1 said:
3rd Kernel That's born today
Way to go....Fire it up guys !
Thanks
Edit :- The kernel might not work on all KK ROMs ! They are all not updayed with Kernel built from Source !
Click to expand...
Click to collapse
I replaced hwcomposer from new cm11 rom, I think that should work
Very Nice share............Hoping for more features.....
Please
Will it work with Mokee Nightly ROM'S
Tried on cm11 R15,
No lags yet, but only issues I noticed are dt2w & s2w works only for 5-6 seconds after locking screen, and reboots every time I change governor
Sent from my HM 1S using Tapatalk
How to enable dt2w.....or how to check it..???
dt2w isn't working.............
Cooldevil1989 said:
How to enable dt2w.....or how to check it..???
Click to expand...
Click to collapse
sumitsrk123 said:
dt2w isn't working.............
Click to expand...
Click to collapse
run this code on terminal emulator..
Code:
su
echo 1 > /sys/android_touch/doubletap2wake
AngSanley said:
run this code on terminal emulator..
Code:
su
echo 1 > /sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
Not working....
AngSanley said:
run this code on terminal emulator..
Code:
su
echo 1 > /sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
thanx,it's working now.............
Will this work on latest miui 6 by syhost?
Sent from my HM 1SW using XDA Free mobile app
Waiting for smartassv2...
Im using cm11 r15, reboot every time i change governor, hope it will be fixed
Sent from my HM 1S
Anyone can confirm that this kernel will work in any kitkat based rom as stated by OP in thread title, thanks in advance
adewisman said:
Anyone can confirm that this kernel will work in any kitkat based rom as stated by OP in thread title, thanks in advance
Click to expand...
Click to collapse
yeah,it works...i'm using it in cm 11.........
adewisman said:
Anyone can confirm that this kernel will work in any kitkat based rom as stated by OP in thread title, thanks in advance
Click to expand...
Click to collapse
Ya I know but if it causes bootloop or black screen then have to flash tha Rom again and I have many apps then I have to download it again.
Sent from my HM 1SW using XDA Free mobile app

[KERNEL][3.4.107][AOSP/CM][GCC5.0]Spirit.Kernel r13[21/4/2015]

Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On​
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app

[KERNEL][LP/MIUI/MM][Mi3/Mi4]God's Kernel R5

God's Kernel​God's Kernel-True God Of Kernels​
ABOUT God's Kernel:
AudioGod said:
God's Kernel is a open source kernel designed to unleash the power of Mi3/Mi4. The Aim of This project is to give a most stable ,power-full,ultra-fast kernel with Max Battery Life which is required for every Mi3/Mi4 user.
Click to expand...
Click to collapse
DISCLAIMER:
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CHANGE LOG:
God's Kernel-R1
Built with UBERTC 6.0 and other tweaks.
Alucard Hotplug
USB Fast Charging
Franco's Custom thermal
Faux Sound
KCAL with the latest update
Fsync Disable
Selinux Permanently Permissive
General Optimization & Tweaks
God's Kernel-R2
Alucard_hotplug patches n dependencies added
MSM_Limiter
User Voltage Control
Intellidemand Intelliactive intelliminmax
kexec aka MultiRom support [Need's testing(WIP)]
Cpufreq glitches fixed which some user's faced
added support disabling keys
the kernel now supports CM and AOSP based rom and MIUI too
Much more stable snappy n battery efficient now
God's Kernel-R3
fully rebased on CAF LNX.LA.3.5.2.2.1-04310-8x74.0 (Xiaomi KK kernels)
added a optional build of 2.649 Ghz oc
gpu oc of 657Mhz
alucard updated n tuned
added support for Mi4
kexec removed due to lag of testing
intellidemand intelliactive intellimm and alucard governor major updates
God's Kernel-R4
2.8Ghz Overclock
yankactive governor
impulse governor
ElementalX governor
GPU overclock reworked as a few complaint about sudden lags sometimes
-O3 optimizations and Cortex-A15 optimizations
UBERTC 6.0 Latest toolchain used
MM support added
new simple thermals by sultanxda
global -10mv 100% stable
God's Kernel-R5
Major rebase and clean up
kexec working confirmed
gpu oc fixed
scrolling lags fixed
fixed the clean flash bootloops
memutil optimizations
workqueues updates n patches from upstream
usb fast charging improved
selinux patches updated
MM compatible
retuned simple thermals
ksm tweaked and added (no camera crashes recorded yet)
VFS RCU FREEZER SECCOMP LMK MDS n other updates
huge cleanup n patching
zzmove smartmax alucard
interactive governor updated
i/o scheds tuned
switched from alucard to bricked hotplug
selinux will be permissive on boot but can we changed
KSM added
removed the **** old mulitcore powersavings which never worked right xD
fixed Mi4w issues but they wont get multirom(rom support)
this kernel will not work on latest CM-13 and Ivan's MM AOSP and is working on all other ROMs :good:
OC removed i dont want complications i will test more n get a sweet spot i m quite busy these days to work on things so removed it for everyone's good
DOWNLOAD LINKS:
GK_CANCRO_MM_LP_MIUI_KK_R5_29112015_0232.zip
GK_MI4W_ONLY_MM_LP_MIUI_KK_R5_29112015_0234.zip
MIRROR LINK
INSTALLATION STEPS:
Minimum Requirements To Install God's Kernel:
Recommended Custom Recovery TWRP and a Rooted Device
Installation Procedure:
Boot Into Recovery Mode
Dirty flash the current rom you are on
Dirty flash gapps(if needed)
Flash provide Kernel Zip
Reboot To System
Follow Us on :
Google+
https://plus.google.com/communities/105868185017241678214​
XDA:DevDB Information
[KERNEL][LP/MIUI/MM][Mi3/Mi4]God's Kernel R5, Kernel for the Xiaomi Mi 3
Contributors
Tarun93
Source Code: https://github.com/tarunkapadia93/gk_cancro
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R5
Stable Release Date: 2015-11-29
Created 2015-10-05
Last Updated 2015-11-28
Reserved
Older builds:
R1
R2
R3
R4
One more kernel.. Reserved
Works on official cm?
Which ROMs does this works on?
You did have mentioned KitKat, so the Wi-Fi works or not coz other kernels work too but Wi-Fi doesn't
I can't wait to test this baby and see how it develops. Thank you for your hard work.
wowwww
R1 Released
Links updated sorry guys was busy with a few things.
Works on dirty unicorns last test build, thanks @Tarun93 i'll test it
Rom Dirty Unicorn TEST-v9.7
- In kernel adiutor the max cpu frequency is stuck at 1497mhz, if I try to enhance it will return back to 1497mhz. (Rebooted and seems to stay at 2265mhz)
- I can see only interactive, conservative, powersafe and performance governor. No seen of your governors :c
Works very smooth also at 1497mhz, nice job!
Hope you implement D2tw in future, in these days i'll test the battery and tell you all the details
does it work on official miui?
[/COLOR]
josedb said:
does it work on official miui?
Click to expand...
Click to collapse
Yes, it's for MIUI too!
BIOLorenz said:
Works on dirty unicorns last test build, thanks @Tarun93 i'll test it
Rom Dirty Unicorn TEST-v9.7
- In kernel adiutor the max cpu frequency is stuck at 1497mhz, if I try to enhance it will return back to 1497mhz. (Rebooted and seems to stay at 2265mhz)
- I can see only interactive, conservative, powersafe and performance governor. No seen of your governors :c
Works very smooth also at 1497mhz, nice job!
Hope you implement D2tw in future, in these days i'll test the battery and tell you all the details
Click to expand...
Click to collapse
that's normal bro you phone might be warm at that time n its the thermal are throttling it down to get the temps lower you might have lowered the thermal limit
the thermal limit can be set manually with the help of kernel auditor
once the temp hits the temp limit = 1728000,
5c over set thermal limit= 1497600,
9c over set thermal limit = 1036800,
12 c over set thermal limit = 729600,
once the temperature is under the set temp limit it will be back to the normal freq
make's sense
n yes i have not added any governors as this was my first release i wanted it to be as basic as possible
i feel DT2W is still in BETA stage n i cant risk my users getting random reboots n things. will add it soon tho @vasishath (original porter of DT2W) is working hard on it so should be added soon
josedb said:
does it work on official miui?
Click to expand...
Click to collapse
yes sir
Which app to use for full control .And more accurately faux sound
Sent from my MI 3W using Tapatalk
chitalov said:
Which app to use for full control .And more accurately faux sound
Sent from my MI 3W using Tapatalk
Click to expand...
Click to collapse
Kernel adiutor covers most of the things
BUT if you are old school sysfs types n then use Aero Kernel Control n add you custom sysfs paths in the misc settings tab :fingers-crossed:
for faux sound its kernel adiutor will do well
I might have missed it, but i can't find the commit for hardware key disabling fix for cyanogenmod. Can you apply it? It's kind of important for me since my phone's capacitive key backlight is kind of screwed up(annoyingl6 uneven birghtness) and i had to use on screen button.
https://github.com/CyanogenMod/andr...mmit/a7347293af56824cf08008e049f3215b512177e5
Bro take your time and implement dt2w.Waiting for it. Best of luck.
Sent from my MI 3W using Tapatalk
This kernel has SOD in Blisspop
UPDATE: Fixed cleaning dalvik + cache
Nice options in kernel, but, in last miui the phone wont sleep. Battery charge is absoluty wrong.
gingerboy92 said:
I might have missed it, but i can't find the commit for hardware key disabling fix for cyanogenmod. Can you apply it? It's kind of important for me since my phone's capacitive key backlight is kind of screwed up(annoyingl6 uneven birghtness) and i had to use on screen button.
https://github.com/CyanogenMod/andr...mmit/a7347293af56824cf08008e049f3215b512177e5
Click to expand...
Click to collapse
noted will add in the soon coming R2 i have added a few more fixes already
josedb said:
Nice options in kernel, but, in last miui the phone wont sleep. Battery charge is absoluty wrong.
Click to expand...
Click to collapse
recalibrate your batter n clear the caches again use apps like Wakelock detector or better battery stats to find out wat draining your battery feel free to share the stats
Tarun93 said:
noted will add in the soon coming R2 i have added a few more fixes already
recalibrate your batter n clear the caches again use apps like Wakelock detector or better battery stats to find out wat draining your battery feel free to share the stats
Click to expand...
Click to collapse
thats the problem, i was using wakelock detector, there were no wakelocks, but it shows no sleeping in total statistics.

[6.0+]Mimori Kernel [AOSP & Lineage OS Based ROM]

Mimori Kernel | Stability for performance
For Xperia M
Based on Lineage OS 14.1 source​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Mimori Kernel based on Lineage OS 14.1 source, and included many improvement and optimization on processor, I/O and include some feature for Xperia M / M dual devices that use Marshmallow as base ROM.
Mimori offered kernel performance, stability, smoothness process on cpu and already have full support on NEON, this kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.
Recommended Kernel Configuration :
- Kernel Adiutor (BETA)
- Device Control
Okay this is several features that i include in this kernel.
This kernel feature is :
Kernel Features
* Linux Kernel Version 3.4.113
* Compatibility with AOSP,CM And LineageOS based ROM [Android 6.0+]
* Added overclock up to 1,4Ghz
* Added Double Tap 2 Wake Feature (Incl. Vibration)
* Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,Lionheart,Adaptive & Blu Active (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,vr and maple (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah and more
* Added CPU Voltage Table Control
* Implement Power Efficient Workqueues
* Dynamic management of dirty page writebacks
* Added Interface of Gentle Fair Sleepers, Software CRC and Arch Power (Option Disable by Default)
* Added Frandom Support
* Added Dynamic Fsync 2.0
* Entropy Tweaks
* NEON VFPv4 Optimized (hard)
* Added Intelli Plug v4.0
* Added Intelli Thermal v1.0
* Added F2FS File System Support (Based on Linux 3.4.y Branch) (Working)
* Added EXFAT File System Support (Driver Version v1.2.9) (Need Test)
* Added USB Keyboard Support
* Optimized I/O Sched
* Compiled using GCC 5.4.X Hyper Toolchains
* Updated CVE Patch From LineageOS Kernel Source 20171106
[/LIST]
[/LIST]
How to install :
1. Download Mimori Kernel and install it from recovery mode, use TWRP recovery (TWRP Link)
2. install kernel adiutor from Playstore for kernel configuration (i don't have myself app to control kernel) (Try to use BETA version to get fix for CPU temperature)
3. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
For download, look at download tab on top of this thread
Thanks to : 
 @PecanCM [For Kernel Source] 
 @Alex_Gamer [For Kernel Tester & Troubleshoot] 
 @thichthat [For DT2W Source]
XDA:DevDB Information
Mimori Kernel For Xperia M, Kernel for the Sony Xperia M
Contributors
Nicklas Van Dam, PecanCM, Alex_Gamer
Source Code: https://github.com/Nicklas373/Mimori-Kernel_MSM8227_LineageOS_14.1
Kernel Special Features: Overclocked, ARMV7 NEON Optimized
Version Information
Status: Stable
Current Stable Version: Seventh Build
Stable Release Date: 2018-02-11
Created 2016-09-03
Last Updated 2018-02-19
Kernel Adiutor OTA Update Information
Now for CyanogenMod And AOSP Based ROM, Hana Kernel Offered OTA Update feature for kernel update using kernel adiutor app for CyanogenMod Based ROM with "download" feature in kernel adiutor.
You can download new build in that menu included ; introduce, kernel feature and changelog update. Now i'm still try to enable it on LineageOS too, i'm just need to wait confirmation from the admin .
For anyone want to install this kernel, can access too using KA. just like normal download and installation for kernel :laugh:
Have fun
Kernel Adiutor Information
For Kernel Adiutor Usage
During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.
And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.
So set kernel when system is already boot is best option for stability and performance.
If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.
This app is almost same like KA but it's little simple and more friendly for configuration
Changelog :
Seventh Build (20180211):
- Fixed some upstream issue
- Upstream to 3.4.113 (REBASE change)
- Fix issue with OTG problem (Recovery or System)
- Updated F2FS to latest 3.4.y and misc fixes
Sixth Build (20180122):
- Updated Kernel Security Patch to 20171106 (Based on MSM8960T Source)
- Change GCC to GCC 5.4.X Hyper Toolchains
- Misc fixes with intelli thermal
- Applied last patch with 3.4.113
- Applied security patch with "KRACKS attacks"
- Removed sdcardfs drivers (not used by device)
- Misc CPU Optimization
- Set readahed to 512kb
- Added GPU optimizations flags
- Improve Hard Floating Point for neon-vfpv4
Fifth Build (20171002):
- Introduce IMAGINE Codename
- Upstream Linux Kernel to 3.4.113 based on git.kernel.org
- Revert change of F2FS (back to old source)
- Revert some optimization change
- Added Maple I/O Sched (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- I/O Sched Optimization for SIO and ZEN
- Enable Interface Of Software CRC
- Misc CPU Optimization
- Added some sched optimization
- Disabled USB Fastcharge v1
- Reverting Permissive, Back to Enforcing
- Added Blu Active CPU Governor (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- Added Support for Neon VFPv4 With Hard Floating
- Disabled Quick Wake Up Drivers
Fourth Build (20170913):
- Added Optimization on I/O Sched (Improves SSD Speed)
- Misc fixes for conservative governor
- Added F2FS and EXFAT File System Support
- Added Hyper CPU Governor
- Optimized KSM
- Update Intelli Plug to v4.0
- Optimized SLUB
- Set readahed to 256KB
- Added CCACHE for faster kernel building
- Updated CVE Patch (Kernel Security Patch) to 20170826 Based On MSM8960T
- Misc Optimization
- Added Quick Wakeup driver
- BACKPORT F2FS from branch Linux 3.4.y (git.kernel.org)
- Reverting Quick Wakeup Driver
- Added USB Keyboard features
- Updated SDCARDFS Driver
- Misc fixes
Third Build (20170821):
- Little Improvement on CPU Bus Speed
- Added Dynamic Fsync 2.0
- Added Frandom Support
- Added Interface of Gentle Fair Sleepers (Option Disable by Default)
- Misc change on I/O Partitions
- Dynamic management of dirty page writebacks
- Removed "+" Symbol From Kernel Version String
- Implement Power Efficient Workqueues Feature (Enable by Default)
- Revert Alucard CPU Governor to v1.0
- Added Interface of Arch Power Features (Disable by Default)
- Entropy Tweaks
- Build vfp with softfp
- Misc change with cpufreq
- Added Intelli Plug and Intelli Thermal
- Fix Neon VFP
- Upgraded Kernel to 3.4.4
- Change toolchains to Hyper Toolchains GCC 4.9
- Decrease thermal limits to 70c
Second Build (20170817):
- Set kernel as permissive
- Enabling 972Mhz to fix slow response on boot and skipped frequency on system
- Added Custom TCP Congestion
- Added CPU Voltage Control
- Added DT2W Vibration Support
- Added USB Fastcharge v1
- Adapted Some CPU Governor with CPU Freq Table
First Build (20170816):
- INITIAL BUILD
: - Included Custom CPU Governor
- CPU Overclocked to 1.458Mhz
- Using NEON Optimized as VFP
- DT2W Feature
- CPU Optimization Algorithm
- Custom I/O Sched
Kernel Adiutor Configuration
CPU Manager :
CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)
(Beside that leave it as stock)
Hotplug Manager :
Mpdecision = Disable
Intelli Plug = Enable
Profile = Eco for Performance
(Beside that leave it as stock)
Thermal Manager:
Thermald : Disable
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
(Beside that leave it as stock)
GPU Manager
GPU Max Freq : 400Mhz
GPU Governor : Ondemand or Performance (For Hard Gaming)
I/O Scheduler =
(Leave it as stock)
Misc =
Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
TCP Congestions = Depends on your need
Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2
Special Thanks to @gsstudios for guide :laugh:
[INFO] Double Tap 2 Wake & BETA Build
For Double Tap 2 Wake
Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel
NOTE : BETA Build For Testing (Not Stable)
github/build
For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread :victory:
Thanks.
Garv Maggu said:
Thanks.
Click to expand...
Click to collapse
you're welcome, i'm still working for optimization in armv7 vfpv4 module.
have fun
Updated
New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.
have try
Great!
Please add dt2w
Niiiice! I was waiting for new release, I'll test it now
Alex_Gamer said:
Niiiice! I was waiting for new release, I'll test it now
Click to expand...
Click to collapse
my laptop is back from service center , and now is time to back :laugh:
romspeed said:
Please add dt2w
Click to expand...
Click to collapse
i will try on next update, it's to hard to add that anyway .
Nicklas Van Dam said:
my laptop is back from service center , and now is time to back :laugh:
Click to expand...
Click to collapse
Good to hear that your laptop its back to rock
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
sound is bursting? i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.
[EDIT]
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update
Updated
New kernel build v1.2 is released with several clean build for kernel and optimization on kernel compiler to reduce size, download link in on download tab.
have try
Updated
New kernel build v1.3 is released with first stable build , added auto hotplug drivers and more optimization for armv7 and krait processor
download link in on download tab.
have try

[KERNEL][7.1.X/8.X/9.X/Stock 5.1.1] RZ Kernel for Sony Xperia Z1

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers (these were actually added in upstream kernel source)
BFQ
CFQ
DEADLINE
FIOPS
NOOP
ROW [DEFAULT]
ZEN
CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)
CPU thermal control: intellithermal (ENABLED BY DEFAULT)
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
CPU
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Support userspace CPU voltage controlling
GPU
Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance
Support for Simple GPU Algorithm
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for zRAM compression algorithm (updated to upstream Linux 4.8)
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Other tweaks and optimizations
Init.d support
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Optimized Integer SQRT. for upto 3x faster operation.
OVERCLOCKED CPU to 2,5GHz
Westwood TCP congestion algorithm (small boost on network speed)
Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)
SELinux Permissive (for V4A and etc...)
Disabled some battery-hogging WAKELOCKS
Support zswap for better memory compression
XDA:DevDB Information
RZ Kernel for Sony Xperia Z1 (honami), Kernel for the Sony Xperia Z1
Contributors
remilia15, SuperLamic
Source Code: https://github.com/remilia15/android_kernel_sony_msm8974
Kernel Special Features:
Version Information
Status: Testing
Created 2018-04-04
Last Updated 2018-09-14
Download link: Drive
CHANGELOG
v1.0: Initial release
v1.5: Post #11
v2.0: Post #17
v2.5:
Post #48
Support for stock 14.6.A.1.368: Post #52
v3.0: Post #97
v4.0 [FINAL]: Post #147
Small notes
The kernel is tested on C6902/C6903/C6906 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on ROMs mentioned in the thread name. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources as well. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Reserved for future usage
Twrp included ?
Any plans for oreo version?
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
iga64828 said:
Twrp included ?
Click to expand...
Click to collapse
Well, you have to install it separately through FlashTool
pokepokepoke said:
Any plans for oreo version?
Click to expand...
Click to collapse
Maybe, after Oreo gone stable
SUPERUSER said:
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
Click to expand...
Click to collapse
You can disable it from Kernel Adiutor -> Wake -> DoubleTap2Wake
Or sysfs way:
Code:
echo 0 > /sys/class/input/input1/wakeup_gesture
Sent from my Xperia Z1 using XDA Labs
nice set of features,,,, gonna give it a test
remilia15 said:
The kernel is tested on C6902/C6903 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on LineageOS 14.1. I haven't tested other N ROMs yet. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Click to expand...
Click to collapse
Bootloops on RR Nougat 7.1.2 (yeah yeah yeah, read the disclaimer on support for other ROMS, just curious to test this kernel). Strange but offline charging works as expected and even booting into TWRP works. But while in TWRP I notice the device temperature begins to rise rapidly, causing it to reboot,,,,,hope this works in future releases. Device: C6902
RZ v1.5 is up! Changes
Implemented power efficient workqueues (thanks to franciscofranco)
Disabled DT2W by default
Enabled multi-core power saving by default
Reverted GPU OC, obviously because it doesn't do anything
Built with UBERTC 4.9
Disabled battery-hogging wakelocks (thanks to franciscofranco)
Enabled intelli_plug and intellithermal by default (you'll need to disable mpdecision from Kernel Adiutor so intelli_plug will work properly)
RZ v1.5 is available on my Drive folder. Please checkout OP for download link!
Cheers,
Confirmed working with latest Carbon N ?
Sent from my Xperia Z1 using XDA Labs
Good work on my c6903 LOS 14.1 SuperLamic.
Nice work. It's working fine on my C6906 running LOS 14.1 from SuperLamic with Magisk installed and working fine too. My phone was charging too slow but now it's fixed.
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Seand1796 said:
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Click to expand...
Click to collapse
Yes, the kernel is packed inside a flashable ZIP, so just flash it through TWRP
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
remilia15 said:
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
Click to expand...
Click to collapse
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Luncer said:
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Click to expand...
Click to collapse
I'm using the very first version of AnyKernel with very minimal patching commands
Somehow it's pretty hard for me to adapt to a newer AK version so I decided to write my own noob-friendly ramdisk patching script instead (compatible with all Z1 AOSP boot.img)
My kernel boots currently on LOS N and Carbon N. For RR, idk why it bootloops. Probably need some other kernel commits maybe?
Sent from my Xperia Z1 using XDA Labs
Runs nice..but I needed to flash the stock kernel from superlamic lineage os and then flash this kernel because the phone went in to a bootloop on the sony logo.
Just a reminder to what to do when your next update is coming
edit: no its magisk thats acting up.. wont't boot when installing this after flashing the kernel
Phone is booting with magisk on stock kernel so something is not right.
I don't have more time atm for this so im gonna let it be

Categories

Resources