[Kernel][PELT][EAS][Spectrum]Nameless Kernel[4.4.213][R31][z2_plus] - Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, &

! This kernel is based on treble tree,so make sure you are on a treble ROM !
【! From R20 , it only support 4.4 compatible ROM since we are having 4.4 kernel !】
! Some profiles from /vendor will be replaced so if you want to fully uninstall this kernel,just dirty flash your current ROM!
If you are coming from other kernels,better to do a dirty flash on your current ROM to avoid any strange problems.
Nameless Kernel Snapshots Telegram Channel
https://t.me/nameless_zukz2
You can get latest test build here
---------Notice-----------
I can say with certain flashing this kernel is safe at all.Kernel will not go on OC freqs if u dont choose OC freqs by using tools like KA.So in fact u can use this kernel as a non-OC kernel Lol.
But the kernel has a lot of settings that could cause unstable like high OC freqs (2.53/2.46/780/2.0),so its strongly recommend to test the freq you want to use before you set it for daily use.Just lock min and max freq to it and see if theres kernel panic or crashes.If everything is fine,you can choose it for daily use.Or u can try to raise voltage for it and test again.
For every device:
OC 2.26+1.68+624 is stable
For most device:
OC 2.34+1.76+710 is stable
For some device:
OC 2.41+2.0(1.86)+780 is stable
For little device:
OC 2.50+2.0+780 is stable
So if this kernel is good at performance or battery depends on ur settings.Default settings(1.8+1.3+624) prefer battery + smooth.
!!!!!Above all,DONT PLAY PUBG ON OC FREQS IF U DONT HAVE WATER COOLER!!!!!
!!!!!UNDERCLOCK FOR PUBG OR U CAN HARDLY EAT CHICKEN LOL!!!!!
-------------------------------
Feature:
-Big cluster OC 2.5GHz
-Little cluster OC 2GHz
-GPU OC 780mHz
-Intellithermal included
-Modified thermal config included
-Sound control added
-A lot of TCP govs
-Ghostpepper from AKT included(Less heat and better performance)
-Sound control added
-Arch power included
-Fsync control added
-A lot of optimization included
-Touch boost can be switch now(disable by default)
-CPU set 2.15+1.59 as default
-Upstream to 3.18.107
-Background tasks can load on both cpu0 and cpu1
I think you neednt do anything about optimization to this kernel because I have already do my best for it XD
Download here:
https://github.com/xzr467706992/Nameless-Kernel-Release(old)
or
https://androidfilehost.com/?w=files&flid=267763 (new)
Spectrum download:
https://play.google.com/store/apps/details?id=org.frap129.spectrum
https://www.coolapk.com/apk/org.frap129.spectrum
(Chinese)
Flash it and reply this thread if ur phone dosent explode(just a joke)(It should be SAFE)
Source:
https://github.com/xzr467706992/android_kernel_zuk_msm8996
Anykernel repo:
https://github.com/xzr467706992/AnyKernel2
Many thanks to:
@mracar (Help me fix audio problem on z2 pro)
@DD3Boh (This kernel is based on his tree)
@Star_king12 (for awsome works on 4.4 kernel)
@kenny3fcb (for awsome works on 4.4 kernel)
And thanks everyone works on z2 (pro)

From R20 , it only support 4.4 compatible ROM since we are having 4.4 kernel. So go to flash a ROM with 4.4 kernel build in(Latest arrow,aex,etc.),or you ll get problem with video playback and usb.
The latest 3.18 kernel is R19.

R31
Changelog:
- Rebase on CAF "LA.UM.8.4.1.r1-00300-8x98.0"
- Linux 4.4.213
- Merge latest kernel/common
- Update qcacld wlan drivers to "LA.UM.7.6.r1-06700-89xx.0"
- Update simple lmk to v2.25.0
- Increase ZRAM size to 750MB
- Build kernel with clang 10.0.2
- Rebalance cpuset
- Update Anykernel3 and fix error on Android Q system-as-root
- Add msm_irqbalance binary from marlin
- (z2_plus) Restore to original zui touchscreen drivers, fixing touchscreen randomly fails on some devices
- Cleanup some useless commits
- Fix network signal guru not working
- Fix spectrum profile reset after booting
- Fix performance drain after locking screen for a while on some ROM
- Remove OC as it may influence EAS energy balance
- Improve smoothness under mobile data
- Improve app launching time
- Fix up PELT with backports from kernel/common android-4.14
- Move to PELT load tracking for EAS
- Enable iptable ttl target support
- (z2_plus) Add display panel refreshing rate overclock
* Need lock and and unlock (turn screen off and on) after booting or OC wont work.
- Add cpu undervolt
* uv1=undervolt slightly
uv2=undervolt extremely (mostly unstable)
* uv2 can bring about 15% power cost drop down for Kryo HP @ 2.15Ghz
R30
Changelog:
- 4.4.184
- Merge latest caf tag
- Merge kernel/common
- Merge latest qcacld wlan drivers
- Update Clang to 9.0.5
- Update Anykernel2 to Anykernel3
- Move to simple_lmk
- Drop ZRAM size back to 512MB
- Update cpu_input_boost drivers
- Fix some more memleaks
- Support disable FP in latest lineage
- Include sultan's iommu,qos,mdss,cpuidle and many other optimizations
- Upstream f2fs and rapid gc changes
- Allow background tasks load on cpu1
- Slightly optimize touchscreen performance
- Drop z3fold and move back to zsmalloc
- Move back to stock lz4 modules
R29
Changelog:
- 4.4.178
- Rebase on caf's kernel.lnx.4.4.r37-rel branch with latest kernel/common changes merged in
- Update to latest qcacld wlan drivers
- Clang update to 9.0.2
- Gcc update to 9.0.1
- Add hall switch driver
- Upstream f2fs
- F2fs rapid gc support
- Bump up framebuffer boost value of performance profile to 1GHz
- Upstream anxiety io scheduler
- Cleanup defconfig
- Fix log spam on ROMs with hmp perf stack
- Upstream EAS
- Fix some memleaks
- Limit the rate of CPU clock-rate changes
* You can edit it at /sys/module/qcom_cpufreq/parameters
- Boost cpu when lmk decide to kill tasks
* You can edit it at /sys/module/boost_control/parameters/lmk_boost_ms
R28
Change log:
- Update to latest qcacld wlan drivers
- Merge latest caf tag
- Improve idle drain slightly
- Fix USB tethering really
- Remove unused livedisplay drivers
- Underclock cpu on suspend
* You can edit the frequencies in /sys/module/cpufreq/parameters
* Underclock 307mhz+307mhz on suspend for battery profile and 1.0ghz+0.8ghz for balance profile
- Add shenqi_nv support
- Clang 9.0.1
- Improve fp speed slightly
- Remove init.qcom.sh in ramdisk patches and move changes into init.nameless.sh
- More cpufreq and io schedulers bring in
- Boost cpu when launch apps (You can edit boost duration at /sys/module/boost_control/parameters/app_launch_boost_ms)
*Default set 500 for balance and 1500 for performance and gaming.
- Move back to old sound drivers so that low sound problem maibe fixed.(Still not sure if this is the real problem)
R27
Change log:
- 4.4.176
- Fix -4℃ in KA
(But the cpu temperature is still not accurate because KA is reading a wrong sensor)
- Improve standby.
- Enable iowait_boost.
- Move to dynamic stune boost(Improve battery slightly)
- Updated thermal config
- Move init.spectrum.sh to /vendor/bin
- Fix broken sound in wechat videoplayback&Tik Tok
- Fix phone's mic when headphoes are plugged in
* Thanks to yaro's source
- Encryption (maibe) fixed(ROM support needed)
- Speaker gain is back
- Applied some upstreams from kernel/common
R26
Change log:
- 4.4.174
- Latest caf tag
- Latest qcacld drivers
- Upstream f2fs
- Update fp drivers with yaro's one
- Add support for spectrum
- Support sultan's boost.And you can control it at /sys/module/boost_control/parameters
- Battery improved a lot (at least for me)(About -12%/h under wifi with performance profile on normal usage)
- Fix broken bt,fp and other sensors on aosip,pe etc.
- Switch to mount factory as vendor.
( If you are on a ROM with vendor mount as vendor,what you need to do is
1. Flash twrp with factory support( https://androidfilehost.com/?fid=11410963190603913223 )
2. Flash vendor2factory ( https://androidfilehost.com/?fid=962187416754475514 )
3. Flash nameless and it ll work.
*Dont flash v2f after flashing the kernel,otherwise spectrum wont work and vendor ramdisk wont be updated.
)
*If you are coming from other kernels,better to do a dirty flash on your current ROM to avoid any strange problems.
Spectrum profiles:
cpubigmax+cpulittlemax+gpumax+gpumin+schedtune.boost-value+sultan-boot-big+sultan-boost-little
Balance(Default):1.8+1.3+510+180+1+0.5+0.8
Performance:2.15+1.59+624+180+10+0.4+0.6
Battery:1.4+1.0+401+180+1+0+0
Gaming:1.6+1.4+510+315+10+0.8+0.8 (For stable pubg experience)
Spectrum download:
https://play.google.com/store/apps/details?id=org.frap129.spectrum
https://www.coolapk.com/apk/org.frap129.spectrum
(Chinese)
* Reep for hmp build because its dead.Switch to R23.1 or R24 if you love it.(I rebase hmp build on eas ,but R25 seems not booting,so its time to stop maintain it)
R25
Change log:
- 4.4.172
- Build with clang 8.0.7+gcc9
- Latest caf tag merged in
- Lastest qcacld wlan driver included
- f2fs upstreamed
- Add some memleaks fixes
- tcp partly backported from mainline
- cfq partly backported from mainline
- z3fold support
- memlat support
- upstreamed eas
- vdso patches included
- Switch to aosp's lmk
- Switch to yaro's fpc1020 drivers
R24
Change log:
- Rebase on 4.4.169 with latest caf tags
- Remove all unnecessary changes and upstreams
- Performance seems better than last build
- Fix booting on z2 pro
R23.1
Change log:
- Fix error when booting on hmp build
- Tweak EAS boost values for longer SOT and less heat
R23
Change log:
- Upstream to 4.4.166
- qcacld drivers updated
- Add support for irq balance
- Switch to android clang 8.0.5 and gcc 8.2
- Frame buffer boost disabled by default on hmp builds for longer SOT
R22
Change log:
- Upstream to 4.4.164
- EAS build available
R21
Change log:
- Enable lz4 for zram
- Sultan's fb boost enabled
- Charging problem fixed
* You can control sultan's boost yourself by editing files under /sys/module/boost_control/parameters
R20.1
Change log:
- Upstream to 4.4.163
- Build with LiuNian clang 8
- See github for more
R20:
Change log:
- Linux version 4.4.162
- Works on 4.4 compatible ROM only (ROMs with 4.4 kernel build in)
R19:
Change log:
-Upstream to 3.18.124
-Latest caf tags merged in
-HZ=300
-Improve stability on high load
-See more on github
R18
Change log:
-Upstream to 3.18.120
-Latest caf tags merged in
-Upstreamed some drivers
-Double click wake up enable by default(Works on P)
-Add support for hugepage but disabled by default
-Add support for ksm but disabled by default
*If your ROM is build with lineage trees in zuk-devs,hugepage will be enabled if your device have 6GB RAM and KSM will be enabled if your device have 3GB RAM.
-You can see gpu go 100mHz when theres no load this time
-Current information update every 5s
-See github for more changes
*If you are on Pie ROM with volte working.Flash R18[Volte] build or you ll lose volte after rebooting.
R17
Change log:
-Upstream to 3.18.115
-Include a safetynet patch (need test)
-Added an interface to adjust cpu max freq after screen off(in interactive gov)
-Interface to turn on/off cpu input boost
-Dynamic fsync included
-Gpu min freq now down to 180mHz
-Wireguard included
-Latest caf tag merged
-Latest qcacld driver merged
-Performance improve
R16
Change log:
-Build with DragonTC
-Performance improve
-Upstream to 3.18.110
-Latest source merged
-Faster boot-up speed(than last build lol)
-Back to use 2.15+1.59 as default
R15
Change log:
-Revert something that can cause unstable
-Undervolt for less heat(May cause panic on some device when benching, use voltage control to raise voltage if u meet that)
-Some upstreams
R14
Change log:
-Upstream to 3.18.108
-A lot of hotplugs included(Not recommend enable it on our kryo but u can have a try)
-Intellithermal removed because seems that it doesnt work.
-Use another sound control driver those problem may fixed
R13
Change log:
-Merge latest caf tag
-Use more proper freq table
-Use more proper values for Gpu
-Check if supported before flashing
-Use stock voltage for cpu to fix panic on some device when benching
R12
Change log:
-Upstream to 3.18.107
-Now cpus will not boost to OC freqs when device is booting and I lock it to a lower freq so there will less heat when booting but a bit slower than last version.So OC is quite safe now,cpu OC only when u select an OC freq,u can use this kernel as a non-OC kernel now Lol.
-Fix panic when booting on some bad devices.
-Big cluster OC 2.53 GHz now(Really unstable,I can only stay seconds on it with raising voltage to 1.25v (using voltage control).Hope some lucky guys could have a bench on it Lol.
!!!And do not use this freq for daily use!!!)
-Little cluster 1.86GHz added.
-“Performance” gov have got no performance now(because of those things before so lock min freq to max if u want to use something like performance gov)
R11
Change log:
-Undervolt a bit
-Upstream to 3.18.106
-Latest source merged
-USB fast charge added
R10.5
Change log:
-Fix voltage problem cause by a oversight
-Really less heat on this build because a ****ing problem is fixed Lol
R10
Change log:
-Fix audio on z2 pro
-Switch to GCC 7
-Underclock 1.8+1.3 as default
-Voltage control added
-Intellithermal added
-Fsync control added
-Sound control works
R9
Change log:
-Fix boot problem on aex0416 build
#Old tree with /factory mounting as /vendor is not supported now#
R8
Change log:
-Darkness added
-maple added
-New thermal conf added with less heat
-LMK back to stock
Nameless Kernel R7
Change log:
-Fix lagging cause by LMK
-Upstream to 3.18.105
-ElementalX added
-Zen I/O gov added
-A lot of network I/O gov enabled (westwood default)
-Set gpu 624mhz as default
-Raise voltage for little cluster 1996mhz and gpu 780mhz,it should be more stable now.
Nameless Kernel R6.5
-Not really a new build
Change log:
-Fix performance on AEX5.4.
Try this if u feel performance on aex5.4 is a ****
Nameless Kernel R6
for z2 plus and z2 pro
change log:
-Sound control added
-GPU now OC 780mHz
-GPU minimal frequency up to 214 mHz so it will be more smooth (Like recent UI)
-Added 1689 mHz for little cluster
-Lower voltage for non-OC frequencies for less heat
-Raise voltage for OC frequencies for stable
-Merge latest source for z2 pro from cosmedd's repo so sound problem should be fixed.

Nice, time to bomb Z2 plus up already its Summer Time Madness lol
Just Kidding, XD

Nice work.. lack of custom kernel for our device is now gone thanks to you.. I'll try when i flash treble rom but thank you anyway..

Am I dreaming? *0*

How is the battery life on this rom?

lolnwl said:
How is the battery life on this rom?
Click to expand...
Click to collapse
It is not a ROM !
It is a kernel .

Can someone give a review of batter performance of this kernel on aex, i am currently on non treble rom can't try the kernel

That 2.4 oc is bad really bad its unstable for the device

MtBlackstar said:
That 2.4 oc is bad really bad its unstable for the device
Click to expand...
Click to collapse
So I lock it down to 2.15 as default.You can choose 2.2/2.3 as you like.

Is voltage control available? And I think there're too little steps above the stock frequencies, and did you modified GhostPepper to include all the OC frequencies?

pipyakas said:
Is voltage control available? And I think there're too little steps above the stock frequencies, and did you modified GhostPepper to include all the OC frequencies?
Click to expand...
Click to collapse
No voltage control.Ghostpepper has modified.

If possible to have sound control would be nice :silly::good:

Can we have a nogut version please?

xzr467706992 said:
! This kernel is based on treble tree,so make sure you are on a treble ROM(AEX,cosmic....) !
! Some profiles from /vendor will be replaced so if u dont trust me,backup /vendor before flashing!
Feature:
-Big cluster OC 2.46GHz
-Little cluster OC 2GHz
-GPU OC 710mHz
(sdm 835 Lol)
-Ghostpepper from AKT included(Less heat and better performance)
-Adreno idler included
-Arch power included
-A lot of optimization included
-Touch boost can be switch now(disable by default)(Merge from A.R.Beast)
-CPU set 2.15+1.59 as default
-Background tasks can load on both cpu0 and cpu1
-Upstream to 3.18.102
I think you neednt do anything about optimization to this kernel because I have already do my best for it XD
Download here:
https://github.com/xzr467706992/Nameless-Kernel-Release
Flash it and reply this thread if ur phone dosent explode(just a joke)(It should be SAFE)
Source:
https://github.com/xzr467706992/android_kernel_zuk_msm8996_plus
Anykernel repo:
https://github.com/xzr467706992/AnyKernel2
Click to expand...
Click to collapse
What do you mean by ghostpepper included, is it active by default or we must activated from kernel auditor?

bordi21 said:
What do you mean by ghostpepper included, is it active by default or we must activated from kernel auditor?
Click to expand...
Click to collapse
1.Ghostpepper is an akt profile.
2.Active by default

xzr467706992 said:
1.Ghostpepper is an akt profile.
2.Active by default
Click to expand...
Click to collapse
Thx for the answer and the kernel, I have tried it and the oc is not stable, 2.5 GHz is a little to much )) at least for my device.

bordi21 said:
Thx for the answer and the kernel, I have tried it and the oc is not stable, 2.5 GHz is a little to much )) at least for my device.
Click to expand...
Click to collapse
For me it is stable Lol.You meet kernel panic?How unstable?
And u can use lower OC freq

xzr467706992 said:
For me it is stable Lol.You meet kernel panic?How unstable?
And u can use lower OC freq
Click to expand...
Click to collapse
I mean force restart

Related

[KERNEL][F2FS/EXT4][GEE(HRC)][LOLLIPOP/STOCK] jolla-kernel_AIO_Gen2-v2.5_Up8 13/03/15

Code:
*
* Your warranty is now void.
*
* This kernel is build my ruddnr951 (Kim Kyeongwook) at Korea android Forum.
* If you wanna contact with me, e-mail to [email protected]
--------------------------------------------------------------------------------------------------
* Me and Jollaman999 are not responsible for bricked devices.
*
Kernel Info
Builder : jollaman999
Intro : Added some features from other kernel sources based on CM kernel. And added some I/O schedulers, Governers, Overclock and Battery optimization.
====Features====
- Dynamic Thermal Control: This function automatically adjust throttling settings when CPU clock changed.
- Stock: Optimus G TDMB support for Korea
- Use Android device as USB keyboard/mouse support (Required app included) (Please refer to the youtube links at the bottom.)
- Buzzing sound FIX!!
- Lollipop multirom support!!
- Power fixed based on Gproj!! (Battery standby time greatly improved!!)
- GHOST TOUCH FIXED!!
- Configurable DoubleTap2Wake's touch counts!!
- Random hot reboot fixed.
- f2fs: Latest Linux patches applied.
- random: Latest Linux patches applied.
- Stock's LED driver ported.
- Used a kernel value which is optimized to battery life and performance balance. So you can use without specific settings.
- Built with latest Linaro 4.9.3-2015.02
- Used a Linux 3.4.106 kernel
- Used a XZ kernel extraction to decrease kernel loading time.
- F2FS file system support.
- Kexec Hardboot multi-boot support.
- Knock On available
- Gamma control feature
- Fast Charge available
- Intelli-Plug hotplug applied for battery life
- Dynamic FSYNC used.
- Advance sound control available.
- Voltage Controls
- CPU Downclock & Overclock (Supported clock : 270~1728MHz)
- GPU Overclock (Supported clock : 533/450/400/320/200/128MHz)
- Default Minimum/Maximum CPU clock : 270MHz / 1134MHz for battery life
- 'Smartmax' CPU Governer used as default for battery life
- 'Simple' GPU governer used as a default
- Westwood TCP Congestion used as a default
- Available TCP Congestion : westwood, reno, bic, cubic, highspeed, hybla, htcp, vegas, veno, scalable, lp. yeah, illinois
- Available CPU Governer : dancedance, lazy, wheatly, asswax, intellidemand, interactive, conservative, ondemand, smartmax, smartassV2, abyssplugv2, lionheart, lulzactive, uberdemand, slim, pegasusq, performance
- Available I/O Scheduler : row, cfq, fiops, sio, fifo, vr, zen
====Changelog (Gen2-v2.5_Update8)====
[Gen2-v2.5_Update8]
- Stock: sound: msm: Stock KK ported (Also fixed voice recording issue (Q Voice, Video recording, Headset mic etc...))
[Gen2-v2.5_Update7]
- Stock: Optimus G TDMB support for Korea
- Stock: gee_defconfig: Enable MOBICORE driver (Related with DRM)
- Stock: tdmb: fc8050: Disable mess debug messages
- Stock: tdmb: fc8050: Fix Korean typo in sources
[Gen2-v2.5_Update6]
- All: f2fs updated
- jolla-twrp: Update kernel
[Gen2-v2.5_Update5]
==AIO Updates==
- f2fs: Update vold binary (Fix can't boot when f2fs partion exist.)
[Gen2-v2.5_Update4]
-All: Revert LGE headphone detect issue with noise fix, Fix min/max cpu voltage range
- Stock_KK: Fix compatibility issue for Kitkat
- jolla-twrp Update kernel
[Gen2-v2.5_Update3]
- Stock_KK: Gen2-v2.5 ported succesfully to Stock_KK kernel!!
- gpu: Stock KK porting
- mdp/fb: Stock KK porting
- led: Stock KK porting
- sound: Stock KK porting
- vibrator: Stock KK porting
- backlight: Adjust for Stock KK
- Complied with latest Linaro toolchain (2015.02)
- Lollipop: Re-complied with latest Linaro toolchain (2015.02)
- jolla-twrp: kernel: Re-complied with latest Linaro toolchain (2015.02)
[Gen2-v2.5_Update2]
==AIO Updates==
- ota: Fix FC issue when data is wiped
- unpack-ramdisk.sh: Fix init.d not working issue in some of roms
[Gen2-v2.5_Update1]
==AIO Updates==
- Lollipop - f2fs: Allow use of either f2fs or ext4 for system, data and cache
- Lollipop - rc-L: Remove useless cpu online lines
- ota: Restore sysinit SELinux permission by ota service script
[Gen2-v2.5]
- f2fs: Update to latest f2fs linux-3.4 branch's sources
- random: Update to latest Linux 4.0-rc1 sources
- hw_random: Update to latest Linux 4.0-rc1 sources
- jolla-twrp: jolla-kernel_Gen2-v2.5 applied
- Updates applied to Stock_KK kernels
====Dynamic Thermal Control====
- This function automatically adjust throttling settings when CPU clock changed.
So when you want to change thermal settings directly, you should turn off this function.
You can turn off this function by patching 'Dynamic_thermal_Off' in my server folder. (Not recommended.)
====USB Keyboard/Mouse Working Video====
http://youtu.be/_PZmWDqw6bA
====Configurable Knock On Touch Counts====
0 : Off
1~9 : Wake by n+1 taps. (n = Your setting)
Example)
0 : Doubletap2wake will not working.
1 : Wake by double taps.
2 : Wake by triple taps.
9 : Wake by 10 taps.
Recognizing Time : 100ms * 'touch counts'
(So when you set to 9, you can wake your device by 10 taps in 1 second. )
Known Issues
- When 'Nightmare' governer is selected, cpu cloks are not showing properly.
- USB Keyboard/Mouse driver is not loaded with Stock Kernel
Changelogs
[Gen2-v2.4]
- sched: Various optimizations and updates applied from faux123's mako kk_mr2
- lowmemorykiller: Some of optimizations applied from faux123's mako kk_mr2
- zram: Some of optimizations applied for Android from faux123's mako kk_mr2
- gee_defconfig: Disable unneeded mpdecision
- jolla-twrp: jolla-kernel_Gen2-v2.4 applied
- Updates applied to Stock_KK kernels
- OTA Updater included
[Gen2-v2.3]
- 2015/18/Feb Added - lge_touch_core: Fix bug of hardware keys not working when dt2w is disabled
- intelli_plug: Turn off wcd9310 debug messages
- msm_thermal: Do not working when screen turned off
- msm_thermal: Make temperature check logic simpler (Improve battery life)
- ipv4: try to cache dst_entries which would cause a redirect (CM update)
- intelli_plug/wcd9310: Force intelli_plug working when playing music while screen off
- dt2w: Fix doubletap2wake not working sometimes
- smartmax: Handle sampling_rate_screen_off by early suspend
- dynamic_thermal_control: Remove hardcoded cpufreq table and get it from current table
- jolla-twrp: jolla-kernel_Gen2-v2.3 applied
- Stock_KK kernels updated
[Gen2-v2.2]
- f2fs: Re-work with f2fs sources for Linux 3.4.x (Now working perfectly with no errors!!)
(/data, /cache re-format recommended if you using f2fs already.)
- jolla-twrp: TWRP v2.8.4 version up, jolla-kernel_Gen2-v2.2 applied, Lollipop multirom support
- multirom: v30 version up, Lollipop compatible
[Gen2-v2.0]
- Change logs only applied for CM/AOSP kernels
- Removed CM/AOSP KK kernels.
- Linux 3.4.106
- Compiled with latest Linaro_4.9.3-2015.01-build
- smartmax: sampling_rate_screen_off: Do not call usecs_to_jiffies function twice.
- wlan: prima updated to v3.2.3.197
- zram Support
- arm-crypto: sha-1, aes, sha256, sha512, arc4 optimization for ARM neon
- KEYS: close race between key lookup and freeing
- Low-memory-killer: Logic optimization from Motorola
- int_sqrt: Improve 3x faster integer sqrt
- readahead: make context readahead more conservative
- sound: Enable 320kbps audio recording
- arm: Perf update from Cyanogen Mod kernel_msm
- acpuclock-8064: Remove not working high level clocks (1782~1890MHz)
- gpu: Remove not working 607.5MHz and re-added 450MHz
- clocks: Remove unsafe lower cpu freqs (81~162MHz)
- smartmax: Fix default values
- fs: Always set noatime no diratime on all partitions! I/O Boost!
- board-mako: add missing updates from CAF
- board-mako: Enable Krait Retention
- msm: mdm2: Decrease leakage before QSC power-up
- smartassV2: Fix default values
- gee_defconfig: Compile smartassV2 cpu governor
- mako-sound: Noise fix ported from Stock KK
- mako-regulator: Add missed pm8xxx-adc regulator while ported Gproj power
- sound: Revert Nuplayer fix
- sound: wcd9310: Increase default gain (Increase volume for call speaker/mic and headphone/speaker)
- board-mako: Increase DC voltage level for G (Stock KK)
- mako: Add missed some of related with tabla for G
- cpufreq: Remove uncomfortable governors (nightmare, interactiveX)
- wcd9xxx: Fix headphone detect issue in 3.3V low batt (Stock KK)
- intelli_plug: Set screen off max to 702MHz
- sound: Buzzing sound FIX!! (intelli_plug,wcd9310: Force set 2cpus working when playing music while screen off)
[Gen2-v1.2]
- LP/KK: smartmax: Added sampling_rate_screen_off parameter - Thanks to gu5t3r
(When screen on, smartmax will increase clock based on sampling_rate.
And when screen off, smartmax will increase clock slowly based on sampling_rate_screen_off.)
- LP: mm: Set VM_MAX_READAHEAD to 512
- LP: msm: vidc: Get the current performance level
- LP: Fix some of sources for compatibility with cm12 build. (Kernels's functions are not changed.)
- aroma-installer: Fix logic of LP kernel and KK kernel installation.
- aroma-installer: Fix logic of LP kernel modules installation.
- aroma-installer: Fix logic of finding init.d support - Thanks to gu5t3r.
This patch only applied for AOSP based Kikat & Lollipop kernel.
====Changelog (Gen2-v1.1)====
- dynamic_thermal_control: Prevent dynamic_thermal call when device is hot and go to ideal state
(When device is hot and go to ideal state 'dynamic_thermal' called and change the msm_thermal settings.
So the original max frequency get lower clock step by step when device is hot.
This patch fix this bug.)
This patch only applied for AOSP based Kikat & Lollipop kernel.
====Changelog (Gen2-v1.0)====
- No more update for Kitkat and Stock.
- Restart with Clean Code!!
(Rebuild with Google mako source. Applied latest Linux patches with some of fixes for joll-kernel directly. So all of sources and kernel performance are stable.)
- Applied patches from Linux 3.4.1 to 3.4.105 one by one. (So sources and performance are stable.)
- Dynamic Thermal Control: Automatically adjust throttling settings when CPU clock changed. (Own making!!)
(Solve the existing problem coming back to 1134Mhz despite you change the CPU clock!!)
- Greatly improved battery life due to the source stabilization. (Light user can be used up to a day or more to use.)
- gpu: Fixed to use minimum gpu frequency when sleep. (Improved battery life) (Own making!!)
- Added jolla-kernel logo
- random: Applied all of latest Linux patches
- f2fs: Applied all of latest Linux patches
- Faux Sound: Applied faux123's latest sources
- Faux Gamma Control: Applied faux123's latest sources
- Intelli-plug: Applied faux123's latest sources
- GPU simple governor: Applied faux123's latest sources
- MTP: Applied Google latest sources
- TCP Congestion: Added cubic, highspeed, hybla, htcp, vegas, veno, scalable, lp. yeah, illinois.
- io-scheduler: Added fifo, vr, zen.
- cpufreq: smartmax: Fix some of default values of smartmax governor. (Improved battery life)
- LZ4 compression format support.
- And applied more patches.
[v17_Final - Only for AOSP based Kitkat kernel]
- Dynamic Thermal Control: Automatically adjust throttling settings when CPU clock changed. (Own making!!)
(Solve the existing problem coming back to 1134Mhz despite you change the CPU clock!!)
- gpu: Fixed to use minimum gpu frequency when sleep. (Improved battery life) (Own making!!)
- Added jolla-kernel logo
- io-scheduler: Added fifo, vr, zen.
- cpufreq: smartmax: Fix some of default values of smartmax governor. (Improved battery life)
- MTP: Applied Google latest sources
- futex optimization
- Applied some of cpufreq patches
[v16]
- Use Android device as USB keyboard/mouse support (Required app included)
- L-kernel: Applied latest Cyanogenmod patches with 'seccomp'
- f2fs: Latest linux kernel tree patches applied
(Until Dec 9, 2014 f2fs: avoid to ra unneeded blocks in recover flow)
- f2fs: New 'inline_dentry' mount option applied
- L-kernel: makocam kernel added
- Support Stock camera diriver selection mode for L-kernel
- Support mod/nonmod kernel selection for L-kernel
- Recovery-twrp: Update kernel to jolla-kernel_v16
- Recovery-philz: Update kernel to jolla-kernel_v16
[v15]
- Only provided with my cm-12.0 UNOFFICIAL roms.
- Linux 3.4.105 applied.
- Latest mako's lollipop kernel patches applied.
- Makefile Optimization
v0xE
- L-kernel related fixes.
- Power: Applied gproj based power sources. (Battery standby time greatly improved!!)
- doubletap2wake: Fixed 3 taps issue when phone is suspended!!
- doubletap2wake: You can wake your device by 10 taps in a second!!: eek: (Configurable tap counts!!)
0 : Off
1~9 : Wake by n+1 taps. (n = Your setting)
Example)
0 : Doubletap2wake will not working.
1 : Wake by double taps.
2 : Wake by triple taps.
9 : Wake by 10 taps.
Recognizing Time : 100ms * 'touch counts'
(So when you set to 9, you can wake your device by 10 taps in 1 second. )
- doubletap2wake: Adjusted recognizing time.
- io-sched: Remove bfq io-scheduler that eat more batery. Back to fiops as default io-scheduler.
- Remove TDMB driver that not compatible with jolla-kernel.
v0xD
- f2fs: Applied latest updates until Linux 3.17.4
- random: Applied latest updates until Linux 3.17.4
- CM, L : Latest kgsl driver updated based on Lollipop kernel
- CM, L : Wifi updated based on Lollipop kernel
- L : cm-12.0 Ready (Know issue: Random screen flicking)
- GEEB camera fixed
- Stock: GEEB sdcard ramdisk lines added
- block: bfq io-scheduler added and set to default
- cpufreq: dancedance, smartassV2 new governors added
- leds: re-ported based on Stock KK only for duty cycles
- codel net-scheduler applied
- tcp: Some of optimized and TCP Small Queues applied
- ext4 optimized based on new random driver and FIDTRIM support
- zlib: clean up some dead code
- sound: Some of fixed with pop noise fix
- TDMB driver added (only for GEE and not tested)
- Some of mako to GEE related fixes based on Stock KK
- And more..
v12
- GHOST TOUCH FIXED!!
- Stock Wifi driver ported (Version 3.2.3.13 -> 3.2.7.27) (Speed up)
- Stock LED driver ported (LED duration fixed)
- Android L Kernel support
v11.1
- GUI AROMA INSTALLER Applied and multirom supported. (AIO)
- Built with Linaro 2014.09 gcc 4.9.2 latest toolchain.
- CM : Installation method changed to zlmage installation from boot.img installation. (increase compatibility.)
- CM : Built with latest CM source.
- CM : OTG function added. (experimental, now for test.)
- SPARSEMEM kernel option modified.
- Coretex-A15 memcopy optimization.
- memutils: memcpy, memmove, copy_page optimization.
- lge_touch_core: i2c error fixed when you upgrade your firmware.
- ext4: WB_SYNC_ALL pass called from sync(2) Speed up.
- Latest CM kernel patch applied.
v11
- Stock : Kerenel logo driver modified and jolla-kernel logo added.
- Linux 3.4.104 kernel applied.
- Modified to show jolla-kernel version. (On settings - About phone)
- Faux Sound updated to v3.6
- Stock : OTG Function added (USB can be recognized but not works.)
- GEEB : SDCard supported.
- WQ_POWER_EFFICIENT_DEFAULT power save patch applied.
- Kernel MOD NEON supported.
- msdos, ntfs filesystem is compatible.
- Stock : Backlight level kernel log deactivated.
v10_Stock
- Ported Stock Features : GPU, Video, Wifi, LED, Vibrator, IOMMU, Stock Camera
- Random hotreboot optimized.
- Only ext4 filesystem supported currently.
- Another Changelogs are same with CM/AOSP based jolla-kernel.
v10
- Stock Camera ported.
- Random Hotreboot optimization (When we reboot phone first when flash the rom and kernel or when using, there was random hot reboot. So we found the error at the binder which is the linking system between Android and Kernel. So we compare with Gproj kernel source and fixed it. Now you can use ART runtime as well.)
- Minimum clock increased. (81MHz -> 270MHz
- Throttling temperature limit decreased and fixed bug you can't set again to 1134MHz. (We think the last version's temperature limit is to high, so decreased and When you process Throttling, it has locked into 1134MHz. So we fixed.)
- 384MHZ L2 Cache voltage optimized.
- Android Logging (logcat) optimization and deactivated. (Don't use it commonly.)
- F2FS : Linux 3.16.2 version update proceeded.
- Few kernel settings have errors. Fixed.
- Extra minor patch proceeded.
- OMNI Kernel supported. (OMNI ROM)
v9_Refresh
- Kernel stablize : Applied Linux 3.4.103 patch and fix the bugs and errors on the source.
- mod/normal kernel both supported.
- User can personalize throttling option (You can personalize temperature and clock per level at the TricksterMod application.)
(※ You can use temperature limit option at the TricksterMod application, 'Temperature control'.)
Checked Compatible ROMs
Mod : CM12 (GEEHRC Unofficial), CM11 (GEE Unofficial), AxxionKat, Carbon
Normal (non-mod) : Dirty Unicorns, DayDream (This is Korean ROM ), Liquidsmooth
Stock : ARTMOD, Sling, Miui (you have to flash stock_miui)
G3 : GEE3
We always hearing your feedbacks. If there is a problem with specific ROMs, Error report into this thread.
Code:
---About Multi ROM---
jolla-TWRP is GEEHRC based recovery.
So when you going to flash Gproj based ROM or Stock based ROM, it can occur status 7 error.
In this case, extract the ROM file, and delete 'assert' sentence structure at
'META-INF/com/google/android/updater-script' and re-extract the ROM file. Then flash!
After you flash MultiROM zip, you can see 'MultiROM Fail' error message.
In this case, Go to 'Advanced - Multirom - ListROM - Your second rom - Flash zip'
and flash compatible kernel for your secondary ROM.
Download Link
http://buf.jollaman999.com/jolla-kernel_AIO-gee/
Mirror: https://www.mediafire.com/folder/9eemnevifta2z/jolla-kernel_AIO-gee - Thank you for gu5t3r -
If you wanna use F2FS partition, wipe /data, /cache as f2fs file system with TWRP recovery.
Flashing guide
- Follow the instructions of aroma-installer!
Don't be afraid when you flash F2FS kernel! F2FS has more longer first boot time than EXT4 Filesystem!!!
Battery Life : 10~12 hours in my phone
Jolla-kernel's all features only fully-working at TricksterMod application. There could be some features which are not working at other kernel controll apps.
We are trying to make better kernel everytime. Please understand us effort. :laugh:
jolla-kernel is released with a lots of test in other testphones.
But if you have a bug, Report plz.
Code:
[COLOR="DarkOrange"][B][I][U]CREDIT![/U][/I][/B][/COLOR]
[jolla-kernel source]
[url]https://github.com/jollaman999[/url]
[Referenced sources]
The Linux Kernel Archives : [url]https://www.kernel.org/[/url]
cm-11.0 : [url]https://github.com/CyanogenMod[/url]
Loller79 Solid_Kernel-Cyano : [url]https://github.com/Loller79/Solid_Kernel-Cyano[/url]
faust93 f93_kernel : [url]https://github.com/faust93/f93_kernel[/url]
Docker-J Sail_GPROJ : [url]https://github.com/Docker-J/Sail_GPROJ[/url]
faux123 mako : [url]https://github.com/faux123/mako[/url]
MikeEx kernel_msm : [url]https://github.com/MikeEx/kernel_msm[/url]
flar2 ElementalX-m7-4.0 : [url]https://github.com/flar2/ElementalX-m7-4.0[/url]
justin0406 AK-xGenesis : [url]https://github.com/justin0406/AK-xGenesis[/url]
Porting kexec hardboot : [url]https://github.com/Tasssadar/multirom/wiki/Porting-kexec-hardboot[/url]
544MHz GPU Overclock : [url]http://forum.xda-developers.com/showthread.php?t=2307086[/url]
jaeguek's F2FS filesystem : [url]https://kernel.googlesource.com/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools/[/url]
Donation link has been closed​
Download link doesn't work
Nicee, thank you!
Sorry
I've just fixed. If you are downloading with your phone, try Chrome. Chrome supports FTP client
Downloading right now, will report about the stability and performance after trying it a while. A stock kernel with kexec hard boot would be really helpful. (I would build myself but sadly do not have time these days)
Oh... I think my friend will read every replies in this Thread and fix it daily and release more stable kernel.
Sent from my LG-E975 using XDA Free mobile app
ruddnr951 said:
Oh... I think my friend will read every replies in this Thread and fix it daily and release more stable kernel.
Sent from my LG-E975 using XDA Free mobile app
Click to expand...
Click to collapse
Somehow this didn't work on my Carbon gee ROM. I mean, it works, but no matter what governor, voltages, etc in trickstermod, cpu always stays on 81mhz to around 150mhz, bringing the phone to a crawl. Maybe it's because I didn't wipe dalvik, I don't know.
Hmmm... I checked that this kernel is working at Axxionkat, Carbon, GEE Cyanogenmod Roms which are compaitable with MOD kernel.... how about wipe cache, dalvik cache or Flashing rom again...? I think that's not kernel problem
Sent from my LG-E975 using XDA Free mobile app
I try use this kernel on CyanogenMod 11 Nightly, and doesn't work. I installed zip and wipe cache and dalvik, but when I reboot the phone, have a blackscreen.
This kernel is for GEE ROMs. Official CM (E975) is for Gproj. Gproj ROMs are not compaitable with this kernel.
Sent from my LG-E975 using XDA Free mobile app
ruddnr951 said:
This kernel is for GEE ROMs. Official CM (E975) is for Gproj. Gproj ROMs are not compaitable with this kernel.
Sent from my LG-E975 using XDA Free mobile app
Click to expand...
Click to collapse
Ups, fail! Thanks! I installed Carbon KK (based on Gee ROM) and kernel working... Thaaaaaaanks!
I'm really appriciated to you because you choose jolla-kernel :good:
{
"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"
}
Is anybody else getting this when trying to visit the link? I read above it was fixed, but this is what I'm getting
iamterence said:
Is anybody else getting this when trying to visit the link? I read above it was fixed, but this is what I'm getting
Click to expand...
Click to collapse
use google chrome.
And I found a new XDA Relink error.
the download URL is ftp://ras.jollaman999.com:8221 but when we automatically redirected by XDA, It is relinking to ftp//ras.jollaman999.com:8221. There's no ':'
I fixed link http:// instead of ftp://
Sent from my LG-E975 using XDA Free mobile app
I like this kernel, except...bootanimation =.=". Flash in AxxionKAT and it replace my bootanimation by original CyanogenMOD bootanimation :laugh:
Is the kernel supposed to be 22mbs? I only asked because normally kernels are between 5 and 8mbs
iamterence said:
Is the kernel supposed to be 22mbs? I only asked because normally kernels are between 5 and 8mbs
Click to expand...
Click to collapse
because this kernel added bootanimation.zip, and it's 17MB
the title is a little confusing here. I mean E975 CM is gproj. Some may think that there's a kind of paradox in the tilte. gee and CM. We shouldn't try this kernel on E975 (geehrc) CM based ROMs like pacman, mokee, and...

[KERNEL][Z1C][5.0-5.1][F2FS] Advanced-Kernel v19.0[2017/03/25]

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=63198366&postcount=111
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
2016-04-10 v18.1 :
Updated TWRP to 3.0.2
Updated busybox to 1.24.2
2017-03-25 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
nice start
Seems to be working fine so far.... good job :good:
I'd like to suggest some features :
Intellimm
Intelliplug
more tcp congestions algorithms (e.g. westwood)
gpu governors
etc etc
i flashed it but it wont start after boot
I installed a based rom [Advanced]RockZ1l_v1.1
repelsteel82 said:
i flashed it but it wont start after boot
I installed a based rom [Advanced]RockZ1l_v1.1
Click to expand...
Click to collapse
Yup, doesnt boot after flashing kernel
I installed it on stock sony rom, not-deodexed
BUT after i reinstalled xposed (instruction for odex), and wipe cahce, phone is booted...infinitely loaded and can not run (
Yep confirmed doesnt work on RockZ1l_v1.1 also !
No boot and no acces to recovery (blocked before)
Had to flash boot.img via fastboot and restored my backup...
i will try to see what i can do, but i need time to learn first
Cresqo said:
Seems to be working fine so far.... good job :good:
I'd like to suggest some features :
Intellimm
Intelliplug
more tcp congestions algorithms (e.g. westwood)
gpu governors
etc etc
Click to expand...
Click to collapse
lots of 4.x kernel source codes do not work 5.0.2
i will try if i can when i have free time
Doesn't work on Stock Sony Lollipop firmware 14.5.A.0.242.
ssdog27 said:
Doesn't work on Stock Sony Lollipop firmware 14.5.A.0.242.
Click to expand...
Click to collapse
Do you have to unlock bootloader?
I used PRFCreator to make D5503-pre-rooted-firmware-14.5.A.0.242 zip. For me this kernel to be working fine so far.
try to:
- fastboot flash boot boot.img (from kernel zip)
- fastboot reboot
- enter recovery, and flash kernel zip
- flash SuperSU installable ZIP (option)
to be included in next changeLog:
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
I have just one simple question really, F2FS?
sharonliu said:
Do you have to unlock bootloader?
I used PRFCreator to make D5503-pre-rooted-firmware-14.5.A.0.242 zip. For me this kernel to be working fine so far.
try to:
- fastboot flash boot boot.img (from kernel zip)
- fastboot reboot
- enter recovery, and flash kernel zip
- flash SuperSU installable ZIP (option)
Click to expand...
Click to collapse
I dont understand.. I did it all, but kernel doesnt work..(
Stock LP, RUS, Odex, All the loading stops at the boot screen
I have just one simple question really, F2FS?
Click to expand...
Click to collapse
i will try to see what i can do
John.D.. said:
I dont understand.. I did it all, but kernel doesnt work..(
Stock LP, RUS, Odex, All the loading stops at the boot screen
Click to expand...
Click to collapse
try v4.0, it should work now
sharonliu said:
try v4.0, it should work now
Click to expand...
Click to collapse
Wow, all earned in the fourth version
If there are any bugs, I will certainly write about it
If you changed blu_active governor, or simple_ondemand gpu governor, after some time phone rebooted
sharonliu said:
i will try to see what i can do
Click to expand...
Click to collapse
John.D.. said:
Wow, all earned in the fourth version
If there are any bugs, I will certainly write about it
If you changed blu_active governor, or simple_ondemand gpu governor, after some time phone rebooted
Click to expand...
Click to collapse
I will try to fix it in next releases.
I started to port AndroPlusKernel most of feature for z1 compact
v6.0 will release this weekend
sharonliu said:
I started to port AndroPlusKernel most of feature for z1 compact
v6.0 will release this weekend
Click to expand...
Click to collapse
OMG Thank you!)
to be included in v6.0 changeLog:
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
changeLog:
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

[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] [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][8.0/8.1][J710X]HeliosPro Kernel V2.6

Welcome to The HeliosPro Kernel Thread for Galaxy J7 2016
Built with Various Oreo 7870 Source
Linaro GCC 6.1.1
Warning : Me nor XDA Are responsible for any damage that might be caused after flashing any file provided here. Please take caution and be aware of what you are doing. And Always backup !
​
-- Features --
[x]Fake Enforcing (Permissive and shows enforcing)
[x]Compiled with Linaro6.1.1
[x]Native BlueLight Filter To J710X Panel
[x]ADB Insecure
[x]Fake KNOX
[x]Private Mod support
[x]MultiCPU Governors
[x]Multi I/O Schedulers
[x]Multi TCP Algorithms
[x]Limited Wakelocks
[x]Dynamic Fsync 2.0
[x]Fsync
[x]PowerSuspend 1.5
[x]UKSM V1.23
[x]Boeffla wakelock blocker v1.1.0
[x]StateNotifier & SysfsHelper
[x]Optimized ZSwap
[x]Optimized Deadline I/O
[x]Better Input Booster
[x]Quicker Doze entry
[x]Other improvments for Batterylife and performance
[x]Support Android 8.0/8.1
[x]WireGaurd Support
[x]CPU VoltageControl
[x]CPU OC upto 1700MHz
[x]GPU OC Upto 1146MHz
[x]GCC 6/7 Support
[x]CRC Disabled by default
[x]Reduced Wakelocks
[x]GPU/CPU Voltage dropped
[x]Improved GPU Utilization
[x]Improved standby
[x]Adoptable SD patched
[x]Deodex oreo support
[x]Many ram improvments
[x]No sim breaking with 8.1 rooting
[x]Encryption Support for StockRoms
[x]And many more listed in changelogs below
[x]Pre-Rooted
The kernel comes included with EliteTuner to control various kernel parts.
--How to install--
If you have flashed Root through any means other than magisk, Please uninstall it (SuperSU>Full unroot)
Open developer options (Press aboutphone > build number 7 times) Enable OEM Unlock
Flash TWRP Recovery that can be found in J710 Section
Fully Wipe internal storage and format data (Must for first time flashing TWRP)
Copy Kernel to your desired Location
Install Zip > Select kernel.zip
Reboot and wait
First time rooting, Open magisk app Once to ensure root is working
--Basic Info --
This kernel is mainly for users who want more than just root, As permissive allows for more flexibility with some of the mods found on xda
You are free to use this kernel in any future rom aslong as you Link this thread / Github Source​
-- Credits --
@ananjaser1211 for this golden kernel and adding support for our device.
@BlackMesa123 and @corsicanu for working with my projects
@topjonhuw For Magisk
@geiti94 For Wifi password Fix
@Noxxxious For general help​And my Elite-Team for their contributions to my projects and being Awesome.​
Download <> Changelog <> More info In second Post
Github Source : https://github.com/ananjaser1211/Helios_7870​
XDA:DevDB Information
HeliosPro Kernel V2.6, Kernel for the Samsung Galaxy J7
Contributors
mohitmallick17, AnanJaser1211, corsicanu
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V2.6
Stable Release Date: 2019-02-27
Created 2019-02-27
Last Updated 2019-02-27
HeliosPro V2.6 Update​
This is TOUCHWIZ only. The new compiler greatly improves performance on both 8.0 and 8.1 Based roms.
Enjoy, i know im not making any roms due to time, but i can support this kernel.
Changelog :-
- Native BlueLight Filter To J710X Panel
- Compiled with Linaro 6.1.1 Compiler
- Performance and battery greatly improved with new compiler
- Fixed custom ramdisk scripts
- Deodex Supported well with magisk
- GMS Blocker
- 99Killer service (kills gms in idle for better sleep)
- NFC Should work now
- More precise cpu voltage
- Magisk 18.1 Included
Follow the Full change log on the Github source.
Download : Google Drive
Size : 29.1MB
HeliosPro Kernel V2.5
Android 8.0/8.1 Only
J710F/FN/G/M/MN/GM (And any J7(6) variant)
​Changelog :-
-Supports both 8.0 and 8.1.1 Stock/Ported TouchWiz Roms
- Updated drivers to latest J530F 8.1 Source
- Adoptable Storage (not tested)
- Encryption Support (on stock roms only)
- Improvements to GPU CPU Over clocking Thanks @renoxtv
- Ensure you have LATEST TWRP otherwise you wont be able to read Internal storage in TWRP
- Removed 160mhz GPU as it didnt work and caused issues
- Fixed CPU Undervolting (overvolting doesnt work well)
- GPU overclocking and Control now works on EliteTuner
- Updated Camera and WiFi to latest 8.1 Firmware
- Magisk 17.2 Included
- some other minor improvements to pretty much everything
Follow the Full change log on the Github source.
old changelog
HeliosPro Kernel V2.0
Android 8.0/8.1 Only
J710F/FN/G/M (And any J7(6) variant)
​
This can be used on any of my 8.0 Roms and tested on stock 8.1 Rom (does not break Simcard when rooting)
its based off multiple exynos7870 sources
P.S : GPU overclocking is not yet completed, you can use it manually with OxygenControl app
instead of EliteTuner app (included in zip)
HeliosPro v2.0 Changelog
- CPU Overclock upto 1.7GHz and VoltageControl
- GPU OverClock Upto 1146GHz
- Memory Mangment improvments
- MMC improvments
- Full Wakelock Control for wlan/bt and much more
- BoefflaWakelock Blocker With preconfigured WLs
- UKSM V1.2.3
- SecBattery control and Unstable current detection
- Powersuspend Driver for display
- Fsync Toggle
- Dynamic FSync
- Tons of I/O Schedulers
- Tons of CPU Governors
- StateNotifier Driver
- CPUFreq optimizations
- DisplayState hooks
- ondemand/conservative cache improvments
- Swap/VNSwap improvments
- WireGuard Support
- F2FS Support
- Frandom Support
- Muted useless debug msgs
- Tons other than can be tracked in commits
I/O Schedulers :-
- Maple
- BFQ
- ROW
- Fifo
- Fiops
- Sio
- SioPlus
- Tripandroid
- VR
- ZEN
CPU Governors :-
- Blu_Active
- CafActive
- hyper
- bioshock
- cultivation
- dancedance
- electrodemand
- impulse
- intellidemand
- ondemandX
- pegasusq
- smartass2
- smartmax
- wheatly2
Source : Github​
RefinedKernel (7.0/7.1.1)
V2.7
-WireGuard Support
-HotSpot Fix for Note 8 port
-CPU Boot frequency reduced
-GPU/CPU Frequency improvments
-InputBooster Changes
-Boosted charging limit
-Updated Ramdisk
-Magisk 16.3 included
---------------------------------
V 2.6
-CPU/GPU Overclocking support
-Support for more variants
-Fixed Magisk resetprop conflict
-Disabled DM-Verity from source
-Fixed KNOX 0X0 PATCH
-Removed Audit Spams in log
-Disabled Samsung RMM
-Disabled RKP/KAP/TIMA From source
-Slight increase to charging current
-Inputbooster ~ 1.2GHz
-CPU OC upto 1700MHz
-GPU OC Upto 1146MHz
-Allow CPU To go as low as 200MHz
---------------------------------
-V2.5
-Magisk V15.2
-Dynamic Fsync 2.0
-HTC Asynchronous Fsync
-PowerSuspend 1.5
-UKSM V1.23
-Boeffla wakelock blocker v1.1.0
-StateNotifier & SysfsHelper
-Optimized ZSwap
-Optimized Deadline I/O
-Better Input Booster
-Quicker Doze entry
-Other improvments for Batterylife and performance
----------------------------------------------------
-V2.0 Note 8 port
Rebuilt the kernel from latest source code : J530FXXU1AQI3
Added CPU Governors
Added I/O Sched
Added TCP Algorithms
Added FakeKnox
Added ResetProp
Added 7.1.1 Support
Added CPU Improvments
Reduced Wakelocks
----------------------------------------------------
-V1.0 Initial release
F.A.Q​Q : What benefits Does this have over stock kernel ?
A : This kernel is aimed at Android enthusiasts who like to get the most out of their phones. But also is user friendly and pre customized for the average user to figure it out
Q : Can i use Kernel Auditor ?
A : Yes, but to utilized the full potential of this kernel including overclock and many more, you should use EliteTuner included in the ZIP
Q : What is Overclocking ?
A : Basically, Slightly more performance For an extra consumption in battery. you can google it for more details
Q : Why is CRC disabled by default ?
A : The extra operations can cause a big hit on Block performance
Q : Is it safe to overclock ?
A : ive tested the kernel on the Max over clock setting (Without turning off the 4 big cores) without any problems for a month
Q : What is SamsungHotplug ?
A : its a feature from samsung that Auto-Disables Inactive Big Cores to reduce power consumption
Q : Why i cant See/set Big cores frequency?
A : thats due to hotplug removing the sysfs files that control the frequency and overwrite them by stock values
Q : Does this kernel Pass SafteyNet ?
A : Yes, The kernel has all the needed bypasses already so it can even bypass safteynet without Magisk
Q : Can i use Knox Apps ?
A : No, You cant use secure Storage, However it has PirvateMode Support built in (if your ROM supports it too)
Q : Can i use this on Stock Rom ?
A : Yes, it works on both Stock and Custom (including 8.0/8.1 Ports)
Q : What is the MAX mAH i can charge at ?
A : charging limits are changed from 1A to 1.5A​
--- Reserved ---​
--- Reserved ---​
WoW. Good Job!
And first comment
how to turn on the blue filter? Stock rom 8.1
alik23kz said:
how to turn on the blue filter? Stock rom 8.1
Click to expand...
Click to collapse
Simple. All you need to do is to push the BlueLightFilter apk from a supported rom 8.0/8.1 to priv-app and make a reboot. Add the toggle for it, or launch it via activity launcher.
Good kernel i installed in oreo fusion
Reset?
I am using Oreo Fusion, do I still need to factory reset or wipe my data?
chechemon said:
I am using Oreo Fusion, do I still need to factory reset or wipe my data?
Click to expand...
Click to collapse
No. You don't need to wipe data or factory reset.
Just flash it!
---------- Post added at 03:19 PM ---------- Previous post was at 02:36 PM ----------
This kernel is good for fix the bluelight filter on OreoFusion Rom. It really fixes it.
chechemon said:
I am using Oreo Fusion, do I still need to factory reset or wipe my data?
Click to expand...
Click to collapse
Flash and done
Can anyone please guide me to compile kernal for nethunter please andr also tell me from which i take source kernal for j710f and the compile it for nethunter
Iam using stock oreo rom 8.1.0 from samsung. I have rooted my phone with magisk and have installed oxygen kernel. Do i have to wipe data and flash this kernel or just flash it.
Sulltan Mehmood said:
Iam using stock oreo rom 8.1.0 from samsung. I have rooted my phone with magisk and have installed oxygen kernel. Do i have to wipe data and flash this kernel or just flash it.
Click to expand...
Click to collapse
Just flash it!
No one is replying me what the heck is that
please also we want a version for AOSP
Kindly update to version 2.7 as it is already released for j7 pro
Kindly compile it to work with some external wifi adapter(WLAN1) and enable ralink drivers please.
I want to use NetHunter with J710F.
Please enable these features kindly, request to OP.
Also port some goodies from oxygen kernel e-g spectrum, new kernel from source and gpu voltage and others please a humble request.. also make sure to increase battery timing with efficient performance with lowest consumption of battery.

Categories

Resources