[KERNEL][TW] 🌟xMotion🌟 ROM Based v4.7 OC Gpu to 550Mhz UBERT-7.0.0 Dual-sim OC KCAL - Galaxy S3 Neo Android Development

[KERNEL][TW] 🌟xMotion🌟 ROM Based v4.7 OC Gpu to 550Mhz UBERT-7.0.0 Dual-sim OC KCAL
/*
* 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.
*/
Features
Add KCAL - Advanced color control for Qualcomm MDSS 8226 use Kernel Adiutor
Note:
Lock screen restore RGB value at max. Not solve this.
Note : Build Full -Ofast Toolchain Linaro gcc 5.2.1 20151005
Old Version :
Kernel v1.1
Add POWERSUSPEND to Samsung panel
Bug display wrong freq in Apps Setting Kernel
Little drain but very fast
Kernel v1.2
Add WCD93xx sound control module v3.4
Copyright 2013~2014 Paul Reioux
Kernel v1.3
Fix wrong freq
Set this in /sys/kernel/cpufreq_hardlimit/
Kernel v1.4
Change Toolchain Dorimanx-LG-G2-D802-Kernel
Change to KCAL V2 mdss_mdp_kcal_ctrl.c
Kernel v1.5
Power Suspend settable.
New Version 1.7:
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok
MSM_HOTPLUG by myfluxi
WCD93xx sound control module Author: Paul Reioux aka Faux123
ZZMOOVE governor 2001 Russell King 2012 Michael Weingaertner <[email protected]>
CYAN governor Author: Emre Harbutoğlu on Paul Reioux ([email protected]) Modified for cyan
SIOPLUS I/O scheduler
TRIPNDROID I/O scheduler
ZEN I/O scheduler
VR I/O scheduler
Toolchain 4.9.4 PWR-CORE
Click to expand...
Click to collapse
New Version 1.8:
Add INTELLI_PLUG cpu control module Author: Paul Reioux aka Faux123
More governors
No OC for battery drain
Click to expand...
Click to collapse
New Version 1.9:
Update WiFi PRIMA driver
ARM: add support for kernel mode NEON
ARM: crypto: add NEON accelerated XOR implementation
msm: memutils: memcpy, memmove optimization
crypto: create generic version of ablk_helper
ARM: add support for bit sliced AES using NEON instructions
More commit : Commits
Kernel v3.4.25 CAF
Click to expand...
Click to collapse
New Version 2.0:
For MotionROM_v17.0_20160322
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok Tested AP Router WiFi
MSM_HOTPLUG by myfluxi
WCD93xx sound control module Author: Paul Reioux aka Faux123
ZZMOOVE governor 2001 Russell King 2012 Michael Weingaertner <[email protected]>
CYAN governor Author: Emre Harbutoğlu on Paul Reioux ([email protected]) Modified for cyan
PEGASUSQPLUS governor
SMARTMAX governor
SIOPLUS I/O scheduler
TRIPNDROID I/O scheduler
Toolchain 4.9.4 PWR-CORE
Bug: no DeepSleep (i work to fix)
Click to expand...
Click to collapse
New Version 2.1:
For MotionROM_v17.0_20160322
KCAL v2.0 savoca <[email protected]> and Paul Reioux <[email protected]>
WIFI ok Tested AP Router WiFi
MSM_HOTPLUG by myfluxi
INTELLI_PLUG v4.0
WCD93xx sound control module Author: Paul Reioux aka Faux123
More governors
More I/O scheduler
Toolchain 4.9.4 PWR-CORE
OverClock 1593Mhz
Tweak for GPU
POWERSUSPEND
BTW Notification light is working.
Fix DEEPSLEEP
Click to expand...
Click to collapse
New Version 2.2:
For MotionROM_v17.0_20160322
Update MSM_HOTPLUG by myfluxi
Update governors INTELLIACTIVE, INTELLIDEMAND, INTERACTIVE
Update FREQ_FOR_RESPONSIVENESS in governor PEGASUSQPLUS to 300.000 Mhz
Update fastcharge
Click to expand...
Click to collapse
New Version 2.3:
For MotionROM_v17.0_20160322
Fix Bluetooth Stuttering by [email protected]
Build Full -O3 Toolchains 4.9.x-sabermod 20150926 (release)
kernel with HARDLIMIT CONTROL
cpufreq: CPU max. hardlimit v2.2 (Yank555.lu)
For fast changes you mod this:
/sys/kernel/cpufreq_hardlimit/current_limit_max 1497600 (or whatever you want)
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_on 1497600 (or whatever you want)
99ChangeFreq.zip (unpack and put in dir /system/etc/init.d set permisssion 0755 and activate kernel adiutor init.d)
Click to expand...
Click to collapse
New Version 2.5:
For All MotionROM TW based
Rewrite all CPU Governor
Governor ZZMOOVE fix profile
Update Powersuspend v1.7
New Toolchain UBERTC-4.9.4 20160401
Initram KERNEL in GZIP
Add Dual-sim support for i9300i flash Also RIL_for_I9300I_by_nikita36078.zip and
kernel-MotionRom-TW-17.0-v2.5-zram_FIX_for_i9300i_RIL.zip
Click to expand...
Click to collapse
New Version 2.6:
For All MotionROM TW based
New Toolchain UBERTC 5.3.x 20160401 (optimized)
Click to expand...
Click to collapse
New Version 2.7:
For All MotionROM TW based
New Toolchain UBERTC 5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
Click to expand...
Click to collapse
New Version 2.8:
For All MotionROM TW based
New Toolchain Linaro gcc 5.2.1 20151005
Add GRAPHITE optimizations
Charging off-line work with animation
(I swear I did not realize that does not work ... sorry)
Add Kernel in ZSWAP
Click to expand...
Click to collapse
New Version 3.3:
For All MotionROM TW based
New Toolchain Linaro gcc 5.2.1 20151005
Build Full -Ofast
Add GRAPHITE optimizations
Charging off-line work with animation
Add Scheduler I/O Fiops Sio Sioplus Tripndroid and Zen
ZRAM num_devices = 4 and add script enabled by kernel adiutor init.d 99zram
You can edit this script in /system/etc/init.d/ (change value 64 to set more MB)
ZRAM default_compressor = "lz4"
Update vnSwap zsmalloc.c zswap.c
Workqueues marked with WQ_POWER_EFFICIENT
Update commit WQ_POWER_EFFICIENT
Fix SOUND DRIVER (resolved bug no sound on any music player)
Control Output Sound in Kernel Adiutor menu Sound
Sound Control 3.4 Author: Paul Reioux aka Faux123 <[email protected]>
Update Gpu Devfreq
Add Adreno Gpu governor CONSERVATIVE (now work)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New CPU BOOST driver ACCELLERATE HOTPLUG
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Click to expand...
Click to collapse
New Version 3.6:
For All MotionROM TW based
Same 3.3, 3.4 3.5
Add Governors:
ARTERACTIVE Copyright (C) 2014 Samsung from SM-G900F source
"Latency sensitive workloads based on Samsung's Galaxy S5 Interactive");
CYAN Copyright (C) 2015 Emre Harbutoğlu
"Latency sensitive workloads based on Google's Interactive"
Rebuild I/O Schedulers add IOSCHED_BFQ and IOSCHED_VR
Add new commit:
fix false disconnect due to a signal sent to the reading process
ksm: check and skip page, if it is already scanned
Input: Send events one packet at a time
cpufreq: Optimize cpufreq_frequency_table_verify()
Add /dev/frandom
lib/string: use glibc version
lib/memcopy: use glibc version
Enable pipe flag.
mm: readahead to 256
vfp: hardfloat
KERNEL in XZ
Click to expand...
Click to collapse
New Version 4.0:
For All MotionROM TW based
Same 3.3, 3.4 3.5 3.6 3.7 3.8
Add Commit to Cpu Boost
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
Change /drivers/power/qpnp-sec-charger.c from S5 mini
Update sources Selinux
v3.9
update input (touchscreen, ecc.), hid and usb (all) kernel files from S5 Mini
v4.0
In this version regress hotplug to 3.9
disable BRICKED_HOTPLUG
Click to expand...
Click to collapse
New Version 4.7:
For All MotionROM TW based
v4.1
add OC Gpu to 550Mhz (finally)
add Busybox in Ramdisk
add Hot Reboot (use RebootManager )
readd HOTPLUG to v5.4
readd BRICKED_HOTPLUG
v4.2
Fix Cpu UnderClock Frequency to 192Mhz and 249Mhz
WOW...
v4.3
kernel v.4.3 swap in ZCACHE
Parameters in:
sys/kernel/mm/zcache
v4.4
Add Async Fsync from HTC Kernels
Add Dynamic file sync control
v4.5
New Toolchain...
UBERTC gcc version 7.0.0 20160421 (experimental)
Add CRYPTO LZ4 (forgot)
Add Async Fsync from HTC Kernels
Update Dynamic file sync control
Optimize more FULL -03
v4.6
ZSWAP in LZ4
SOUND:
In fauxsound codec
Fix speaker gain volume store (use Kernel Adiutor in Sound)
Now work volume speaker :laugh:
ATTENTION or damage speaker Max value 4-5
for WCD9306 sound control module Copyright 2013 Paul Reioux
v.4.7
Fix GPU overclock 550 Mhz
Add GPU min freq to 100 Mhz
Limit CPU Voltage at freq 192 and 249 MHz
Script Zram to 512 MB
zram vs zswap vs zcache Ultimate guide: when to use which one
Note:
First uninstall Kernel Adiutor, install the new kernel, then reinstall Kernel Adiutor
Click to expand...
Click to collapse
OC Gpu to 550Mhz - Charging off-line work with animation - Fix SOUND
Note:
First uninstall Kernel Adiutor, install the new kernel, then reinstall Kernel Adiutor
Download: Kernel-xMotion-v4.7-u700-zram.zip
Download: Kernel-xMotion-v4.7-u700-zswap.zip
Download: Kernel-xMotion-v4.7-u700-zcache.zip
Test please:
This work on 9300I Dual Sim
Download: Kernel-9300I-DualSim-xMotion-v4.7-u700-zram.zip
Download: Kernel-9300I-DualSim-xMotion-v4.6-u700-zswap.zip
If necessary flash this: Patch+RIL+(Dual+SIM).zip
old:
Download: Kernel-xMotion-v4.6-u700-zram.zip
Download: Kernel-xMotion-v4.6-u700-zswap.zip
Download: Kernel-xMotion-v4.6-u700-zcache.zip
Download: Kernel-xMotion-v4.5-u700-zram.zip
Download: Kernel-xMotion-v4.5-u700-zswap.zip
Download: Kernel-xMotion-v4.5-u700-zcache.zip
Download: Kernel-xMotion-v4.4-l521-zram.zip
Download: Kernel-xMotion-v4.3-l521-zcache.zip
Download: Kernel-xMotion-v4.2-l521-zram.zip
Download: Kernel-xMotion-v4.2-l521-zswap.zip
Download: Kernel-xMotion-v4.2-l521-zram_FIX_for_i9300i_RIL.zip
Download: Kernel-xMotion-v4.2-l521-zswap_FIX_for_i9300i_RIL.zip
Special Version 1.0b7 zRam:
Old version
For All MotionROM TW based
Version beta4:
This version use part of RamDisk of the Boeffla-Kernel and use Boeffla-Config V2 app
Copyright (C) By ZaneZam
Donation: Donation-Link
Link: Page Kernel
Or, just purchase the donation version of the Boeffla-Config app
Yeah go on folks donate for this great Dev By ZaneZam !!
Add zRam (now swap effectively!)
Fix wrong settings
KERNEL in XZ
AnTutu v5.7.2 21600 pts
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
Version beta6:
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Change :
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
add Cpu governor interactive_sm
from S5 mini g800h
Hot Reboot in power app
Click to expand...
Click to collapse
For All MotionROM TW based
Version beta7:
Add OC Gpu to 550Mhz
Add Under Clock CPU to 192Mhz and 249Mhz
Click to expand...
Click to collapse
Special Version 1.0b7 zRam OC Gpu to 550Mhz
Download: Kernel-xMotion-Base-TW-l521-Boeffla-1.0b7-zram.zip
Download: Kernel-xMotion-Base-TW-l521-Boeffla-1.0b7-zram_FIX_for_i9300i_RIL.zip
How to use new ZRAM goto here here
PHP:
Setting Recommended
v4.2
I used zram with setting:
Cpu max : 1401
Governor : interactive_sm
Multicore Power Saving : enabled
Schedule workqueues on awake CPUs to save power. on
Cpu Boost : on
Input boost frequency : disabled (all)
Wakeup Boost : off
Hotplug Boost : on
Cpu Hotplug : IntelliPlug (all default)
Termic : Core Control
GPU : default
Fast Charge: on
Scheduler I/O : deadline 256K
Misc :
Dynamic Fsync : off
Power Suspend Mode : UserSpace
Network : veno
For Setup kernel: kernel-adiutor-0-9-9-4-android-apk-download
If you need a file manager via recovery flash this:
Download: Files manager via TWRP
Thanks to: ZaneZam
Thanks to [email protected] And [email protected]
Commit: toolchain: multiple fixes and changes for gcc 5.0.0
BONUS :
Keyboard SamsungIMEv2 theme xda ( flash in recovery )
*** FIX emoticon ***
Added <<keyboard BLACK and WHITE>>
Thanks ninja_unmatched
Download: SamsungIMEv2_theme_white_fix-emoticons.zip
Download: SamsungIMEv2_theme_black_fix-emoticons.zip
Download: SamsungIMEv2_theme_xda_fix-emoticons.zip
News....
If wifi disconnect flash new WiFi Fix in recovery mode
WiFi Fix : WiFi-fix Galaxy S3 Neo CM12.1.zip
or this:
WiFi Fix original motion ciro v4 : WiFi-fix-Galaxy-S3-Neo-motion-ciro.zip

This Kernel working to Gt-i9300i Dual ???

Amazing Thx @Renix63
About I9300I REnix have i9301i so You can try it works on i9300i .... and tell other users if it works.
Do backup first and flash the kernel.

Ali Asgar said:
This Kernel working to Gt-i9300i Dual ???
Click to expand...
Click to collapse
Sameone test?

Firmware started. It means that the kernel works and I9300I

Why drain? Battery life is not good? If you setup kernel to be battery friendly?

on I9301I works good.
About battery drain I know nothing because a flashed it by 20min.
The Kernell still has a bug 26.. MHz physically is 1593 MHz
Thx a lot @Renix63
Good work

what is the difference between zram ans zswap?? Which one should i flash ??

aziz_chargui said:
what is the difference between zram ans zswap?? Which one should i flash ??
Click to expand...
Click to collapse
Zram - use virtual file file from Your SD card or Internal memory.
Zswap use partition for swap from your SD card - foramted before.
So if you don't want erase your data use Zram, if you have swap partition about 521MB use Zswap.
Propbably Zswap more destroy your sd card - i wrote about it.

nalas said:
Zram - use virtual file file from Your SD card or Internal memory.
Zswap use partition for swap from your SD card - foramted before.
So if you don't want erase your data use Zram, if you have swap partition about 521MB use Zswap.
Propbably Zswap more destroy your sd card - i wrote about it.
Click to expand...
Click to collapse
so i have to use the Zram simpky by flashing it with TWRP

battery drain is real boys
like 3% per 5-6 min

nalas said:
on I9301I works good.
About battery drain I know nothing because a flashed it by 20min.
The Kernell still has a bug 26.. MHz physically is 1593 MHz
Thx a lot @Renix63
Good work
Click to expand...
Click to collapse
Even for me it works well....
Is in daily use and no reboot....
Thanks Bro...

98181735 said:
battery drain is real boys
like 3% per 5-6 min
Click to expand...
Click to collapse
We should also say that it is an experimental Rom :victory:

I'm using latest zram and the max frequency is 2.6ghz (??) This prevents me from setting kernel right. Can you fix it? Other than that works well

Renix63 said:
Even for me it works well....
Is in daily use and no reboot....
Thanks Bro...
Click to expand...
Click to collapse
Yes , no reboot and it's daily use - right and this is amazing
We have TW 5.1.1 with Your great kernel
Battery :
About 18h with normally use - little net, calls, ect. battery is at 66% from 100% so I think it is normall
Thx for Your work @Renix63
I had one restart in stock camera app with OC to 1593MHz ... I check 1497MHz and is ok and again to 1593MHz and is ok.
In first time after OC I had one restart after that everythink is OK

aziz_chargui said:
so i have to use the Zram simpky by flashing it with TWRP
Click to expand...
Click to collapse
Yes, next do wipe cache and dalvik cache - and that's all.

In this Rom the kernel works decently, in CM 12.1 bothers me.

nalas said:
Yes , no reboot and it's daily use - right and this is amazing
We have TW 5.1.1 with Your great kernel
Battery :
About 18h with normally use - little net, calls, ect. battery is at 66% from 100% so I think it is normall
Thx for Your work @Renix63
I had one restart in stock camera app with OC to 1593MHz ... I check 1497MHz and is ok and again to 1593MHz and is ok.
In first time after OC I had one restart after that everythink is OK
Click to expand...
Click to collapse
Thx for info
Perhaps I exclude overclocking ...

News....
If wifi disconnect flash new WiFi Fix in recovery mode
WiFi Fix : WiFi-fix Galaxy S3 Neo CM12.1.zip
I confused firmware

can you share your settings in kernel audi. for battery saver?
Sent from my SM-G800H using xda premium

Related

[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][Z1] [5.0-5.1][F2FS]Advanced-Kernel v19.0[03/26/2017]

Overview:
I’m a newbie to rebuild and compile a custom kernel. I like to learn new things and share with you my modified version of 14.5.A.0.242-Kernel
It is basically a mixture between some developers kernel source like e.g.,cocafe,DooMLoRD,alnikki25k.
I'm not a developer so I cannot answer your question about any bugs for this kernel immediately. I will try to ask other developer how to
resolve bugs. Experts, please correct me if I am wrong, this stuff is still new to me also.
2015/07/25
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
2015/07/31
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
Requirements:
HTML:
Xperia Z1 Compact
Unlocked Bootloader
DO NOT use this kernel with CM or CM based ROM.
This kernel is only for stock or stock based ROM.
v1~v4 for 14.5.A.0.242
v5~v12 for 14.5.A.0.270/14.5.A.0.283
v13~v15 for 14.6.A.0.368
v16~ for 14.6.A.1.216
v17~ for 14.6.A.1.236
Installation instructions:
HTML:
Backup your system
Download the ZIP file below, and flash it in recovery
Download Links:
http://goo.gl/qCiTOA
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
Source Code:
https://github.com/charles1018/kernel_sony_msm8974/tree/lollipop_mr3-dev
Credits:
Code:
sony: (Open source archive for 14.5.A.0.242/270/283)
cocafe: (helping me learn all of build my own kernel from source)
[NUT]: (for all recoveries & 14.5.A.0.242 kernel ramdisk & NDRUtils)
dosomder: (Android kernel module to bypass SELinux at boot)
DooMLoRD & alnikki25k & Faux123 & AndroPlus (for theirs awesome job and great sources to rhine devices)
OmarEinea: (for his great script of build tools letting me easy way to compile kernel)
And for everyone who had a hand in making this kernel better
ChangeLog :
2015-04-29 v1.0 :
init.d
Governor:wheatley,SmartAssv2,pegasusq,LionHeart,LagFree,intellidemand,intelliactive,preservative,blu_active
I/O Scheduler:SIO,VR,ZEN,SIO-Plus,FIOPS
support for kernel mode NEON
fastcharge
support for exfat
2015-05-08 v2.0 :
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features
2015-05-18 v4.0 :
fix loading stops at the boot screen
multirom TWRP 2.8.6
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
intelli-plug
powersuspend PM kernel driver
kernel samepage merging
2015-05-24 v5.0 :
merge 14.5.A.0.270 kernel sources
Updated ramdisk to 14.5.A.0.270
Fixed simple_ondemand GPU governor crashing
CPU OverClock upto 2.42 GHz
turbo boost on MSM architectures-allows overclocking of 2 cores to higher clock rate than stock maximum
Added some optimizations for cpufreq (less spam log, delete deprecated code)
CPU Undervolting
2015-07-25 v6.0 :
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off
2015-07-31 v7.0 :
update some codes from codeaurora
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Increase default speaker volume
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
2015-08-15 v8.0 :
kernel with kexec-hardboot(thanks to venkat kamesh's ramdisk & OmarEinea's kexec-hardboot patch)
fix Darkness governor random reboots when heavy memory use(we need more tests)
fix KCAL Color Control is not working
The vibration strength can be controlled by Kernel Adiutor application
fix lowmemorykiller being overly aggressive
increase the total number of GFP flags
fix waking up sync thread recursively for same CPU causes deadlock
enable ZRAM features(from Linaro Stable Kernel 3.10)
zram: add lz4 algorithm backend
CPU hotplug: Provide lockless versions of callback registration functions
powersuspend: cumulative update to version 1.6
intelli_plug:update to version 4.0
msm: kgsl: Make global memory statistics atomic
Click my github commits to view changeLog details
2015-08-21 v9.0 :
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove to 1.0-beta8
Added CPU hotplug Zen Decision
2015-08-28 v10.0 :
back to the regular default speaker volume
added mako hotplug
added new GPU governor: cache-hwmon
msm: memutils: memcpy, memmove, copy_page optimization
scm-mpu: Add additional memory protection options
Click here to see how to add support for a scm call to protect a contiguous physical address range.
http://forum.xda-developers.com/showpost.php?p=62550061&postcount=49
2015-09-08 v11.0 :
fix sometimes have freezed or crashed problems
updated kernel to 3.4.1
updated UBER toolchains to 4.9.4 20150901
Enhance power efficiency: Series of patches from NVIDIA
fix last_kmsg not working
changed default dirty_writeback_active_centisecs to 3000
changed intelli_thermal poll default value
updated kcal and added some patches
removed scm-mpu(unstable)
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
2015-09-14 v12.0 :
Updated kernel to 3.4.10
Disabled dynamic fsync by default
Patched random reboot caused by dynamic fsync panic
V12 is the final version of the 14.5.A.0.270/283
The next version is the 14.6.A.0.368
2015-09-26 v13.0 :
v13 supports 5.1.1, most features from my 5.0.2 version.
Main Features :
Merge 14.6.A.0.368 kernel sources
Updated ramdisk to 14.6.A.0.368
Updated kernel to 3.4.10
TWRP 2.8.7 from xNUTx
Built with UBER toolchains 4.9.4 20150920
busybox v1.23.2
init.d support
port AndroPlusKernel most of feature for z1/z1 compact
CPU OverClock upto 2.42 GHz
Added some optimizations for cpufreq (less spam log, delete deprecated code)
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)
Added new CPU governor:alcurd,zzmove,ElementalX,nightmare,darkness,smartmax,HYPER,ondemandplus,
intelliminmax,smartassH3,adaptive,intellidemand,interactive_proconservative,SmartAssv2,pegasusq,
intellidemand,intelliactive,preservative
Added new I/O Scheduler:bfq,tripndroid,sio,vr,zen,sio-plus,fiops,test-iosched
Updated Zen IO scheduler and set as default
Simple GPU Algorithm
Added new GPU governor: conservative,cache-hwmon
Added optimization I/O, power_efficient workqueue, GPU
Added Adreno idler (addon for adreno-tz)
KCAL – Advanced Color Control for Qualcomm Devices
Added CPU hotplug:intelli,Alucard,Zen Decision,mako hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Supports notifier for start&end of LCD power on&off
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Added mac80211 injection patch and HID patch for keyboard support
msm: memutils: memcpy, memmove, copy_page optimization
Enhance power efficiency: Series of patches from NVIDIA
last_kmsg
support for kernel mode NEON
fastcharge
enable additional TCP congestion algorithms:westwood,bic,htcp,vegas,veno,yeah
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
powersuspend PM kernel driver
2015-10-08 v14.0 :
Updated kernel to 3.4.14
Support F2FS filesystem(from linux kernel 4.2)
Updated ZRAM (from Linaro Stable Kernel 3.10)
ZRAM: enable lz4 algorithm backend
Built with UBER toolchains 4.9.4 20151001
Add custom logo
leds-qpnp:Blink interpolation; fix qpnp-pwm driver
notifier:it's going slowly on and slowly off
Re-updated bfq I/O gov to v7r8
tcp_output: set initial TCP window size to 64K (speed improvement)
PM: Enable asynchronous noirq resume threads to save the resuming time
tcp_cubic: better follow cubic curve after idle period
Click here to see how to Change File System.
http://forum.xda-developers.com/showpost.php?p=63199033&postcount=79
2015-10-17 v15.0 :
fix the random reboot issues
f2fs: getting the latest code from upstream
f2fs: system partition support
zram: fix merge errors & bring up to date with Cl3Kener's branch
zram: set lz4 algorithm as default
lz4: update some codes from upstream
zsmalloc: fix merge errors
removed intelli thermal
thermal: add 3-phase msm_thermal(thanks to showp1984)
memory.c: fix show_mem_removable() to handle missing sections
2015-11-16 v16.0 :
Merge 14.6.A.1.216 kernel sources
Updated ramdisk to 14.6.A.1.216
updated kernel to 3.4.20
updated UBER toolchains to 4.9.4 20151101
f2fs: getting the latest code from upstream
enable higher eMMC speed modes(thanks to Tommy-Geenexus)
2016-02-29 v17.0 :
Merge 14.6.A.1.236 kernel sources
Updated ramdisk to 14.6.A.1.236
Updated UBER toolchains to 4.9.4 20160201
Updated zzmoove governor
f2fs: catch up to linux kernel 4.5-rc1 & backport support(removed system partition support, only data & cache partition support)
binfmt_elf.c: use get_random_int() to fix entropy depleting
leds: leds-qpnp: Add API for RGB led
fix last_kmsg that isn't working
2016-04-03 v18.0 :
Updated kernel to 3.4.25
Updated TWRP to 3.0.1
build with UBER toolchains 5.3 20160401
f2fs: catch up to linux kernel 4.5 & backport support
fixes some minor bugs
2017-03-26 v19.0 :
updated twrp to 3.1.0
build with gcc-linaro toolchains 5.4.1-2017.01(stable) and gcc-linaro toolchains 6.3.1-2017.02(testing)
update busybox to 1.26.2
update some codes from codeaurora
minor bug fixes and improvements f2fs
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
downloading
i hope i wont suffer with the annoying bad memory management
thanks for the awsome features on the kernel btw
Nice work dude!kernel is butter smooth.very stable.i am enjoying it!thankz and dnt stop your work!all d best!
really smooth and stable memory leak still presist but it isnt like before , it is somehow better
Keep the cool work thanks for this awsome kernel atleast now i can open whatsapp and chrome without suffering
hitesh1792 said:
Nice work dude!kernel is butter smooth.very stable.i am enjoying it!thankz and dnt stop your work!all d best!
Click to expand...
Click to collapse
iSpammer said:
really smooth and stable memory leak still presist but it isnt like before , it is somehow better
Keep the cool work thanks for this awsome kernel atleast now i can open whatsapp and chrome without suffering
Click to expand...
Click to collapse
Thanks for the feedback. All credits goes to xda developers(e.g.,cocafe,AndroPlus,DooMLoRD).
I will trying to optimize the kernel.
to be included in v9.0 changeLog:
it'll release soon
changeLog:
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove Governor to 1.0-beta8
Added CPU hotplug Zen Decision
is there gpu overclocking? please add that too if you can. btw nice work!
ScatteredHell said:
is there gpu overclocking? please add that too if you can. btw nice work!
Click to expand...
Click to collapse
If I can, I will try
Will try new version when it will be available
Keep up the good work bro :good:
What app do you use to control this kernel?
從我的 C6903 發送
Thx for the update dude!!thx!!can u please share your kernel settings??governor? hot plug?i/o scheduler etc??
---------- Post added at 04:49 AM ---------- Previous post was at 04:35 AM ----------
you can use kernel auditor
phhuang said:
What app do you use to control this kernel?
從我的 C6903 發送
Click to expand...
Click to collapse
hitesh1792 said:
Thx for the update dude!!thx!!can u please share your kernel settings??governor? hot plug?i/o scheduler etc??
---------- Post added at 04:49 AM ---------- Previous post was at 04:35 AM ----------
you can use kernel auditor
Click to expand...
Click to collapse
it depends on how you use it. You can try to set HYPER / zen - great battery/performance combination.
disable MPDecision/enable Alucard Hotplug & Simple GPU Algorithm.
Thx bro!
sharonliu said:
it depends on how you use it. You can try to set HYPER / zen - great battery/performance combination.
disable MPDecision/enable Alucard Hotplug & Simple GPU Algorithm.
Click to expand...
Click to collapse
Hello!can we add mako hotplug in this kernel if possible!just asking!
hitesh1792 said:
Hello!can we add mako hotplug in this kernel if possible!just asking!
Click to expand...
Click to collapse
I can't guarantee anything, but I will try
why my notification sound louder ? i want stock sound
rebiiejr said:
why my notification sound louder ? i want stock sound
Click to expand...
Click to collapse
Increase default speaker volume from v7.0. Is there anyone who thinks default volume too loud lily?
If yes i will back to the regular volume in the next release.
Yup the notification sound is loud.
sharonliu said:
Increase default speaker volume from v7.0. Is there anyone who thinks default volume too loud lily?
If yes i will back to the regular volume in the next release.
Click to expand...
Click to collapse
sharonliu said:
If I can, I will try
Click to expand...
Click to collapse
Please I need it. Best of luck.
Sent from my C6902 using XDA Free mobile app

[KERNEL][CM12.1]🌟Kernel NEOX🌟 v6.9 Fix Charge UBERTC-700 and Dual Sim 9300I

[KERNEL][CM12.1]🌟Kernel NEOX🌟 v6.9 Fix Charge UBERTC-700 and Dual Sim 9300I
Kernel is for CM 12.1 5.1.1
{
"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"
}
My device is GT-I9301i
Code:
[COLOR="Red"]* 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.
*/[/COLOR]
Features
Add KCAL - Advanced color control for Qualcomm MDSS 8226 use OC-KAL and apk in Attach Files
Code:
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue - may have issues with msm8x26 in the higher values
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128-383) - Controls display contrast
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Last Github Rox sources
Overclock add 1497600, 1593600 freq.
Add new Governors for CPU:
PERFORMANCE POWERSAVE USERSPACE ONDEMAND INTERACTIVE CONSERVATIVE INTELLIACTIVE PEGASUSQ PEGASUSQPLUS ZZMOOVE
Add LZ4 COMPRESS
Use Toolchain Linaro gcc 5.2.1 20151005 Graphite
( no more Use Toolchain Uber gcc 5.3.x Optimized)
Code:
GRAPHITE = -fgraphite -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-loop-linear -floop-nest-optimize
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Ofast -fomit-frame-pointer -pipe -DNDEBUG -fgcse-las $(GRAPHITE) -pthread
HOSTCXXFLAGS = -pipe -DNDEBUG -Ofast -fgcse-las -mfpu=neon-vfpv4 $(GRAPHITE)
KERNEL_FLAGS = -pipe -DNDEBUG -Ofast -marm -mtune=cortex-a9 -mcpu=cortex-a9 -march=armv7-a -mfpu=neon-vfpv4 \
-mvectorize-with-neon-quad -fgcse-after-reload -fgcse-sm -fgcse-las \
-ftree-loop-im -ftree-loop-ivcanon \
-fivopts -ftree-vectorize -ffast-math -fno-schedule-insns2 \
-fmodulo-sched -fmodulo-sched-allow-regmoves -fno-tree-vectorize $(GRAPHITE)
MOD_FLAGS = -DMODULE -fno-pic $(KERNEL_FLAGS)
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized)
else
KBUILD_CFLAGS += -Ofast
KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized) -fno-inline-functions
KBUILD_CFLAGS += $(call cc-disable-warning,array-bounds)
endif
Tricks
Controll TCP: veno
Scheduler: Tripnoid - Buffer size 1024
Freq Cpu:
MIN 300000
MAX 1593600
Governor: Lionheart
Fast Charge: ON
MPDecision: OFF
Intelli-Plug: ON or OFF
MSM HOTPLUG: ON always
GPU Governor: msm-adreno-tz
Enable Adreno Idler
Profiles for my kernel Thanks to neonkat
#Gaming(performance)
gov-performance
max cpu freq-1593Mhz
i/o-zen
#Balanced
gov-yankactive/yankdemand
max cpu freq-1401Mhz
i/o-sio
#Heavy Multi-tasking
gov-zzmove
max cpu freq-1593Mhz
i/o-bfq
#Insane battery life
gov-smartmax/powersave
max cpu freq-1190Mhz/1094 Mhz
i/o-noop
Credits
Rox
CyanogenMOD
Samsung
Google
CodeAurora
Qualcomm
Guide
Use Trickster Mod or Kernel Adiutor for Setup Kernel
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=it
Version
Code:
v1.1 Update Ramdisk new Rox Rom
v1.2 add news Features:
CONFIG_INTELLI_PLUG=y
CONFIG_LAZYPLUG=y
CONFIG_POWERSUSPEND=y
CONFIG_FORCE_FAST_CHARGE=y
CONFIG_FRANDOM=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_ALLOW_CPU_ALIGNMENT=y
v1.3 add news Features:
CONFIG_SOUND_CONTROL_HAX_3_GPL=y
For Faux SOUND CONTROL Use Trickster Mod or Kernel Adiutor
Pics Sound Control
CONFIG_INTELLI_THERMAL_V2=y
Pass Antutu Benchmark v5.7.2
ZRAM point: 21430
ZSWAP point: 21544
Undecided whether it is better 'ZSWAP' or 'ZRAM'
Please you decide you...
otherwise I do double version.
ZSWAP parameters:
in '/sys/modules/zswap/parameters'
max_compression_rate = 80 default
max_pool_percent = 20 default
Fix Hardware msm8226
Fix battery drain
New Version v2.0 zswap zram
Fix ALL :cool:
Fix zram and intellitermalV2 too
Problem with RR 5.5.8 (please update to Rom's Rox last build or RR 5.5.9 )
New Version v2.1 for RR 5.5.9 and Rom's Rox last build
update Adreno driver from kernel 3.4.108 experimental
Add version kernel 2.0 for Rom RR558 and old rom Rox.
New Version v2.2 for RR 5.5.9 and Rom's Rox last build
Patch take of CyanogenMod 13, ROM for the Moto G 2015
[URL="http://forum.xda-developers.com/2015-moto-g/orig-development/rom-cyanogenmod-13-t3254236"]http://forum.xda-developers.com/2015-moto-g/orig-development/rom-cyanogenmod-13-t3254236[/URL]
drivers: /drivers/mmc/core/core.c
mmc: disable software CRC checks for 30% performance
/*
* Enabling software CRCs on the data blocks can be a significant (30%)
* performance cost, and for other reasons may not always be desired.
* So we allow it to be disabled.
*/
bool use_spi_crc = 0;
module_param(use_spi_crc, bool, 0644);
Kernel v2.3
Build with 'The SaberMod Project' 20150804
+ CONFIG_BLU_PLUG=y
The Dynamic hotplug driver automatically online/offline CPUs proportional to system load.
Enable setting security contexts on rootfs inodes.
+ CONFIG_UID_CPUTIME=y
Per UID based cpu time statistics exported to /proc/uid_cputime
Kernel v2.4
News: Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
arm-eabi-gcc (GCC) 4.9.x-sabermod 20150828 (prerelease) so
CONFIG_ARM_UNWIND=y enable for Cortex-a7.
Update "force fast charge" Port to Nexus 5
and fix in /drivers/usb/otg/msm_otg.c
Add "Support for xor-neon"
Fix some gorvernors.
Active disable software CRC
Active Blu Plug (if you wont disable Intelliplug with Kernel Adiutor)
Kernel v2.5
Build Full -O3
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
KBUILD_CFLAGS += -O3
revert - mmc: disable software CRC checks -
+CONFIG_CPU_FREQ_GOV_SMARTMAXMOD=y
Add governor SMARTMAXMOD with powersuspend
Networking options CONFIG_XFRM all
Update from kernel v3.4.109:
update /drivers/platform/msm
+CONFIG_USR_RESET_WARNING=y
This option enables a device driver that monitors user reset warning
GPIO.If the driver receives the warning it calls kernel_halt to notify
drivers registered for the reboot notification about incoming HW reset.
+CONFIG_DROPBOX=y (this is usefull)
This option enables a sysfs interface for drivers to send text or
binary events to the Android dropbox. A lightweight userspace daemon
polls the sysfs files and copies the data into dropbox using the built
in dropbox manager service. This enables fast and simple logging of
various critical events from kernel drivers.
+CONFIG_HOB_SHARED_RAM=y
Provide mechanism to access hob storage shared memory on apps
processor. HOB - or the Hand Over Block - is the staging area for
phasing data.
+CONFIG_ALSA_TO_H2W=y (this is usefull)
This option enables a device driver that attach to the input queue and
and exposes EV_SW events SW_HEADPHONE_INSERT & SW_MICROPHONE_INSERT in
/sys/class/switch/h2w/state used by Android headset observer.
The caf kernel is optimized for Qualcomm phones. I'm replacing files possible without altering operation, but do not rule out some bugs.
Now is just the time to really test the phone but for now I think
almost everything ok .... If you find any bugs warn but for me the camera works in both zram that zswap ...
Install : Flash in Recovery mode
kernel_cm-13.0-20151119-s3ve3g-v2.0-zswap.zip ( Problem with RR 5.5.8 (please update to Rom's Rox last build) )
kernel_cm-13.0-20151119-s3ve3g-v2.0-zram.zip ( Problem with RR 5.5.8 (please update to Rom's Rox last build) )
Note : this version update Adreno driver from kernel 3.4.108 experimental (but works)
kernel_cm-12.1-20151122-s3ve3g-v2.2-zswap.zip ( for RR 5.5.9 and Rom's Rox last build )
kernel_cm-12.1-20151122-s3ve3g-v2.2-zram.zip ( for RR 5.5.9 and Rom's Rox last build )
Note : this version is Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
kernel_cm-12.1-20151127-s3ve3g-v2.4-zswap-crc-google.zip ( for RR 5.5.9 and Rom's Rox last build )
kernel_cm-12.1-20151127-s3ve3g-v2.4-zram-crc-google.zip ( for RR 5.5.9 and Rom's Rox last build )
NEW KERNEL CAF v1.1 by n1kolaa
Note : this version is Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
I decided to build the kernel with the sources of Thread by n1kolaa v3.4.67 for testing With all my changes:
kernel_cm-12.1-20151129-s3ve3g-caf-v1.1-zram-google.zip ( for Rom's Rox last build )
kernel_cm-12.1-20151129-s3ve3g-caf-v1.1-zswap-google.zip ( for Rom's Rox last build )
NEW Kernel v2.7
Note : Build Full -O3 Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
kernel_cm-12.1-20151226-s3ve3g-v2.7-zswap-google.zip ( for last build )
kernel_cm-12.1-20151226-s3ve3g-v2.7-zram-google.zip ( for last build )
Code:
* ZZMoove Governor profiles header file modified by Zane Zaminsky 2013/14
*
* currently available profiles by ZaneZam and Yank555:
*
* - (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 -
*
Old version:
NEW Kernel v4.0:
Kernel Version 4.0
Change Toolchain Dorimanx-LG-G2-D802-Kernel
Change to KCAL V2 mdss_mdp_kcal_ctrl.c
Change fastcharge driver
NEW Kernel v4.1:
Kernel Version 4.1
Powersuspend driver Default to userspace mode
NEW Kernel v4.2:
Kernel Version 4.2
Add MSM_HOTPLUG by myfluxi
Fix Bluetooth Stuttering by [email protected]
update commit CAF kernel v3.4.67
NEW Kernel v4.6:
Kernel Version 4.6
Zram rewrite and set lz4 compression
Add other CPU Governors
Update Powersuspend v1.7
Classic Toolchain arm-cortex_a7-linux-gnueabihf-linaro_4.9.4-2015.06
Initram KERNEL in GZIP
NEW Kernel v4.7:
Kernel Version 4.7
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
NEW Kernel v4.9:
Kernel Version 4.9
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
NEW Kernel v5.0:
Kernel Version 5.0
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
New Wi-Fi driver from Motion Rom
Update Zram add 4 devices (you can edit 99zram in init.d)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New Cpu Boost driver
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Click to expand...
Click to collapse
NEW Kernel v5.1:
Kernel Version 5.1
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
New Wi-Fi driver from Motion Rom
Update Zram add 4 devices (you can edit 99zram in init.d)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New Cpu Boost driver
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Workqueues marked with WQ_POWER_EFFICIENT
Update commit WQ_POWER_EFFICIENT
Fix SOUND DRIVER (resolved bug no sound on any music player)
Control Output Sound in Kernel Adiutor menu Sound
Sound Control 3.4 Author: Paul Reioux aka Faux123 <[email protected]>
Update Gpu Devfreq
Add Adreno Gpu governor CONSERVATIVE (now work)
Click to expand...
Click to collapse
NEW Kernel v5.2:
Kernel Version 5.2
Equal to 5.1 but build with Linaro Toolchain 5.2.1 very smoot...
Add Governors:
ARTERACTIVE Copyright (C) 2014 Samsung from SM-G900F source
"Latency sensitive workloads based on Samsung's Galaxy S5 Interactive");
CYAN Copyright (C) 2015 Emre Harbutoğlu
"Latency sensitive workloads based on Google's Interactive"
Click to expand...
Click to collapse
NEW Kernel v5.5:
Kernel Version 5.3
Build with Linaro Toolchain 5.3.1 very smoot...
Add new commit:
fix false disconnect due to a signal sent to the reading process
ksm: check and skip page, if it is already scanned
Input: Send events one packet at a time
cpufreq: Optimize cpufreq_frequency_table_verify()
Add /dev/frandom
lib/string: use glibc version
lib/memcopy: use glibc version
Enable pipe flag.
mm: readahead to 256
vfp: hardfloat
Add Commit to Cpu Boost
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
KERNEL in XZ
New v5.5:
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Fix Volume Crackling in sound setting
Change :
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
add Cpu governor interactive_sm
from S5 mini g800h
Click to expand...
Click to collapse
Fix SOUND
NEW Kernel v6.9:
Kernel Version 5.6
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Fix Volume Crackling in sound setting
add Cpu governor interactive_sm
Revert this : (not work crash kernel)
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
from S5 mini g800h
Kernel Version 5.7
More stable
Fix bug install apps
Kernel Version 5.8
add more features
optimize
Kernel Version 5.9
OC GPU 550Mhz (not tested)
Kernel Version 6.0
OverClock GPU to 550Mhz
UnderClock CPU to 192Mhz and 249Mhz
Stable
Kernel Version 6.1
Some fix
Kernel Version 6.2
fix Skype don't start ( in qpnp-charger.c deactivate debug )
Kernel Version 6.3
Add Async Fsync from HTC Kernels
Add Dynamic file sync control
Antutu 22597 score
Kernel Version 6.5
New Toolchain...
UBERT gcc version 7.0.0 20160421 (experimental)
Add CRYPTO LZ4 (forgot)
edit:
Please delete version kernel 6.6
Error Build now reupped file sorry
Kernel Version 6.7
Finally...
Fix Charge off-line
Beta Sim working on GT-I9300I (test this)
Thanks to [email protected]
Error is in Ramdisk no Rom or Kernel sources
Kernel Version 6.8
New Power management options:
WQ_POWER_EFFICIENT_DEFAULT
QUICK_WAKEUP
PM_SYNC_BEFORE_SUSPEND
ZSWAP in LZ4
SOUND:
In fauxsound codec
Fix speaker gain volume store (use Kernel Adiutor in Sound)
Now work volume speaker
ATTENTION or damage speaker Max value 4-5
for WCD9306 sound control module Copyright 2013 Paul Reioux
Use: Start Google Play Music and play a song (only speaker)
Now start Kernel Adiutor goto in Sound and move slide Speaker Gain
v.6.9
Fix GPU overclock 550 Mhz
Add GPU min freq to 100 Mhz
Limit CPU Voltage at freq 192 and 249 MHz
Script Zram to 512 MB
If wi-fi not start flash WiFi-fix Galaxy S3 Neo CM12.1.zip
Click to expand...
Click to collapse
Build with Toolchain GCC: (UBERTC-7.0.0) 7.0.0 20160421 (experimental)
Beta Sim working on GT-I9300I (test this)
Download: Kernel-CM12.1-Neox-v6.9-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.9-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.9-u700-zcache.zip
This work on 9300I Carbon Ultimate Android 5.1.1 Dual Sim
Download: Kernel-9300I-DualSim-CM12.1-Neox-v6.9-u700-zram-b.zip
Download: Kernel-CarbonRom-test-Neox-v6.8-u700-zram.zip
If necessary flash this: Patch+RIL+(Dual+SIM).zip
Thanks to: MAXSIMUS96
old:
Download: Kernel-CM12.1-Neox-v6.8-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.8-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.8-u700-zcache.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zcache.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zcache.zip
Build with Toolchain Linaro gcc 5.2.1 20151005 Graphite
Download: Kernel-CM12.1-Neox-v6.3-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.3-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.3-l521-zcache.zip
Download: Kernel-CM12.1-Neox-v6.2-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.2-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.1-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.1-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.0-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.0-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v5.9-l521-zram.zip
Download: Kernel-CM12.1-Neox-v5.9-l521-zswap.zip
How to use new ZRAM goto here
PHP:
I used zram with this settings:
Cpu max : 1401
Governor : cyan
Multicore Power Saving : disabled
Schedule workqueues on awake CPUs to save power. off
Cpu Boost : off
Input boost frequency : disabled (all)
Hotplug Boost : on
Cpu Hotplug : Zen decision
Termic : intellithermal
GPU : default
Fast Charge: on
Scheduler I/O : deadline 256K
Misc :
Dynamic Fsync : off
Power Suspend Mode : UserSpace
Network : veno
Toolchain GCC: (UBERTC-7.0.0) 7.0.0 20160421 (experimental)
Thanks to: ZaneZam
Thanks to [email protected] And [email protected]
Commit: toolchain: multiple fixes and changes for gcc 5.0.0
Sources: https://github.com/MSM8226-Samsung/android_kernel_samsung_s3ve3g/tree/cm-12.1
Camera FIX only if camera not work :
Camera_fix.zip
or: cm12.1camera.zip
FIX Bug corrected the boring log :
QCOM PowerHAL Failed to acquire lock.
copy 'power.msm8226.so-cracked' to '/system/vendor/lib/hw/'
rename 'power.msm8226.so' to 'power.msm8226.so.original'
rename 'power.msm8226.so-cracked' to 'power.msm8226.so'
set octal attrib 0644 (use Root Explorer in Attributes). Reboot device...
Attach Files power.msm8226.so-cracked.zip
Flash in Recovery:
Can i install this kernel on résurrection remix ??
Envoyé de mon GT-I9300I en utilisant Tapatalk
mimbel said:
Can i install this kernel on résurrection remix ??
Envoyé de mon GT-I9300I en utilisant Tapatalk
Click to expand...
Click to collapse
Yes
OK thanks
Envoyé de mon GT-I9300I en utilisant Tapatalk
@Renix63 Good Job !
Reserved
Please renix add this future.
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Sectorian said:
Reserved
Please renix add this future.
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Click to expand...
Click to collapse
ok.
@Renix63 what is the super charger script and the other mtk one? What do they add?
Sent from my GT-I9301I using XDA Free mobile app
Ok everything is working purfectly for now.
Im using it whit Resorection Remix and pegausplus gov.
Verry smooth and fast.
Man what are you doo whit this kernel.
My battery life is superb.
Thank you.
Im using pegasusplus gov.
Sectorian said:
Ok everything is working purfectly for now.
Im using it whit Resorection Remix and pegausplus gov.
Verry smooth and fast.
Man what are you doo whit this kernel.
My battery life is superb.
Thank you.
Im using pegasusplus gov.
Click to expand...
Click to collapse
Can you tell me some info about battery? Or attach a screenshot please?
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
Maybe wiping cache and dalvik will make a difference if you haven't already tried.
Sectorian said:
Ok everything is working purfectly for now.
Click to expand...
Click to collapse
Is WiFi working for you too? I’m having a bit of a problem with that… (WiFi not working, as with n1kolaa’s kernel if you forgot to flash modules.zip.)
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
Wipe cache and dalvik cache. WiFi is working for me after i did it.
MoonPWR said:
Wipe cache and dalvik cache. WiFi is working for me after i did it.
Click to expand...
Click to collapse
That isn’t doing it for me, I’m afraid.
aelfinn said:
That isn’t doing it for me, I’m afraid.
Click to expand...
Click to collapse
I came to this kernel from n1kolaa's kernel and that's what i did:
1) Wipe cache and dalvik cache
2) Installs kernel (kernel_cm-12.1-20151021-s3ve3g-OC-KAL.zip)
3) Do cache and dalvik cache wipe again (dunno what for again, but i did)
MoonPWR said:
I came to this kernel from n1kolaa's kernel and that's what i did:
1) Wipe cache and dalvik cache
2) Installs kernel (kernel_cm-12.1-20151021-s3ve3g-OC-KAL.zip)
3) Do cache and dalvik cache wipe again (dunno what for again, but i did)
Click to expand...
Click to collapse
Now that did indeed work. Although goodness knows why…
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
WiFi working well
If not working delete manually the file /system/lib/modules/wlan.ko reboot and reflash kernel
Omg you did it.
You add it thanks so many times.
Im gonna flash it and test it.
It work.
It work.
I can manual set the saturation of my display settings whit color control apk.
N1 you are n1.
Best settings.
Amazing work @Renix63! Many thanks! Everything is working, deep sleep, reboot... : )
One question. If I switch between battery modes, it goes back to interactive governor, and I have to manually change it to pegasusq. Any way to prevent that happening?

[KERNEL] [LOS 14.1-MiUi 9][HMP-EAS] Nagatobimaru [28 September]

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[for all variants]-
-Savoca KCAL-
-Blu_active 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-
-Wipe Cache and Dalvik (Optional)-
-Reboot!-
Download :
https://www.mediafire.com/folder/5yu4ri9bumpts/Gemini
MiUi-Gemini is for MiUi 9 ( or MiUi 9 based roms )
HMP-Gemini is for LOS or other Los based roms.( w/o EAS support )
EAS-Gemini is for EAS supported roms.
EAS-voxpopuli-Gemini is for EAS supported roms which using Vox Populi Power HAL.
* users should use spectrum to load the kernel settings ( balance profile ) on every boot. *
--------------------------------------------------------------------------------------------------------------------------------------
Credits:
bgcngm-franciscofranco-Sultanxda-flar2-eng.stk-The Flash-frap129-osm0sis
--------------------------------------------------------------------------------------------------------------------------------------
Contributors:
MEGAX91
Source :
https://github.com/GUYVER91/Capricorn
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.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
these are my kernel settings , you can use them in case you can't use spectrum.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Only use EAS builds alongside EAS supported roms..
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if you think your battery life is not good enough , use betterbatterystats and find the battery drain causes..
Changelog :
v3.0 :
[HMP Builds] :
-removed OC frequencies ( standard SD820 frequencies are still available for 32GB variant )
-updated Wlan Driver
-updated blu_active CPU Gov
-updated sound control
-updated thermal driver
-updated cpuidle driver
-updated F2FS driver
-memory management improvements
-upstream updates
-bug fixes
[EAS Builds] :
-removed OC frequencies ( standard SD820 frequencies are still available for 32GB variant )
-updated Wlan Driver
-updated sound control
-updated thermal driver
-updated cpuidle driver
-updated F2FS driver
-memory management improvements
-upstream updates
-bug fixes
v2.0 :
[HMP Builds] :
-Merge Last CAF branch LA.UM.5.5.r1-05800-8x96.0
-Updated Wlan Driver
-added hyperx CPU Gov
-added Tripndroid I/O Scheduler
-updated blu_active CPU Gov
-removed qpnp-fg family wakeup sources
-Blocked lot of kernel wakelocks
-updated EXT4 driver
-lot of upstream changes
-Bug Fixes
[EAS Builds] :
-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 qpnp-fg family wakeup sources
-Blocked lot of kernel wakelocks
-updated EXT4 driver
-lot of upstream changes
-Bug Fixes
v1.0 :
initial release
a bout EAS :
EAS stands for Energy Aware Scheduling , where the whole governor settings + HMP Settings are replaced by one system relying on "scheduler hints" from specifically modded low-level files including specially modded libs and framework patches.EAS aims to achieve better battery through lowering the product of V * I by altering the voltage along with the frequency dynamically based on loads calculation and the frequency used and many other variables.
EAS will set the core > Frequency > voltage per task. If the scheduler decided that a task needs a higher freq then it supplies that before the task is placed on a core.
Also the great thing about EAS (When tuned and setup properly) is that it is setup to not overshoot and overpower task workload.
Unlike our standard governor like interactive that does sampling and cpu-boost. These both can overshoot the performance needs pf the current workload thus leading to energy loss.
in short : EAS is all about setting the stune groups and the cpusets and using a sched -or schedutil- governor. There has to be an energy model for the SoC so that there is proper energy costs calculation made
*Energy models are the voltage/frequency*
Nice to see this kernel for mi5.
It Should work with Aosp (extended)? It uses schedutil governor by default.
And.does.it have oc.for 32gb version?
RootNightmareX said:
Nice to see this kernel for mi5.
It Should work with Aosp (extended)? It uses schedutil governor by default.
And.does.it have oc.for 32gb version?
Click to expand...
Click to collapse
Reeead the OP! ^^
Second item under features: "CPU/GPU OC [for all variants]"
RootNightmareX said:
Nice to see this kernel for mi5.
It Should work with Aosp (extended)? It uses schedutil governor by default.
And.does.it have oc.for 32gb version?
Click to expand...
Click to collapse
yes , it works on AEX. ( on EAS build , schedutil is the default Gov )
OC is available for all variants.
Phil_Smith said:
Reeead the OP! ^^
Second item under features: "CPU/GPU OC [for all variants]"
Click to expand...
Click to collapse
Preeety sure it wanst there when i red it 1st time
RootNightmareX said:
Preeety sure it wanst there when i red it 1st time
Click to expand...
Click to collapse
Okay, I see. Sorry then.
Waow new kernel again. Great work, thank you..
Min 1,2ghz
Max 1,1ghz freq.
Its normal? Any recommaned freq?
Nice to see your kernel on Gemini! I used to follow it on Kenzo, will try it soon
RootNightmareX said:
Min 1,2ghz
Max 1,1ghz freq.
Its normal? Any recommaned freq?
Click to expand...
Click to collapse
No! min freq is 307200MHz! use spectrum and choose balance profile.
MEGAX91 said:
No! min freq is 307200MHz! use spectrum and choose balance profile.
Click to expand...
Click to collapse
The hmp version also got EAS? Sorry if it's a low question.
Eas works good with Pure Fusion, spectrum balanced mode so far so good.
masterlo3 said:
The hmp version also got EAS? Sorry if it's a low question.
Click to expand...
Click to collapse
No.
MEGAX91 said:
No.
Click to expand...
Click to collapse
Lol thanks. I figured. Downloaded and testing on JDCT AOSP
Thanks for miui kernel. I've used your kernel before on kenzo and it works fine. I hope it works fine too on gemini. Can you add flar2 wake gesture support on miui and los? Please keep update miui kernel. Thank you
can it work on rr roms?
Sheldon Lv said:
can it work on rr roms?
Click to expand...
Click to collapse
Sure it will

[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