SmartPack [Kernel] project for LOS-14.1 [G901F] / [G906S/K/L] - Galaxy S 5 Android Development (Snapdragon)

This project is now maintained by @wilmsn. The new thread can be found here.
/* Introduction */
I haven’t found any suitable kernel that supports Lineage-OS 14.1 (and likely other aosp nougat ROMs) for these variants of S5 though many custom kernels are available for many other devices with the same APQ8084 chipset (e.g.: shamu). So, I made one by simply picking a lot of good features from other existing APQ8084 kernels. All the credits go to many developers those create several kernels for this platform and eventually made my job very easy. Here I’m sharing the output of my work and hope you guys like this.
/* DISCLAIMER!! */
Code:
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 lentislteskt (Korean variant). Hence, kernels under the category 'lentislte' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
lentislte: SM-G906S/K/L
kccat6: SM-G901F
/* Compatibility */
This kernel is only meant for Lineage-OS 14.1. It may or may not work on other LOS-14.1 (and AOSP) based Nougat ROMs (Please try in your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Reboot and enjoy​
/* Features */
Build from latest Lineage OS source code.
Build using Google arm-eabi 4.9 toolchain.
Anykernel concept for compatibility with maximum devices.
Kernel tweaker app recommend: Offical Kernel Auditor.
Added features include...
CPU voltage control
CPU_input boost
CPU Freq Gov: Intelliactive, Lionheart, Nightmare, Alucard, Blu_Active, Yankactive, & Ondemandplus.
CPU hotplugs: Intelli plug and mako hotplug.
TCP congestion algorithms: Westwood, reno, cubic etc.
IOScheds: SIO & FIOPS
IOSched_switcher
FSync enable/disable support
Fastcharge
Sound Control
Simple GPU Algoritham
FRandom
KCAL v2 advanced colour management
a lot more...​
/* Features likley added in the future */
1. More cpufreq govs
2. More ioscheds
3. Overclocking/Underclocking
4. Intelli_thermal
5. Suggest me?
/* Downloads */
SM-G906S/K/L
SM-G901F
/* 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.
/* Acknowledgements */
@cvxda
@franciscofranco
@faux123
@flar2
@Imoseyon
@savoca
@Lord Boeffla
@Sultanxda
@Grarak
@osm0sis
@Alucard24
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2017-10-10
Created 2017-10-09
Last Updated 2017-11-26

Frequently Asked Questions (FAQ)
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Lineage-OS. However, if your ROM(s) a/b/c are based on Lineage-OS (and uses the same kernel source code), it will most probably work
Q2: Is this kernel better than stock/‘xyz’ kernel(s)?
Ans: Regarding stock, Yes, It should be better in many aspects (Otherwise it will never been published). Regarding ‘xyz’ kernels, I don’t know. I even may not used your mentioned ‘xyz’ kernels.
Q3: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q4: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q5: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of device. Anyway, I’m happy to check and add, if possible, any useful features (unless it is too experimental or dangerous) to my kernel. Please give your suggestions in the official xda thread.
Q6: When will you release a new version of this kernel?
Ans: New updates will arrive whenever I have something new to present in-front of you (such as I managed to add new useful features, or fix some existing issues or along with each LOS release with some changes in the kernel source code).
Q7: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screenshots or logcat if possible) and post in the xda thread.[/hide]
Please also note:
Guys... I'm pretty new to this device (and in fact to android development itself). So, it is very likely that I break some already available stuffs. If you found so, please let me know.
1. Please make sure to disable mpdecission if you decided to enable other hotplus (only one hotplug at a time).
2. Do not use any CPU hotplug while using zzmove cpufreq governor (since zzmove uses its own hot-plugging profiles).
3. Do not use Adreno_Idler and Simple_GPU algorithm together (that will likely make issues).

Change-logs
Nougat

men, i will try your kernel today, but already thanks for not forgeting this device, have a nice day.
well, im using the last rom version, and all that i can see is that it breaks the wifi, my device is G901F

New builds...
Release status: beta-v1
Changes: CPU voltage control is updated (all the frequencies are now accessible via KernelAuditor). Some other fixes (mainly for wifi)...
Download links cane be found here... enjoy...
/* Downloads */
SM-G906S/K/L
SM-G901F
@Juanchito16 any updates?

heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!

Juanchito16 said:
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Click to expand...
Click to collapse
Thanks for the reply and nice to know that it is working.
Btw, it could be nice if you test everything and made a detailed review. It will be useful for me to make it better as well as other users. I really like to know its status from an SM-G901F user (since I only own SM-G906S)... Thanks, anyway, for the early testing...

@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.

Honestly, I do not know since it is difficult for me to test the standby time due to my building and flashing habit
However, I'm presently satisfied with 1. cpugreq (nightmare), 2. cpu hotplug (intelli_plug), 3. undervolted (up to -50), 4. TCP algo (westwood) and 5. All other available features like fastcharge, sound control etc. enabled...
Juanchito16 said:
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Click to expand...
Click to collapse

exactly what i tough so i do have time to try this, im waiting for phone to charge fully (now 55%), i will set 1. cpugreq (nightmare), and turn on wifi, bluetooth, gps, and in airplane mode bc i dont have sim for the phone.
well i dont have many apps installed ,so i will do every test with exactly same settings and apps

workload
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards

so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet

deollz said:
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
Click to expand...
Click to collapse
Thanks for testing and review. It become much better in the next updates once I add cpu input boost...
Juanchito16 said:
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
Click to expand...
Click to collapse
Thanks for the really detailed review... As per its source code, it only increases the USB charging speed to 900mA and nothing else. Probably you can try ampere to test the charging speed. Btw, I hope more people test this kernel soon.

Testing now, thank you ! My phone g906s

i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA

kotobodj said:
Testing now, thank you ! My phone g906s
Click to expand...
Click to collapse
Juanchito16 said:
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
Click to expand...
Click to collapse
Thank you very much friends. Was busy with my klte kernel. I'll probably push an updated version tomorrow, if everything goes as expected.
Btw, anybody tested the sound control (Kernel Auditor ---> Sound)? Is it worth?
Thanks in advance...

I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.

BorrelNootje said:
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
Click to expand...
Click to collapse
Ahh, yes, please provide a log if possible... Thanks for reporting...

New builds (beta-v2)...
Release status: beta-v2
Added: SIO and FIOPS ioscheds, CPU input boost, iosched switcher & FSync enable/disable support...
Changes: Interactive cpufreg gov, sound control (default gain marginally increased, PS: it might still crash the device if you touch the sound tab, but give significant gain by default), recent commits in the LOS kernel source code...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171012)...[/COLOR][/B]

One more build...
One more update before the weekend...
Release status: beta-v3
Changes: Changes: zzmove cpufreq gov. All the commits in the LOS kernel source code till date...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171013)...[/COLOR][/B]

Related

[KERNEL] BitO-K12 / KU: Kernel for Nvidia Shield Tablet [Stock / Custom / N]

This kernel aims to be an alternative (and experimental) to Stock or custom ROMs (CM, Bliss,...) default ones, applying tweaks (kernel source configuration) and patches (if them apply) to improve general responsive, performance and functionality.
*Remember, test at your own risk.
BitO-KU
Base "pure" kernel with latest Nvidia code + Linux upstream (v3.10.108)
More info here.
Main Features for K12:
SafetyNet bypass (TESTING)
Latest Linux 3.10.108 code fully merged
Latest F2FS code backported from Linux 4.10
Multi Core and SMT optimizations enabled
Extra IO Schedulers (CFQ - default)
Extra Governos (Interactive - default)
Extra TCP Congestion algorithms (Cubic - default)
L2TP VPN enabled
ZRAM with LZ4 enabled (you can disable)
NTFS RW enabled
UTF8 as default code table
Module support disabled
CPUQuiet (CPU dynamic hotplug)
Main Features for KX10:
All K10-001 features + ...
OC for CPU and GPU (thx to @laufersteppenwolf )
Other optimizations:
Debug info stripped down
Branch jump optimizations
Clean cache
Front swap
Memcopy operations optimized for ARM A15
ZCache enabled
Cryptographic operations
Downloads:
BitO-KU
BitO-K12
BitO-KX10
Installation
Install ZIP via custom recovery
Install F2FS injector ZIP if you need proper F2FS support.
Notes
Don't forget flash DTB if necessary
If you need to update blobs, you can easily flash this zip (OTA 4.2), thx to @Steel01
Info about F2FS, and experimental TWRP to support it here.
I would be glad to get some feedback about battery life, performance, etc... All suggestions welcome :good:
Thnx:
@Steel01
@Bogdacutu
@faux123
@twistedumbrella
@berryman13
@Unjustified Dev
@SuperPichu
@corvus
Tegra Devs and every developer and tester behind and supporting this big community.
Big thx to everybody for helping to get a new device​
List of donnors for a new Shield Tablet:
@xanthrax : $25
@gasgiver : $10
@primaleph : $25
@marvi0 : $10
@strann0 : $10
@DR_HAX34 : $15
-----------------------------
TOTAL: $95
XDA:DevDB Information
BitO-K, Kernel for the Nvidia Shield Tablet
Contributors
BitOBSessiOn
Source Code: https://github.com/BitOBsessiOn/android_kernel_nvidia_shieldtablet
Kernel Special Features: Latest Nvidia sources, stable, fast, responsive, smooth
Version Information
Status: Stable
Current Stable Version: K10-006
Stable Release Date: 2017-06-25
Current Beta Version: K12
Beta Release Date: 2018-05-28
Created 2015-04-01
Last Updated 2018-05-29
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
pretty and nice
Running almost perfect in CM12
Waiting for OC I know you can do it,I use run the shaky156 OC 2.499 kernel for almost 1 months with no problems and I switched to CM12
Thanks and keep the nice work
kickassdave said:
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
Click to expand...
Click to collapse
Thnx, OP updated.
kickassdave said:
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
Click to expand...
Click to collapse
BitOBSessiOn said:
Thnx, OP updated.
Click to expand...
Click to collapse
And right after flashing CM12 in TWRP
That's what I did anyways.
Anybody can give me feedback about battery on CM 12 / 12.1 when device screen off (deep sleep), please?
Thnx!
BitOBSessiOn said:
Anybody can give me feedback about battery on CM 12 / 12.1 when device screen off (deep sleep), please?
Thnx!
Click to expand...
Click to collapse
The - latest wifi ROM- version you uploaded in the CM12 thread also includes your kernel as presented here?
Is it possible to include colour profiles in the kernel? Love it on my nexus 5! Looking forward to seeing this move forward
Also is there a rest of world lte version in the works? Thanks
silasje1 said:
The - latest wifi ROM- version you uploaded in the CM12 thread also includes your kernel as presented here?
Click to expand...
Click to collapse
Yes, I always compile CM 12.x with my kernel version. The 12.1 is totally experimental.
ishamm said:
Is it possible to include colour profiles in the kernel? Love it on my nexus 5! Looking forward to seeing this move forward
Also is there a rest of world lte version in the works? Thanks
Click to expand...
Click to collapse
Take note for colour profiles but I don't know how complex it can be... I'll be studied, sure.
About LTE RoW (wx_un_do) vs LTE US (wx_na_do) they are totally compatible as @Steel01 and me have seen. I have LTE RoW model and actually use wx_na_do compilation. In the future, perhaps, we will create a specific branch.
BitOBSessiOn said:
Yes, I always compile CM 12.x with my kernel version. The 12.1 is totally experimental.
Click to expand...
Click to collapse
I will be away a few days so a lot of sleep time for the tablet Will report
Here's some cpu state time info for u. 51mhz is deep sleep right?
With CPU Spy you get how long the device is in deep sleep: http://forum.xda-developers.com/showthread.php?t=1011497
Cpu spy capture for u. I've been running it like I stole it all day.
I don't have installed CPU Spy but BBS reports that it sleeps like a baby.
Got a spare apk for bbs by chance?
Download Better Battery Stats XDA edition here http://forum.xda-developers.com/showpost.php?p=15869886&postcount=2
Just wanted to let u know the mic issue was a gapps thing, the minimal edition has problems, went back to pagapps (the final 03/15 one) and if I flash this kernel on steels cm12 it works perfect. No sound fc either. The ONLY issue I found is moving to SD. Still says no room even after the folder mount patch. Battery is great btw, thanks much for the work
Is it possible to add double tap to wake / sleep? ☺
Sent from my SHIELD Tablet
badly and +
drewski_1 said:
Is it possible to add double tap to wake / sleep?
Sent from my SHIELD Tablet
Click to expand...
Click to collapse
SD fix
OC CPU and GPU

[i9305][KERNEL][CM13][BOEFFLA]UNOFFICIAL Boeffla Kernel ported to i9305

Hi all,
this is the thread about the CM version of the well-known Boeffla-Kernel for the Samsung Galaxy S3 lte.
Note: This kernel is only for CM based roms!!! Do not install it on a Samsung based rom!!!
For Omnirom, please do not use the CM kernel but the separate Omnirom kernel I also provide.
If you have questions to settings, presets, others configuration and wanna share your configuration, head over to the unofficial Boeffla-Config App Config sharing thread:
http://forum.xda-developers.com/showthread.php?t=2621308
Support
First read about "Known Issues" in 2nd post!
FirstSecondly read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app.
Click here to learn about using the config app.
I will refuse any support if you do any undervolting and experience freezes or hot reboots.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it. Test w/o Xposed first, if issue still occurs then report here. If issue doesn't occur anymore, also report here so I can list under "Xposed known issues"
Lastly, if you are using one of the latest versions with anykernel, please read this before proceeding
Lord Boeffla said:
Hi all,
it is time for the first CM13 kernel with the new anykernel concept.
Before you start, make sure you have read and understood the following:
http://boeffla-kernel.de/index.php/7...new-anykernels
If you ask questions which are addressed in this article, or you have issues which are a consequence of not reading the article, I will not answer. It is your responsibility to understand what you do BEFORE you do it.
(and also read this for more background: http://boeffla-kernel.de/index.php/6...ernels-new-app)
Side note:
Although the kernel is now likely to be much more compatible with custom roms using CM basis, I will not change my support conditions at all. If you report an issue on a non-original CM rom, do not expect me to react (http://boeffla.de/index.php/support/support)
Ensure you update to latest Boeffla-Config App 2.3.1 BEFORE you flash the new kernel !!!
Enough threatening now, here we go:
Version 5.1-beta1
12.07.2016
Note: This is the first Boeffla-Kernel with the new anykernel concept.
Make sure you read and understand the basics: Boeffla-Anykernel Know-How and New concept kernels/New app
Note: You have to use Boeffla-Config version 2.3.1 or newer in order to use all functionality !!
This kernel as exactly the same functionalities as the last stable kernel release
Enjoy
Andi
Click to expand...
Click to collapse
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Features
* To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from here: DOWNLOAD
* Support for generic framework naming convention framework-2.jar instead of proprietary rom framework names
* Upstreamed to Linux 3.0.101(www.kernel.org)
* CPU "soft" overclocking to 1500 or 1600 MHz
* CPU undervolting interface
* GPU frequencies configurable (underclocking, overclocking up to 700 MHz)
* GPU voltages configurable (undervolting, overvolting)
* Configurable zRam
* Configurable touch-to-wake
* Configurable touch boost frequency
* Configurable early suspend time (for screen off animations, 100ms default)
* Configurable LED for fading mode, speed and brightness
* Softkey touch button LEDs controllable
* Configurable charger rate for AC, USB and wireless (default increased to 1100 mA for ac charging)
* Charge information display support via Boeffla-Config V2 app
* Charging logic supports ignore unstable power and remove safety margin
* Boeffla-Sound engine V1.7.1 to unleash the power of the Galaxy S3 audio chip
* Additional governors: zzmoove 0.8, pegasusqplus, smartassv2 and lulzactiveq
* Governor profiles for pegasusq, pegasusqplus and zzmoove for performance, battery saving etc.
* Additional schedulers: ROW, ZEN, BFQ (v6r2) and SIO
* Schedulers configurable separate for internal and external SD memory
* Hardcore speedmod sharpness fix implemented (default is off)
* Black crush fix for better balanced display
* SD card read ahead buffer configurable separate for internal and external SD memory (default increased to 256 kB)
* Ext4 File system tweaks (default to on, can be disabled)
* System Tweaks predefined supported (default is off, new Mattiadj tweak set included)
* WIFI Multicast filter for better battery life
* WIFI wakelock times reduction
* Proportional rate reduction for TCP
* TCP congestion changed from Cubic to Westwood
* Wifi mac address change support
* Dynamic fsync 1.2 implemented
* Timeout for external SD card changed to improve handling of crappy SD cards
* Swap supported (but not recommended, use zRam instead)
* init.d support (in /system/etc/init.d - set correct permissions!)
* NTFS (read-only access only!) compiled as a module
* CIFS compiled as a module
* NFS compiled as a module
* XBox controller support as module
* exFat support (if supported by used firmware)
* Battery monitor wakelocks reduced
* Android logger can be disabled
* Disabled various debug logs and traces
* Frandom compiled as a module (for mods like Crossbreeder)
* Triangle away supported
* Automatic EFS backup to external (priority) or internal SD Card (fallback) - now compatible with tools like kTool
* Kernel initialisation log file (with history of 3 log files)
* Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
* Compatibility to common standard apps (Voltage Control, SetCPU, System tuner etc.)
* Compiled with Google arm 4.8 toolchain
* Internal kernel busybox version 1.24.2
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
Downloads over at my AFH Folder
History
Basically I created the Samsung version of Boeffla-Kernel as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!! Which in fact for the CM kernel means now... close to CM kernel sources.
This said, I will definitely NEVER implement:
dual boot (I do not need it)
color "calibration"
real hard overclocking higher than 1600 MHz as this is outside of Exynos specs
f2fs - it is known to cause various issues and compatibility problems
a CAF based kernel
[*] anykernel method to use the ramdisk of the installed rom
anything that requires upstreaming of kernel parts to a higher kernel major version
Any TC other than google's
So do not even ask for it. Everything else I am happy to check and decide.
Compatibility
To reiterate it again: This kernel is only for CM13 based ROMs. It is not designed to run on Samsung based roms! AOSP based is not tested, though it should work.
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
Donation
If you like my work, feel free to donate: Donation-Link
You will receive a personal donation code which unlocks some nice comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Lord Boeffla's Github repository: http://github.com/andip71
My source can be found below, at "DevDB Information"
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* Lord Boeffla (For providing kernel in the first place )
* Yank555
* ZaneZam
* Hardcore
* Chainfire
* Harunjo
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Supercurio
* Mialwe
* Entropy512
* Faux
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in TWRP recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
XDA:DevDB Information
Boeffla Kernel, Kernel for the Samsung Galaxy S III I9300
Contributors
limjh16, n0aaz, aaz03, ZaneZam, Lord Boeffla
Source Code: https://github.com/limjh16/boeffla
Kernel Special Features:
Version Information
Status: Beta
Current Stable Version: 5.0
Stable Release Date: 2016-07-04
Current Beta Version: 5.1-b7
Beta Release Date: 2016-08-30
Created 2016-06-09
Last Updated 2016-08-30
Known Issues
Known Issues NOT involving Xposed
1. SuperSU and Superuser other than Stock DOES NOT WORK on Temasek ROM and possibly all other CM13 ROMs
2. F2FS WILL NOT WORK, AND WILL NOT EVER WORK, AS DESCRIBED IN OP
Known Issues involving Xposed
None I have experienced thus far.
To-Do List
1. Fix SuperSU because I really love it.
2. Archi Optimisations Test Doesn't work
3. Make file names correspond to "beta" tag
1. Attempt bug fixing Archi Opti Test
1. Test on AOSP ROMs
2. Dragon TC??
Installation
Dirty flash works fine, just remember to clear cache.
If you are coming from another kernel e.g. agni kernel, you must wipe /system (not just flash ROM zip for the updater script) and flash everything accordingly.
If you need specifics on what to do first, follow ROM installation instructions and right after you flash ROM zip just flash boeffla ZIP
If you still don't understand you should not be here and should be reading up on what flashing zip is...
Credits & a History Lesson
Credits other than those listed in OP:
1. @Lord Boeffla for allowing me to port, and post this thread.
2. @ZaneZam for guidance
3. @aaz03 YES I DID IT
I take absolutely no credit, all work was done by @aaz03 and all I did was follow his instructions and pester @ZaneZam a bit, and I got a flashable zip that works.
A very, very unimportant history lesson
So, I was looking at github.com/n0aaz and I saw he was trying to port boeffla. I PM'ed aaz, and he told me his laptop broke so he couldn't continue. He then asked me to help him continue and that he was very close to completion. However he rarely responds to PM, so I contacted @ZaneZam to ask for more guidance. He was very helpful and kind of guided me through how I should use the build script/edit the build script, and how to manage the boot.img
Well, @aaz03 you were very very close to completion indeed, you just had to take a new boot.img from CM. Uber toolchain was probably another factor.
Boeffla 5.0beta34 will be built this weekend or when I have time.
I will not be providing new Boeffla Builds where the changes do not concern i9305 (eg, just source updates for other devices) I will only be providing when there are universal updates.
Feel free to post bug reports here instead of the bug reports tab (I don't even recall if I enabled that tab)
If you want screenies tell me, I got stuff to do for now
Can someone help test with other ROMs and especially AOSP ROMs?
limjh16 said:
Credits other than those listed in OP:
1. @Lord Boeffla for allowing me to port, and post this thread.
2. @ZaneZam for guidance
3. @aaz03 YES I DID IT
I take absolutely no credit, all work was done by @aaz03 and all I did was follow his instructions and pester @ZaneZam a bit, and I got a flashable zip that works.
A very, very unimportant history lesson
So, I was looking at github.com/n0aaz and I saw he was trying to port boeffla. I PM'ed aaz, and he told me his laptop broke so he couldn't continue. He then asked me to help him continue and that he was very close to completion. However he rarely responds to PM, so I contacted @ZaneZam to ask for more guidance. He was very helpful and kind of guided me through how I should use the build script/edit the build script, and how to manage the boot.img
Well, @aaz03 you were very very close to completion indeed, you just had to take a new boot.img from CM. Uber toolchain was probably another factor.
Click to expand...
Click to collapse
Heh, very good job i couldn't be very active on xda because of all my exams. Even though i don't have a 9305 anymore i'm glad that you managed to fix issues i had to face . Good continuation
aaz03 said:
Heh, very good job i couldn't be very active on xda because of all my exams. Even though i don't have a 9305 anymore i'm glad that you managed to fix issues i had to face . Good continuation
Click to expand...
Click to collapse
See that you got yourself a redmi note 3 pro... wanted to get that too except i realised I rather save up for a Nexus
P.S. don't quote OP, I got this thread subscribed
limjh16 said:
...
Also, (a little advertising) what is the behavior of button backlight in boeffla?
Click to expand...
Click to collapse
Your advertising worked fine
I didn't know you've just started a Boeffla thread! Well done! Thanks for your work.
My answer to "what is the behavior of button backlight in boeffla?" is: I don't know, I didn't test.
FLooDW said:
Your advertising worked fine
I didn't know you've just started a Boeffla thread! Well done! Thanks for your work.
My answer to "what is the behavior of button backlight in boeffla?" is: I don't know, I didn't test.
Click to expand...
Click to collapse
Oh haha
Just felt lonely here.
I'm sorry if I was breaching any xda rules haha
Sent from my GT-I9305 using XDA Labs
Had time after dinner, here's beta34: https://www.androidfilehost.com/?fid=24572369242686106
Accessible via folder link in 1st post too. Now I bother to change zip names so it will be beta34 instead of alpha1 haha...
Anyways, as I was playing around trying to find a fix for supersu, I made backups and flashed while taking a log. Well, after I booted to system and prepared adb for a log, it booted, and surprisingly no bootloops! And it's a wierd solution that I found: Don't charge phone while booting. I attempted this 2 times, and the 2nd time it worked because I was not charging phone. Wierd? I know right...!
Great to see that development is still strong after all those years. Congrats on getting it all done and thanks to all your work you did the last few weeks/months.
Whats your problem whit f2fs?
The original boeffa support it.
Its really good future and really improve the performance.
F2FS has noting todo with the mentioned optimizations. Both can survive next to each other .
---------- Post added at 07:34 PM ---------- Previous post was at 07:12 PM ----------
Which kernel or sound app are you using or recommend to configure the beoffla sound settings? Can you link it?
Its already linked in op, sorry.
Running this on CM13 (pan's build, set to Muppett's RIL).
All seems to be working OK so far.
I'm using the Boeffla Control App V2 linked to in the OP. This has Boeffla sound settings in it, all seems to be working fine.
Now I just have to wait and see if the network issues I get when I use AGNi kernel on CM13 (but not CM own kernel) stay away.
Sorry haven't seen it in op. I am a newbie and didn't read the op proper .
Small issue - I set the charging current to 1500mA and turned on ignore unstable charging etc.
When I do this on AGNi, the 'Galaxy Charging Current' app says 1500 for 'reference', 'maximum' and 'average'.
On Boeffla it says 1500 for 'reference' but only 1000 for the other two numbers.
I had a bootloop when try boefla kernel with cyanide latest version.
So I try it with temasek and everything's working fine here, will test to see if the ril problem is fixed. Good work ! Thanks for bringing back this awesome kernel.
Mrxyzl said:
I had a bootloop when try boefla kernel with cyanide latest version.
So I try it with temasek and everything's working fine here, will test to see if the ril problem is fixed. Good work ! Thanks for bringing back this awesome kernel.
Click to expand...
Click to collapse
Seems like doesn't work with aosp.
Sent from my GT-I9305 using XDA Labs
Glenn2 said:
Small issue - I set the charging current to 1500mA and turned on ignore unstable charging etc.
When I do this on AGNi, the 'Galaxy Charging Current' app says 1500 for 'reference', 'maximum' and 'average'.
On Boeffla it says 1500 for 'reference' but only 1000 for the other two numbers.
Click to expand...
Click to collapse
Try using ampere or just the built in on the 1st page of boeffla config app, it'll correspond.
Also, now you can set charging current to 1600
Edit: http://i.imgur.com/IMlEiau.png
Sent from my GT-I9305 using XDA Labs
rodman01 said:
Sorry haven't seen it in op. I am a newbie and didn't read the op proper .
Click to expand...
Click to collapse
If you're a newbie all of us have not been born yet
Sent from my GT-I9305 using XDA Labs
Temasek + boeffla i cant hear any voice when call nor people can hear me.. Not even in loud speaker.. Or am i missing something? But boeffla rock!
I had this prob on unicorn aokp + agni4.5.5. So i stay stock. But because of boeffla, i went back to cm
Thank for porting.
Sent from my GT-I9305 using XDA-Developers mobile app

[EOL] SmartPack [Kernel] project for stock Marshmallow [final-v11] [kltexxx]

This project is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
/* Introduction */
I'm proudly presenting my work, SmartPack-Kernel for Samsung stock marshmallow. Please note: All these kernels are designed to work only on Samsung stock and other TouchWiz based marshmallow ROMs. SmartPack-Kernel for LOS based Nougat/Oreo ROMs are available here.
Code:
DISCLAIMER!
I am not responsible for any damage to your device. Everything you are doing on your device is at your own risk.
I only own kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
This kernel is only tested on stock Marshmallow. It may or may not be compatible with other ROMs as well.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Compatibility */
This kernel is only meant to work on Samsung Stock TW 6.0.1 and nothing else. However, it may work on other stock TW based Marshmallow ROMs as well (Please try at your own risk).
This kernel will NOT work in Lineage-OS and other AOSP based Nougat ROMs.
/* How-to-Install */
i. Go to recovery (TWRP recommend)
ii. Flash Kernel
iii. Reboot and enjoy​
/* Features */
Build from latest klte source code.
Build using Google arm-eabi 4.9 toolchain.
Linux Kernel version is updated to 3.4.113.
Anykernel base for compatibility with maximum devices.
Kernel tweaker app recommended: SmartPack-Kernel Manager (Please use the attached version, other versions may have issues in this platform).
Added features include...
CPU voltage control.
CPU Freq Gov: INTELLIDEMAND, INTELLIACTIVE, SMARTMAX, LIONHEART, NIGHTMARE, ADAPTIVE, ALUCARD & ZZMOVE.
CPU hotplugs: Intelli plug, Alucard and mako hotplugs.
IO schedulers: FIOPS, SIO, VR, ZEN, FIFO, TRIPNDROID.
TCP congestion algorithms: Westwood, reno, cubic etc.
Full control of AC, USB and Wireless charging rate in SmartPack-Kernel Manager.
Sound Control
Intelli thermal v2.0
FRandom
The Ultra Kernel Samepage Merging (UKSM) feature
Dynamic sync control 2.0
Adreno_idler
CPU Input boost (full control in SmartPack-Kernel Manager)
SELinux Enforcing mode (but can be controllable in SmartPack-Kernel Manager)
Powersuspend
KCAL v2
a lot more...​
/* Downloads */
https://smartpack.github.io/sgs5/
/* Special note to Korean S5 users */
Flashing this kernel (kltekor build) after many klte (SM-G900F) MM ROMs may allow the use of those ROMs on SM-G900S/K/L (not tested all).
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. You may also use my kernel to make your ROMs compatible with Korean Galaxy S5. Feel free to contact me, if you need any assistance from my side.
/* Acknowledgements */
@Lord Boeffla
@franciscofranco
@Sultanxda
@CrazyGamerGR
@Saber
@osm0sis for AnyKernel project
@Grarak for Kernel Adiutor
Our Korean Galaxy S5 Facebook group members
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2017-03-22
Created 2017-03-07
Last Updated 2018-11-01
Frequently Asked Questions (FAQ)
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Samsung Stock-MM. However, it will most probably work on any custom ROMs using Samsung’s stock kernel source.
Q2: Which version of kernel should I use?
Ans: I recommend you to always use the latest.
Q3: Is this kernel better than stock/‘xyz’ kernel(s)?
Ans: Regarding stock, Yes, It should be better in many aspects (Otherwise it will never been published). Regarding ‘xyz’ kernels, I don’t know. I even may not used your mentioned ‘xyz’ kernels.
Q4: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q5: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q6: Which are the best CPUfreq gov/CPU hotplug/IOScheduler/TCP congestion algorithm for battery life/performance etc?
Ans: Again you need to find out those things yourself. To get more idea, I suggest you to read this awesome guide by @Saber
Q7: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of device. Anyway, I’m happy to check and add, if possible, any useful features (unless it is too experimental or dangerous) to my kernel. Please give your suggestions in the official xda thread.
Q8: When will you release a new version of this kernel?
Ans: New updates will arrive whenever I have something new to present in-front of you (such as I managed to add new useful features, or fix some existing issues or along with Samsung's new open source code release).
Q9: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screenshots or logcat if possible) and post in this thread.
Change-logs
Stock-MM
I dont know much about kernel but i would like to know if we add more 4g band through kernel.
I tried NV browse to add band 40 and 41 but nothing happened. (Band are added but not supported)
I check using different rom like CM version.
It seem all failed to use different LTE band.
But after reading about qualcomm chip which has support for many band. But they are block by samsung.
So out curiosity i would like know of that can happen through kernel.
Thank you
Does this mean that I can flash ROMs that is only supported on SM-G900F and do I need root access to flash this? Thank you!
Salcykhan said:
I dont know much about kernel but i would like to know if we add more 4g band through kernel.
I tried NV browse to add band 40 and 41 but nothing happened. (Band are added but not supported)
I check using different rom like CM version.
It seem all failed to use different LTE band.
But after reading about qualcomm chip which has support for many band. But they are block by samsung.
So out curiosity i would like know of that can happen through kernel.
Thank you
Click to expand...
Click to collapse
At this moment, I have no idea abt your question. Sorry...
dreisoliman04 said:
Does this mean that I can flash ROMs that is only supported on SM-G900F and do I need root access to flash this? Thank you!
Click to expand...
Click to collapse
Root access is not required in the strict scene. However, you need an unlocked recovery like twrp to flash this kernel. If you are a Korean galaxy S5 user, you can also try SM-G900F ROMs (success is, however, not guranteed, plz read the op) in addition to ROMs those support Korean S5.
Thank you for clarifying things! I will try to flash this when I have time!
Sent from SM-G900L via XDA Labs
good work man!
make it for klteduos and n7,s7 ports, like Skies UX Rom.
LHR said:
good work man!
make it for klteduos and n7,s7 ports, like Skies UX Rom.
Click to expand...
Click to collapse
Thanks. Can you try my test build for klteduos? If it is successful, I shall continue supporting. About S7 and N7 port ROMs, it's beyond my scope. It's up to ROM makers...
sunilpaulmathew said:
Thanks. Can you try my test build for klteduos? If it is successful, I shall continue supporting. About S7 and N7 port ROMs, it's beyond my scope. It's up to ROM makers...
Click to expand...
Click to collapse
Yes, i can test!! :victory:
LHR said:
Yes, i can test!! :victory:
Click to expand...
Click to collapse
test and report , I can't wait for Ur report ?
Sent from my SM-G900FD using Tapatalk
---------- Post added at 03:45 PM ---------- Previous post was at 03:29 PM ----------
sunilpaulmathew said:
March 07, 2016
Initial release
Click to expand...
Click to collapse
Edit: 2017
Sent from my SM-G900FD using Tapatalk
LHR said:
Yes, i can test!! :victory:
Click to expand...
Click to collapse
Have you tested? waiting for your updates... thanks in advance...
yazeed_twb said:
Edit: 2017
Click to expand...
Click to collapse
just a typo.. fixed
sunilpaulmathew said:
Have you tested? waiting for your updates... thanks in advance...
just a typo.. fixed
Click to expand...
Click to collapse
Where is the klteduos model link? I did not receive any pm, nothing
EDIT: Sorry hehehe
I found it and I'll test it
@sunilpaulmathew good job man
Sent from my SM-G955U using Tapatalk
LHR said:
Where is the klteduos model link? I did not receive any pm, nothing
EDIT: Sorry hehehe
I found it and I'll test it
Click to expand...
Click to collapse
blackbuga said:
@sunilpaulmathew good job man
Sent from my SM-G955U using Tapatalk
Click to expand...
Click to collapse
Thanks you
I tested, boot successfully, and the main functions are working (su, wifi, ril, etc). I have not tested more, because I am not in a 100% stock rom. Become official your support to klteduos, please.
Sorry for my bad english hehe, good work men!!
LHR said:
I tested, boot successfully, and the main functions are working (su, wifi, ril, etc). I have not tested more, because I am not in a 100% stock rom. Become official your support to klteduos, please.
Sorry for my bad english hehe, good work men!!
Click to expand...
Click to collapse
Thanks for testing. Yes, I'll add klteduos into the download list on next build release (hopefully with in few days) and maintain support as much as possible.
@sunilpaulmathew can i use your kernel on mi rom? and if you have builded for dual sim
blackbuga said:
@sunilpaulmathew can i use your kernel on mi rom? and if you have builded for dual sim
Click to expand...
Click to collapse
Sure... with pleasure :laugh: ... thanks for asking... here is the link to the zImage for klteduos (are you looking for the same device, right?). I hope you would not mind to mix this image with your ramdisk and klteduos dtb...
sunilpaulmathew said:
Sure... with pleasure [emoji23] ... thanks for asking... here is the link to the zImage for klteduos (are you looking for the same device, right?). I hope you would not mind to mix this image with your ramdisk and klteduos dtb...
Click to expand...
Click to collapse
I dont have klteduos device
But i want support it on mi rom
SamyUX

[Kernel] Project T Kernel for ZTE Axon 7 Mini

Hi guys,
I know that this forum is not widely used by ZTE Axon 7 Mini owners, but I still want to share my work the kernel used by the stock firmware.
Most of the parts were of course already based on the work of others, so I will give credits at the end of this thread of course.
Pre-requisites:
Unlocked bootloader
TWRP flashed
Knowledge you do this all at your own risk! I tested this kernel with my EU model, so I don't know if this will work on the US models, too.
Features:
- Based on latest kernel source shared by ZTE (ZTE B2017G Nougat(7.1.1) Kernel(3.10.84))
- Built with GCC 4.9 toolchain
- UC to 499MHz for BIG and 403 MHz for LITTLE (thanks to @flar2)
- OC to 1651 for BIG (again @flar2)
- Additional governors: yankactive, blu-active, impulse
- Additional IO schedulers: Sioplus, Zen, FIOPS. Tweaked Row is set as default
- Additional TCP congestion algorithms with westwood being the default one
- Approx. 30% faster due to CRC calculation and auditing disabling
- Sweep2Sleep on the navigation bar
- frandom RNG
- Sound Control by @flar2
- ZRAM using LZ4 optimized for ARM by default
- Optimized power management driver by @Yank555
- Native exFAT support without needing fuse @dorimanx)
- KCAL
- Vibration control
- uses higher power CPUs to boot (got roughly 3s faster boot time)
- Dynamic Fsync
- Gentle Fair sleepers can be toggled via sysfs and Kernel Adiutor
- Smaller tweaks
To do:
- Switch toolchain
- Remove "dirty" from the kernel name Apparently I need to push all changes to github before compiling(or recompiling the same kernel as soon as I pushed everything)
- Set the phone to accept the lower frequencies without having to set this up in Kernel adiutor
- Alter interactive governor to use full frequency range
- Add D2TS for screen and fingerprint sensor, S2W
- Wakelock reductions
- Maybe BLX, KCAL (even though I don't get the point to implement it) I was curious and did it now, looks nice
- LED and vibration control
- Switch hotplugging mechanism to Lazyplug, hotplugging is not that energy efficient anymore
See the attached picture regarding the CPU stats when using yankactive for example
Credits go to:
@Lord Boeffla @flar2 @dorimanx @Yank555
Unfortunately I didn't give proper credits on my github, I want everyone to know, that none of the features were designed and written by myself, just adapted to work on our phones!
Download here:
https://drive.google.com/drive/folders/0B0mn6OUqIDzBZG1DM1Y4dmxUV2c
Flash in TWRP, root and every other ramdisk modification will be preserved (Anykernel2 by osmosis)
Github:
https://github.com/TheSSJ/tulip_kernel
Changelog
V1.1: Initial version for public release!
V1.2: KCAL support
V1.3: Changed boot CPUs to higher power ones, added dynamic Fsync, added Quick Wakeup driver
V1.4: Gentle Fair Sleepers can be toggled now, ROW scheduler tweaked
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
TheSSJ said:
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
Click to expand...
Click to collapse
Thank you for replay, what governor you use?
You will need to try and see.
It uses anykernel which is good. But aokp and lineage are on android 7.1.2 while stock is on android 7.1.1. There was at least one kernel api change that may cause problems. But I'm not sure.
I'm assuming this package has the wlan module also...?
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
@ssj @tdm
Guys, try flash kernel, AOKP, don't work.
W8 kernel version from customs
tdm said:
I'm assuming this package has the wlan module also...?
Click to expand...
Click to collapse
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
TheSSJ said:
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
Click to expand...
Click to collapse
tdm said:
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
Click to expand...
Click to collapse
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
TheSSJ said:
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
Click to expand...
Click to collapse
But we can test this. But if you not want - don't worry! :good:
Askael said:
But we can test this. But if you not want - don't worry! :good:
Click to expand...
Click to collapse
Will think about it
Version 1.2 is out, now with KCAL screen control support!
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
kevincai96 said:
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
Click to expand...
Click to collapse
Hi,
Feel free to open a new thread it is important to push this phone amd its potential as good as possible!
Development will go on, i still have some items to implement :good:
@TheSSJ
Hi! Any news about update?
@TheSSJ
Good to see you in Axon mini from zenfone 2
Askael said:
@TheSSJ
Hi! Any news about update?
Click to expand...
Click to collapse
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
Druboo666 said:
@TheSSJ
Good to see you in Axon mini from zenfone 2
Click to expand...
Click to collapse
I was spotted It's a great phone, let's get the most out of it
TheSSJ said:
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
For this stok kernel
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
i am using Axon 7 and yeah its a great phone i must miss you in axon 7
Updated version uploaded and available on G-Drive, boot time increased by 3s (you take what you can get )
/EDIT: Next version out, small enhancements and adding the possibility to enable/disable gentle fair sleepers

[KERNEL][MIDO][MIUI] FLIP kernel [r1]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably voided.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is this:
After tired of looking for stable no nonsense kernel for MIUI and couldn't fine one, I've decided to compile one myself. This is just a kernel I flipped from readily publicly available source, nothing special here. It should boot with any MIUI Nougat roms.
Click to expand...
Click to collapse
Difference with stock MIUI kernel
Compiled using OmniRom's kernel source as base so contains all its features, fixs and patches.
Compiled using UberTC 4.9.4 for stability.
Compiled using correct optimisation flags for our MSM8953 cpu.
Patched with EAS scheduler from OnePlus3 LineageOS-based kernel with EAS
Updated Ondemand cpu governor from franciscofranco's kernel for OnePlus3, finetuned it abit and made it as default booting cpu governor.
Default to Noop disk i/o scheduler on boot.
Default to Westwood tcp congestion control on boot.
Disabled/made as built-in some modules.
Disabled some stuff like zram, cleancache, zcache.
Added support for exfat fs via exfat-nofuse.
Enabled ntfs fs support.
Init.d startup script support with correct permissions applied on every boot.
Probably some other things I forgot to list here...
Click to expand...
Click to collapse
Changelog:
r1 - First public release.
Click to expand...
Click to collapse
Download:
FROM HERE
Click to expand...
Click to collapse
Installation notes:
Need unlocked bootloader, so unlock your bootloader if you haven't yet.
Need to be on any custom recovery so flash one if you haven't yet.
Need to be on any MIUI Nougat rom.
If you have any custom kernel other than this kernel already installed, please flash or restore your MIUI rom stock kernel because this kernel would need to use the stock unmodified ramdisk and custom kernel might already modify it.
Backup, backup and backup!
Download the zip, put into either internal phone storage or sdcard, flash away.
If you want to go back to your previous kernel, just dirty flash your rom or restore boot and system from backup.
Click to expand...
Click to collapse
Thanks to:
God, for everything.
Linus Torvalds, for the Linux kernel.
Google, for Android.
Xiaomi, for kernel source.
Xda forum, learnt alot from here.
Uber team, for the toolchain.
khan_frd2002, for the OmniRom kernel source.
EAS-Project on Github for the EAS patches.
franciscofranco, for the Ondemand cpu governor source.
osm0sis, for AnyKernel2 kernel installation template.
Probably some others I forgot to list here...
Click to expand...
Click to collapse
XDA:DevDB Information
FLIP kernel, Kernel for the Xiaomi Redmi Note 4
Contributors
coldplug
Source Code: https://github.com/thecoldplug/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2018-01-11
Created 2018-01-11
Last Updated 2018-01-11
Wow. EAS working well ?
Kevin Saiza said:
Wow. EAS working well ?
Click to expand...
Click to collapse
Partially. Cpu governors meant to work with eas like sched and schedutil doesn't work well with 625 because it was meant to work with dual cluster a72+a53 like 820 etc, while 625 only have a single cluster of a53, plus theres no proper powertable. Sched and schedutil just froze at lowest available freq because it can't choose proper powertable, making phone lags. I've disable both and made ondemand as default governor.
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
zecabra said:
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
Click to expand...
Click to collapse
Similar. All cpu already got predefined voltage table in the kernel source for the usual hmp scheduler, usually modified for oc/uv. Eas need its own, new voltage table specifically written for it, for every specific cpu too.
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
zecabra said:
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
Click to expand...
Click to collapse
If you mean alucard cpu governor, then I've already tried to add it lol. Doesn't work, endless reboot. In fact all interactive based cpu gov like impulse, alucard, blu_actice, zzmoove won't work here. Hence why I've disabled even the interactive cpu gov.
DEMIGOD124 said:
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
Click to expand...
Click to collapse
Doesn't need to add or anything, its already in the kernel and enabled, i think...
I don't have any idea how it work or if it even work though, so do try and let me know how it goes.
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
pikachukaki said:
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
Click to expand...
Click to collapse
Lol your virus scanner might have detected the zip itself or the script within as a virus, its not. Gdrive where I've uploaded it should already scanned it before you even download.
Don't use that pos virus scanner, change to other virus scanner or better yet, use linux ?
So witch one is better for miui and why ?
kcal bugg still there?
kemo12533 said:
So witch one is better for miui and why ?
Click to expand...
Click to collapse
Theres only one...
aman1241 said:
kcal bugg still there?
Click to expand...
Click to collapse
Haven't add kcal.
coldplug said:
Theres only one...
Haven't add kcal.
Click to expand...
Click to collapse
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
kemo12533 said:
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
Click to expand...
Click to collapse
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
coldplug said:
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
Click to expand...
Click to collapse
i am on pixel experience right now so i cant atm but i will soon
Hi
Where is the link?
Overclock
Can I overclock my cpu and gpu on this kernel ??
I feel stock is better
I feel as so cause after switching to this kernel my phone is a bit more Laggy so I switched back to stock

Categories

Resources