Resurrection Remix Nougat for Kor Galaxy S4 LTE-A(ks01ltekor) [17.Dec.2017] - Galaxy S 4 i9506 Android Development

Resurrection Remix(Nougat) for Korean Galaxy S4 LTE-A (ks01ltekor)!
Some Korean device have bug with GT-I9506 Rom, So we are building rom for ks01ltekor
Lightning Kernel Official Thread: Lightning Kernel
Not Working
24bit .flac file output (Failed when using Poweramp)
Hotspot may not work
Working
Everything except Not working
ChangeLog
Fix Alert LED(20170209)
20170211
Re turn-on Intelli_Thermal V2 Driver
USE bricked_hotplug driver as default hot plug driver
Change ROW as default I/O scheduler
20170212
Merge with Latest gugu0das's kernel
Lineage OS Source code update.
20170301
Merge with Krait Kernel Release 8.0
Disable VNSwap
Move to Resurrection Remix
20170311
Update Kernel to Krait Kernel 8.2
Update to RR_N_5.8.2_20170311
Fix MTP
Rename devicecode to ks01ltekor
20170318
Update Kernel to Krait Kernel 8.3
Update to RR_N_5.8.2_20170318
Fix bug ; cannot shutdown properly
20170408
Update Kernel to Krait Kernel v10.1
Update to RR_N_5.8.2_20170408
20170422
Android 7.1.2 Revision2
Update Kernel to Krait Kernel v11.0
Merge with latest Resurrection_Remix
20170429
Update Kernel to Krait Kernel v11.1
Delete custom audio_effect.conf
Enable low latency
20170503
Update Kernel to Krait Kernel v11.2
Merge with Latest RR source (7.1.2_r8, May Security Patch)
20170521
Update Kernel to Krait Kernel v12.0.1
Merge with Latest RR Source
Update audio properies & Update audio_policy.conf (Thanks to @kyasu)
Build Kernel with Linaro 6.3.1
Default LCD Density(DPI) changed to 420. (Previous is 480)
cf) Difference between Krait Kernel v12.0.1& 12.0: Krait Kernel v12.0.1 is only for Nougat AOSP. It enables ZRAM.
20170528
Update Kernel to Krait Kernel v12.1
Update Default Setting.
Merge with Latest RR Rom Source
20170602
Update Kernel to Krait Kernel v12.1.1
Merge with Latest RR Rom source
20170610
Update Kernel to Krait Kernel v12.3
Update to Android 7.1.2 Rev17
Add FlipFlap
Merge latest RR Rom source
Fix 24bit Flac Music can't play by any music player.
20170701
Update Kernel to Krait Kernel v13.0N
CPU Overclocked to 2.46Ghz
GPU Overclocked to 578mhz
Support FlipFlap
Increase Recording Volume
Fix AutoTime Zone
Change Device Model name from SHV-E330S to GT-I9506
20170708
Update to Android 7.1.2_r24
Update Android Security patch to 05.07.2017
20170715
Merge with latest Resurrection Remix Source
20170723
Merge with latest Resurrection Remix Source
Update Kernel from Krait Kernel 13.0.1N to Lightning Kernel 14.0N (Krait Kernel's name is changed to Lightning Kernel)
Kernel was built with Linaro 7.1.1
20170729
Merge with latest Resurrection Remix Source
Update Kernel to Lightning Kernel 14.0N Official
Phone reboots randomly may fix.(Please full wipe when you are coming from 20170723)
20170812
Merge with latest Resurrection Remix Source
Update to Android 7.1.2 rev24 to rev29.
Adopt August Security Patch.
Update kernel to Lightning Kernel 15.0.1N
20170828
Merge with Latest Resurrection Remix Source
Update Kernel to Lightning Kernel 16.1N
20170906
Merge with Latest Resurrection Remix Source
Update Kernel to Lighting Kernel 16.2N
Fix Phone becomes laggy by reverting Virtual Memory tweaks.
20170916
Merge with Latest Resurrection Remix Source
Bluetooth: Enablel WBS
Update Adreno blobs(Thanks to kyasu)
Update Kernel to Lightning Kernel 16.3N Beta2
20170922
Merge with Latest Resurrection Remix Source
Update Kernel to Lightning Kernel v16.3N Official
Apply September Security Patch
20170930
Merge with Resurrection Remix Nougat Final Version(v5.8.5)
20171007
Fix Battery Drain Issue.
Enable Burn-in Protection
20171217
Merge with Latest RR Rom Source
Adapt Latest Security Patch
Wow! Such a New Build!!
Detailed ChangeLog: Resurrection Remix Google+
Source code (based on @gugu0das)
Device Source: https://bitbucket.org/Kitakami/android_device_samsung_ks01lteskt
Kernel: https://bitbucket.org/Kitakami/android_kernel_samsung_msm8974
Vendor: https://bitbucket.org/Kitakami/android_vendor_samsung_ks01ltekor/overview
Download
Resurrection_Remix_N_v5.8.2
Resurrection_Remix_N_5.8.2_20170311
Resurrection_Remix_N-v5.8.2_20170318
Resurrection_Remix_N_v5.8.2_20170408
Resurrection_Remix_N_v5.8.3_20170422
Resurrection_Remix_N_v5.8.3_20170429
Resurrection_Remix_N_v5.8.3_20170503
Resurrection_Remix_N_v5.8.3_20170521
Resurrection_Remix_N_v5.8.3_20170528
Resurrection_Remix_N_v5.8.3_20170602
Resurrection_Remix_N_v5.8.3_20170610
Resurrection_Remix_N_v5.8.3_20170701
Resurrection_Remix_N_v5.8.3_20170708
Resurrection_Remix_N_v5.8.3_20170715
Resurrection_Remix_N_v5.8.3_20170723
Resurrection_Remix_N_v5.8.3_20170729
Resurrection_Remix_N_v5.8.4_20170812
Resurrection_Remix_N_v5.8.4_20170828
Resurrection_Remix_N_v5.8.4_20170906
Resurrection_Remix_N_v5.8.4_20170916
Resurrection_Remix_N_v5.8.4_20170922
Resurrection_Remix_N_v5.8.5-20170930
Resurrection_Remix_N_v5.8.5-20171007
Resurrection_Remix_N_v5.8.5-20171217
How to Install
I recommend you to start with latest Lolipop Firmware's Bootloder and Modem!
Download ROM&GAPPS(ARM,7.1)
Go to TWRP
Flash ROM, and then flash GAPPS
Boot and Enjoy!
Please do NOT INSTALL Lightning Kernel for Touchwiz Marshmallow.
Lightning Kernel for Nougat AOSP is ALREADY INCLUDED!
Default Setting
CPU Governer: Interactive
GPU Governer:msm-adreno-tz & adreno-idler on
CPU Hotplug: Bricked Hotplug
I/O Scheduler:ROW
TCP:Westwood
Powersuspend: HYBRID
Dynamic Sync: ON
Arch Power: ON
CPU Sync Threshold: 1.7Ghz (1728Mhz)
Fast Charge : ON
CPU Freq: 2.46Ghz
GPU Freq: 578mHz​
XDA:DevDB Information
Resurrection Remix Nougat for Kor Galaxy S4 LTE-A(ks01ltekor), ROM for the Samsung Galaxy S4
Contributors
kitakami, kitakami, gugu0das, SerinityS
Source Code: https://bitbucket.org/Kitakami/android_kernel_samsung_msm8974
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Latest Lolipop Firmware
Based On: Resurrection Remix
Version Information
Status: Stable
Current Stable Version: 5.8.5
Stable Release Date: 2017-12-17
Created 2017-02-08
Last Updated 2017-12-16

nice work!

Lightning(Krait) Kernel Change LOG
Release 1
I revert adreno-idler that gugu0das added and rework.
Release 2
Support KSM&UKSM
Optimize entering HS400 mode
Optimize Kernel
Release 3
Add Yankactive
Optimization
Add MSM Limiter
Release 4
Improve memory usage.
Optimize CFQ I/O Scheduler & Kernel.
Set ROW as default I/O Scheduler
Improve performance. PCMark Work 2.0 score is 3288, 3.14% better than Galaxy S5, also about 1% better than Galaxy S5(Snapdragon 805)
Release 5
Fix Memory Leak with MSM(Thanks to @lsswizard)
Enable Fast Charging when Phone is Charged by USB, not AC.(You can turn on at Kernel Adiutor)
Add Google's Snappy Compresion
Add Smarter Wake-affine logic by @googynas
Release 6
Merge with latest @gugu0das kernel
Add Bricked Hotplug
Fix some bugs at Release 5
Update Powersuspand driver to 1.7.1
Release7
Disable IntelliPlug because of using Bricked Hotplug as default.
Merge with gugu0das kernel beta 2017.02.12
Merge some commits from kyasu's LOS 14.1 commit.
Release 7.1(Minor fix)
Fix Thermal Monitor is off at defconfig
Fix DMB is not working with SHV-E330S/K
Fix Vibration Feedback code miss
Set Hybrid as default Powersuspend Mode
Release 7.2
Improve Performance
Merge with gugu0das kernel Release 1
Disable ZRAM & Use VNSWAP (Thanks to @arter97)
VNSwap is new technology that replace ZRAM.
It tries compress Memory 50%, which means you can use your Galaxy S4 LTE-A
as 4GB RAM. If you want to check Vnswap is working, type cat /proc/swaps at terminal.
Release 8.0
Fix Conflict between MPDecision & Bricked_Hotplug by deleting MPDecision
Backport Random Driver from Linux 4.0 (Thanks to arter97)
Improve CFQ Scheduler
Remove SysV IPC from kernel
Release 8.1
A little bit of Optimization.
(Not a necessary update)
Release 8.2
Merge with gugu0das kernel 0308 beta except S4 Driver
Release 8.3
Merge with gugu0das kernel 0318
Thanks to @gugu0das, fix delay after using Camera, backlight
Improve multitasking(Thanks to @gugu0das)
Release 8.4
Merge with gugu0das kernel 0324
Optimized Kernel Source.
Revert I9506XXUDOJ2 Drivers.
* sensor and char drivers reverted.
Maximum charge current to 1800mAh
Release 8.5
Merge with gugu0das kernel Release-2
Changelog from gugu0das blog:
'Optimized Kernel Source
* For details, Refer to the github Kernel commits.
Revert I9506XXUDOJ2 Drivers.
* GUD and GPU drivers reverted.'
Release 10.0
It may not be stable
Port chacha20 &poly1035 from Linux 4.8(Thanks to @arter97 )
Release 10.1
Optimize Kernel (SHA-256, SHA-512, AES etc..)
If you are using Release 10.0, I recommend to update to Release 10.1
Release 10.2
Micro-Optimize Kernel
Release 11
Change default Bricked_Hotplug Setting (Max CPU when Screen off : 1→2)
Merge some commits from kyasu's Lineage OS 14.1 Kernel
Release 11.1
Fix bug at 11.0(Phone becomes slow)
Revert Sdcardfs to samsung stock
Revert Net driver to I9506(Thanks to @gugu0das)
Revert some other drivers to I9506 (Thanks to @gugu0das)
Release 11.2
Rework with F2FS & Fix 'set dentry bits on random location in memory'
Backport posix_acl: Clear SGID bit when setting file permissions
Optimize Kernel
Release 12.0
Merge with gugu0das kernel Release 3
(A lot of commits are uploaded).
Build with Linaro 6.3.1 Toolchain
Release 12.1
Merge with @gugu0das kernel Release 3.1
Update default sets.
Merge Lowmemorykiller with caf/LA.BF.1.1.1_rb1.26
Backport ZCache from QCKernel 3.18
f2fs: posix_acl: Clear SGID bit when setting file permissions
Release 12.1.1
Update Intelliactive governor
Release 12.2
Revert Merge Lowmemorykiller with caf/LA.BF.1.1.1_rb1.26
drivers,mm : Sync LMK with arter97/android_kernel_samsung_exynos7420 (Exclude adoptive LMK, nul parameter excluded, Motorola's RBTREE excluded)
Tweak Lowmemorykiller
Update Yankactive governor
12.2.1
Fix External SD card doesn't work.
Merge with gugu0das release 4.
12.3
Fix some Securiety bug.
Release 12.4
Fix some security Problem with Kernel.
Set WQ_PowerEfficiency on to make battery goes more longer.
Release 12.4-GPU_OC
Overclocked Adreno 330 GPU to 600mHz.
Its testing version. I'm testing with Resurrection_Remix Rom right now.
GPU Clock steps become 200mHz/320mHz/450mHz/487mHz/533mHz/600mHz
At Release 13.0, GPU Step will be 100mHz~578mHz.
GFX Bench mark score is almost same as SD801, 3.4% improved when comparing to Non-GPU-OC I9506 (TRex-OpenGL ES 2.0)
Release 13.0
GPU OC/CPU OC is not working. (3lambda and I am thinking that it is caused by DVFS, as we share our idea by PM.)
L2 Cache bump.
Release 13.0N(NougatROM-device source code based on Gugu0das which is included at my RR Build)
CPU Overclocked to 2.46Ghz(Same as GS5(MSM8974AC)).
GPU Freq step is changed to 100/200/320/450/487/533/578mhz.
Release 13.0N is included at RR_ROM 20170701 which will be uploaded as soon as possible.
Release 14.0N
Name is changed to Lightning Kernel.
Camera source and dts is updated.
Update some dts & fix values
Revert some commits which is related with GPU.
Add Ram Console
Lower CPU Voltage at high-clock
Optimize Kernel
Release 15.0.1N
Fix Some Kernel Security Bug.
Backport some F2FS Source code.
Optimize Kernel
Release 16.0
Fix Some Kernel Security Bug.
Backport some F2FS Source code.
Fully Merged with Gugu0das-Release 5, Which means: Call delay fixed&Fix Game Frame drop.
Import some commits from Lineage OS Galaxy S5 Kernel Source.
Fully using Adaptive LMK
Improve Virtual Memory
Fix net bcmhd driver's security problem.
Enable QCOM Crypto Engine Device (Beta)
Release 16.1
Change some default sets with Virtual Memory
for example, swappiness changed 130 to 40, dirty_ratio changed 50 to 40.
Disable Adaptive LMK default because it makes multi tasking performance even worse
for example, LMKcount was 230 when disabling Adaptive LMK while internet surfing for 4hours,
LMKCount was 410 when enabling Adaptive LMK while internet surfing for 4 hours.​

Great job.
What are the differences between the @gugu0das's one and this one?

WeirdSoup said:
Great job.
What are the differences between the @gugu0das's one and this one?
Click to expand...
Click to collapse
gugu0das's Rom have some bug like Alert LED doesn't work, and some phone can not boot properly. So I fixed all bugs of that, and use some nice from kyasu's device source and Kernel Source.

are there any new updates planned to come out or is this it for this specific device?

I installed Resurrection_Remix_N_v5.8.2 but I cannot connect my device E330S to PC. It is BUG??

skyit9 said:
I installed Resurrection_Remix_N_v5.8.2 but I cannot connect my device E330S to PC. It is BUG??
Click to expand...
Click to collapse
Oops, I found some mistake at my kernel, and i forgot to write it.
Please use gugu0das kernel (Download /* Cyanogenmod / LineageOS 14.1 */)
http://gugu0das.blogspot.com/2016/12/lollipopmarshmallownougat.html

Need new version
I tried to install gugu0das kernel as you guide and can connect to pc but some new bugs occurred.
I hope you rebuild a new stable version. Please.
Many thanks.

kitakami said:
Lineage OS 14.1 for Korean Galaxy S4 LTE-A (ks01lteskt)!
Some Korean device have bug with GT-I9506 Rom, So we are building rom for ks01lteskt
20170311
Update Kernel to Krait Kernel 8.2
Update to RR_N_5.8.2_20170311
Fix MTP
Rename devicecode to ks01ltekor
Created 2017-02-08
Last Updated 2017-03-11
Click to expand...
Click to collapse
thank you , downloading right now :laugh:
MTP WORKS

Hedi.Karray said:
thank you , downloading right now :laugh:
MTP WORKS
Click to expand...
Click to collapse
You're welcome.

E330S Geekbench4 2700 Lol

kitakami said:
E330S Geekbench4 2700 Lol
Click to expand...
Click to collapse
Is that a lot ? With antutu I get 58k

Hedi.Karray said:
Is that a lot ? With antutu I get 58k
Click to expand...
Click to collapse
I think that its lot.
SnapDragon 801(2.5Ghz) gets similar point with Los14.1

wifi hotspot not working.. it always says error when data is open..

So this seem broken, wont be trying this one.
i will wait.

ussd
I'm from Vietnam, ussd code for my carrier is not working, signal bar drop to 0 when i try running ussd code, please fix!

kismayas said:
wifi hotspot not working.. it always says error when data is open..
Click to expand...
Click to collapse
I'm so sorry that i am so busy rightnow, so i can only maintain my kernel for Marshmallow Touchwiz.
I'll try to fix it as soon as i can.

Pruikki said:
So this seem broken, wont be trying this one.
i will wait.
Click to expand...
Click to collapse
I'm so sorry that i am so busy rightnow, so i can only maintain my kernel for Marshmallow Touchwiz.
I'll try to fix it as soon as i can.

Updated!!

Related

[LINARO] [STOCK] [4.2.2] Aki.kernel|version 2.2.2| ABANDONED

Aki.kernel is a kernel created by me to further enchance Grand's performance on Stock 4.2.2 based ROMs.
It places emphasis on increasing performance through frandom module, SIO Scheduler and smartassv2 governor.
Ain't nobody got time for that.
Features
- Frandom support.
- ULTRA KSM
- zRAM
- Dynamic FSync
- XZ Compression
- F2FS support
- Smartassv2, Pegasusq and Adaptive governor.
- SIO Plus,VR and ROW Scheduler.
- Compiled with Linaro 4.7.4 toolchain.
-O3 Optimisation flags used. (from ver. 1.1)
- OC upto 1.5 Ghz
XDA:DevDB Information
Aki.kernel Stock (4.2.2), Kernel for the Samsung Galaxy Grand Duos i9082
Contributors
akiratoriyama
Kernel Special Features: I love testing and creating stuff for myself and my fellow members. Here's a kernel for all ya flasoholics.
Version Information
Status: Stable
Current Stable Version: 2.2.2
Stable Release Date: 2014-05-08
Created 2014-05-05
Last Updated 2014-06-17
Reserved
Downloads
Every version of my kernel is available on AndroidFileHost
http://www.androidfilehost.com/?w=files&flid=14506
Performance control (credits @h0rn3t)
http://forum.xda-developers.com/devdb/project/?id=600#downloads
Source
https://github.com/akiratoriyama/android_kernel_samsung_i9082/
Don't expect too much.
Reserved
Changelog
Version 2.2.2
- Compiled with Linaro 4.7.4
- XZ compression for small Kernel file and better performance
- Increase Max READAHEAD for better performance.
- staging: Add Snappy compression library (v3).
- Network speed increased.
- Sched Tweaks to improve performance.
Version 2.2.1
- Fixed Bluetooth
Version 2.2
- Substantial performance and battery optimizations.
- Now compiled with GCC 4.6 instead of Linaro.
CREDITS
YOU for testing and using this kernel.
@k2wl For helping me and guiding me.
@pawitp For his kernel source.
@xenon92 For responding to a query and also used much of his Nebula Kernel code.
@TripRex For much assistance and used some of his Project Kernel code too.
@sweetnsour My primary inspiration for building a kernel
@androidbaba For extensively testing the early builds of Aki.Kernel.
@Ryuinferno for Frandom module.
@Christopher83 For his Kernel commits.
@CoolDevelopment For his ver. of AnyKernelUpdater and also used some of his commits from MoshKernel.
@coldsorrow For Ultra KSM.
@h0rn3t For his Ultra-awesome Performance Control app.
@boype For his commits from Fancy Kernel.
@faux123 For Dynamic FSync.
Galaxy Grand Testers Group
Galaxy Grand Developers Group
Great Stuff !! :good: :fingers-crossed:
Version 2.2.1
- Fixed Bluetooth.
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
Version 2.2.1
- Fixed Bluetooth.
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
hello, update the bluetoot the zip file and you do not install damaged hello
tonimontoia said:
hello, update the bluetoot the zip file and you do not install damaged hello
Click to expand...
Click to collapse
Reuploaded.
http://www.androidfilehost.com/?fid=23329332407591655
good work
Using the latest version now, so far so good :fingers-crossed:
Version 2.2.2
- Compiled with Linaro 4.7.4
- XZ compression for small Kernel file and better performance
- Increase Max READAHEAD for better performance.
- staging: Add Snappy compression library (v3).
- Network speed increased.
- Sched Tweaks to improve performance.
awesomeeeee
NICE kenel for stock till
no major bug found
and phone performance is great
Thanx
keep it up :good:
Kernel abandoned
Thread closed at request of the OP.
MD

[EOL] SmartPack-Lite [Kernel] [AOSP 7.x.x] [LOS-14.1] [kltexxx]

This Project is officially dead... If you wish to stay with my work, please consider to use the original SmartPack kernel which can be found here... Thanks to all of you for the great supports...
/* Introduction */
This is a lightweight edition of my own SmartPack Kernel which is presently available for LOS and AOSP based Nougat ROMs. This version of kernel is specially designed for enhancing the battery performance. If you are looking for a highly feature rich kernel, you might be disappointed with this.
Code:
DISCLAIMER!!
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Presently supported devices */
Code:
klte: SM-G900F, SM-G900V, SM-S902L
kltekor: SM-G900K/L/S
kltedv: SM-G900I
klteduos: SM-G900FD, SM-G900MD
kltespr: SM-G900P
/* likely supported devices */
Any klte variant which is presently supported by LineageOS.
/* Features */
Build from latest Lineage OS source code.
Built using Google arm-eabi 4.9_r15 toolchain.
Anykernel for compatibility with maximum devices.
Linux Kernel version is updated to 3.4.113.
Flash and Forget (if you are okay with default settings)
Kernel tweaker app recommend: Offical Kernel Auditor/Kernel Adiutor-Mod.
Added features
CPU voltage control
USB fast charge
Faux sound
FRandom
The Ultra Kernel Samepage Merging (UKSM) feature
CPU input boost
Dynamic sync control 2.0
CPU Freq Gov: NIGHTMARE (Default), INTELLIDEMAND, INTELLIACTIVE, LIONHEART, & ZZMOVE.
CPU Hotplug: Intelli_Plug
IO schedulers: FIFO (Default), FIOPS, & SIO.
TCP congestion algorithms: Westwood (Default), reno, & cubic.
Removed features
Some features that I'm considered as not necessary are (will be) removed.​
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Feel free to contact me, if you need any assistance from my side.
/* Downloads */
kltekor
klte
klteduos
kltedv
kltespr
Old builds
If anyone like to get Kernel Adiutor-Mod in one click, you may use this recovery flash-able zip file (all the credits to its dev).
/* How to */
Code:
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Wipe Cache/Dalvik Cache
4. Reboot and enjoy
/* Special note to Korean S5 users */
Flashing this kernel after AOSP/LOS based nougat ROMs originally build for the klte (SM-G900F) variant will allows the use of those ROMs on SM-G900S/K/L. Tested ROMs includes Resurrection Remix, AOKP, crDroid, Mokee, CosmicOS, VanirAOSP, Zephyr OS, Beanstalk, AospExtended etc.
/* Acknowledgements */
Code:
[URL="https://forum.xda-developers.com/member.php?u=2693412"]Haggertk[/URL] for LineageOS 14.X for Galaxy S5
[URL="https://forum.xda-developers.com/member.php?u=947981"]Lord Boeffla[/URL]
[URL="https://forum.xda-developers.com/member.php?u=4527059"]CrazyGamerGR[/URL]
[URL="https://forum.xda-developers.com/member.php?u=3292224"]franciscofranco[/URL]
[URL="https://forum.xda-developers.com/member.php?u=4800121"]Sultanxda[/URL]
[URL="http://forum.xda-developers.com/member.php?u=4544860"]osm0sis[/URL] for AnyKernel project
[URL="https://forum.xda-developers.com/member.php?u=4090196"]David 617[/URL]
[URL="https://www.facebook.com/groups/440242346171392/"]Our Korean Galaxy S5 Facebook group members[/URL]
Many other XDA developers
XDA:DevDB Information
SmartPack-Lite, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2017-03-27
Created 2017-03-27
Last Updated 2017-09-03
Chang-logs
18. August 16, 2017
Stable release: v9_r1
Changes: The source is fully re-based (since LOS kernel source is re-based by the development team). Some of the commits suggested by @Saber is included...
17. August 02, 2017
Stable release: v9
Changes: All the commits in the LOS source code till date. zzmove cpufreq gov is now updated to the latest version (credits: zanezam). Some recent commits in the fastcharge feature are reverted...
16. July 19, 2017
Maintenance update: v8_r2
Changes: All the commits in the LOS kernel source till date...
15. July 13, 2017
Stable release: v8_r1
Changes: Intelli_plug is added as a replacement to Zen_Decision. Sound control (my fav values) and Fast charge features are now enabled by default. All the commits in the LOS kernel source till date...
14. July 6, 2017
Stable release: v8
Changes: Linux kernel version is updated to 3.4.113. Few more updates to sound control.
13. June 27, 2017
Stable release: v7
Changes: Source code is merged with Samsung's latest source (thanks to @haggertk and LOS team). Sound control is updated to fix some issues with speaker sound (now it seems fully working). Toolchain is switched to Google's latest arm-eabi-4.9 r15.
12. June 21, 2017
Maintenance update: v6-r1
Changes: Nothing other than the recent LOS commits till today...
11. June 14, 2017
Stable release: v6
Faux sound is replaced by sound control (credits: franciscofranco). Linux kernel version update to 3.4.113 is temporarily reverted (now its 3.4.111) due to some issues.
10. June 8, 2017
Stable release: v5
Linux Kernel version is updated to 3.4.113. All the recent commits in the LOS source code till date.
9. June 1, 2017
Stable release: v4-r3
Source is fully re-based. USB fast charge is back (replaced charge level). Recent commits on the LOS source code till date.
8. May 24, 2017
Stable release: v4-r2
Changes includes the replacement of Mako hotplug with msm zen decision as well as all the LOS commits till date.
7. May 18, 2017
Maintenance update: v4-r1
Nothing other than latest LOS commits.
6. May 10, 2017
Stable release: v4
Linux Kernel version is updated to 3.4.111. All the commits in the LOS kernel source code until now.
5. May 03, 2017
Stable release: v3
Fast charging feature is now replaced with charge level interface (credits: Lord Boeffla).
All the recent changes in the LOS source code are included.
4. April 19, 2017
Maintenance update: v2-r2
Nothing other than the latest LOS commits.
3. April 15, 2017
Maintenance update: v2-r1
Nothing other than the latest LOS commits.
Support to new devices: kltespr and kltedv
No more separate build for kltevzw since LOS officially merge kltevzw with klte.
2. March 31, 2017
Stable release: v2
Nothing changed other than the latest LOS commits
1. March 27, 2017
Stable release: v1
Can this be flashed over the original smartpack kernel?
badassadism01 said:
Can this be flashed over the original smartpack kernel?
Click to expand...
Click to collapse
Sure... It will work...
to achieve a 100 undervolt : max cpu frequency should be set to 1958mhz and low to the users prefrence , the gov set to conservative , also idont know if you can use boeffla git and permission to add the options of determing the maximum amout of cores that can go online setting it to 3 cores max is perfect and reduce power since one of them wont be used , i dont think the rest affects it but what i will say is that the gpu needs a working gov and add 27mhz frequency so that it can idle at 27mhz with screen off.
working nice on new ressurection remix build
New builds are uploaded...
Code:
[B]March 31, 2017[/B]
Stable release: v2
Nothing changed other than the latest LOS commits.
For starters. THANK YOU! I dig this kernel....Second I have a few requests
1...Could you add MSM Hotplug from myfluxi
2...Could you add Maple and Zen to the IO Schedulers
The reason I ask if because I tune Mako to have all 4 active at all times as I feel it doesn't impact battery and it feels better with these settings for me...MSM it is more customization. Also I'd like to play with those schedulers. I know that you have Zen in the other kernel but I like the less is more approach to most things in my life....so this lite version suits me.
@sunil,
Trying the Kernel now what will be the major power savings is it the kernel itself or other areas?
HaRdC0r3 said:
For starters. THANK YOU! I dig this kernel....Second I have a few requests
1...Could you add MSM Hotplug from myfluxi
2...Could you add Maple and Zen to the IO Schedulers
The reason I ask if because I tune Mako to have all 4 active at all times as I feel it doesn't impact battery and it feels better with these settings for me...MSM it is more customization. Also I'd like to play with those schedulers. I know that you have Zen in the other kernel but I like the less is more approach to most things in my life....so this lite version suits me.
Click to expand...
Click to collapse
HI. I'll try to add those features to the full version of my kernel first and eventually here (depends on the success ). Thanks for the suggestions...
thaidroid said:
@sunil,
Trying the Kernel now what will be the major power savings is it the kernel itself or other areas?
Click to expand...
Click to collapse
A lot of things (they are cool stuffs, but not necessary) were actually removed from the original LOS Kernel. Further, minimal features are only implemented to reduce the kernel size as much as possible. So, the kernel itself will be the major power saving factor (I hope).
Would you want to add arch power saving to this kernel?
badassadism01 said:
Would you want to add arch power saving to this kernel?
Click to expand...
Click to collapse
any reference (xda thread, github etc) plz?
sunilpaulmathew said:
any reference (xda thread, github etc) plz?
Click to expand...
Click to collapse
I think crazygamer dev has implemented it in his kernel, tnough it's discontinued I think. https://github.com/CrazyGamerGR/CrazySuperKernel-CM14.1-KLTE-New-rebase
@sunil,
When I try to use another ROM together with this Kernel or your "BIG" version, everything seems fine with one exception.
Skype app always crashes. Ive tried with KLTE 14.1 (You get a lot more network options on G900S with the klte rom) and also Cosmic and crDroid.
Same result in all of them. Could you test if you have some spare time?
Also when I restore after trying I still get the app crash, to fix I do a restore and then immediately install ROM and Kernel on top/wipe dalvik and cache/Reboot and all is fine
thaidroid said:
@sunil,
When I try to use another ROM together with this Kernel or your "BIG" version, everything seems fine with one exception.
Skype app always crashes. Ive tried with KLTE 14.1 (You get a lot more network options on G900S with the klte rom) and also Cosmic and crDroid.
Same result in all of them. Could you test if you have some spare time?
Also when I restore after trying I still get the app crash, to fix I do a restore and then immediately install ROM and Kernel on top/wipe dalvik and cache/Reboot and all is fine
Click to expand...
Click to collapse
How abt this issue in stock kernel or any other custom kernel? Just to check the role of kernel in this issue...
sunilpaulmathew said:
How abt this issue in stock kernel or any other custom kernel? Just to check the role of kernel in this issue...
Click to expand...
Click to collapse
Sunil I can't test those things with stock Kernel(G900S)that's the reason I'm using your excellent kernel. I have asked and looked in the threads but there are no Skype issues regarding this posted.
thaidroid said:
Sunil I can't test those things with stock Kernel(G900S)that's the reason I'm using your excellent kernel. I have asked and looked in the threads but there are no Skype issues regarding this posted.
Click to expand...
Click to collapse
Okay... I understand the issue. I'm presently using LOS (kltekor version) without no skype issue. I will later test CRDroid and CosmicOS for skpye issue...
sunilpaulmathew said:
Okay... I understand the issue. I'm presently using LOS (kltekor version) without no skype issue. I will later test CRDroid and CosmicOS for skpye issue...
Click to expand...
Click to collapse
Just dirtyflash LOS klte with your kernel and see if Skype will work (everything else should work...I think)? You can then Reflash kltekor again with your kernel to get everything back to normal.
thaidroid said:
Just dirtyflash LOS klte with your kernel and see if Skype will work (everything else should work...I think)? You can then Reflash kltekor again with your kernel to get everything back to normal.
Click to expand...
Click to collapse
Sorry to disappoint you... I tried LOS klte build as well as cRDroid klte buids. As you said, skype is crashed in the case of both ROMs after dirty flash... and works fine with kltekor build. Absolutely no idea to solve the issue. Even don't know it's a fault of my Kernel or not...
Why did you remove interactive governor?

[KERNEL][POLARIS][4.9.y] Canting 3.6 [22/08/2021]

INTRODUCTION
Canting is a kernel based on Google Common 4.9 merged over CAF-kernel.lnx.4.9.r25-rel. Built to provide security and stability improvement
Code:
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
FEATURES​----------------------------------------------
• NOTE: Don't flash this kernel over MEMEUI.
• Linux version 4.9.280
• CAF Tag LA.UM.8.3.c25-03100-sdm845.0
• Build with Clang-12
• CPU Governors: schedutil, powersave
• I/O Schedulers: noop, cfq
• Compat vDSO from Pixel kernel
• TCP Congestion Algorithm: bbr, westwood, reno, cubic
• WireGuard VPN support (Current version: 1.0.20210424)
• Boeffla wakelock blocker (Nothing is blocked by default)
• Simple Low Memory Killer
• Sound Control: Speaker, Microphone, Headphone (Per-channel control)
• KCAL & KLapse Interface
• Vibration Intensity Control
• backlight min option
• Removed safetynet flags (no need of magisk to bypass safteynet)
• F2FS & NTFS Support
• for more info check my commits
INSTALLATION INSTRUCTIONS​
Download latest kernel version
Boot to recovery
Flash kernel.zip
reboot to system
DOWNLOAD LINK
Github Latest Release
CREDITS
• nathanchance
• bgcngm
• abhishek987
• fransiscofranco
• flex1911
• All of contributors from my git history​
XDA:DevDB Information
Canting, Kernel for the Xiaomi Mi Mix 2S
Contributors
khusika
Source Code: https://github.com/khusika/canting_kernel_xiaomi_sdm845
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.6
Stable Release Date: 2021-08-22
Created 2019-03-05
Last Updated 2021-08-22
Reserved
Reserved
nais
hi
nice, how can we follow the updates ?
thanks
"• NOTE: Don't flash this kernel over MEMEUI"
What the MEMEUI? This not for MIUI ?
Thank you!
heobanhki said:
"• NOTE: Don't flash this kernel over MEMEUI"
What the MEMEUI? This not for MIUI ?
Thank you!
Click to expand...
Click to collapse
Yea
jerome_l said:
hi
nice, how can we follow the updates ?
thanks
Click to expand...
Click to collapse
Just press this, or this
Release 0.2
New build is up
Changelogs :
Merge 4.9.163
Upstream with Lineage tree
Upstream with Google Common 4.9
Fix various clang warn
Add power saving flags to the panels
Introducing KLapse - A kernel level livedisplay module v4.3
clk: qcom: clk-cpu-osm: Use CLK_GET_RATE_NOCACHE
Download link in the OP, enjoy it
Release 0.4
New build is up
Changelogs :
Merge 4.9.165
Upstream with Lineage tree
Upstream with Google Common 4.9
Merge upstream f2fs-stable/linux-4.9.y
Download link in the OP, enjoy it
Very nice kurnelll guys. Running smooth <3
Release 0.5
As of many user ask me to add support of MIUI variant, start with this version and later will support it. But i won't accept kind of bugs comes from MIUI based rom. Because this kernel using lineage tree as based, which some of dummy codes from Xiaomi Opensource are not merged into lineage. And also there are fews driver was introduced in the lineage tree but not supported in the MIUI. There might some of debug codes required by MIUI but not implemented in the kernel. This why i warn you to use lineage based rom for better experience with kernel based on lineage tree.
Changelogs :
Add support for MIUI based ROM (Stupid idea)
Merge 4.9.166
Upstream with Lineage tree
Upstream with Google Common 4.9
Update default RNDIS class for Xiaomi (Fix usb tether issues)
Can it be that you, by mistake, still published the 4.9.165-Canting-0.4 version on GitHub? At least it says so under settings/about the phone.
taw62 said:
Can it be that you, by mistake, still published the 4.9.165-Canting-0.4 version on GitHub? At least it says so under settings/about the phone.
Click to expand...
Click to collapse
I think i missed this
Release 0.6
New build is up
Changelogs :
Merge 4.9.167
Upstream with Lineage tree
Upstream with Google Common 4.9
firmware: update novatek from 9.1.24 beta
Download link in the OP, enjoy it
Release 0.7
New build is up
Changelogs :
Merge 4.9.168
Upstream with Lineage tree
Upstream with Google Common 4.9
Download link in the OP, enjoy it
Release 0.8
New build is up
Changelogs :
Merge 4.9.169
Upstream with Google Common 4.9
Merge tag 'LA.UM.7.3.r1-07400-sdm845.0'
Update wireguard to 0.0.20190406
Download link in the OP, enjoy it
Not sure if it is normal?
khusika said:
New build is up
Changelogs :
Merge 4.9.169
Upstream with Google Common 4.9
Merge tag 'LA.UM.7.3.r1-07400-sdm845.0'
Update wireguard to 0.0.20190406
Not sure if it is normal? wifi can be used normally, but the status bar icon is gray (not connected).
Click to expand...
Click to collapse
tpcglcgl said:
Not sure if it is normal? wifi can be used normally, but the status bar icon is gray (not connected).
Click to expand...
Click to collapse
Yes, CAF pushed a weird commit which caused those issue.
Will be fixed today with linux 4.9.170 merged in.
Release 0.9
New build is up
Changelogs :
Merge 4.9.170
Removal of adiantum patchset
Fixed wifi issue
Download link in the OP, enjoy it

[KERNEL] Papaya Custom Kernel Based on EMUI 9.1 Source For Fig-LX1

PAPAYA KERNEL​
Warning:
I am not responsible for bricked devices.
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.
Requirements:
- Huawei P Smart 2018 Fig-lx1
- Emui 9.x
- Unlocked bootloader
Features:
- Compiled with Linaro GCC toolchain
- Makefile Optimizations
- Zen I/O Scheduler (set as default), Maple, Anxiety
- Westwood TCP Algorithm (set as default) , BBR, cubic, reno
- Disabled Huawei’s root checks in config
- Simple_LMK (Disabled for now)
- Wireguard
- Gpu scene_aware scheduler
- Fsync switch
- Boeffla wakelock blocker
- SELinux switch
- RCU boost
- DSBoost
- Updated ZRam
- Google LMK
Download kernel from my GitHub. The topmost release is the latest.
XDA:DevDB Information
Papaya kernel, Kernel for the Huawei P Smart
Contributors
OnkoFonko
Source Code: https://github.com/onkofonko/kernel_papaya_fig-lx1
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v1.6
Stable Release Date: 2021-02-21
Created 2019-12-28
Last Updated 2021-02-21
Changelog:
V1.0
- First version
V1.1
- Added and activated Simple_lmk, Disabled Huawei's LMK
V1.2
- Added Wireguard, Gpu scene_aware scheduler, Fsync switch and more optimizations
V1.3
- Added Anxiety I/O Scheduler , Maple I/O Scheduler , Boeffla wakelock blocker
- Updated CFQ I/O Scheduler, BBR TCP algorithm
- Minor fixes and optimizations
V1.4
- Backported scene aware gpu governor from emui 10 source , also raised hispeed freq for gpu
- Reverted mmc and f2fs updates
- Enabled selinux switch
- Updated cpuidle, squashfs
- Dropped min_sampling_rate for governors
- Minor fixes
V1.5
- Enabled RCU boost
- Added and Enabled DSBoost
- Updated ZRam
- Disabled Simple_LMK
- Added and enabled LMK from google
- Optimizations
V1.6
- Added and activated cpu_input_boost
- Updated i/o schedulers
- Disabled DSBoost
- Added and activated dynamic schedtune boost
- Updated binder
- MM tweaks
- Optimizations
- Updated ipv4
0ckysaurus said:
PAPAYA KERNEL​
Warning:
I am not responsible for bricked devices.
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.
Requirements:
- Huawei P Smart 2018 Fig-lx1
- Emui 9.x
- Unlocked bootloader
Features:
- Compiled with Linaro GCC toolchain
- Zen I/O Scheduler (set as default)
- Westwood TCP Algorithm (set as default)
- Disabled Huawei’s root checks in config
- updated mmc and f2fs
- Simple_LMK (since v1.1)
XDA:DevDB Information
Papaya kernel, Kernel for the Huawei P Smart
Contributors
0ckysaurus
Source Code: https://github.com/ockysaurus/kernel_papaya
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2019-12-30
Created 2019-12-28
Last Updated 2019-12-30
Click to expand...
Click to collapse
Currently testing it on a Q GSI with EMUI 9.1 vendor (FIG-LX1C432 L31 B115)
Any issue, I'll be sure to contact you. Thank you so much for your work.
Since Honor 7x has the same soc, should it work on it or 7x has some major differences?
Papaya v1.6 is up.
This is the last version of papaya kernel from me, you can fork it and improve it if you want. Download it from my GitHub.
0ckysaurus said:
Papaya v1.6 is up.
This is the last version of papaya kernel from me, you can fork it and improve it if you want. Download it from my GitHub.
Click to expand...
Click to collapse
Hi im compiling emui 9.1 stock kernel for Cmr-al19 huawei m5 but i dont know how to extract the Image.gz to kernel.img and other images. Since there are no more ramdisk partition in emui 9. I've searching online for a method but im still stuck
sunnatter said:
Hi im compiling emui 9.1 stock kernel for Cmr-al19 huawei m5 but i dont know how to extract the Image.gz to kernel.img and other images. Since there are no more ramdisk partition in emui 9. I've searching online for a method but im still stuck
Click to expand...
Click to collapse
Hi, sorry for the late reply. There is a folder called "tools" in every emui kernel source and in there you should find pack_kernerimage_cmd.sh script that should help you with your issue.
0ckysaurus said:
Hi, sorry for the late reply. There is a folder called "tools" in every emui kernel source and in there you should find pack_kernerimage_cmd.sh script that should help you with your issue.
Click to expand...
Click to collapse
Thanks for your reply, i didnt notice that there is such script so i compile with mkbootimg haha. Which compiler did you use? I use the google git toolchain pie release from wed mar 21 2018. The kernel is compiled without error but it threw a lot of warnings.
Do you have to modify the source code? I have to modify the dtc-parser file to get it compiled
sunnatter said:
Do you have to modify the source code? I have to modify the dtc-parser file to get it compiled
Click to expand...
Click to collapse
i did not need to edit anything to compile it. I chose Linaro GCC as my toolchain. Take a look at my build script, maybe it will help you to properly build it. I think that you can ignore warnings when compiling. I did ignore them and my kernel works without any issues I guess .
0ckysaurus said:
i did not need to edit anything to compile it. I chose Linaro GCC as my toolchain. Take a look at my build script, maybe it will help you to properly build it. I think that you can ignore warnings when compiling. I did ignore them and my kernel works without any issues I guess .
Click to expand...
Click to collapse
I see, awesome man. My compiled kernel also work without issue but i had to modify the source code a bit for it to compile
hi i just tried gcc-linaro-7.5.0-2019.12-x86_64_aarch64-elf as in your script but it always stop with some drivers error. And i still have to edit the source code to make it compile at first lol. Do you have any idea how to solve it?
sunnatter said:
hi i just tried gcc-linaro-7.5.0-2019.12-x86_64_aarch64-elf as in your script but it always stop with some drivers error. And i still have to edit the source code to make it compile at first lol. Do you have any idea how to solve it?
Click to expand...
Click to collapse
Send me a screenshot of the error and I will try to help you.
Hi, wifi still doesn't work?
DimaK076 said:
Hi, wifi still doesn't work?
Click to expand...
Click to collapse
As well for me, wifi doesn't work .. Have you been able to solve it ?

[KERNEL]JellyKernel [AOSP/CAF] [10]

My personal kernel builds for Xiaomi Redmi Note 7.
New project because old one got deprecated due to me being on hiatus.
Nothing groundbreaking, but should work and be stable.
Some features before you go any further:
-Linux upstreamed to 4.4.219
-No kcal support yet (I'll add it later)
-Optimized with -O3 flag
-A lot of debugging is disabled
-Cortex A73 and Cortex A53 optimization flags
-Latest CAF tag merged into kernel sources
-Reworked DDR bus tables for better performance and responsiveness
-Simple LMK replaces stock Android LMK (credits to @Kerneltoast)
-Android Binder 4.19 backported (credits to @Kerneltoast)
-Pretty generous -100mV undervolt for CPU and GPU
-Latest anykernel3 used for flashing this kernel (credits to @osm0sis)
-LZ4 as a default zRAM compression algorithm
-Adrenoboost incorporated into this kernel (credits to @flar2)
-Initial HDR support for Tiamna panels (read below for additional info)
-Builds with oldcam and newcam will be available eventually
-Compiled using Clang 10.0.2 from Google for maximum stability
-Memory leak fixes
-HMP only
DISCLAIMER:
-Only AOSP/CAF based ROMs are supported.
-MIUI is not supported and don't ask for support.
-With any problem that might happen, logs or no support.
-HDR support is really rough around the edges and only Youtube can properly playback HDR videos upto 1080p30 smoothly.
DOWNLOAD HERE!
XDA:DevDB Information
JellyKernel, Kernel for the Xiaomi Redmi Note 7
Contributors
airidosas252, nathanchance, rama982
Source Code: https://github.com/airidosas252/xiaomi_android_kernel_lavender
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 20200421
Created 2020-04-20
Last Updated 2020-04-20
Reserved
airidosas252 said:
My personal kernel builds for Xiaomi Redmi Note 7.
New project because old one got deprecated due to me being on hiatus.
Nothing groundbreaking, but should work and be stable.
Some features before you go any further:
-Linux upstreamed to 4.4.219
-No kcal support yet (I'll add it later)
-Optimized with -O3 flag
-A lot of debugging is disabled
-Cortex A73 and Cortex A53 optimization flags
-Latest CAF tag merged into kernel sources
-Reworked DDR bus tables for better performance and responsiveness
-Simple LMK replaces stock Android LMK (credits to @Kerneltoast)
-Android Binder 4.19 backported (credits to @Kerneltoast)
-Pretty generous -100mV undervolt for CPU and GPU
-Latest anykernel3 used for flashing this kernel (credits to @osm0sis)
-LZ4 as a default zRAM compression algorithm
-Adrenoboost incorporated into this kernel (credits to @flar2)
-Initial HDR support for Tiamna panels (read below for additional info)
-Builds with oldcam and newcam will be available eventually
-Compiled using Clang 10.0.2 from Google for maximum stability
-Memory leak fixes
-HMP only
DISCLAIMER:
-Only AOSP/CAF based ROMs are supported.
-MIUI is not supported and don't ask for support.
-With any problem that might happen, logs or no support.
-HDR support is really rough around the edges and only Youtube can properly playback HDR videos upto 1080p30 smoothly.
DOWNLOAD HERE!
XDA:DevDB Information
JellyKernel, Kernel for the Xiaomi Redmi Note 7
Contributors
airidosas252, nathanchance, rama982
Source Code:https://github.com/airidosas252/xiaomi_android_kernel_lavender
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 20200421
Created 2020-04-20
Last Updated 2020-04-20
Click to expand...
Click to collapse
Pls add criteria to flash this kernel, i try flashing this kernel but going to fastboot mode, im lazy to flash again n will not flash again...
Thx
not working,
it goes to fastboot

Categories

Resources