Related
Hey guys
As you already might have read in either the CM11 dev thread or the Q&A section, I am working on a custom kernel for our T210(R) and T211. It's still in a pretty early stage, but the current build is fully stable, so I thought why not share it
As I'm pretty new to this community, a few words about myself: My (only) device I have been working on is the LG Optimus 4x HD, for which I also made a custom kernel (also named werewolf kernel, who would have thought of that ). Me and 2 other fellow RDs were able to "switch" many blobs with the ones from grouper, which fixed many, many issues we were facing in 4.4 with the stock 4.1 blobs. I am the official maintainer of namelessROM and vanir for the 4x HD, and am also compiling GummyROM, LegoROM, unofficial CM 11 (using grouper blobs) and SlimKat for the 4x HD on a nightly base. And as soon as we have a proper device tree for our tab, I'm sure I can port the Tab3 to all those ROMs
Now, enough chit chatting, let's talk about the kernel
It's based on @ketut.kumajaya's blackhawk kernel (thanks again, mate ) From v004 on we are based on official KitKat sources, with some additions such as:
Features:
Various network tweaks
Entropy tweaks
I/O speed improvements
cortex a9 and neon omtimizations
Added frandom
Tweaked vm dirty ratios
Dynamic read-ahead values
Added I/O schedulers: ROW, SIO, BFQ, FIOPS, V(R)
Optimized AES and SHA1 routines
Added CPU governors: Lionheart, Adaptive, Intellidemand, Hotplug, Hyper
Reduced RAM usage from logger
Updated lowmemkiller
Overclocked to 1.420 GHz by default
Disabled vsync for better 2D performance
Overclocked GPU up to 624MHz (default 416MHz)
Custom user voltage control (CPU)
Undervolted by default (-25mV)
S2W and DT2W (WIP)
Fast Charging
KSM
Bugs:
You tell me!
Installation:
Download the kernel from HERE
Reboot into recovery (recommended to make a nandroid)
Flash the kernel zip
Recommended to wipe /cache
Reboot and enjoy!
And remember to remove phservice if you want to change some CPU/GPU settings yourself
Notes:
See 2nd post
GPL:
Kernel sources
Kernel Modules (only for v001 - v003)
Used defconfig
Used build script
Thanks:
@ketut.kumajaya for the initial kernel base
@gr8nole for general help, info and testing
XDA:DevDB Information
Werewolf kernel SM-T210/T211, Kernel for the Samsung Galaxy Tab 3
Contributors
laufersteppenwolf
Kernel Special Features: Tuned for best possible performance
Version Information
Status: Stable
Created 2014-07-21
Last Updated 2015-05-25
Tweaks and other stuff
Since v002, we have an updated lowmemorykiller. It behaves a bit snappier than the old one, also with the default minfree values. However, in case you like to tweak your device a bit to make it even more snappy (like me ), I tweaked the minfree values a bit to slightly increase the free RAM without really affecting the multitasking experience. The script can be found in the attachment. All you need to do is to extract the script and place it in your /system/etc/init.d/ folder and that's it. The values will be automatically set on boot.
UV interface
The min possible voltage is 1000mV for now, and the max one is 1400mV. If you want me to lower the min voltage, please let me know.
Also, please note, that the voltage has to be changed in 12.5mV steps. If you apply for example 1110mV, it will be rounded down to 1100mV.
Fast Charge interface
The main interface is inside /sys/kernel/fast_charge/*
/sys/kernel/fast_charge/force_fast_charge (rw)
0 - disabled (default)
1 - use custom mA configured through the sysfs interface (see below)
/sys/kernel/fast_charge/ac_charge_level (rw)
rate at which to charge when on AC (1.8A to 2.3A)
/sys/kernel/fast_charge/usb_charge_level (rw)
rate at which to charge when on USB (0.5A to 1.0A)
/sys/kernel/fast_charge/failsafe (rw)
0 - disabled - allow anything up to 2.3A to be used as AC / USB custom current (USE WITH CAUTION!)
1 - enabled - behaviour as described above (default)
/sys/kernel/fast_charge/version (ro)
display fast charge version information
New kmsg layout
From v008 onwards the kmsg looks a tiny bit different. Instead of displaying the time since boot, it logs the actual time and date.
Now, you may ask yourself: "does that any good?" Sure it does. When you encounter an issue and grab a log, you can send it my way saying "the issue happened at 15:35". It is way harder to find out the exact time (in seconds) since the device booted, right?
When changing the CPU gov, you might want to keep THIS (4.1) or THIS (4.4) in mind
Changelog:
v008 [15/02/15]
- Disabled zcache
- Added KSM (including deferred timer to save battery)
- Tweaked zRAM
- New kmsg log layout (see 2nd post for more details)
- Fixed kernel version in settings
- Disabled S2W and DT2W by default
When you flash this version, please wipe cache, otherwise bad things could happen
v007 [08/12/04] RIP Beth
- Slightly more RAM from logger
- S2W and DT2W (Still WIP)
- Decreased min possible CPU voltage to 800mV
- Undervolted by default (-25mV)
- Fast Charge support
v006 [01/11/14] MOAH CPU
- Added CPU UV interface
- OC'ed further to 1420MHz
- Max GPU freq limited to 624MHz until all issues are resolved
- Fixed init.d support on T211
v005a Minor fix
- Fixed DeviceControl GPU support
- Output all GPU freqs in Hz instead of KHz
v005 [18/10/2014] SM-T211 support
- Added support for the T211 variant (thanks to @sscsps for testing)
- Merged latest Sammy updates
- Enabled I/O accounting (only needed for devs)
- zcache enabled by default
- GPU OC up to 624MHz (default is 416MHz)
v004 [25/09/2014] Android 4.4 support
- Re-based on latest KitKat sources
- Re-added almost all features from v003
- Removed 156MHz freq step (causing trouble for still unknown reasons)
- Overclocked to 1.344 GHz (instead of 1.205GHz)
- Disabled vsync for better 2D performance
- Disabled "reboot recovery" to avoid being stuck in recovery on old recoveries (special version)
v003 [31/08/2014]
- new govs: Hotplug, Hyper
- new freq step @ 156MHz
v002 [25/07/2014]
- reduced RAM usage from logger
- new/updated lowmemkiller (see attachment in 2nd post for init.d script with tweaked minfree values)
v001 [18/07/2014]
- initial release
good work you link where ? and nice job workıng 4.1.2 ???? 4.2.2 .4.4.2 kernel android version what? @safariking [MENTION=3034891]gr8nole[/MENTION
not working dont flash ı using ultimate rom safarinking by 4.1.2 soft brick device
Not working yet hope you get it working good luck
Sent from my SPH-L720 using XDA Premium 4 mobile app
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
laufersteppenwolf said:
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
Click to expand...
Click to collapse
Nice work. This kernel works. Will monitor battery life and game performance.
Sent from my SM-T210R using XDA Free mobile app
laufersteppenwolf said:
When changing the CPU gov, you might want to keep THIS in mind
Click to expand...
Click to collapse
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
big job thank can you add overclock gpu ? downclock?
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
You can check if there is OC available by installing "No-Frills CPU Control" from the google play store
a question about toolchain
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Anil Shovo said:
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
Click to expand...
Click to collapse
I do not think so, as I'm using the ramdisk from t210, which most likely isn't compatible with t211, and sure not with 4.4.2
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
step by step
moonbutt74 said:
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Click to expand...
Click to collapse
for this build, I used CM's 4.6 toolchain, but that'll change soon
I will also push the build script and modules to github ASAP, so just wait for that, as setting up the modules and stuff isn't the most pleasant thing to do
Werewolf is not playing lol so what your saying is that we will be having cm 11 and aosp all the good stuff soon ?
Sent from my SM-T210 using XDA Premium 4 mobile app
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
trazfer said:
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
Click to expand...
Click to collapse
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
No ir blaster
Edit: This is what I get when I open peel smart remote
laufersteppenwolf said:
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
Click to expand...
Click to collapse
He is tottaly right, also sometimes when you are using this tab, the screen locks by itself
Ripshock said:
No ir blaster
Edit: This is what I get when I open peel smart remote
Click to expand...
Click to collapse
Check your build.prop to see what the ro.build.product shows.
gr8nole said:
Check your build.prop to see what the ro.build.product shows.
Click to expand...
Click to collapse
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Ripshock said:
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Click to expand...
Click to collapse
It works for me with the stock firmware/rom with this kernel.
Hi all,
some of you know me from the other OnePlus (One and Two) or Samsung devices areas, where I provide my kernels already for more than two years to OnePlus One, OnePlus Two, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Important notes
]When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Make sure you flash the correct kernel version, depending on whether you really use Oxygen OS or a different OS !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Saying that, the Boeffla-Sound app in Play Store is not designed to work on the OPX, neither was it developed by me, hence it will never work on the OPX ever. Boeffla-Config is the way to go here !!!
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (quite outdated, as it is focused on S3 still).
Click here to learn about using the config app (quite outdated, as it is focused on S3 still).
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for Oxygen OS 3.x.x kernel - Click here
Change log for Oxygen OS 2.x.x kernel - Click here
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.2.29 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Additional governors: zzmoove, intelliactive, intellidemand, intellimm, wheatley, smartmax, smartmax_eps, slim, intellimm, pegasusq, nightmare, lionheart, impulse, ondemandplus, yankactive
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)
Notification LED control (fading, speed, brightness)
Boeffla-Sound engine (Headphones volume configurable currently)
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency and duration configurable, touch boost switch
CPU Overclocking up to 2.54 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support with fixed simple_ondemand0
Show GPU frequency usage per frequency in Boeffla-Config
KCAL color control driver
Swipe2wake gestures
Swipe2sleep gestures
Haptic feedback control
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
Kernel logger (dmesg) configurable
Charge rates for AC charger and USB 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 (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
exFat opensource support
NTFS support (module) - read-only
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Multiple additional TCP congestion algorithms available
Swap supported
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Automatic EFS backup
Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
Integrated full busybox 1.24.2 (own compilation)
Kernel initialisation log file (with 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)
Kexec hardboot patch for multirom usage (not supported, not fully working)
Google gcc 4.8 toolchain used for best stability
Always using latest Oxygen OS Initramfs
Always based on latest Oxygen OS kernel sources (https://github.com/OnePlusOSS/android_kernel_oneplus_msm8974)
Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
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 !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
f2fs - it is known to cause various issues and compatibility problems
custom hotplugging algorithms
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are using Oxygen OS or another rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.2.29 or higher for the OnePlus X Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
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.
Source code
All sources can be found in my Github repository: http://github.com/andip71
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:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change logs:
http://kernel.boeffla.de/oneplusx/boeffla-kernel-oos/oos3xx/changelog.htm
*** You want my support? Then stick to my rules ***
Guys, I am receiving more and more completely useless support requests in different threads. Useless because people provide nothing to be able to help, not even the minimal possible information they could give.
Hence, I will now remind anyone again on the support guide lines stated here:
http://boeffla.de/index.php/support/support
Also you need to ensure you follow the installation guide lines incl. trouble-shooting stated here:
http://boeffla.de/index.php/support/installation-how-to
And to cut a long story short: If you do not at least provide what I request in the support guide lines, I will IGNORE YOUR REQUESTS IN FUTURE.
Straight and simple. I have enough of people wasting my time just because they are too lazy to write details.
Period.
Also as a reminder:
you use xposed? -> no support, everything is your own issue
you use a custom rom and not the official stock or CM one? -> good luck, you are on your own
you undervolt or overclock? -> have fun, but without my support
Sorry, this might sound harsh (and it is meant to sound harsh), but you cannot imagine about how crappy support requests can be. Stating something does not work is just not enough.
Please consider that!!!
Andi
Great to have you here
Welcome Andi !!! Gonna flash your kernel as soon as I get my OPX .... Will make profiles for it too
Welcome again !!!
Naman Bhalla said:
Welcome Andi !!! Gonna flash your kernel as soon as I get my OPX .... Will make profiles for it too
Welcome again !!!
Click to expand...
Click to collapse
Hehe, nice. I see you everywhere, isn't it?
Andi
sorry if i sound like a noob but if i have bluspark kernel already flashed, can i just flash this ontop of it? or do i have to restore a backup (of the opx before i flashed bluspark) and then flash this kernel? thanks in advance
Thanks a ton. Is CM support planned?
ihs0201 said:
sorry if i sound like a noob but if i have bluspark kernel already flashed, can i just flash this ontop of it? or do i have to restore a backup (of the opx before i flashed bluspark) and then flash this kernel? thanks in advance
Click to expand...
Click to collapse
You can flash on top of it as Boeffla kernel works on a different principle (Sorry.. I forgot what it is called... LOL... Maybe Andi can tell) .... But yeah, if issues come, flash stock and then the Boeffla (shouldn't happen though )
#HappyFlashing
Lord Boeffla said:
Hehe, nice. I see you everywhere, isn't it?
Andi
Click to expand...
Click to collapse
hehe !! I try to help the community as much as possible...
---------- Post added at 12:04 AM ---------- Previous post was at 12:01 AM ----------
RJDTWO said:
Thanks a ton. Is CM support planned?
Click to expand...
Click to collapse
I don't wanna post on behalf of Andi... But if you have been following Andi , he usually builds for CM once official builds roll out with everything working... For now, there is no official build, though almost everything is working now...
But Boeffla is in initial phase of development for OPX so I feel lord will focus more on Oos...
In short, don't expect a CM version till official nightlies start.
Naman Bhalla said:
You can flash on top of it as Boeffla kernel works on a different principle (Sorry.. I forgot what it is called... LOL... Maybe Andi can tell) .... But yeah, if issues come, flash stock and then the Boeffla (shouldn't happen though )
#HappyFlashing
Click to expand...
Click to collapse
Thanks for the quick reply
Nice to see boeffla kernel here. Was waiting for this after seeing a thread on oneplus forum. Is there a version for cm12/13 as well?
Edit: Never mind
Finally, I can't wait to flash it. You're the best, Andi, I'm proud I can say I designed your avatar, hahaha.
well i tried to install, and it gave me the error : your device is onyx. this zip is for ONE
i did install this zip: boeffla-kernel-4.0-beta1-OOS2xx-OnePlusX.recovery.zip
can anyone help/has the same problem
ihs0201 said:
well i tried to install, and it gave me the error : your device is onyx. this zip is for ONE
i did install this zip: boeffla-kernel-4.0-beta1-OOS2xx-OnePlusX.recovery.zip
can anyone help/has the same problem
Click to expand...
Click to collapse
Which recovery did you use ? As can clearly be seen, this issue is from Updater-script .... So either you can delete that line from the script or best is to use another twrp
Naman Bhalla said:
Which recovery did you use ? As can clearly be seen, this issue is from Updater-script .... So either you can delete that line from the script or best is to use another twrp
Click to expand...
Click to collapse
it is version twrp v.2.8.7.0, but i will try and update and then get back to you
ihs0201 said:
well i tried to install, and it gave me the error : your device is onyx. this zip is for ONE
i did install this zip: boeffla-kernel-4.0-beta1-OOS2xx-OnePlusX.recovery.zip
can anyone help/has the same problem
Click to expand...
Click to collapse
You downloaded the wrong kernel ( you downloaded the OnePlus one variant) so don't flash it as it might brick your device.
Scroll a bit more down in the Web page till you find OnePlus X.
P.S. The website can be a bit confusing for newer members, so here you go.
http://boeffla.df-kunde.de/oneplusx/boeffla-kernel-oos/oos2xx_download/Test/
Cheers.
dagger said:
You downloaded the wrong kernel ( you downloaded the OnePlus one variant) so don't flash it as it might brick your device.
Scroll a bit more down in the Web page till you find OnePlus X.
P.S. The website can be a bit confusing for newer members, so here you go.
http://boeffla.df-kunde.de/oneplusx/boeffla-kernel-oos/oos2xx_download/Test/
Cheers.
Click to expand...
Click to collapse
no it was the opx variant, as the filename showed opx when i flashed it. thanks anyway, and yeah the website is a bit jumbled
but the problem was an old twrp version. updated it and the kernel flashed no problem . BTW i like ur icon pack, might try it
Can someone explain the difference between this kernel and blu-spark to us common people?
What do you take into consideration when deciding which one to use?
Hi Andi,
Good to have Boeffla kernel again!
The real deal just came to opx. Thanks, bro! Hope opx gets official cm so you can provide support for cm too, as I cannot live without cm.
AR_Beast™ Kernel
Hey there! Ayush Here
INTRO
After a lot of hard work, I am debuting at the kernel section for a new custom kernel based on latest sources by LOS. As the name suggest, these kernel is made as a All-Rounder,i.e it can provide better battery + performance . Without talking much lets go the features of these kernel.
MAIN FEATURES
CPU
Proper and Uniform Frequency Table Format.
Overclocked CPU to 1.7GHz for big cluster and1.2GHzfor little cluster (for Beast Performance).{Modified and Enhanced by me)
Support for more Governers
Darkness
Impulse
BarryAllen
ElementalX
Intel
Smartmax_eps
Lionfish
Optimized Interactive and ElementalX Governer.
System wide PowerEfficent Workqueue(for Beast Battery Backup).
[*]CPU-Boost,Hotplug Boost and Wakeup Boost
[*]Reduced CPU Load(for Beast Battery Backup).
[*]Fixed High Load average(for Beast Battery Backup).
Fast idling of CPU (for Beast Battery Backup).
Less CPU-Load=Cool Device=More Battery-Life
Various Optimizations.
Hotplugs
Added Alucard (Modified for Beast Battery Backup)
Added Thunderplug (Modified forBeast Battery Backup)
Disabled MSM_Performance hotplug (was of no use)
Thermal
Support for user controllable thermal driver which reduce CPU frequency On a set trip point ( Ported by me )
Default limit set to 50°
Advanced Core control mode
Quad core mode
Fully configurable in the adiutor
Various Optimizations
GPU
Altered GPU-Frequency Table (for Beast Battery Backup)
UnderClock GPU to 19MHz(for Beast Battery Backup)
Overclock GPU to 650MHz
Support for Adreno Idler
Various Optimizations
Battery
Enabled ARCH_Power (for Beast Battery Backup)
New PowerSuspend algorithm (for Beast Battery Backup)
Support for preventing unnecessary WakeLocks (for Beast Battery Backup)
ThunderCharge Current Control Driver v2.1.
Fast Charge Drivers
Incresed Charge current (1370)
Various Optimizations
Sound
FauxSoundControl v4.0 ( Modified and Enhanced by me)
Support for 2 Gains---Headphones, Speaker.
Provides ability to Increase or Decrease Volume beyond Default Limits.
Support for Controlling Volumes separately for left and right Headphones.
Dts sound support
Negative values works too
Display
Kcal Colour control v2
Uses custom colour profile by default for better screen vibrancy, colour reproduction (Enhanced by me)
Support for Glove Mode
Various Optimizations
MISC
Latest Linux Base 3.10.108
Based on latest sources.
Compiled with Uber 7.2.1 Optimized ToolChain
O3 and Graphite Optimizations
Support for FRandom RNG Driver (upto 50x faster than the default one).
Support for various Wake-Up Gestures including DT2W.
State Notifer support (faster and better)
Nvidia power optimizations
Varoius tweaks for better network speed
Support for Dynamic Fsync
Various Optimiztaions For Cpu and GPU
F2FS and exFAT Support
Kexec Hardboot
Support for Load Shifter Mechanism.
Various Tweaks for better battery+performance.
Supports Every MM and N roms
Added LCD notifier
Added Quick Wakeup driver
Exclusive Kernel Adiutor for configuring
This are the features which I Remember many features are omitted due to word limit
I have tried my level best to make my kernel as best as possible. From minor tweaks to major improvements, everything is done.
Installation Instructions
Boot into recovery (twrp recommended)
Wipe cache and dalvik cache
Flash AR_Beast™-Kernel Rxx.zip
Reboot to system
Done
XDA:DevDB Information
*AR_Beast* Kernel, Kernel for the YU Yureka
Contributors
Ayush Rathore
Source Code: https://github.com/AyushR1/AR_Beast-Tomato
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 9
Stable Release Date: 2018-01-29
Created 2018-01-29
Last Updated 2018-01-29
DOWNLOAD
R9 - Oreo(8.0/8.1) - https://www.androidfilehost.com/?fid=818070582850488842
Kernel-Adiutor-Mod - https://forum.xda-developers.com/android/apps-games/kernel-adiutor-mod-v6-t3740249
Telegram Group :- https://t.me/joinchat/AAAAAEEtgBFuVYjNE2yRbA
NOTES
1. Use AR_Beast Adiutor to apply settings(prebuilt in kernel zip)
2. Always turn on Apply on Boot and set Delay to 10 seconds or more
3. Always turn on Emulate Init.d option in Kernel Adiutor.
4. If you are facing WiFi/Hotspot issue then check whether your system partition has atleast 20mb free then reflash kernel or Extract wlan.ko from the .zip of kernel (located under system/lib/modules/) and place it in root/system/lib/modules/ overwriting the one already present there. Then, set the permission of the file to rw-r-r and reboot the phone. Use ES File Manager with Root Permission to do this.
5. Facing splashloops(loops on yo logo) then clean flash your rom or wipe data/cache/dalvik-cache
6. Don't use any hotplug along with core control or quad core mode if you wanna use hotplug then disable corecontrol and quad core mode. You can use Core control along with quad core mode.
PRO Sir!!
Thanks for Oreo Support Bro.,
Can we use it for nougat also ?
Will R9 version Support Nougat?
Please reply me. If not which ROM is preferrable to install? Suggest me.
Has anyone tested if this kernel works fluently with NitrogenOS 8.1 ROM ? Please do confirm as this kernel looks so tempting.
The kernel Adiutor mod is broken. Can u give another link.
da_gamer_pk said:
has anyone tested if this kernel works fluently with nitrogenos 8.1 rom ? Please do confirm as this kernel looks so tempting.
Click to expand...
Click to collapse
bro i am using this rom with my nitrogen os shekhawat 20180208 , it works super fine on nitrogen, trust me u can go with this kernel, everything is working fast and smooth
Wlan.co file is missing from the directory you mentioned. Where can I get that file? My wifi/hotspot does not work. Other than this this kernel works perfectly with nitrogen os 8.1.
thanks .. need the link for auditor mod ?
Ayush Rathore said:
NOTES
1. Use AR_Beast Adiutor to apply settings(prebuilt in kernel zip)
2. Always turn on Apply on Boot and set Delay to 10 seconds or more
3. Always turn on Emulate Init.d option in Kernel Adiutor.
4. If you are facing WiFi/Hotspot issue then check whether your system partition has atleast 20mb free then reflash kernel or Extract wlan.ko from the .zip of kernel (located under system/lib/modules/) and place it in root/system/lib/modules/ overwriting the one already present there. Then, set the permission of the file to rw-r-r and reboot the phone. Use ES File Manager with Root Permission to do this.
5. Facing splashloops(loops on yo logo) then clean flash your rom or wipe data/cache/dalvik-cache
6. Don't use any hotplug along with core control or quad core mode if you wanna use hotplug then disable corecontrol and quad core mode. You can use Core control along with quad core mode.
Click to expand...
Click to collapse
hi bro, thanks .. need the kernel auditor link, i guess its not in the build , or please tell how to use it
Kernel auditor link not working.
Please provide a new one.
praveen139 said:
Can we use it for nougat also ?
Click to expand...
Click to collapse
Yes its working perfectly in Lineage 14.1 and pubg works without lag issue
---------- Post added at 11:11 AM ---------- Previous post was at 11:06 AM ----------
jaydeep darandale said:
Wlan.co file is missing from the directory you mentioned. Where can I get that file? My wifi/hotspot does not work. Other than this this kernel works perfectly with nitrogen os 8.1.
Click to expand...
Click to collapse
get that wlan.ko from another kernel for you yureka and paste inside the kernel in module folder use zarchiver
Hariprasad01 said:
Yes its working perfectly in Lineage 14.1 and pubg works without lag issue
---------- Post added at 11:11 AM ---------- Previous post was at 11:06 AM ----------
get that wlan.ko from another kernel for you yureka and paste inside the kernel in module folder use zarchiver
Click to expand...
Click to collapse
Ive tried my level best to replace and even re compress the "wlan.ko" but nothing is working for me...
cannot open the wifi and hotspot shows error.. what can i do.. please help.. even tried re-flashing everything..
Wifi and hotspot not working.!!
This feels to be the best and the smoothest kernel that I've used till date, but the wifi and hotspot is not working. No matter what i do, even tried wlan.ko file from another kernel still its not working please help. I am using RR os and even on clean flash it is not working. Please help...
Could anybody please answer my question!!!
Shreyas Parashar said:
This feels to be the best and the smoothest kernel that I've used till date, but the wifi and hotspot is not working. No matter what i do, even tried wlan.ko file from another kernel still its not working please help. I am using RR os and even on clean flash it is not working. Please help...
Click to expand...
Click to collapse
I seriously am waiting for my reply,, please help me with the wifi fix!!!
Kernel is discontinued.
A second more
Ayush Rathore said:
Kernel is discontinued.
Click to expand...
Click to collapse
Can u just help me withthe way to wifi fix.?
help me with building of this kernel with my battery 4000maH
Ayush Rathore said:
Kernel is discontinued.
Click to expand...
Click to collapse
i am trying to build kernel from your source, (in ubuntu c9.io cloud )
but i get failed with errors, using tomato-nougat brach and GCC-prebuilt-8 toolchain
i think your build.sh contains many different command for ubuntu to understand ! isn't ?
help
Kirisakura-Kernel for the Pixel 3 and Pixel 3 XL
Hello everyone,
To keep it short: Here is Kirisakura - Kernel for the Pixel 3 aka Blueline and the Pixel 3 XL aka Crosshatch, together Bluecross.
I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones.
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
This project aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security and performance, while keeping stability as the focus during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
If reading about upstream in the paragraph above got you curious,have a read about Linux-Stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.
Quick explanation of CAF-Upstream. CAF is short for Codeaurora-Forums. This is the place where development from Qualcomm for their SoCs happens. This includes the Snapdragon 845 that´s built into Pixel 3 and Pixel 3 XL.
The kernel-bases available on the Codeaurora-Forums, are basically the foundations OEMs use, to build their own kernel additions on top for devices featuring Qualcomm SoCs.
The Qualcomm developers push regular updates to the bases of the different SoCs, a bit similar to how Linux-Upstream works. OEMs usually stop updating the initial base after the phone is released.
This kernel focuses amongst the other features to provide the latest CAF-Updates merged in a regular manner, to provide updates, improvements and enhancements for SoC specific drivers and subsystems! This might take a while, because a lot of device specific testing is done on my end to ensure stability.
The EAS implementation is heavily updated with changes from CAF, kernel/common and other improvements.
To have a read about our scheduler, which is called EAS, take a look here:
https://developer.arm.com/open-source/energy-aware-scheduling
Main Features:
- Based on latest kernel sources from Google, Kernel is made for Android 12 (Android S)!
- Linux-Stable-Upstream included to latest 4.9.317
- compiled with prebuilt Clang 13.0.1 from Google and built with -O3 optimizations
- ZRAM patched up to latest kernel/common state and use ZSTD LZ4 as default compression algorithm to improve memory managment (more info see this post regarding the earlier switch to ZSTD) and this post regarding the switch back to LZ4
- fixes the magisk freezes caused by f2fs-stable
- Safety Net patches are included -> Kernel passes Safety Net
- Wake Gestures from @flar2 included
- Flashing the kernel will keep root!
- Tested to work on custom ROMs
- Flashable via EXKM and FKM on a rooted system!
- AnyKernel3 powered by @osm0sis (big thanks!)
EAS related features:
- EAS implementation patched up to latest CAF state
- Schedutil is patched up with kernel/common and CAF patches to improve performance and efficiency!
- Memory Leaks inside EAS are fixed
- disable autogroups and use cgroups for more efficient task placement!
- Enable sched_min_task_util_for_boost_colocation feature from CAF
CPU related features:
- Power saving workingqueues enabled by default (toggleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to user power efficient workingqueues. This should work well in conjunction with EAS
- improved Schedutil governor
- Add hold functionality to schedtune CPU boost
- WQ_HIGHPRI for the IO and crypt workqueues (replaces googles approach with a better upstream one)
- cpufreq/times vastly improved
File System related features:
- Include rapid GC by @arter97 ( best thing is to read the commit description linked here. I compared GC on stock google f2fs, upstreamed f2fs and f2fs with rapid GC. Rapid GC is the most effective, followed by upstreamed f2fs.)
- Set the bio REQ_NOENCRYPT flag (When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it helps the I/O stack avoid redundant encryption, improving performance and power utilization. )
Usability related features:
- High Brightness Mode for increasing backlight level related to brightness accessible via EXKM app
- High Brightness Mode for just boosting display to max level accessible via EXKM app
- Vibration Intensity adjustable via EXKM app
- Backlight dimmer functionality included (adjustable via EXKM App)
GPU related features:
- KCAL to control the display
- KLAPSE integrated
- KCAL/KLAPSE: changes safety measures -> allow completely disabling two RGB values (this was requested to, for example, only have red values on night dimming)
- Enabled NAP power saving state of Adreno 630
- improve GPU profiling for improved rendering performance (1,2 , 3 )
- Update GPU driver to latest CAF state
Network related features:
- Wireguard Support (Details)
Memory related features:
- Enable Userspace LMK/freak07/Kirisakura_bluecross/commit/aac453635549699c13a84ea1456d5b0e574ef855"]2[/URL])
- Patch up kernel LMK backend (PSI) with kernel common upstream
- ZRAM patched up to latest kernel/common state and ZSTD LZ4 as default algorithm. (information can be found in this post regarding the switch to ZSTD, which is now reverted) and this post regarding the switch back to LZ4
- possibility to use lzo-rle as default ZRAM compression algorithm (more information here and there )
- possibility to use zstd as default ZRAM compression algorithm!
- Speculative Page Faults (1. 2)
- Fix various memory leaks in different subsystems
- Reap memory of a task that receives sigkill
- various other changes from mainline
Sound related features:
- Adjust microphone gain via sound control in EXKM
- Adjust speaker gain via sound control in EXKM
Security related features:
- CFI and LTO both kept intact and are used to keep additional security Google implemented for us!
- Shadow Call Stack
- built with latest clang found on google repo
Misc Features:
IO-Schedulers:
- cfq
- maple
- deadline
- noop
- tripndroid
- fiops
TCP Congestion Algorithms:
- advanced algorithms enabled
- includes new bbr and sociopath tcps
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read this for further info
Other features:
- enable some additional Sony and XBox controllers
- add support for steam and nintendo switch controller
- patches to loop device, xfrm and usb gagdet
- disable logging to make the kernel more lightweight in various places
- add support so you can enable faster charging for non pixel wireless charging stands (use at your own risk, disabled by default, how to enable here)
Feature section for the "non visible" but perceptible improvements:
- updated binder section (responsible for interprocess communication)
- updated sdcardfs ; have a read about it here:
Requirements
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
How to flash the Kernel:
1. Download the kernel.zip to your device. Make sure your device is rooted properly, with the magisk version suiting your current firmware version.
1a. Optional: While it may not be necessary all times, you may want to restore stock boot.img, reroot with magisk and optionally install twrp.zip if coming from another kernel. Before reporting issues make sure you do that! Thank you!
2. Flash the kernel.zip via either a kernel manager app capable of flashing kernels or TWRP if available. Make sure whatever method/app you decide to use, supports your current Android Firmware. Apps/Recoveries need to be possibly updated for firmware updates!
It´s your job to ensure compatability.
Flashing the kernel will preserve root.
3. Reboot and profit! Before reporting any issues make sure to read the Release-Post of Bluecross_Q_Release_1.0.0!
DOWNLOAD:
Download is located in these respective folders:
Android 9:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Android 10/11:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Android 12:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 9 / Pie Kernels
1.0.0 Initial Release
1.5.0 https://forum.xda-developers.com/showpost.php?p=78151322&postcount=81
1.5.1 https://forum.xda-developers.com/showpost.php?p=78154423&postcount=112
1.7.0 https://forum.xda-developers.com/showpost.php?p=78196945&postcount=190
1.7.1 https://forum.xda-developers.com/showpost.php?p=78220526&postcount=227
1.7.2 https://forum.xda-developers.com/showpost.php?p=78221906&postcount=228
1.8.0 https://forum.xda-developers.com/showpost.php?p=78249473&postcount=267
1.8.1 https://forum.xda-developers.com/showpost.php?p=78280355&postcount=285
1.8.2 https://forum.xda-developers.com/showpost.php?p=78316038&postcount=345
1.8.3 https://forum.xda-developers.com/showpost.php?p=78330435&postcount=389
1.8.4 https://forum.xda-developers.com/showpost.php?p=78364541&postcount=451
1.8.5 https://forum.xda-developers.com/showpost.php?p=78377334&postcount=481
1.8.6 https://forum.xda-developers.com/showpost.php?p=78396058&postcount=538
1.8.7 https://forum.xda-developers.com/showpost.php?p=78420137&postcount=591
1.8.8 https://forum.xda-developers.com/showpost.php?p=78449511&postcount=621
1.8.9 https://forum.xda-developers.com/showpost.php?p=78496196&postcount=654
1.9.0 https://forum.xda-developers.com/showpost.php?p=78564181&postcount=701
1.9.1 https://forum.xda-developers.com/showpost.php?p=78637123&postcount=758
1.9.2 https://forum.xda-developers.com/showpost.php?p=78672005&postcount=775
Milestone 2.0.0 https://forum.xda-developers.com/showpost.php?p=78689028&postcount=782
2.0.2 https://forum.xda-developers.com/showpost.php?p=78761004&postcount=853
2.0.3 https://forum.xda-developers.com/showpost.php?p=78767857&postcount=867
2.0.4 https://forum.xda-developers.com/showpost.php?p=78805387&postcount=896
2.0.5 https://forum.xda-developers.com/showpost.php?p=78838240&postcount=928
2.0.6 https://forum.xda-developers.com/showpost.php?p=78840488&postcount=936
2.0.7 https://forum.xda-developers.com/showpost.php?p=78851682&postcount=953
2.0.8 https://forum.xda-developers.com/showpost.php?p=78898745&postcount=981
2.0.9 https://forum.xda-developers.com/showpost.php?p=78913421&postcount=991
2.0.10 https://forum.xda-developers.com/showpost.php?p=78950068&postcount=1007
2.0.11 https://forum.xda-developers.com/showpost.php?p=78975193&postcount=1025
2.0.12 https://forum.xda-developers.com/showpost.php?p=79009799&postcount=1041
2.0.13 https://forum.xda-developers.com/showpost.php?p=79043694&postcount=1067
2.0.14 https://forum.xda-developers.com/showpost.php?p=79050238&postcount=1103
2.1.0 https://forum.xda-developers.com/showpost.php?p=79136483&postcount=1182
2.1.1 https://forum.xda-developers.com/showpost.php?p=79159209&postcount=1221
2.1.2 https://forum.xda-developers.com/showpost.php?p=79190516&postcount=1261
2.1.3 https://forum.xda-developers.com/showpost.php?p=79214430&postcount=1279
2.2.0 https://forum.xda-developers.com/showpost.php?p=79291045&postcount=1372
2.2.1 https://forum.xda-developers.com/showpost.php?p=79332619&postcount=1452
2.2.2 https://forum.xda-developers.com/showpost.php?p=79425173&postcount=1531
2.3.0 https://forum.xda-developers.com/showpost.php?p=79463560&postcount=1569
2.4.0 + 2.4.1 https://forum.xda-developers.com/showpost.php?p=79505198&postcount=1623
3.0.0 https://forum.xda-developers.com/showpost.php?p=79533358&postcount=1641
3.1.0 https://forum.xda-developers.com/showpost.php?p=79570912&postcount=1685
3.1.1 https://forum.xda-developers.com/showpost.php?p=79575209&postcount=1698
3.1.2 https://forum.xda-developers.com/showpost.php?p=79578541&postcount=1722
3.1.3 https://forum.xda-developers.com/showpost.php?p=79612212&postcount=1743
3.2.0 https://forum.xda-developers.com/showpost.php?p=79658098&postcount=1774
3.3.0 https://forum.xda-developers.com/showpost.php?p=79696166&postcount=1807
3.3.1 https://forum.xda-developers.com/showpost.php?p=79736674&postcount=1829
3.3.4 https://forum.xda-developers.com/showpost.php?p=79791144&postcount=1857
3.4.0 https://forum.xda-developers.com/showpost.php?p=79919877&postcount=1929
3.4.5 https://forum.xda-developers.com/showpost.php?p=80023518&postcount=2064
Legacy Downloads for Pie Kernels: https://www.androidfilehost.com/?w=files&flid=285183
Android 10/ Q Kernels
1.0.0 https://forum.xda-developers.com/showpost.php?p=80269185&postcount=2132
1.1.3 https://forum.xda-developers.com/showpost.php?p=80324259&postcount=2199
1.2.0 https://forum.xda-developers.com/showpost.php?p=80533347&postcount=2291
1.2.2 https://forum.xda-developers.com/showpost.php?p=80809357&postcount=2325
1.3.0 https://forum.xda-developers.com/showpost.php?p=81115229&postcount=2451
1.4.0 https://forum.xda-developers.com/showpost.php?p=81418351&postcount=2519
1.4.1 https://forum.xda-developers.com/showpost.php?p=81421719&postcount=2529
1.5.0 https://forum.xda-developers.com/showpost.php?p=81684289&postcount=2582
1.5.1 https://forum.xda-developers.com/showpost.php?p=81947785&postcount=2607
1.5.2 https://forum.xda-developers.com/showpost.php?p=82213193&postcount=2635
1.5.3 https://forum.xda-developers.com/showpost.php?p=82484463&postcount=2642
1.5.4 https://forum.xda-developers.com/showpost.php?p=82742517&postcount=2688
1.5.5 https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84424203
Android 11
2.0.0_R https://forum.xda-developers.com/showpost.php?p=83554503&postcount=2753
2.1.0_R https://forum.xda-developers.com/showpost.php?p=83649655&postcount=2808
3.0.2_R https://forum.xda-developers.com/showpost.php?p=84007163&postcount=2906
3.0.4_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84230135
3.0.5_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84605183
3.0.6_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84812093
3.0.7_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-84975703
3.0.8_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85166867
3.0.9_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85298651
3.1.0_R https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85432093
Android 12
4.0.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-85808391
4.1.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-86249089
5.0.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-86413291
5.1.0_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-86541411
5.1.1_S https://forum.xda-developers.com/t/...ixel-3-xl-aka-bluecross.3864563/post-87007931
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee
If you like my work: http://paypal.me/freak07
Credits:
@osm0sis for all his work, including the ak3 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@topjohnwu for magisk!
@Sultanxda for all of his work!
Contributors
Freak07
Source Code: https://github.com/freak07/Kirisakura_bluecross/
FAQ
Important: What to do if you face issues on Android 10/Q
You might face issues on Android 10 like non working sensors, edge sense not working properly or similar things.
Here´s a thread that has more info about it: https://forum.xda-developers.com/pixel-3-xl/how-to/android-10-sensors-bug-t3964904
This also caused seemingly in a random fashion issues with magisk modules not unpacking properly when you flash them via magisk manager.
I recommend everybody who faces symptoms of random issues, which they cannot explain, to completely nuke their device and flash a factory image with -w intact, as to complete set up the device from scratch.
This will wipe your whole phone, so backup videos, photos, music, apps and other stuff you don´t want to lose!
@jcmm11 and me were hunting this magisk bug for a week and it turned out it´s connected to the above mentioned issue, although it gets more prominent by the latest CAF - EAS changes, which are merged in my kernel. Probably due to the way tasks get handled a bit differently.
Please everybody keep this in mind, before reporting back.
Question: Upon flashing the kernel zip I got a message that there is an error with ramdisk. What to do?
Answer:
Procedure to fix the ramdisk issue:
The ramdisk error is now fixed. Please take a look at this post from @osm0sis for more information:
Big thanks to @osm0sis and @topjohnwu for everything at this point here! And everyone else that helped in the process!
Important:
What do you have to do to get finally rid of the ramdisk error?
1. Flash back a stock clean boot.img either for stock rom or the custom rom you´re on. (not a backup from some time ago, a clean stock boot.img)
Link to stock boot.img from Google´s december factory image for convenience
2. REDOWNLOAD(!) either magisk 18.0 or the latest canary directly from magisk manager and delete all old magisk zips on your device. (this is really important!)
3. Optional: Reinstall twrp.zip if you want to.
4. Flash the redownloaded magisk zip in TWRP
5. Flash my kernel either via TWRP, EXKM App or FKM App
6. Profit
Question: Is root preserved when flashing this kernel?
Answer: My kernel.zip keeps a device rooted by magisk rooted.
Question: How to report bugs properly?
Answer: Have a look at post #3 in this thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re not using any mods, magisk modules, scripts or other modifications that alter various functions like sound mods etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.
If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a ramoops file.
Easiest way is immediately after booting up, with a root explorer navigate to sys/fs/pstore. Copy the contents to your internal storage, zip it up and send it to me.
If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
To easily get a logcat in case of a crash take a look at this post:
https://forum.xda-developers.com/showpost.php?p=79462002&postcount=1566
Big thanks to @jcmm11 for it
Here´s a tasker task to automatically copy /sys/fs/pstore on each boot to internal storage. Be advised these files get also created on correct reboots.
https://forum.xda-developers.com/showpost.php?p=79549126&postcount=1670
thanks @jsauder2 for this little trick
Useful Resources
How to report bugs:
It is incredibly useful if bug reports are done in a proper way. That saves everyones time and will ultimately lead to a faster bugfix (hopefully).
The following guide from @nathanchance is a very good guideline on how to properly report a bug!
https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
Gonna give this a go now. Thanks!
Sweet, thank you sir!
Sent from my Pixel 3 XL using Tapatalk
fsync toggle?
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
frewys said:
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
Click to expand...
Click to collapse
Working on mine
RE: " - Flashing the kernel will keep root ! "
Who had done the steps and ( then the pixel ) lived to see to see another happy day ?
( assuming magisk ( root ) is installed and and has been happy for days... )
turn security pin off, fastboot twrp_323 image, twrp the kernel zip, twrp the twrp_323 zip, reboot back into twrp, wipe the cache to see that the finger presses workie, boot to system, re-verify root is okay, buy the man a beer...
May I ask if you could add zram zstd from Pixel 2 XL ? It is a BIG improvement for ram management.
Gesendet von meinem Pixel 3 XL mit Tapatalk
frewys said:
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
Click to expand...
Click to collapse
Kernel is unified, the main difference is the display driver (ftm5 vs sec_touch)
virtyx said:
fsync toggle?
Click to expand...
Click to collapse
I can include it, but I recommend to leave it on. I know several people that suffered from corruption when something unexpected happened and their device shutting down.
I´ll include the toggle but leave fsync on by default, just like the wakelock blocker.
frewys said:
How much do the 3 and xl differ on kernel level?
Would this flash and work on the 3?
Click to expand...
Click to collapse
Chronzy said:
Working on mine
Click to expand...
Click to collapse
thanks for chiming in @frewys
also thanks for confirming it works on the regular pixel 3 too @Chronzy
old_fart said:
RE: " - Flashing the kernel will keep root ! "
Who had done the steps and ( then the pixel ) lived to see to see another happy day ?
( assuming magisk ( root ) is installed and and has been happy for days... )
turn security pin off, fastboot twrp_323 image, twrp the kernel zip, twrp the twrp_323 zip, reboot back into twrp, wipe the cache to see that the finger presses workie, boot to system, re-verify root is okay, buy the man a beer...
Click to expand...
Click to collapse
yeah it works I tested it.
In theory you can flash the kernel "on the go" without a computer and keep root via franco kernel manager. which is pretty handy.
although I only recommend to tinker with pixel phones when a computer is nearby and available. :good:
Komodoketavaran said:
May I ask if you could add zram zstd from Pixel 2 XL ? It is a BIG improvement for ram management.
Gesendet von meinem Pixel 3 XL mit Tapatalk
Click to expand...
Click to collapse
yes that´s one of the things I definitely wanted to try in the nearby future. it was my kernel that firstly introduced it on the pixel 2 xl but memory managment on my unit is not as bad as I saw in some reviews/videos.
Additionally I think the underlying cause, when Pixel 3 cannot hold more than 3 apps in background is a bit different than pixel 2 xl "just having 4gb of ram".
But I´m sure there is room for improvement. Just wanted to use the phone as it is to get a baseline of how it works before I start modifying all sort of stuff.
Freak07 said:
I can include it, but I recommend to leave it on. I know several people that suffered from corruption when something unexpected happened and their device shutting down.
I´ll include the toggle but leave fsync on by default, just like the wakelock blocker.
Click to expand...
Click to collapse
Thank you that'd be great
Freak07 said:
yeah it works I tested it.
In theory you can flash the kernel "on the go" without a computer and keep root via franco kernel manager. which is pretty handy.
although I only recommend to tinker with pixel phones when a computer is nearby and available. :good:
Click to expand...
Click to collapse
Can confirm it's working. I flashed with FK Kernel Manager. Root still intact, Magisk and all still installed.
Worked for me to flash try exkm
Root remainder. Was hoping the kernel would fix an issue with magisk not passing safety net whenever hit the check safety net. It asks me to download. I hit yes and then it fails immediately was like this on stock as well
That would be great. It is very bad on my unit.
On my P2XL there are nearly no redraws with your kernel
Freak07 said:
yes that´s one of the things I definitely wanted to try in the nearby future. it was my kernel that firstly introduced it on the pixel 2 xl but memory managment on my unit is not as bad as I saw in some reviews/videos.
Additionally I think the underlying cause, when Pixel 3 cannot hold more than 3 apps in background is a bit different than pixel 2 xl "just having 4gb of ram".
But I´m sure there is room for improvement. Just wanted to use the phone as it is to get a baseline of how it works before I start modifying all sort of stuff.
Click to expand...
Click to collapse
Gesendet von meinem Pixel 3 XL mit Tapatalk
old_fart said:
RE: " - Flashing the kernel will keep root ! "
Who had done the steps and ( then the pixel ) lived to see to see another happy day ?
( assuming magisk ( root ) is installed and and has been happy for days... )
turn security pin off, fastboot twrp_323 image, twrp the kernel zip, twrp the twrp_323 zip, reboot back into twrp, wipe the cache to see that the finger presses workie, boot to system, re-verify root is okay, buy the man a beer...
Click to expand...
Click to collapse
When I followed those steps my phone would only boot straight to twrp with no touch. Had to flash factory boot.img to get it back.
Dragonfly Kernel v1.5 for the LG G8 Korean / US
Introduce
First of all, I'd like to thank Metaphysics team for giving the first custom kernel of G8 USA. Unfortunately I'm using G8 - Korean and they haven't released version for the Korean variant yet. I had to learn how to build a kernel for myself based on their kernel source. However, I want to learn more so I decided to compile the kernel from LGE open source. Now, my kernel is quite stable to be released and shared to the G8 community. You can call it the Dragonfly kernel.
Main Features:
- Based on LGE open source LMG820N_Android_Q_v20r: http://opensource.lge.com/osSch/list?types=NAME&search=g820n
- Linux-Stable-Upstream included to latest 4.14.205
- Next-Gen CAF-Tag LA.UM.8.11.r1-02600-NICOBAR.0 merged
- Regular CAF-Tag for SD855 merged LA.UM.8.1.r1-16200-sm8150.0
- Compiled by ProtonClang 12.0.0 with -O3 speed optimizations
- No VLAs
- Magisk included
- F2FS support
EAS related features:
- EAS implementation patched up to latest CAF state
- Disable autogroups and use cgroups for more efficient task placement
- CPU input boost
File System related features:
- Include rapid GC by @arter97
Network related features:
- Wireguard Support (Details)
- Add new TCP congestion algorithm: BBR2, agilesd
Memory related features:
- Include zstd
Wakelock Blocker:
- Add Boeffla Wakelock Blocker v1.1.0
- The most common and safe wakelocks are blocked by default: qcom_rx_wakelock;wlan;wlan_wow_wl;wlan_extscan_wl;netmgr_wl;NETLINK
How to flash the Kernel:
- You can flash the kernel zip file via TWRP or Magisk
- You can also extract the new_boot.img to flash it via fastboot mode
Known bugs:
- You tell me
DOWNLOAD:
Download is located always in
https://github.com/anht3889/LGE_G820_Kernel_Caf/releases
Important: Read after Download
Be sure to turn off Secure start-up before flash this kernel
Credits:
- Metaphysics kernel team: https://github.com/KamioRinn/Metaphysics_LGE_G820_Kernel
- SGCMarkus for his guide of building kernel and TWRP
- Erick G for bringing new TWRP to G8 which supports F2FS
- Jean Carlos Bencosme for adding / picking kernel features
- Kirisakura for his great kernels
- Sultanxda for his simple_lmk
- LGE for the kernel open source
- All other great kernel devs
Contributors
quantan
Source Code: https://github.com/anht3889/LGE_G820_Kernel_Caf
XDA:DevDB Information
Dragonfly, Kernel for the LG G8
Contributors
quantan
Kernel Special Features:
Version Information
Status: Stable
Created 2020-09-16
Last Updated 2020-11-14
Previous versions, e.g. v1.4, don't work with the new TWRP 3.4. Therefore, I use Anykernel from v1.5. I recommend you follow the steps below:
1. Install magisk patched stock boot.img
2. Install new TWRP 3.4 from Magisk Manager
3. Reboot to TWRP
4. Install Magisk and reboot to TWRP
5. Install Disable Verity zip file and reboot to TWRP
6. Install my kernel Dragonfly v1.5
For newer version, i.e. v1.6, you don't need to repeat all steps above. You just want to flash thew newest Dragonfly.
And good news to you guys, TWRP 3.4 supports F2FS so I decided to enable F2FS support in my kernel as well. To make F2FS, please follow these steps:
1. Install my kernel v1.5
2 .Reboot to TWRP 3.4
3. Change file system of /data to F2FS
4. Replace the attached modified fstab to support F2FS of /data
5. Reboot
Note: You will lose your data.
In case you don't know:
- TWRP-3.4.0.0-G820N.zip and fstab.alphaplus for G8 Korean
- TWRP-3.4.0.0-G820UM.zip and fstab.alphalm for G8 US
Give credits to Erick G and @SGCMarkus for bringing TWRP to our phones.
Changelog:
v1.5:
- Fix touch issues for TWRP
- Add Kcal
- Add KLapse v5.0
- Update to 4.14.205
- Update lze and add lzo-lre for Zram
- Use Anykernel
v1.4:
- Import LGE v20r open source changes
- Upstream to linux-stable v4.14.203
- Upstream CAF LA.UM.8.1.r1-16200-sm8150.0
- Fix audio and OK Google hot word issues
- Improve schedutil
- Power saving workingqueues enabled by default
- Change various drivers ( MM, audio) to user power efficient workingqueues. Thanks to @Freak07 's commits
- Update sdcardfs
v1.3:
- Merge tag 'LA.UM.8.11.r1-04300-NICOBAR.0'
- Add ntfs and exfat support
v1.1 - v1.2 - Intial kernel
Good work ...mostly. Huge showstopper is the missing support for exfat/ntfs with sdcard. With USB exfat is working. Only fat32 formatted sdcards are working. But this is a nogo with files > 4GB
tron1 said:
Good work ...mostly. Huge showstopper is the missing support for exfat/ntfs with sdcard. With USB exfat is working. Only fat32 formatted sdcards are working. But this is a nogo with files > 4GB
Click to expand...
Click to collapse
Thank your for pointing it out. I just add exfat and ntfs support to v1.3. Enjoy it
tron1 said:
Good work ...mostly. Huge showstopper is the missing support for exfat/ntfs with sdcard. With USB exfat is working. Only fat32 formatted sdcards are working. But this is a nogo with files > 4GB
Click to expand...
Click to collapse
Which exact Model do you use? Is there a specific german Model nesessary?
Deutschmann said:
Which exact Model do you use? Is there a specific german Model nesessary?
Click to expand...
Click to collapse
It doesn't work on any LG g8s models...
@quantan Could you make it compatible with LG G8s models? LM-G810 is the model code
Hi Guys. The new v1.4 is just released. I have been quite busy due to family and work stuff. Here is the changelog:
- Import LGE v20r open source changes
- Upstream to linux-stable v4.14.203
- Upstream CAF LA.UM.8.1.r1-16200-sm8150.0
- Fix audio and OK Google hot word issues
- Improve schedutil
- Power saving workingqueues enabled by default
- Change various drivers ( MM, audio) to user power efficient workingqueues. Thanks to @Freak07 's commits
- Update sdcardfs
Eduxki said:
@quantan Could you make it compatible with LG G8s models? LM-G810 is the model code
Click to expand...
Click to collapse
I'll check if I can make a version for LG G8s tomorrow. However, I can't guarantee that it will work for G8s or not since I don't have that phone. @Eduxki Give me your model, e.g. LMG810EA, and your operator / country as well. Is Android 10 available for your phone now since this kernel is for Android 10
quantan said:
Hi Guys. The new v1.4 is just released. I have been quite busy due to family and work stuff. Here is the changelog:
- Import LGE v20r open source changes
-...
Click to expand...
Click to collapse
thanks for your hard work! i just installed it on my G820N with latest 20s-fw... seems to be working fine so far.
PS: installed it via TWRP, and had twrp re-inject itself into the boot-img afterwards again.... => would be nice if your prepared installer zip-file would not just include magisk, but also twrp (just as a safety-measure to not loose twrp when installing your kernel.
PPS: after your src rebase/update to that 20r kernel source drop, "dragonfly" is working with my 20s-fw image again!! your previous version with only 20a kernel src only worked until 20m (march sec-patch) firmware, neither 20o nor 20s could run stable on that 20a-kernel. gui hung, apps didn't respond etc... thankful that 20s-fw finally runs stable so far on those 20r-kernel updated version.
kimba99 said:
thanks for your hard work! i just installed it on my G820N with latest 20s-fw... seems to be working fine so far.
PS: installed it via TWRP, and had twrp re-inject itself into the boot-img afterwards again.... => would be nice if your prepared installer zip-file would not just include magisk, but also twrp (just as a safety-measure to not loose twrp when installing your kernel.
PPS: after your src rebase/update to that 20r kernel source drop, "dragonfly" is working with my 20s-fw image again!! your previous version with only 20a kernel src only worked until 20m (march sec-patch) firmware, neither 20o nor 20s could run stable on that 20a-kernel. gui hung, apps didn't respond etc... thankful that 20s-fw finally runs stable so far on those 20r-kernel updated version.
Click to expand...
Click to collapse
Thank you for your feedback. Actually in Dragonfly v1.3 I did lots of changes to schedultil based on Pixel 4 XL kernel. However it didn't work well. Sorry about that. In the v1.4, I revert the changes and make other improvement to schedutil gov.
I'll look into the TWRP injection and hopefully it will be available in v1.5 or 1.6. Any other features you guys want, please let me know.
quantan said:
Thank you for your feedback. Actually in Dragonfly v1.3 I did lots of changes to schedultil based on Pixel 4 XL kernel. However it didn't work well. Sorry about that. In the v1.4, I revert the changes and make other improvement to schedutil gov.
I'll look into the TWRP injection and hopefully it will be available in v1.5 or 1.6. Any other features you guys want, please let me know.
Click to expand...
Click to collapse
as for TWRP integration: keep in mind that there are also separate versions for INTL vs KOR edition of TWRP, just like with the kernel itself!
further ideas? :cyclops: ... fix touchscreen in recovery => code fixes already exist, check here:
https://github.com/ErickG233/LMV500-sm8150_kernel/commit/1b5b93d72ec87054ef2d80c8d955dcdaa40d4332
if i come up with additional ideas i'll let u know.
PS: it's been a while since i last modded/hacked/upgraded android kernels :good:
PPS: maybe sth like the ooooold "crossbreeder" mod =>
https://github.com/f1vefour/CrossBreeder ... but i'm unsure if this is still relevant and or working on "10"... as the original code is rather... dated
Thank you for your efforts. Is there a GSI suitable for g820?
kimba99 said:
as for TWRP integration: keep in mind that there are also separate versions for INTL vs KOR edition of TWRP, just like with the kernel itself!
further ideas? :cyclops: ... fix touchscreen in recovery => code fixes already exist, check here:
https://github.com/ErickG233/LMV500-sm8150_kernel/commit/1b5b93d72ec87054ef2d80c8d955dcdaa40d4332
if i come up with additional ideas i'll let u know.
PS: it's been a while since i last modded/hacked/upgraded android kernels :good:
PPS: maybe sth like the ooooold "crossbreeder" mod =>
https://github.com/f1vefour/CrossBreeder ... but i'm unsure if this is still relevant and or working on "10"... as the original code is rather... dated
Click to expand...
Click to collapse
- The fix for touchscreen in recovery is added to my kernel.
- I currently have no idea about TWRP. I have ramdisk with TWRP but no magisk. Can you install TWRP and Magisk then export boot.img and give it me? I will extract ramdisk from it then integrate the ramdisk to my kernel.
lufan said:
Thank you for your efforts. Is there a GSI suitable for g820?
Click to expand...
Click to collapse
Havoc, Bliss, Lineageos GSI should be good.
quantan said:
- The fix for touchscreen in recovery is added to my kernel.
- I currently have no idea about TWRP. I have ramdisk with TWRP but no magisk. Can you install TWRP and Magisk then export boot.img and give it me? I will extract ramdisk from it then integrate the ramdisk to my kernel.
Havoc, Bliss, Lineageos GSI should be good.
Click to expand...
Click to collapse
It can be used, but it can't double-click the wake-up screen, the display after the screen is not turned off, and the vibration intensity is not adjustable. I backup the g820 boot through twrp, which contains magisk. I hope you can use it
https://drive.google.com/file/d/17I-m9QdmOzn7CXH3hOl-c04Jnvd7GC3P/view?usp=sharing
wrote you a PM quantan, with my backup stuff in it likewise.
cheers and best regards =)
lufan said:
It can be used, but it can't double-click the wake-up screen, the display after the screen is not turned off, and the vibration intensity is not adjustable. I backup the g820 boot through twrp, which contains magisk. I hope you can use it
https://drive.google.com/file/d/17I-m9QdmOzn7CXH3hOl-c04Jnvd7GC3P/view?usp=sharing
Click to expand...
Click to collapse
kimba99 said:
wrote you a PM quantan, with my backup stuff in it likewise.
cheers and best regards =)
Click to expand...
Click to collapse
Could you guys test the kernel v1.5 with TWRP to make sure it work. Thank you.
https://github.com/anht3889/LGE_G820_Kernel_Caf/releases/tag/v1.5-test
quantan said:
Could you guys test the kernel v1.5 with TWRP to make sure it work. Thank you.
https://github.com/anht3889/LGE_G820_Kernel_Caf/releases/tag/v1.5-test
Click to expand...
Click to collapse
I saw this link in TG channel. It has been tested. Twrp can't access it
@lufan Have you tried it. If not please try it to double check. The ramdisk from KR boot is working.