[ROM][AK/Tyr/Render][5.1.1][F2FS] Sultanxda's Cyanogenmod CAF ROM with F2FS support - ONE Android Development

TL;DR
Sultanxda's Cyanogenmod CAF ROM + DerRomTester's Tyr-CAF Kernel / ak's CAF Kernel / RenderBroken's CAF Kernel modified to work on 2p F2FS (F2FS /data and /cache, keep /system on ext4 please!), this will not work on any other partition schemes! Scroll to the bottom of this post for download and instructions.
STATE OF PROJECT - Sorry guys, I have been inactive for a while due to work and money problems, finally got a bit of free time before work. I've updated the project to be inline with sultanxda's latest builds AND I have also added render kernel and ak kernel variants. Enjoy!
Introduction
Hello everyone, I've been around for a while, but have not had anything worthwhile posting as I spend most of my time tinkering with my own and other's phones and tablets as hobby. Some of the more interesting things I've encountered as of recent are CAF, which led me through many roms and kernel, and then eventually @Sultanxda's CAF Cyanogenmod Rom which is probably the best I have used in a long long time! However I am a big fan of the F2FS file system as well so I went ahead and put this together on my day's free time for myself, but I felt like sharing with those of you who might be interested.
Since @Sultanxda's amazing rom [ROM+KERNEL][5.1.1] Unofficial CyanogenMod 12.1 with CAF 3.4.0 kernel does not officially support F2FS I went ahead modified the fstab, updater-script and replaced the kernel with @DerRomtester's [KERNEL] [CAF] [UBERTC] Tyr-CAF Kernel as it has F2FS support and is originally based off of Sultanxda's CAF kernel.
UPDATE - I've added more flavors! This rom comes in ak and render kernel variants now!
So What is CAF?
CAF stands for Code Aurora Forums.
Code Aurora Forum (CAF) is a consortium of companies with projects serving the mobile wireless industry. Software projects it concerns itself with are e.g. Android for MSM, Femto Linux Project, LLVM, MSM WLAN and Linux-MSM. Code Aurora is basically AOSP plus all Qualcomm specific enhancements and optimization.
Click to expand...
Click to collapse
As explained in the AOSParadox Project page (A really cool project, vanilla CAF AOSP rom, definitely worth checking out).
So What is F2FS?
Wiki: F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.
The F2FS file system boasts superior performance in comparison to the EXT4 file system (which is used as the default filesystem used for /data, /system and /cache) in /data and /cache (/system performs best with EXT4 file system). Click here for some benchmarks/analysis'!
What's so Great About @Sultanxda's rom?
I love this rom because of the strong emphasis put into stability and keeping it clean. Take a look at it's features (taken from here):
ROM features:
Based off latest generic CyanogenMod 12.1 nightly source
OTA updates via built-in CMUpdater
Vanilla CAF LA.BF.1.1.1_rb1.26 display HAL (improved display performance)
Vanilla CAF LA.BF.1.1.1_rb1.26 media HAL (improved video performance)
Vanilla CAF LA.BF.1.1.1_rb1.26 audio HAL (improved audio performance)
OxygenOS camera libraries (no camera bugs and improved camera performance)
Snapdragon Camera app by Qualcomm (comes with many unique features, such as high-speed recording with audio)
Custom camera HAL I modified myself from CAF featuring:
-Slow-motion video recording at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p
-High-speed video recording with audio at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p (you need to use the Snapdragon Camera app in order to use high-speed recording)
-1080p video recording with the front-facing camera
-2.5k 1440p video recording with the front-facing camera and back camera (only with the Snapdragon Camera app that comes with the ROM)
-4k video recording at UHD and DCI resolutions
-Manual focus
-Slow shutter (ranging from 1/5000th of a second to 2 seconds)
-More picture sizes than plain OxygenOS, such as 9.7MP 16:9
-JPEG quality is always set to 100% (pictures are very high quality)
Disabled Qualcomm performance daemon (CPU boosting is now handled completely by the driver I wrote)
2 CPU cores are not forced online all the time (saves power this way)
WiFi configuration from LG G3 (better WiFi performance and stability)
Many other misc. optimizations
Kernel features:
Based off latest CAF LA.BF.1.1.1_rb1.26 kernel source from Qualcomm
Almost 100% pure CAF (very clean, there shouldn't be any crazy stability or performance issues)
Removed lots of excessive debugging
Latest CAF LA.BF.1.1.1_rb1.26 prima (WiFi) drivers
Rewrote half of the Synaptics touchscreen driver (over 2500 lines of code modified; your touchscreen might work better)
Newest available Synaptics touchscreen firmware (no battery drain)
Dynamic CPU input boost driver I wrote myself (makes the phone feel smooooth)
CPU underclocked to 1958MHz by default (you can disable this; see why I did this in the FAQ in the 3rd post)
Improved notification LED color (white doesn't have a blue tint)
Vibrator is automatically disabled when recording videos (so the buzzing noise doesn't get in the videos)
Custom thermal driver I wrote myself (keeps the phone cool)
LCD KCAL by Savoca
Westwood TCP congestion algorithm (enabled by default)
NTFS support
No BS patches, features, or compiler "optimizations"
Many other misc. optimizations
Click to expand...
Click to collapse
Why use Tyr-CAF Kernel?
@Sultanxda's rom does not support F2FS out of the box. The first thing required to get f2fs support, is a kernel that supports it, that's where @DerRomtester's Tyr-CAF kernel comes into play. It's based off of @Sultanxda's original CAF kernel but offers more customization and F2FS support.
Differences to @Sultanxda's kernel:
- replaced Mpdecision with cpuquiet
- Stock CPU frequency table (no underclock by default)
- charge control ( i hope it is working)
- more I/O schedulers (bfq default)
- disabled Add Random, CRC, I/O Stats and Rotational for better performance
- francos sound control
- added option to enable/disable fsync
- default TCP algorithm: westood (enabled all available)
- added an option to enable/disable gentle fair sleepers (disabled by default for better battery + performance)
- tuned performance profiles
- PVS/SPEED level interface (you can see that inside synapse)
- GPU stats for each frequency
- change kernel compression to XZ
- tuned the LED color
- lowerd GPU voltage constraints
Click to expand...
Click to collapse
Want @ak's kernel instead?
ak is pretty well known for his great kernel work on the OnePlus One, his caf kernel now supports F2FS too! Check out his thread here!
@RenderBroken's linux 3.4.108 kernel! Bleeding edge and multirom support!
Like using bleeding edge kernels or need a kernel with KEXEC (multirom) support? Check out @RenderBroken's CAF kernel! Here is a quick overview of some of it's features:
* Linux 3.4.108
* Synapse Support - Complete Kernel Control!
* Built with Uber 5.2 GCC Toolchain
* MSM_Hotplug, Intelliplug, and MSM_MPDecision (Bricked) all flavored by @neobuddy89
* MSM_Limiter by @neobuddy89 - More like a Swiss army knife! adds Per-Core Functionality!
* New State Notifier Driver by @neobuddy89 !
* Franco's Simplified Thermal Control!
* Govs - Intelliactive, IntelliMM, Impulse, Yankactive, Blu_Active, SmartMAX, ZZMoove, Conservative, Lionheart
* IO Scheds - FIOPS, ROW, BFQ-v7, SIO, DEADLINE, NOOP, CFQ and ZEN Schedulers
* Franco Sound Control
* Frandom
* Complete Color Calibration Thanks to @savoca
* USB Fast Charge (ON/OFF Toggle)
* New LZ4 Compressor/Decompressor: Just plain fast!
* Added Sysfs for GENTLE_FAIR_SLEEPERS
* Quick Wakeup (More Info)
* FSync
* KEXEC Support (MultiRom)
* Adreno_Idler
* Power Aware Scheduling
* Voltage Control
Click to expand...
Click to collapse
Step by Step Guide and Downloads:
Step 1 (and Recovery download link)
Make sure to partition /data and /cache to F2FS first!
You need a recovery that supports formatting to F2FS to do this.
That means a modified version of TWRP or CWM.
You can find recoveries that support F2FS here. @katinatez recommends that you use his unofficial_twrp_2.8.6.1-bacon-dark.zip as it was the last version to support backing and flashing new modems, & firmware.
DO NOT USE TWRP 2.8.7.0 - TWRP v2.8.7.0 cannot properly update the modem
If using twrp (the one from above) you boot into recovery, go to wipe, advanced wipe, select Data, FS OPTIONS, CHANGE FS, F2FS, then swipe to wipe.
Do the same for cache; wipe, advanced wipe, select Cache, FS OPTIONS, CHANGE FS, F2FS, then swipe to wipe.
Step 2
Boot into recovery and wipe system, data and cache.
Download the rom (found at the bottom of this post).
Download lollipop gapps of your choice.
OPTIONAL:
Download UKM from the kernel developers respective master thread (check sources or tl;dr). You can install synapse or another kernel tweaker from the play store afterwords and tweak the kernel settings to your liking with this.
Step 3
Now to install the rom there are two methods. PS - This can take up to a couple minutes, do not be alarmed if you are on "patching unconditionally" for a bit.
Method A (mtp, easy way)
Enable mtp mode and put your rom and gapps on your phone.
Go to install, find the zips u saved to your phone and install them, rom first.
OR
Method B (adb, harder way)
If you have adb on your pc you can use this method.
Boot into recovery and go to Advanced > ADB sideload.
From you computer open up command prompt and enter the command
Code:
adb devices
to check if computer recognizes your phone.
If not install the adb interface driver manually for your phone.
Use this command to install zips from your pc (rom first):
Code:
adb sideload name_of_file.zip
Repeat with gapps (and ukm if you want it).
OR
Method C (OTG, unusual way)
You can use a usb-otg cable and a usb stick with the zips on it to install via twrp.
DOWNLOAD
Make sure you have read the instructions first!
- Tyr CAF Builds: Android File Host || Dev-Host
- ak CAF Builds: Android File Host || Dev-Host
- Render CAF Builds: Android File Host || Dev-Host
- All builds: Android File Host || Dev-Host || MEGA
Updating your rom
Download the latest build of this rom OPTIONAL download gapps again too (sometimes play service gets messed up for some reason, so I think it's a good opportunity to update your gapps too)
Save the zips to your phone (or you can use sideload)
Dirty flash the rom and then gapps. Wipe cache/art(dalvik) cache.
Boot system, and you good.
Version Information
Status:
ROM - Stable
Kernel - Varies
Kernel Source(s): DerRomTester's Tyr-CAF Kernel
ak's CAF Kernel
RenderBroken's CAF Kernel
Rom Source: Sultanxda's Cyanogenmod CAF ROM
Created 2015-09-12
Last Updated 2015-09-29
Credits: @Sultanxda (rom) @ak (kernel) @RenderBroken (kernel) @DerRomtester (kernel) @katinatez (recovery) @gulp79 (f2fs guide) @zaphodbeeb (f2fs guide) @osm0sis (android image kitchen) And Everyone Else who has Contributed to the Android Community and Development! Let me know if I missed anyone worth mentioning here!
I've tested and verified this to be working on my own phone! If you have any issues I would check the relative rom or kernel threads.
Screenshots! Now I've never judged anything by benchmarks because real world use is more important, but I thought it would be fun to post. I was getting 44k on antutu when I was on exodus rom with ak kernel. This my antutu score on default kernel settings with Tyr kernel v15 (my first build/release), I bet it can be tweaked for more!

Thanks for this wonderful work, gonna test it tonight for sure
Enviado do meu A0001 através de Tapatalk
---------- Post added at 11:05 PM ---------- Previous post was at 11:03 PM ----------
I cannot download it...
Enviado do meu A0001 através de Tapatalk

MegaDJPlay said:
Thanks for this wonderful work, gonna test it tonight for sure
Enviado do meu A0001 através de Tapatalk
---------- Post added at 11:05 PM ---------- Previous post was at 11:03 PM ----------
I cannot download it...
Enviado do meu A0001 através de Tapatalk
Click to expand...
Click to collapse
Download link is at the bottom of post, is it not working?
Try this:
http://d-h.st/NhOz

lemon07r said:
Download link is at the bottom of post, is it not working?
Try this:
http://d-h.st/NhOz
Click to expand...
Click to collapse
I click on the big "Download blue button" and it just opens the a new web page with the same download link... Anyway I'm doing it on Android, let me check on PC.
Enviado do meu A0001 através de Tapatalk

MegaDJPlay said:
I click on the big "Download blue button" and it just opens the a new web page with the same download link... Anyway I'm doing it on Android, let me check on PC.
Enviado do meu A0001 através de Tapatalk
Click to expand...
Click to collapse
Ah I see, I will upload it to a mirror in the meanwhile then so others don't have the same issue.

On pc it worked great... lol
Enviado do meu A0001 através de Tapatalk

Testing right away mate! Can i change to ak kernel?

madsponge26 said:
Testing right away mate! Can i change to ak kernel?
Click to expand...
Click to collapse
Originally I tried this with the ak caf kernel but got stuck in bootloops. However it is based off @Sultanxda's caf kernel as well so I assume it is supposed to work here, however I am not sure how well it currently support f2fs if it supports it at all. I went ahead with tyr-caf kernel as it already has good implementation in f2fs. You can always give it a try and flash back to the tyr-caf kernel if it doesn't go well.
Ak caf kernel:
http://forum.xda-developers.com/oneplus-one/orig-development/kernel-ak-t3189886
Tyr-caf kernel:
http://forum.xda-developers.com/oneplus-one/development/kernel-tyr-caf-3-4-07-07-2015-t3151971

Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up

As a third method will using a USB flash drive and otg cable work?

renaltosonylevi said:
As a third method will using a USB flash drive and otg cable work?
Click to expand...
Click to collapse
I don't have a otg cable to try this with, so I can't say. However I believe twrp does support otg (I might completely wrong) so if this is the case, yes you can use a flash drive and otg cable. I would go through the recovery setting to see if OTG is ok before going ahead and trying it.
EDIT - Yes you should be able to OTG, I see a mount option for USB-OTG in the twrp recovery. However I can't verify if it works.
EDIT 2 - I believe that's not the way you would do it though. If you go to install, and go back directories (all the way to root), there is a folder called otg, I believe if you have a usb-otg hooked up, it would be mounted here. So you would install from here. I will look into this a little more and update the master post once I find a verified method to installing through otg.

renaltosonylevi said:
As a third method will using a USB flash drive and otg cable work?
Click to expand...
Click to collapse
Yes It's working for me with usb flash or OTG method ... ( except with broken/corrupted usb flash drive )
Btw.., I'm using unofficial TWRP for multirom ..... :good:

This ROM feels great, smooth, battery life is excellent. Kudos to the developer.. Anyway I notice that multirom has some issues with the kernel. Although secondary ROMs installed OK, It boot straight to primary without showing boot preference..
Anybody experiencing this? Will try other kernels to make sure..

New version is out, can we expect an update today?
Enviado do meu A0001 através de Tapatalk

lemon07r said:
I don't have a otg cable to try this with, so I can't say. However I believe twrp does support otg (I might completely wrong) so if this is the case, yes you can use a flash drive and otg cable. I would go through the recovery setting to see if OTG is ok before going ahead and trying it.
EDIT - Yes you should be able to OTG, I see a mount option for USB-OTG in the twrp recovery. However I can't verify if it works.
EDIT 2 - I believe that's not the way you would do it though. If you go to install, and go back directories (all the way to root), there is a folder called otg, I believe if you have a usb-otg hooked up, it would be mounted here. So you would install from here. I will look into this a little more and update the master post once I find a verified method to installing through otg.
Click to expand...
Click to collapse
OTG does work on all my recoveries, with the exception of CWM. Also I recommend TWRP 2.8.6.1 dark because it still supports backing and flashing new modems, & firmware. Due to encryption introduced v2.8.7.0 no longer can do this.

MegaDJPlay said:
New version is out, can we expect an update today?
Enviado do meu A0001 através de Tapatalk
Click to expand...
Click to collapse
I'll get to work on it then, I will be updating around twice a week btw. Hopefully I will have it done and uploaded in a few hours.
katinatez said:
OTG does work on all my recoveries, with the exception of CWM. Also I recommend TWRP 2.8.6.1 dark because it still supports backing and flashing new modems, & firmware. Due to encryption introduced v2.8.7.0 no longer can do this.
Click to expand...
Click to collapse
Thanks for this, going to update my post with the relevant information.

Nice! Tried to enable f2fs on multiple caf roms but failed al the time, nice that you made a 'ready-to-go' f2fs version of Sultans rom!
One question, why not f2fs on system?

Miksel12 said:
Nice! Tried to enable f2fs on multiple caf roms but failed al the time, nice that you made a 'ready-to-go' f2fs version of Sultans rom!
One question, why not f2fs on system?
Click to expand...
Click to collapse
System works better with EXT4. See benchmarks.
Enviado do meu A0001 através de Tapatalk

lemon07r said:
I'll get to work on it then, I will be updating around twice a week btw. Hopefully I will have it done and uploaded in a few hours.
Click to expand...
Click to collapse
How's progress buddy?
Enviado do meu A0001 através de Tapatalk

MegaDJPlay said:
How's progress buddy?
Enviado do meu A0001 através de Tapatalk
Click to expand...
Click to collapse
Something came up and I had to head out, I'm still out right now so this will probably have to wait till tomorrow, sorry about that.

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.

[ROM][KERNEL][N910F/G] Temasek CM12.1 [v14.9] / Vision Kernel

Temasek's CM12.1 for Note 4
DISCLAIMER
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
HOWTO INSTALL
Code:
[B][I]Clean Installation[/I][/B]
1. Download the appropriate ROM.
2. Download the appropriate GApps.
3. Back up any and all important data.
5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.
6. WIPE SYSTEM.
7. Flash the ROM in recovery.
7.1 Flash Kernel (if you use a custom one)
8. Flash the GApps.
9. WIPE DALVIK/CACHE (for good measure).
10. Reboot Device.
[B][I]Mixed Flash/Update[/I][/B]
1. Download the appropriate ROM
2. WIPE SYSTEM.
3. Flash the ROM in recovery.
3.1 Flash Kernel (if you use a custom one)
4. Flash the GApps.
5. WIPE DALVIK/CACHE (for good measure).
6. Reboot Device.
[B][I]Dirty Flash/Update[/I][/B]
1. Download the appropriate ROM
3. Install the update zip from recovery.
3.1 Flash Kernel (if you use a custom one)
4. WIPE DALVIK/CACHE (for good measure).
5. Reboot Device.
STATEMENT
I started to build Temasek's CM 12.1 Rom for Note 4.
It will strict follow his upstream, i'll not add anything to his base.
I only compile it for Note 4 and optimize it for this.
FEATURES
all builds 20150713+ come with VISION Kernel Base as stock (same patched source but not all features)
BUILD
compiled with GCC 4.9.3 with patches from Linaro and SaberMod
including JustArchi's Optimizations
including Arter97's Optimizations
including Qualcomm's optimized LLVM 3.6 (not Google's 3.5a)
DOWNLOADS ON AFH
latest ROM
GAPPS
Vision Kernel
MDNIE Tuner App
KCAL App
Dolby Digital Plus Mod
Download Rom @ AFH
Download Gapps @ AFH
Download Apps @ AFH
THANKS
Code:
@Senthil360 for nice support in this thread
@CyanogenMod for base
@temasek for rombase
@arter97 for optimizations
XDA:DevDB Information
Temasek CM12.1 / Vision Kernel, ROM for the Samsung Galaxy Note 4
Contributors
AuxXxilium
Source Code: https://github.com/AuxXxilium
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Abandoned
Current Stable Version: v14.9
Stable Release Date: 2015-07-21
Created 2015-07-04
Last Updated 2015-08-13
Vision KERNEL
Vision Kernel for all CyanogenMod 12.1 based ROM
fast - smooth - battery friendly
Optimized for Temasek CM12.1
Features
Hotplug
MpDecision (optimized)
IntelliPlug 4.0
Thermal
My own Thermal Driver (for this time but not the end)
IntelliThermal (CM Version)
CPU
Underclock CPU to 268MHz
Overlock CPU to 2880MHz
Hardlimit CPU Control 2.2.1_Note4
CPU Boost
MSM Turbo (like Intel Turbo Boost - only active if you use the max frequency but will cause more battery drain)
Voltage Control
more CPU Governor
GPU
Underclock GPU to 166MHz
Overclock GPU to 800MHz
Simple GPU Algorithm
Adreno Idler 1.1
Idle down to 27MHz
more GPU Governor
Screen
Touch Control (DT2W, S2W, S2S) <- only t2w edition
State Notifier
FS and I/O
Dynamic Fsync 1.5
more IO Scheduler
Optimized EXT4
F2FS Support
Power
Powersuspend 1.7
Fastcharge 1.2
QuickWakeup
Sound
Faux Sound Control 3.6
MSM Ultrasound
Stereo call recording
Net
more TCP Cong
Misc
KSM
Kernel Mode NEON
SELinux permissive
overall Optimizations
Sabermod 4.9.3 for A15 and graphite
more...
How-To install
remove all bootup settings from Fauxclock
boot into recovery
install kernel
wipe cache (better to do this)
boot system
if system is fully started - restart it again
done
Download Kernel @ AFH
Changelog for ROM / KERNEL
Changelog for ROM
Build Changelog
Changelog for Vision KERNEL
2015.07.16
only performance optimizations
2015.07.15
updated: Hardlimit Control v2.2.1_Note4 by AuxXxilium
2015.07.14
build: start with two version: one with touch2wake and without it
build: cleaner build tags - now only vision not vision_smart
added: Hardlimit Control v2.2_Note4 by AuxXxilium (thx to yank555.lu for base)
2015.07.13_t2w - experimental
readded: touch2wake
removed: IntelliThermal trash for the next time
added: more battery savings
patched: some vidc things
2015.07.11_ofast
recompiled with -Ofast
added: new adreno idler version
2015.07.10
added: quickwakeup
added: some more patches
removed: smart... governor that causes a bug in freq selection
2015.07.08_v2
bugfix build
removed: only gpu wakeup on touch event
removed: all touch2wake features for now
removed: high OC Freq (now max is 2.88 GHz)
fixed: no touch response after wakeup from deepsleep (i hope)
fixed: the laggy performance from gpu if there was no touch event
fixed: fastcharge issue that causes some problems (slow charging and more)
fixed: all kernel compile warnings
added: elementalx cpu gov for more performance
added: more optimizations
added: Async Fsync
2015.07.07
added: IntelliThermal from faux123 (CyanogenMod Commit)
added: some patches for power efficiency
added: more patches - to many to list all things
2015.07.06
added: Simple GPU Algorithm
added: MDNIE Control
added: some GPU Patches
2015.07.05
initial push with features above (optimized for my rom)
FAQ
How can i set the kernel features?
The recomend app is FauxClock. Other apps can have problems with cpu freq setting or other features.
Fauxclock isn't supported.
Install Fauxclock > Open and accept SuperSu > force close it > open again (if this isn't working, you need to fix permissions.)
Why i do this? ETA's?
It's only build for my own use, so i update it if i think i must do it. Please do not ask for ETA's.
Misc
Known bugs
If you found a bug, please submit it here.
Feature Requests
If you want to have a new Feature, please submit it here.
Reviews
If you like my work, please say THANKS and write a short review here.
Rom support
Does this ROM support 910G
ROM​
AuxXxilium said:
Temasek's CM 12.1 for Note 4 (trltexx)
Code:
I started to build Temasek's CM 12.1 Rom for Note 4.
It will strict follow his upstream, i'll not add anything to his base.
I only compile it for Note 4 and optimize it for this.
Download
Huge thanks to @temasek and @arter97
XDA:DevDB Information
Temasek's CM 12.1, ROM for the Samsung Galaxy Note 4
Contributors
AuxXxilium
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Stable
Current Stable Version: v14.5
Stable Release Date: 2015-07-04
Created 2015-07-04
Last Updated 2015-07-04
Click to expand...
Click to collapse
Downloading the ROM, will give more feedback after a few hours.
Keep up the great work, loving your kernel and now maybe this ROM as well.
Sent from my SM-N910F using XDA Premium 4 mobile app
virgoan said:
Does this ROM support 910G
ROM​
Click to expand...
Click to collapse
yes. 910G is supported. it is working with trlexx rom.
Battlehero said:
Downloading the ROM, will give more feedback after a few hours.
Keep up the great work, loving your kernel and now maybe this ROM as well.
Sent from my SM-N910F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thanks, kernel comes back the next week. try to fix benchmark scores and game performance.
Thanx for thread,I think your kernel and temasek rom is perfect combination???
AuxXxilium said:
yes. 910G is supported. it is working with trlexx rom.
thanks, kernel comes back the next week. try to fix benchmark scores and game performance.
Click to expand...
Click to collapse
Current bug: Clicking Ambient Display causes Force Close?
Everything else seems to work fine so far, will report back if I find something else.
@AuxXxilium : this is great. I was a very big fan of temasek for S3 and I was thrilled when I saw your post. Thanks. The issue that I have is that it seems I am limited with 3g speed after I have installed the rom. I cannot get more than 47kB / sec no matter what I do. Before installing the rom , exactly in the same place, I was having over 1,5 MB / sec. Does anyone have the same issue? Thanks
Trimis de pe al meu SM-N910F folosind Tapatalk
Great, now we have two Temasek CM12.1 roms for our device Gonna test this one too.
Welcome Temasek! I used your ROMs on the Note 3....good to see you here buddy
Does s pen features work with this ROM
ivnn said:
Does s pen features work with this ROM
Click to expand...
Click to collapse
http://forum.xda-developers.com/android/software/app-app-samsung-devices-provided-stylus-t3000448
Sent from my SM-N910F using XDA Premium 4 mobile app
rhadoo_ds said:
@AuxXxilium : this is great. I was a very big fan of temasek for S3 and I was thrilled when I saw your post. Thanks. The issue that I have is that it seems I am limited with 3g speed after I have installed the rom. I cannot get more than 47kB / sec no matter what I do. Before installing the rom , exactly in the same place, I was having over 1,5 MB / sec. Does anyone have the same issue? Thanks
Trimis de pe al meu SM-N910F folosind Tapatalk
Click to expand...
Click to collapse
In case someone else has the same issue...
I found that the default access point was WAP instead of Internet, this was limiting the speed. After I switched to Internet, speed was over 1,5 MB.
Just tried to install the ROM ,but the installation was aborted complaining that this image is for a trltexx and that I'm having a trlte . I think i installed different kernel for my previous Rom . Could anyone suggest what i have to do to change it to trltexxx .
ivnn said:
Just tried to install the ROM ,but the installation was aborted complaining that this image is for a trltexx and that I'm having a trlte . I think i installed different kernel for my previous Rom . Could anyone suggest what i have to do to change it to trltexxx .
Click to expand...
Click to collapse
You have the incorrect recovery.
Install the correct recovery from TWRP's website.
If you have N910F (Trltexx) install this zip from recovery and then reboot to recovery again to install the ROM.
https://dl.twrp.me/trltexx/twrp-2.8.7.0-trltexx.zip.html
Sent from my SM-N910F using XDA Premium 4 mobile app
i tried to install but device got struck in download mode and i couldnt boot normal as well. odin is not recognising the device as well
Battlehero said:
You have the incorrect recovery.
Install the correct recovery from TWRP's website.
If you have N910F (Trltexx) install this zip from recovery and then reboot to recovery again to install the ROM.
https://dl.twrp.me/trltexx/twrp-2.8.7.0-trltexx.zip.html
Sent from my SM-N910F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Awesome! Temaseks rom was my favorite rom on my s3.
too bad I really need the s-view, which isn't working on CM
will that ever be possible?
ivnn said:
i tried to install but device got struck in download mode and i couldnt boot normal as well. odin is not recognising the device as well
Click to expand...
Click to collapse
Take your phone's battery out. (Make sure device isn't plugged in anywhere)
Then put the battery back in after 10 seconds.
Then hold the volume down, home button and power your device on.
Then plug your phone into your computer, and try different USB ports (Make sure Kies is not installed) and flash a stock ROM via Odin and start a fresh.
Install a custom recovery (TWRP).
Sent from my SM-N910F using XDA Premium 4 mobile app
Mikeyman123 said:
Awesome! Temaseks rom was my favorite rom on my s3.
too bad I really need the s-view, which isn't working on CM
will that ever be possible?
Click to expand...
Click to collapse
sview hack is in rom included, the next kernel version does enable it. so i think it should work after that, but i havn't a sview cover for my phone. so i can't try it out.

[KERNEL] [LINARO8] [UNDERVOLTING] custom kernel for haruhirom

My custom kernel for oneplus 2
Features until now
- added governors, I/O schedulers and all the other mess you see in other kernels
- spectrum support
- flash and forget
- optimized for sd810
- tickless kernel
- hd audio
- slimbus overclock
- compiled with linaro GCC 8
- enabled CPU dcache word access
- backlight dimmer
- added maple I/O scheduler
- added governors blu_active and darkness
- added gentle fair sleepers
- added wakelock control (basic + WiFi + bluedroid)
- optimized settings
- upstream CAF updates
- upstream Linux kernel upgrades (3.10.105)
- nethunter support
- compatible with mostly all ROMs, including CAF-based ROMs like halogenos
- pdesireaudio
- high performance audio
- fauxsound
- added CPU boost toggle
- power efficient workqueues
- franco thermal driver
XDA:DevDB Information
haruhikernel-op2, Kernel for the OnePlus 2
Contributors
anupritaisno1, benschhold, pdesire, xdvs23
Source Code: https://github.com/Team-DevElite/haruhikernel-op2
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v8.2
Stable Release Date: 2017-07-01
Created 2017-01-26
Last Updated 2017-07-13
Download link: https://srv1.botstack.host:8001/oneplus/op2/custom-kernel-for-haruhios-v8.2.zip
Reserved
Pdesireaudio - FAQ
What is pdesireaudio?
192kHz 24bit audio playback, 24bit audio recording, and higher buffering on kernel
Interesting, how do I configure it?
There is nothing to configure, it should work out of the box
For advanced users, the sysfs paths are
/sys/module/snd_soc_wcd9330/parameters/uhqa_mode_pdesireaudio
/sys/module/snd_soc_wcd9330/parameters/high_perf_mode
/sys/kernel/sound_control_3/highperf_enabled
1 to enable, 0 to disable
Default is enabled at boot
How do I merge pdesireaudio into my code?
Pdesireaudio needs device tree and kernel patches, head over to my github https://github.com/anupritaisno1 to find out the patches you'll need
Wait! So what do I get to control?
Nothing in the case of audio, not to mention that audio is already a mess on op2
You still get basic sound control however
Got it? Anything I should watch out for?
Pdesireaudio can technically work in a ROM that doesn't support it however if you flash anything other than ARISE, then you'll break pdesireaudio completely
Nethunter support
Flash SuperSU
Put a su script to run supolicy --live "permissive *" at boot
That's it?
Interactive governor tweaks?
I use glassfish and most of my testers seem to like fairparkhe
Hotplug?
I just turn it off
Thermals?
Usually turn everything off here too
GPU settings?
I normally don't change anything here
Screen?
Here are my settings
R: 256
G: 250
B: 241
Saturation: 35
Value: 124
Contrast: 128
Hue: 1
You are working hard
Thanks
Enviado desde mi ONE A2003 mediante Tapatalk
Is the v4.2 the latest? Because on description : Current Stable Version: v5.0
xarisCY said:
Is the v4.2 the latest? Because on description : Current Stable Version: v5.0
Click to expand...
Click to collapse
That's a naming error made by the automatic build bot. Please ignore it
The latest version is v5 which you can verify in the settings
is it compatible with oxygen os 3.5.6?
divyansh sinha said:
is it compatible with oxygen os 3.5.6?
Click to expand...
Click to collapse
No
It's only my for my ROM (read the name) and for official lineageos and CAF-based ROMs like halogenos
It may work on derivatives of lineage as such (RR, AICP, etc) but I can't guarantee it
divyansh sinha said:
is it compatible with oxygen os 3.5.6?
Click to expand...
Click to collapse
You can try it.
However I can tell you that WiFi is going to break if you flash this on oos
Also please flash oos 3.5.7
I am using this kernel with RR. I did not see any power efficient improvement.Although everything is running smooth.
playkish said:
I am using this kernel with RR. I did not see any power efficient improvement.Although everything is running smooth.
Click to expand...
Click to collapse
Yes, you need to tune it a bit in kernel adiutor
Also that is a "power efficient workqueue", it does nothing by itself if your configuration is set to consume too much battery
anupritaisno1 said:
Yes, you need to tune it a bit in kernel adiutor
Also that is a "power efficient workqueue", it does nothing by itself if your configuration is set to consume too much battery
Click to expand...
Click to collapse
Can you please explain what I need to tune using kernel auditor ??
playkish said:
Can you please explain what I need to tune using kernel auditor ?
Click to expand...
Click to collapse
That's up to you?
Hey, could You give us a example for a Good Setup?
Speaker gain is not working here as well. Will it be fixed?
StarSix01 said:
Hey, could You give us a example for a Good Setup?
Click to expand...
Click to collapse
stock are best
or if kernel have relaxed governor
anupritaisno1 said:
Here's the download link https://srv1.botstack.host:8000/oneplus/op2/custom-kernel-for-haruhios-v4.2-STABLE.zip
Or use this
http://srv1.botstack.host:9000/oneplus/op2/custom-kernel-for-haruhios-v4.2-STABLE.zip
No pdesireaudio right now, it is being worked on by me
Click to expand...
Click to collapse
In the thread you say that there is pdesire audio. But you are saying now that in the latest build there isnt psidesireaudio?
i was soooo happy to finally see cpu voltage option in the kernel but very disappointed because whatever I do it doesn't change the voltage, beside that I see the same frequency scales displayed once more but with a higher voltage added to each frequency step.

[EOL] Boeffla-Kernel (unofficial) for Lineage OS-15.1/16 [kltexxx]

This project is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
Proudly presenting, Boeffla-Kernel (unofficial) for Lineage OS-15.1/16.
/* Introduction */
This is an unofficial port of the well-known Boeffla-Kernel which is developed by the recognized developer @Lord Boeffla. Since the original developer decided to end his support with Nougat, I decided to port his awesome work to Oreo. With the permission of the original developer, here I'm sharing my builds for anyone interested.
/* Warning */
This kernel is no way supported by Lord Boeffla. Please do not bother him with anything related to this Kernel.
/* DISCLAIMER! */
Code:
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.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
klte: SM-G900F, SM-G900V, SM-S902L
kltekor: SM-G900K/L/S
kltedv: SM-G900P/I
klteduos: SM-G900FD, SM-G900MD
kltekdi: SCL23​
/* Compatibility */
This kernel is only meant to work on Lineage-OS 15.1/16 and nothing else. However, it may work on other LOS 15.1/16 based Oreo/Pie ROMs (Please try at your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
i. Download Kernel
ii. Go to recovery (TWRP recommend)
iii. Flash Kernel
iv. Reboot and enjoy
/* Features */
Built from Boeffla-Kernel 14.1 source code.
Merged with latest LineageOS 15.1 source code.
Built using Bleeding edge toolchain (GCC 8.2).
Added blu_active CPU governer.
All the standard features of Lineage-OS 14.1 Boeffla-Kernel
Support of anykernel concept - flash stock kernel before flashing Boeffla
Additional governors: zzmoove (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Wake up gestures implemented (double-tap-to-wake, swipe to wake) Removed from beta-v4 onwards.
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support
NFS support (module) Removed from beta-v9 onwards.
NTFS support
XBox support
OTG-Ethernet support
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Insecure kernel (adb has root privileges)
Automatic EFS backup
Kernel survival mode by Boeffla-Config app to survive CM rom flashes
Full support for mpdecision for best compatibility and smoothness
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request, not recommended for CM however (latest su included)
Kernel initialization log file (with the history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Always using latest Initramfs
Always based on latest Galaxy S5 sm-g900f kernel sources by CM
Kernel runs with SELinux enforcing by default, just as CM12 stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
/* Downloads */
https://smartpack.github.io/downloads/
Mirror
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Giving proper credits to the original developers (including me, if you considered me as one among them) are, however, highly appreciated. Feel free to contact me, if you need any assistance from my side.
/* Donations */
For those who wish to donate to the original developer (Lord Boeffla), here I'm copying his own words.
Code:
If you like my work, feel free to donate: [URL="http://www.boeffla.de/index.php/donation"]Donation-Link[/URL]
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
If you like to appreciate my (sunilpaulmathew) work, please consider a donation as it is helpful to continue my projects more active, although it is not at all necessary.
/* Acknowledgements */
@haggertk for LineageOS 15.X for Galaxy S5
@Lord Boeffla for Boeffla-kernel for LOS-14.x
@franciscofranco
@Sultanxda
@arter97
@faux123
@Saber
@nathanchance
@ZaneZam
@osm0sis for AnyKernel project
Many other XDA developers
XDA:DevDB Information
Boeffla-Kernel (unofficial), Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew, Lord Boeffla
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Stable
Created 2018-03-17
Last Updated 2019-01-10
Change-logs
Oreo
Pie
Reserved
So we are in the house
Kernel works fine so far... No probs with undervolting either. But never used this feature for daily use. Because it's not recommended.
Lg msprenger
Yass! Boeffla the legend, the only custom kernel which performance is faster than any other custom kernels and stock kernels combine.
All the best for you @sunilpaulmathew
You`ll wearing great shoes to continue Lord Boeffla`s legacy
Checked first beta ... fine fine
Cool! Let's check it out!
msprenger said:
So we are in the house
Kernel works fine so far... No probs with undervolting either. But never used this feature for daily use. Because it's not recommended.
Lg msprenger
Click to expand...
Click to collapse
Welcome
The_Voice_70 said:
All the best for you @sunilpaulmathew
You`ll wearing great shoes to continue Lord Boeffla`s legacy
Checked first beta ... fine fine
Click to expand...
Click to collapse
Thanks friend....
kvsjxd said:
Cool! Let's check it out!
Click to expand...
Click to collapse
All good?
Hello, my device is kltekor but after I flashed your kernel the second sim signal appears on the status bar, is that a feature or a bug?
Blackburn119 said:
Hello, my device is kltekor but after I flashed your kernel the second sim signal appears on the status bar, is that a feature or a bug?
Click to expand...
Click to collapse
its a bug. unless your device is a dual-sim variant .
KazuDante said:
its a bug. unless your device is a dual-sim variant .
Click to expand...
Click to collapse
I'm sure Kltekor is a Korean device with single sim
Blackburn119 said:
I'm sure Kltekor is a Korean device with single sim
Click to expand...
Click to collapse
so yeah its def a bug and not a feature.
No such issues in my kltekor (SM-G900L):Lineage-OS 15.1 latest build. See screenshot attached. Maybe some other issues on the ROM side?
Blackburn119 said:
I'm sure Kltekor is a Korean device with single sim
Click to expand...
Click to collapse
for @all,
I'm now testing a new version of Kernel, which is built using UBERTC-8.x (latest toolchain). If anyone wants to test for me, plz pm me or contact me at Telegram.
sunilpaulmathew said:
No such issues in my kltekor (SM-G900L):Lineage-OS 15.1 latest build. See screenshot attached. Maybe some other issues on the ROM side?
for @all,
I'm now testing a new version of Kernel, which is built using UBERTC-8.x (latest toolchain). If anyone wants to test for me, plz pm me or contact me at Telegram.
Click to expand...
Click to collapse
what's the difference between ubertc and old boeffla?
sunilpaulmathew said:
Welcome
Thanks friend....
All good?
Click to expand...
Click to collapse
Yeah works fine as expected. Keep up the good work.
sunilpaulmathew said:
No such issues in my kltekor (SM-G900L):Lineage-OS 15.1 latest build. See screenshot attached. Maybe some other issues on the ROM side?
for @all,
I'm now testing a new version of Kernel, which is built using UBERTC-8.x (latest toolchain). If anyone wants to test for me, plz pm me or contact me at Telegram.
Click to expand...
Click to collapse
Runs well, undervolting works in this kernel now, thank you! Havent noticed anything else thus far exept undervolt is working which is really nice!
Edit: Seems like GPU underclock (27mhz) is also added, great job, thanks!
Boeffla-Kernel (unofficial) v2
New kernel version (v2), which is built using UBERTC-8.x (latest) toolchain, is now available to download.
Detailed change-logs are always available here.
Download links can be found here.
Enjoy...
Thank you very much for the New build.. Works perfectly with the boeffla App. The change to the New Toolchain goes without any probs
No malfunctions since Installation
Great job
Lg msprenger
Sorry friends, I made some accidental mistakes while preparing the last build and it makes the modules unaccessible (do anyone noticed?). The download links are now updated with proper builds. If you are not worried about modules, just avoid this message. Otherwise, update to the newly uploaded builds (Please note: there is absolutely no change in the file name).
Sorry for the inconvenience...
Downloads
https://sunilpaulmathew.github.io/downloads/
Did not notice any inaccassebility to any Module. Which Mods do you mean??

[CLOSED][KERNEL][Affinity Kernel][OP5/5T][OOS/Custom][4.4.178][6 Apr]

Introduction:
Affinity Kernel is a custom kernel based on the latest Stable Linux 4.4 release from kernel.org.
This kernel is developed with performance and great battery life in mind offering some goodies cherry-picked from other popular kernels such as Flash Kernel, ElementalX, blu_spark, Boeffla Kernel, Sultan Kernel and Franco Kernel.
The kernel is always up to date with mainline linux kernel and is regulary updated with the latest fixes.
The goal is to provide a butter smooth experience, simmilar to what you get with the latest Pixel devices.
Affinity Kernel is based on the official kernel source released by OnePlus.
Code:
/*
* Your warranty is not void (Thank you OnePlus!).
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features:
Upstreamed to the latest Linux Stable 4.4.x
Upstreamed to the latest CAF tag LA.UM.6.4.r1-11500-8x98.0 & LA.UM.7.4.r1-04800-8x98.0
Tunable with Kernel Adiutor and others
Additional CPU gorvernors
Sound Control
Adreno Idler by @arter97
Full WireGuard implementation
Sweep2Sleep gesture
Fast charging on USB
FS fsync toggle (enabled by default)
Additional IO schedulers (Maple, FIOPS, SIO, ZEN)
Qualcomm MDSS v2 (sRGB + KCAL)
dm(avb)-verity disabled
Faster app cold-launch
IO Tuning
Optimized with oFast and O3
Westwood TCP algorithm as default
Full Treble compatibility with Treble related fixes
Individual Input Boost frequency for each cluster
Disabled the BCL battery driver
Backlight Dimmer by @flar2
Boeffla Wakelock blocker v1.1.0
CDROM emulation
init.d support
ARM target optimizations
Passes SafetyNet check
Crypto Routines optimizations
High Brightness mode
Adreno driver improvements
EAS
Dynamic SchedTune Boost v3
KLAPSE Driver
Decreased swappiness
Installation:
Before you install the kernel, make sure you have
a backup of boot partition in case something goes wrong!
If you are coming from stock kernel:
Reboot into TWRP
Flash the Affinity Kernel.zip
Reboot
If you are coming from another custom kernel:
Reboot into TWRP
Dirty flash your rom or restore boot backup if you have any
Reboot recovery
Flash the Affinity Kernel.zip
Reboot
Updating:
Just flash the latest Affinity Kernel build over the previous one
Downloads:
{Mod edit}
On ROMs like Dirty Unicorns, WLAN won't work because the wlan module is required
to load on device initcall rather than late initcall like other ROMs do. There's a workaround for it but
it breaks WLAN on all ROMs that have the module built inline or the CAF way
{Mod edit}
Thanks to:
@joshuous for his EAS commits and Dynamic Sched Boost
@osm0sis for his AnyKernel2 installer
@nathanchance for his android-linux-stable project and helping me
@Lord Boeffla for Boeffla Wakelock Blocker and LED control
@Sultanxda for his fixes and other stuff
@eng.stk for his tweaks
@flar2 for his Sweep2Sleep gesture driver
@tanish2k09 for KLAPSE Driver
And all those folks contributing to Linux Kernel
XDA:DevDB Information
Affinity Kernel, Kernel for the OnePlus 5T
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Created 2019-02-20
Last Updated 2020-04-28
I'll take this one
And this one
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
finally:good:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
Click to expand...
Click to collapse
I'm using least oos ob24.
gsser said:
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
Click to expand...
Click to collapse
1. Yes but it's better to do a backup of boot that has Magisk installed so you don't have to reflash TWRP
2. Since r20 it's EAS based
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
I'm using least oos ob24.
Click to expand...
Click to collapse
Haven't seen such behaviour yet, some users reported that it works perfectly on both 5 and 5T.
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Amisuta said:
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Click to expand...
Click to collapse
Dirty flash your rom
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Sent from my OnePlus5T using XDA Labs
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
How many sot do you get?
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
sleepwalking0593 said:
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
Click to expand...
Click to collapse
Qualcomm or OnePlus? (Not doubting you genuinely curious)
haikalzarith said:
How many sot do you get?
Click to expand...
Click to collapse
8 and 17 standby
Sent from my OnePlus5T using XDA Labs
1 hour of youtube
Sent from my OnePlus5T using XDA Labs
Heisenberg420 said:
Qualcomm or OnePlus? (Not doubting you genuinely curious)
Click to expand...
Click to collapse
Qualcomm did it. So OnePlus followed them
gsser said:
1 hour of youtube
Click to expand...
Click to collapse
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Teso79 said:
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Click to expand...
Click to collapse
I dont.
Affinity Kernel r21 is up!
Since r21, Affinity Kernel is available for custom ROMs as well. Should work well with every ROM except of OmniROM and TreskMod (which is Pixel-like OmniROM)
because Omni has its own way of loading the WLAN module so WiFi might be most likely broken. Anyway, you may also notice that on some ROMs that have EAS baked in, Affinity Kernel
default settings are not getting applied. That's because the ROM has its own post boot init script that overwrites my settings, not a big deal.
Here's the changelog:
Upstreamed to Linux 4.4.176
Support for custom ROMs
Some touchups for init script
Added O3 GCC optimalization
Readahead improvements
A bunch of kgsl improvements (adreno driver)
devfreq improvements

Categories

Resources