How to import boeffla_wl_blocker feature in kernel ? - Xperia Z5 Compact Q&A, Help & Troubleshooting

kernel source:https://github.com/Re4son/android_kernel_sony_msm8994/tree/nethunter-14.1?files=1
so i want to add boeffla wakelock feature into my kernel but how ?

Related

[EOL][KERNEL][PORT][n51x0][JB/KK/CM12.x/CM13.x/LOS14.1] Boeffla-Kernel (26-08-2018)

** Note: This kernel is end-of-life and will no more be maintained. There will be no LineageOS 15.1 or newer kernel be available anymore **
Hi Guys!
Thanks to one of my coworker at work which had no further usage for his Note 8 GT-N5110 i had recently the possibility to call it my own! I was very happy about that but what i instantly missed after powering on the device for the first time was the great boeffla kernel which runs very well on my S3 for quite some time now. So i decided to "route" some spare time into porting the boeffla kernel for n801x devices to n51x0 devices. After a „couple of days“ and after fighting around with git, merging things and stuff i can enjoy now the power of boeffla on this device too! Finally i want to share this kernel with the ones who maybe missed boeffla on a Note 8 too and of course with all others which maybe want to give it a try.. As it is pretty much complete and i didn't want to reinventing the wheel i did (in agreement with Lord Boeffla!) a shameless copy of his text from the n8x0 thread and changed the relevant parts for this version. It is and it should stay a Boeffla Kernel so i think it's not that “blasphemic” if i copy the Lord himself. btw. all credits to him!!
This is the thread about the ported version of the Boeffla-Kernel for Galaxy Note 8 n51x0 devices
Some of you might know Lord Boefflas kernel already from the Galaxy S3 area.
If you want to learn more about the kernel, it's features and how to configure what, I would recommend you to visit the Galaxy S3 thread of the kernel.
Notes:
This kernel (provided in separate images) should work on the following devices:
GT-N5110 (Wifi only), GT-N5100 (G3 modem) and GT-N5120 (G4/LTE modem) Only GT-N5110 versions are tested by me as i have no possibility to test the others! So feedback about how the kernel is working on a GT-N5100 and GT-N5120 would be highly appreciated, thx!
The kernel images are only for Samsung based Jelly Bean (Android 4.2.2) or Kit Kat (Android 4.4.2) roms!!! Do not install it on CM or AOSP based roms!!!
Kernel versions 1.x are only for Samsung based Jelly Bean 4.2.2 roms!!!
Kernel versions 2.x are only for Samsung based Kit Kat 4.4.2 roms!!!
Custom Roms:
This Kernel is not compatible with the yNote ROM because of modifications related to init process and removing SELinux!! But it should work for example with stock based custom roms like civatos CivZ roms!
WARNING: Be sure that u flash the right kernel for the right device !! Images are named accordingly so double check that u use the right one! Flashing a wrong version may brick your device !!
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/show....php?t=2621308
Support
First read the FAQ section on the Homepage (offline, project EOL) !!!
Click here (offline, project EOL) to learn about all possible kernel settings in the config app.
Click here (offline, project EOL) to learn about using the config app.
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
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 (offline, project EOL)
* Upstreamed to Linux 3.0.101 (www.kernel.org)
* Based on Samsung source code GT-N5110_JB_Opensource_Update2/GT-N5110_KK_Opensource.zip and current CM12.x sources
* Initramfs from XXCMK1 (for all JB builds) stock kernels
* Initramfs from XXDNI2 (for KK n5110 builds) stock kernel
* Initramfs from XXDNH3 (for KK n5120 builds) stock kernel
* Initramfs from XXDNL5 (for KK n5100 builds) stock kernel
* Initramfs from official CyanogenMod roms for all CM versions (in "pre-anykernel" images)
* CPU under/overclocking to from 100 Mhz to 1920 MHz
* CPU undervolting interface
* GPU frequencies configurable (underclocking, overclocking up to 700 MHz)
* GPU voltages configurable (undervolting, overvolting)
* Configurable charger rate for AC and USB (default increased to 1100 mA for ac charging)
* Charge info display support
* Configurable zRam
* Configurable touch boost frequency
* Configurable early suspend time (for screen off animations, 100ms default)
* Boeffla-Sound engine V1.6.7 to unleash the power of the audio hub wm1811
* Additional governors: ZZMoove 1.0 beta8, pegasusqplus,smartassv2, intelliactive, lulzactiveq and wheatley
* Governor profiles for pegasusq, pegasusqplus and zzmoove for performance, battery saving etc.
* Additional schedulers: ROW, ZEN, BFQ (v7r8) and SIO
* Schedulers configurable separate for internal and external SD memory
* Hardcore speedmod sharpness fix implemented (default is off)
* 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)
* 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
* Custom boot animation support
* Swap supported (but not recommended, use zRam instead)
* init.d support (in /system/etc/init.d - set correct permissions! No support for Zipalign scripts for good reasons!)
* NTFS (read-only access only!) compiled as a module
* CIFS compiled as a module
* NFS compiled as a module
* XBox controller support as module
* USB OTG Ethernet (Asix) support as module
* exFat support switchable (switch it off if you do not need it)
* Battery monitor wakelocks reduced
* Kernel can root if required (create file "autoroot" on internal sd and reboot)
* Android logger can be disabled
* Kernel logging can be disabled
* Disabled various debug logs and traces
* Frandom compiled as a module (for mods like Crossbreeder)
* Automatic EFS backup to external (priority) or internal SD Card (fallback)
* 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.1
* Added support for broken m5c73m3 camera firmware
* Fixed non-working MDNIE negative mode (change in v2.x for KK only)
* WiFi working on JB bootloader! (related to v2.x for KK only)
* Support for external USB web cams enabled
* Mali driver updated to r3p2 rel4 (related to v2.x for KK and all CM12.x, CM13.x, LOS14.1)
in addition added by me ZaneZam (partially taken from civatos SphereEngine and SphereKat projects – thx and credits to him!):
* Configurable touch to wake with S-Pen Support (JB+KK+CM12.x+CM13.x+LOS14.1)
* Implemented double-tap-to-wake (aka knockon - this is NOT how the LG G2 works, it just replaces
the single tap in existing touch wake by a double tap) (JB+KK+CM12.x+CM13.x+LOS14.1)
* Strip the Wireless modules of debugging for size (JB+KK+CM12.x+CM13.x+LOS14.1)
* Brought back Triangle Away Support (JB+KK)
* Added intelligent writeback (JB+KK+CM12.x+CM13.x+LOS14.1)
* Update battery driver to work correctly on JB bootloader (fixed LPM mode - change in v2.x for KK only and might not work on every system!)
* SELinux included full compatibility and set to enforcing like in stock roms as default (change in v2.x for KK and all CM12.x+CM13.x+LOS14.1)
* Mobicore included (change in v2.x for KK only)
* Added new GPU control interface (5 frequencies and voltages) for new mali drivers (change in v2.x for KK+CM12.x+CM13.x+LOS14.1 only)
* Added support for 'fun with resistors' (http://forum.xda-developers.com/showthread.php?t=820275) (JB+KK+CM12.x+CM13.x+LOS14.1)
* Added missing Samsung SideSync USB Gadget (JB+KK+CM12.x+CM13.x+LOS14.1)
* Added Support for USB keyboard app (CM12.1+CM13.x+LOS14.1)
* Added Intelli Plug and use that instead of native kernel hotplug support for legacy governors (JB+KK+CM12.x+CM13.x+LOS14.1)
(=Hotplug support for all non-hotplug-able governors via included intelliplug v1.6 and this will be enabled when switching to such a governor)
Special Note 8 Info:
* S-Pen Alignment fix included (By original JB Samsung/CM Sources and also added to KK Sources)
* Memory Leak fixes included (By original JB+KK Samsung and CM Sources)
* Added Security fix CVE-2013-6282 (CM12.1)
* Added Security fix CVE-2015-3636 (CM12.1)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de (offline, project EOL)
want to live on the edge?
checkout Unoffical Boeffla Kernel Linaro Builds
Lord Boefflas Objective
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 !!!
I will, also in future, only add features that make sense to me personally as well and are not against my initial objectives. You can always raise your wishes and requests, however there is absolutely no guarantee it will be implemented.
Quote Lord Boeffla:
This said, I will definitely NEVER implement:
dual boot (I do not need it)
f2fs - it is known to cause various issues and compatibility problems
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it. Everything else I am happy to check and decide.
Click to expand...
Click to collapse
So i (ZaneZam) won't do that either but all the things Lord Boeffla decides to implement in the future will of course find their way into this kernel as long as it is possible to implement them plus/minus some little things i might find useful for the Note 8 devices but at the end always respecting Lord Boefflas Objective!
Compatibility
To reiterate it again: This kernel is only for Samsung based Jelly Bean (Android 4.2.2) and Samsung based Kit Kat (Android 4.4.2/GT-N5100 4.4.4) firmwares. Since 26.04.15 there are also CM12.x,CM13.x,LOS14.1 versions available. It is not designed to run on AOSP based roms!
SPECIAL NOTE ABOUT NEWER STOCK ROMS: to be able to use the KitKat kernel builds with newer roms like XXDNH2 or XXDNH3 stock roms or based ones u will need to patch your rom beforehand. due to mali API changes in these roms booting with custom kernels isn't possible. so you can now checkout and install civatos fix HERE (many thx and credits to him!) after patching the rom the kernel should boot fine! <-- 10.04.15 since kernel version 2.2 obsolete as it has been "fixed" in the kernel itself. nonetheless if u still face issues with newer roms then u can use civatos method in addition but for now it's not needed to boot the kernel on newer roms.
Kit Kat 4.4.4:
Since version 2.1 stable this kernel is compatible with the XXDNL5 rom for GT-N5100 devices.
CM12.x:
Since 26.04.2015 there are also CM12.0 and CM12.1 versions for GT-N5100 and GT-N5110 devices available. these are compatible with offical CyanogenMod 12.x roms and based ones.
CM13.x:
Since 17.04.2016 there are also CM13.0 versions for GT-N5100 and GT-N5110 devices available. these are compatible with offical CyanogenMod 13.0 roms and based ones.
Since 01.05.2016 there are also CM13.0 versions for GT-N5120 devices available. these are compatible with offical CyanogenMod 13.0 roms and based ones.
LineageOS 14.1:
Since 13.01.2017 there are also LineageOS/CM14.1 versions for GT-N5100, GT-N5110 and GT-N5120 devices available. these are compatible with offical LineageOS 14.1 roms and based ones.
Note: You need at least version 2.4.19 of Boeffla-Config V2 to allow all functionalities to be available.
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from here: DOWNLOAD (offline, project EOL)
Donation
If you like my work, feel free to donate via XDA developers: Donation-Link or via link on Homepage (offline, project EOL)
Or, just purchase the donation version of the Boeffla-Config app, which also gives you some extra features.
Yeah go on folks donate for this great Dev!! :good:
Source code
All sources can be found in my Github repository: https://github.com/zanezam
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:
* Andip71
* Yank555
* Hardcore
* Chainfire
* DerTeufel
* Harunjo
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Supercurio
* Mialwe
* Entropy512
* Faux123
* civato
... 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 !!!
And special thanks from me to my friend Andi for letting this kernel-port exist „under his hood“ by providing it on his homepage and for supporting it in his Config App! Appreciate that much!!
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 CWM recovery and safely store your personal data before you flash a new kernel.
One last important note from me ZaneZam:
This is a contribution to the Boeffla Kernel project and not my own project! This port was made in agreement with Lord Boeffla but not by himself! I will support this ported version as good as i can, Lord Boeffla will not as he doesn't support versions for devices he doesn't own! So please if you have device specific questions ask them here and not in any other boeffla kernel thread, thanks!
Cheers and now enjoy the power of Boeffla on the Note 8!
ZaneZam
reserved 1
reserved 2
reserved 3
Give this guy his cookie, can't wait till Samsung releases the KK kernel source to try this baby out.
yeah i'm waiting too to be able to start from scratch
Been waiting for this thank you.....tested kernel on civatos rom, works great no issues at all.battery life and performance are great. Boffella sound is awesome and the boffella config gives a little more control over audio than just boffella sound. Would love to see a aosp kernel with these features since no current 4.4.2 aosp or cm kernels have boffella sound working. I downgraded from 4.4.2 for this kernel and happy I did.... Thanks
Have flashed it on my N5100 running latest X-Note ROM.
After first flash, my screen was flickering.
Then I did cache and dalvik wipe and flashed again.
Now no flickering any more, but my GSM doesn't work any more.
So back to civz kernel.
Gesendet von meinem GT-N5100
blowy666 said:
Have flashed it on my N5100 running latest X-Note ROM.
After first flash, my screen was flickering.
Then I did cache and dalvik wipe and flashed again.
Now no flickering any more, but my GSM doesn't work any more.
So back to civz kernel.
Gesendet von meinem GT-N5100
Click to expand...
Click to collapse
first of all thx for your braveness *gg* and thx for the report!
as said unfortunately i cannot test versions other then the N5110, so i rely on your reports.
but maybe i can pinpoint the problem with your help at least if you still are willing to help,
that would be great but also isn't a problem if u refuse
another one with such a problem on GT-N5100 or GT-N5120?
ZaneZam said:
first of all thx for your braveness *gg* and thx for the report!
as said unfortunately i cannot test versions other then the N5110, so i rely on your reports.
but maybe i can pinpoint the problem with your help at least if you still are willing to help,
that would be great but also isn't a problem if u refuse
another one with such a problem on GT-N5100 or GT-N5120?
Click to expand...
Click to collapse
One thing I noticed that is very important to me is docking mode is no longer supported with this kernel. Switch to civatos kernel it works again.dock mode supports USB host charging and HDMI at the same time all u need to do is place a 65k resistor between Id pin and ground on ur USB host cable.....very important to me since tablet is used in my car as a head unit... I'd appreciate any help.Maybe s3 uses a different resistance?
b3ltazar said:
One thing I noticed that is very important to me is docking mode is no longer supported with this kernel. Switch to civatos kernel it works again.dock mode supports USB host charging and HDMI at the same time all u need to do is place a 65k resistor between Id pin and ground on ur USB host cable.....very important to me since tablet is used in my car as a head unit... I'd appreciate any help.Maybe s3 uses a different resistance?
Click to expand...
Click to collapse
actually to be as near as possible to boeffla kernel I didn't activate it in config but will check that for u and maybe we have an beta 2 soon!
I appreciate that . I really want to get into kernel dev. I built a few windows 7 moded os. But seems u need Linux experience I only have some backtrack experience. Thanks for the reply. I'm always open to testing
b3ltazar said:
Been waiting for this thank you.....tested kernel on civatos rom, works great no issues at all.battery life and performance are great. Boffella sound is awesome and the boffella config gives a little more control over audio than just boffella sound. Would love to see a aosp kernel with these features since no current 4.4.2 aosp or cm kernels have boffella sound working. I downgraded from 4.4.2 for this kernel and happy I did.... Thanks
Click to expand...
Click to collapse
So you know my JB kernel also support Boeflla.
Second I'm test building Kitkat kernel.
Already working is:
Exfat
Cifs
Wifi
Cpu OC up to 1.92GHz and UC to 100MHz
CPU voltage control
S_Pen alignment fixed
RTL28.. USB modem support
Various Fixes in memory leaks
DynamicFsync
ZZmoove & lulzactive governor added
row, vr, sio shedulers added
and all of this without samsung source thanks to a help full eye of one of my users
More to come...........public release?
civato said:
So you know my JB kernel also support Boeflla.
Second I'm test building Kitkat kernel.
Already working is:
Exfat
Cifs
Wifi
Cpu OC up to 1.92GHz and UC to 100MHz
CPU voltage control
S_Pen alignment fixed
RTL28.. USB modem support
Various Fixes in memory leaks
DynamicFsync
ZZmoove & lulzactive governor added
row, vr, sio shedulers added
and all of this without samsung source thanks to a help full eye of one of my users
More to come...........public release?
Click to expand...
Click to collapse
thx for the info civato, i think he knows that already as he used/uses your kernel btw i was going to contact you about your JB sources as i missed an updated repo in your github account, or am i blind? could u please give me some hint? and here again: thx for all your work! :good:
[*]and all of this without samsung source thanks to a help full eye of one of my users
Click to expand...
Click to collapse
-> very interesting!
ZaneZam said:
thx for the info civato, i think he knows that already as he used/uses your kernel btw i was going to contact you about your JB sources as i missed an updated repo in your github account, or am i blind? could u please give me some hint? and here again: thx for all your work! :good:
-> very interesting!
Click to expand...
Click to collapse
Yep sorry I noticed that 4.2.2 kernel source hasn't been updated, just no time.
When I finish my KitKat kernel I will upload the source to github.
Will try to do that this weekend.
yeah i know that "time thingy" very well! thx looking forward to your update.
ZaneZam said:
yeah i know that "time thingy" very well! thx looking forward to your update.
Click to expand...
Click to collapse
Still running this kernel working good. Battery life is amazing. Hopefully u can get docking mode figured out when u have time.
I'm surprised there aren't more people interested in this kernel. Give it a try with civs 4.2.2 build u won't regret it.
New Version v1.0 beta2 available!
Hi Guys,
a new beta is available!
as usual you can get it HERE or via Load & Flash functionality in Boeffla Config App
Changelog:
Version 1.0-beta2
22.06.2014
Update to zzmoove 0.9-beta2 (ZaneZam)
Speedup late resume for faster wakeup of the device (credits to Yank555)
A few performance tweaks (Lord Boeffla)
Fix n_tty_write crash when echoing in raw mode (Lord Boeffla)
Update su to version 2.00 (Lord Boeffla)
Update to latest changes in Boeffla ramfs (ZaneZam)
Fix compatibility issues by changing Samsung ramfs to the original n5100/n5120
(XXCMK1) rom versions (ZaneZam for n5100 and n5120 builds)
Enable audio/smart dock mode for MAX77693 chip to support 'fun with resistors'
(http://forum.xda-developers.com/showthread.php?t=820275) (ZaneZam)
enjoy!
ZaneZam said:
Hi Guys,
a new beta is available!
as usual you can get it HERE or via Load & Flash functionality in Boeffla Config App
Changelog:
Version 1.0-beta2
22.06.2014
Update to zzmoove 0.9-beta2 (ZaneZam)
Speedup late resume for faster wakeup of the device (credits to Yank555)
A few performance tweaks (Lord Boeffla)
Fix n_tty_write crash when echoing in raw mode (Lord Boeffla)
Update su to version 2.00 (Lord Boeffla)
Update to latest changes in Boeffla ramfs (ZaneZam)
Fix compatibility issues by changing Samsung ramfs to the original n5100/n5120
(XXCMK1) rom versions (ZaneZam for n5100 and n5120 builds)
Enable audio/smart dock mode for MAX77693 chip to support 'fun with resistors'
(http://forum.xda-developers.com/showthread.php?t=820275) (ZaneZam)
enjoy!
Click to expand...
Click to collapse
Just to make sure, this still doesn't support TW KitKat Roms? I read in the OP that is for jellybean roms.

[KERNEL][KDP][LINARO6.0.0]KangDroid-Kernel, Fast, Smooth, Stable!

Code:
*** Disclamer
1. You are installing this at your own risk
2. I am not responsible to brick ur device or like something damaged device.
3. This kernel is for Nexus 5, never ever ever install on other devices.(Well it's ur choice but i don't know what will happen next!)
4. This kernel is for CM-Based ROM(Non-Caf, I'm not sure whether boot in AOSP.)--Normal branch cm-12.1
What is this?
I have a 2 projects called KangDroid-Project(ROM) and this one: KangDroid-Kernel. And this is a KangDroid-Kernel.
This is ONLY AIM for Nexus 5 CyanogenMod 12 kernel, based on cm-12.1 branch(non-caf) and this kernel uses "Aroma" scripts for installing kernel. So it is highly customizable, user-friendly kernel.
Required Stuff
* Must based on CM.
* init.d support
* basic knowledge of flashing stuff
Functions?
* CM Basic-Functions
* Based on CyanogenMod 12.1 Source(Not caf, just cm-12.1 branch)
* Linux 3.4.107
* Support Multirom(That means Kexec-HardBoot)
* toolchain: use Self-Built Linaro 6.0.0
* Using Intelliplug as a default CPU Hotplug(MP-Decisions are disabled)
* Lots of Governor, Configurable in Installer: (Intelliactive, abyssplugV2, adaptive, badass, dancedance, darkness, hyper, intellidemand, intellimm, lazy, lionhearted, nightmare, ondemandplus, optimal, pegasus, slim, smartmax, smartmax_eps, uberdemand, wheatley, etc..)
* Lots of I/O Schedulers(BFQ, CFQ, deadline, fifo, fiops, no-op, row, sio, tripndroid, vr, zen)
* Random from 3.14
* Use intelli-thermalV2 for Thermal control.
* Faux Sound Control
* Voltage Control
* Configurable Fast Charge
* Configurable Fsync
* Configurable Sweep 2 sleep
* Configurable Sweep2Wake, DoubleTab2Wake(And it's vibration and timeout, PowerButton Support, gestures too!!)
* CPU OVERCLOCKING(USE AT OWN RISK)
* Configurable exFAT Support
* Aroma: Full translation for Korean(Yes I did cuz I'm Korean, don't say that do some translation for other language)
* And alot!​
Download
Download is available at second thread, below this thread.
How to flash:
Flash as normal as other kernel:
1. Download and save wherever to sdcard.
2. goto recovery(I'm using TWRP/Multirom) and goto directory that u saved kernel.
3. flash, follow instructions and reboot and done.
Feedback
Use this thread to report bug/suggest functions or use my Project Facebook
Contributers
note that tag is based on github, not xda.
@major91 @arter97 @GwonHyeok @Aroma Scripts--> Gave me a idea/files of Aroma scripts
@flar2 --> https://github.com/flar2/ElementalX-N5
@major91 --> https://github.com/major91/Zeta_Chromium-L
@franciscofranco --> https://github.com/franciscofranco/hammerhead
@CyanogenMod --> https://github.com/CyanogenMod/android_kernel_lge_hammerhead --> this kernel is based on this
@Electrex --> https://github.com/Electrex/Electroactive-N5
@Starship-Android --> https://github.com/Starship-Android/android_kernel_lge_hammerhead-starship (For Basic Upstream)
@AnguisCaptor --> https://github.com/AnguisCaptor/PwnKernel_Hammerhead --> For patch of NET
@Cl3Kener --> https://github.com/Cl3Kener/UBER-L --> for basic governor and I/O Schedulers
And a lot of peoples!
XDA:DevDB Information
KangDroid-Kernel_Project, ROM for the Google Nexus 5
Contributors
Jason Hyunwoo
Source Code: https://github.com/KangDroid/android_kernel_lge_hammerhead
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: At lease using CM-BASED ROM. Above 5.1.1
Version Information
Status: Beta
Current Beta Version: V1.0
Beta Release Date: 2015-05-27
Created 2015-05-27
Last Updated 2015-05-30
Download
V1.1: https://github.com/KangDroid/KangDr....1-FIXED/kdp-kernel-1.1-20150530-OFFICIAL.zip
For Older downloads:
V1.0
For PrimaryRom: https://github.com/KangDroid/KangDr...d/V1.0/kdp-kernel-1.0-20150527-UNOFFICIAL.zip
For Secondary/Third Rom(Multiform): https://github.com/KangDroid/KangDr...p-kernel-1.0-MULTIROM-20150527-UNOFFICIAL.zip
Note: I changed to init.d support for kernel functions and configurable Settings. From V1.1, you don't need to separate secondary or primary rom. just flash V1.1(Above download) one.
ChangeLog
For Main changeLog:
* Fix Voltage Control
* Revert Whole FS(File system) commits I made
* Add support for exFAT File System(Configurable in Aroma)
* Add fsync support(Configurable in Aroma)
* Proper CPU OVERCLOCKING, Set maximum frequency to 2.8GHZ
* Change kernel default compression: gzip to LZO(Increase of Performance)
and other kernel improvements:See github for full changeLog!
Common Q&A
Q: When is next update?
A: Weekly so.. (Maybe Sundays, haven't decided yet.)
Q: Kernel Functions are not working, but i installed kernel successfully and in Settings, kernel version says right version. What happened?
A: Reboot device, and if that doesn't work, than check whether system has 99KangDroidKernel in /system/etc/init.d/99KangDroidKernel. Also, check for init.d support.
Q: Kernel/ROM doesn't boot at all. What should I do?
A: First restore your latest rom and check your rom that ur using CM based rom or aosp-based rom. I am not sure, but it might not work on aosp-based rom. This kernel is CM-Based Rom.(Non-Caf)
Q: When I enable S2W or DT2W, it causes battery drain I think. Am I correct?
A: Yes you are, S2W and DT2W Causes battery drain. To minimize drain, you might want to try timeout and Power Key support on Sleep-Misc settings in Aroma.
Q: When I enable Power Key support for S2W/DT2W, my S2W or DT2W aren't working.
A: When that settings enabled, and if you trigger power key, S2W and DT2W are stop working. To resurrect this features, maybe try Swipe to Sleep or DoubleTab on StatusBar Area to sleep(CM Features).
Q: I think I got a bug.
A: Than post to XDA or my project Facebook which mentioned on first thread. It's really usefull to get log like in terminal: su && cat /proc/kmsg and post it here. If you can't than you have to describe Specific details of bug and how to produce it.
Hello bro
I want to try, but do not install
i love linaro build download now ihope no need new bootloader
because i install it but same issue
7sen said:
i love linaro build download now ihope no need new bootloader
because i install it but same issue
Click to expand...
Click to collapse
bootloader??? you mean rom? This is not a rom! this is kernel. To able to flash my rom, you should have newest boot loader, but I think you don't need newest boot loader for this kernel.(Cuz this runs with Aroma.)
toma62 said:
Hello bro
I want to try, but do not install
Click to expand...
Click to collapse
You wanna try but don't install? You mean a bug or like anxious of bricking? or you meant that you can't install? Sorry I can't understand: I apologize.
Jason Hyunwoo said:
You wanna try but don't install? You mean a bug or like anxious of bricking? or you meant that you can't install? Sorry I can't understand: I apologize.
Click to expand...
Click to collapse
I'm sorry for my English, but you can not install the kernel in any rom
many thanks man
Overclocking: Use at own risk!
I have found that if I increase maximum frequency to 2.8ghz, and than, if I run Benchmark(I won't say which benchmark) about 25% of progress, it just reboots. This overclocking makes device really hot. Get ready for cooler if you use 2.8ghz everyday.
(Overclocking added on today's version, which is V1.1)

[64-bit][KERNEL][UBER-TC][15 Oct]Spirit.Kernel r3 [CAF]

[64-bit][KERNEL][UBER-TC][15 Oct]Spirit.Kernel r3 [CAF]
Spirit Kernel
This kernel works on all the latest roms available which require new kernel source.
Statutory Warning: This kernel is not a feature bloated kernel like other kernels available, if you like tons of govs/io and hotplugs all in one and if you like to blow up your device, then you are at the wrong spot. This kernel will be minimal and only necessary features will be added.
A while back my users requested me to make a kernel which supports new ROMs(as few of them fail to). So I have decided to make a kernel which contains essential features along with stability and smoothness.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests, don't hesitate to post it here!! I will consider if I like it​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco etc, optimized for tomato to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]CAF Patches by Abhinav
[*]Governors: stock for now
[*]Hotplug: ThunderPlug 2.5
[*]KCAL Driver by savoca
[*]Powersuspend by faux123
[*]FRandom module
[*]Adreno Idler by arter97
[*]Advanced TCP Congestion
[*]Built using UBER TC
[*]LMK Optimizations
[*]Graphite flags
[*]ANY Kernel zip
[*]And other opts
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
TO-Do List
New Govs and I/Os
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the Spirit.Kernel-rx-tomato.zip
Install and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:cm-12.1-amss-1.0.2)
Wiki containing changelogs,settings and more
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
Varun Chitre
Abhinav Jhanwar
arter97
faux123
yank55lu
savoca
cyanogen
And my supporters
And more
XDA:DevDB Information
Spirit.Kernel for YU Yureka, Kernel for the YU Yureka
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8916
Kernel Special Features: CAF,KCAL,ThunderPlug,Adreno Idler and much more
Version Information
Status: Stable
Created 2015-10-10
Last Updated 2015-10-15
Does it support miui
DC07 said:
and if you like to blow up your device
Last Updated 2015-10-10
Click to expand...
Click to collapse
What do you mean ?
Does a bloated kernel 'blows up' device ?
baratheon16 said:
What do you mean ?
Does a bloated kernel 'blows up' device ?
Click to expand...
Click to collapse
adding unnecessary features and modifying codes without knowing anything does.
for eg. adding 4-5 hotplugs (enabled by default) and all working at once does.
Regards
Update is live.
Changelog
Dynamic FSync
ThunderCharge Control from Varun Chitre
Added Darkness governor
-OFast flags for more opt
Arch Power
vegas tcp tweak
Removed wlan.ko which was accidentally added
For more check github.
Enjoy.
Update is live
======r3=====
What's new?:
* F2FS and NTFS Support
* SWAP Support
* Enable all CPU cores while boot for quick boot
* kill some logspam
Changelog:
a47e11c spirit: use all cores on-boot for faster bootup
184bd1a moar changes
addc11d spirit: rework build script and bump to r3
9d5f29e spirit: add changelog.sh
52fcf5b spirit: Add NTFS Support
031757e Revert "dts : use all cores on-boot for faster bootup"
19b2c34 spirit: enable swap
701bcef mm: page_io.c: remove write error messages for swap devices
db6f10b mm/zswap: NUMA aware allocation for zswap_dstmem
122a852 mm/zswap.c: remove unnecessary parentheses
a37407a mm/zswap: support multiple swap devices
fa8792d mm/zswap.c: update zsmalloc in comment to zbud
58374d9 mm/zswap.c: fix trivial typo and arrange indentation
b1a1ec6 mm/zswap.c: change params from hidden to ro
2d81f29 mm/zswap: refactor the get/put routines
a664710 vnswap: integrate vnswap from Samsung
0a12121 mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently
431421d mm/zswap: avoid unnecessary page scanning
4eeb42b mm/zswap: bugfix: memory leak when re-swapon
9a8de22 mm/zswap: use postorder iteration when destroying rbtree
65a7d5a mm/zswap.c: get swapper address_space by using macro
8af692f dts : use all cores on-boot for faster bootup
10b0414 spirit: updates to build.sh
699223a tomato: Enable f2fs
7986854 arm64: Kill logspam
Download: https://basketbuild.com/filedl/devs?dev=DC07&dl=DC07/Spirit/tomato/Spirit.Kernel-r3-20151015.zip
=====r3=====
Enjoy.
can we flash this on stock yureka rom! cm 12.1??
rishivg said:
can we flash this on stock yureka rom! cm 12.1??
Click to expand...
Click to collapse
It won't work on stock COS.
It works on AOSP and CM based roms
does it work for yureka plus?
does it work in blisspop rom
adamnp2000 said:
does it work in blisspop rom
Click to expand...
Click to collapse
Yea... It does... I am using it right now with blisspop
kdhupar0 said:
does it work for yureka plus?
Click to expand...
Click to collapse
yes, it does
Can you give us a daily usage setting for the kernel, please?
fanatic75 said:
Can you give us a daily usage setting for the kernel, please?
Click to expand...
Click to collapse
Check op
Work with cm13 ?
Any update @DC07?
Sent from my AO5510 using Tapatalk
This kernel is good but yureka plus is too damn slow on darkness governer.. Have to keep it on performance.. Any settings for a balanced usage without lags and good battery backup??
Thanks for the kernel.. ??
Does it supports MIUI 7?
Pls add 2.0ghz oc
DC07 said:
It won't work on stock COS.
It works on AOSP and CM based roms
Click to expand...
Click to collapse
So not compatible with Stock CM12.1 rom
Correct

Cm13 kernel?

Hey everybody, we all know about the lack of kernel on our device and i know that we have a caf kernel for lollipop but now we have a pretty stable cm13 with very good arguments and i see many improvements we can do very easily :
- compiling it with some flags and ubertc
- enable f2fs (included in cm kernel, just to enable it in defconfig and mount in fstab)
- enable zram (same, included in kernel but not enabled/mounted)
- add some governors/schedulers and OC/UV (a bit harder but still easy to implement by cherry picking)
Someone to try to make it?
Don't forget enabling Kernel same page merging too

[SHARED[ Oc kernel for Lancelot.

The kernel is for q-vrndor.so don't flash it miui 12 a11.you can flash miui 11&12 a 10 or custom a11 rom based on q-vendor.
Kernel feature:
*Big cpu overclock :2.2ghz
*Little cpu overclock :2.0ghz
*Gpu overclock:1.2gz
*Add gpu governor;blu_scheduli
*Add gpu governor;Interactive
*Add gpu governor:Conservative,(Default)
*Some gyroscope fix(still ****)
*Standalone dtbo.img.
*Backport Mtk Task Turbo.
*Backport Mtk AEE.
*Disable Printk Prefix
*Full EAS Based Kernel
* Kernel: Compiled with aosp
clang 11.0.1
* Kernel: Linux 4.14.239
* Kernel: Micro optimization
* Kernel: Add some IO sched option
* kernel: Enable ZRAM writeback
* kernel: Add vDSO32 (micro perf)
* kernel: Add WireGuard V1.0.20210606
* kernel: SafetyNet patch
Source code:
GitHub - Arafattex/shas-dream-oc-mt6768
Contribute to Arafattex/shas-dream-oc-mt6768 development by creating an account on GitHub.
github.com
Source code feature:
1.Build with script.
2.Already add gcc snd clang so no mismatch error.
Download link:
https://github.com/Arafattex/shas-dream-oc-mt6768/releases/latest
Oh,cool,have you test it,how is battery life and whats with oberheating and the performance?Thanx!!!!
-CALIBAN666- said:
Oh,cool,have you test it,how is battery life and whats with oberheating and the performance?Thanx!!!!
Click to expand...
Click to collapse
Yes test bb is good with good porformance
Shas45558 said:
Yes test bb is good with good porformance
Click to expand...
Click to collapse
Hey man, every time I use this kernel in a game or emulator (or something like that), the screen constantly freezes for a few seconds and goes back to normal. Is this a known bug?
David Natz said:
Hey man, every time I use this kernel in a game or emulator (or something like that), the screen constantly freezes for a few seconds and goes back to normal. Is this a known bug?
Click to expand...
Click to collapse
Maybe it is your rom issue ..
MT6768 Gaming Kernel Discuss
Channel : https://t.me/ocmt6768c
t.me
Join
Shas45558 said:
The kernel is for q-vrndor.so don't flash it miui 12 a11.you can flash miui 11&12 a 10 or custom a11 rom based on q-vendor.
Kernel feature:
*Big cpu overclock :2.2ghz
*Little cpu overclock :2.0ghz
*Gpu overclock:1.2gz
*Add gpu governor;blu_scheduli
*Add gpu governor;Interactive
*Add gpu governor:Conservative,(Default)
*Some gyroscope fix(still ****)
*Standalone dtbo.img.
*Backport Mtk Task Turbo.
*Backport Mtk AEE.
*Disable Printk Prefix
*Full EAS Based Kernel
* Kernel: Compiled with aosp
clang 11.0.1
* Kernel: Linux 4.14.239
* Kernel: Micro optimization
* Kernel: Add some IO sched option
* kernel: Enable ZRAM writeback
* kernel: Add vDSO32 (micro perf)
* kernel: Add WireGuard V1.0.20210606
* kernel: SafetyNet patch
Source code:
GitHub - Arafattex/shas-dream-oc-mt6768
Contribute to Arafattex/shas-dream-oc-mt6768 development by creating an account on GitHub.
github.com
Source code feature:
1.Build with script.
2.Already add gcc snd clang so no mismatch error.
Download link:
https://github.com/Arafattex/shas-dream-oc-mt6768/releases/latest
Click to expand...
Click to collapse
can I use thermal mod with this?

Categories

Resources