Hey there! Ayush Here!
INTRO
After a lot of hard work, I have a new custom kernel.
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
Latest Linux Base 3.18.101
Overclocked CPU to 2.354 GHz (for Beast Performance).{Modified and Enhanced by me)
Support for more Governers { Impulse, Chill,relaxed, interactive modifed}
System wide PowerEfficent Workqueue (for Beast Battery Backup).
CPU input 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.
Add Lazyplug (Modified for Beast Battery Backup)
Overclock GPU to 652MHz(for Beast Performance)
Support for Adreno Boost
Enabled ARCH_Power (for Beast Battery Backup)
New PowerSuspend algorithm (for Beast Battery Backup)
Support for preventing unnecessary WakeLocks (for Beast Battery Backup)
Fast Charge Drivers.
Relaxed thermal threshlods for faster charging.
Support for mic, earpiece gain
Kcal Colour control v2
Uses custom colour profile by default for better screen vibrancy, colour reproduction.
Compiled with Clang
O3 Optimizations
Software CRC toggle
State Notifier support.
Various tweaks for better network speed
Support for Dynamic Fsync
Various Optimiztaions For Cpu and GPU
Various Tweaks for better battery+performance.
Fixed Deep sleep issues
Added LCD notifier
Added Quick Wakeup driver
Power Optimization.
These are the features which I remember, Many features are omitted due to word limit.
Check git for more.
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.
Wipe cache and dalvik cache
Flash Kernel
Reboot to system
Done
Downloads
R6
TREBLE :- https://www.androidfilehost.com/?fid=818070582850502954
NON-TREBLE
new trees :- (For roms which didnt got treble right now)
https://www.androidfilehost.com/?fid=890129502657593208
old trees :- (For roms by Mahek and some nougat roms)
https://www.androidfilehost.com/?fid=818070582850502955
Newtrees :- for roms based on tree of @dd3boh eg. Lineage OS, Cosmic, Aosip, PE, Aex etc.
Old Trees :- for roms based on tree of @Mr.hacker5476 eg Omni, validus, du
Click to expand...
Click to collapse
Kernel-Adiutor-Mod :- https://androidfilehost.com/?fid=818070582850490285
XDA:DevDB Information
*AR_Beast* Kernel, Kernel for the Lenovo ZUK Z2 (Plus)
Contributors
Ayush Rathore, faizauthar12, @dd3boh and all the commiters in source.
Source Code: https://github.com/AyushR1
Kernel Special Features: Fixed Deep Sleep, Faster Charging, OTG Fixed, Sound Control
Version Information
Status: Stable
Current Stable Version: 6
Stable Release Date: 2018-03-23
Created 2018-01-14
Last Updated 2020-04-20
Nougat or Oreo?
Reserved for review..
sanketp60 said:
Nougat or Oreo?
Click to expand...
Click to collapse
Only for oreo
I'm using it from its beta stages
Which build to download for validus latest?
Ans:- Old tree..
Check the post for The new trees section!
It dosent describe old trees
is deep sleep working?
Is it Working on stock oreo rom?
Thank god! The screen didnt flipped
Why no Ofast?) For Beast kernel size:laugh:
Also, Arch power is only harmful for modern SOCs. I recommend you disabling it and removing toddler for it.
Just flashed it with Cosmic OS
Pretty stable
Go for it!!!
Star_king12 said:
Why no Ofast?) For Beast kernel size:laugh:
Star_king12 said:
Why no Ofast?) For Beast kernel size:laugh:.
Click to expand...
Click to collapse
LOL. Post was copied will make corrections,
Star_king12 said:
Also, Arch power is only harmful for modern SOCs. I recommend you disabling it and removing toddler for it.
Click to expand...
Click to collapse
Ok. Will see thanks for suggestions.
Click to expand...
Click to collapse
Star_king12 said:
Why no Ofast?) For Beast kernel size:laugh:
Also, Arch power is only harmful for modern SOCs. I recommend you disabling it and removing toddler for it.
Click to expand...
Click to collapse
You have some serious mind issues.?
Star_king12 said:
Why no Ofast?) For Beast kernel size:laugh:
Also, Arch power is only harmful for modern SOCs. I recommend you disabling it and removing toddler for it.
Click to expand...
Click to collapse
Deleted
Ahh i remember that time i was fascinated with a lots of feature inside the kernel
Good job buddy :good:
Really great work mate i have a question regarding oc the little clusters can it be increased to 2.19 ghz like SD821 i know its more to ask just askin cuz the oc in your kernel feel snappy no issues so far
Ayush Rathore said:
LOL. Post was copied will make corrections,
Ok. Will see thanks for suggestions.
Click to expand...
Click to collapse
Also, you can make a unified version. Put fstab from dd3-s device tree in ramdisk folder of kernel zip and it will be booting on both device trees. (Worked for me, at least)
faizauthar12 said:
Ahh i remember that time i was fascinated with a lots of feature inside the kernel
Good job buddy :good:
Click to expand...
Click to collapse
Thanks buddy. Kernel based on your and @DD3Boh hardwork only.
Aka9413 said:
Really great work mate i have a question regarding oc the little clusters can it be increased to 2.19 ghz like SD821 i know its more to ask just askin cuz the oc in your kernel feel snappy no issues so far
Click to expand...
Click to collapse
Will be instable. Also i guess sd820 is powerful enough. No need of that.
Star_king12 said:
Also, you can make a unified version. Put fstab from dd3-s device tree in ramdisk folder of kernel zip and it will be booting on both device trees. (Worked for me, at least)
Click to expand...
Click to collapse
Thanks.
Damn how I forgot that:fingers-crossed:
Will do it. Thanks again
Awesome flashing it
Is the GPU OC being 652mhz added or it replacing 624mhz? because removing 624mhz would mess with AKT Profiles
---------- Post added at 11:02 PM ---------- Previous post was at 11:00 PM ----------
Ayush Rathore said:
Will be instable. Also i guess sd820 is powerful enough. No need of that.
Click to expand...
Click to collapse
I think SD820 is weak in terms of CPU power, as it only has 4 cores and in cpu heavy tasks like emulation it's really struggle. An overclock to at least match the sd821 would be great
Related
This is kylon's AndromadusMod kernel, originally for Saga / Desire S, but compiled by me from source for our Vision. Massive thanks to the Andromadus team and to kylon for his awesome mods. Built with the Linaro toolchain.
From kylon's original thread:
Code:
Only experimental [COLOR="Red"] (=)[/COLOR]
Features:
sync with Andromadus: Apr 17 2013
Gov: intellidemand, dyn interactive, conservative, ondemand, userspace, powersave, ondemandx, performance, smartassH3
Sched: noop, deadline, row, cfq, bfq, sio
Overclock up to 2.0Ghz (=)
Cpu aligned access
ext4 optimizations
LZO kernel compression
KMS
SLUB allocator(default) with some optimizations
dynamic file sync (=)
UnderVolt / OverVolt
The kernel is already uved (post #3 )
vmstat, MM, shmem updated to linux 3.4
Tweaked gov and scheduler to work better on android
some optimizations here and there
expire time about each entry of scan results: 15 *Hz
force AC charger for unknown chargers(like carKit)
ck1 patchset
enabled clean cache
enabled zRam
NLS-UTF8
enabled power collapse to save battery(?)
Removed almost any debug message to improve the performances
USB OTG (=)
NTFS r/w (=)
CIFS (=)
Power saving when the wifi is off
More RAM for us
what i forgot..
Bugs:
Same as Stock Andromadus
USB otg: usb sticks are not working
Click to expand...
Click to collapse
I know USB otg definitely won't work, and at the moment I haven't used LZO kernel compression. I'm not sure if there will be "more RAM for us", being as the original kernel was for the Saga, which had more RAM in the first place. Other than that, all the visible changes, such as governors, I/O schedulers, OV/ UV, etc., appear to be working.
Downloads:
At the bottom of the post you can find the flashable zip, I have also attached the original Andromadus 3.x kernel (Original.zip) in case you want to revert, the only thing I've changed about this is I've added CPU idle PM support, this should help with battery life but it's nothing drastic, and other than that I've left it alone.
Changelog from original thread, red changes are mine:
Changelog:
Code:
[COLOR="red"]27/04
First build for Vision.[/COLOR]
25/04
sync with Andromadus
3.0.74
10/04
sync with Andromadus
3.0.72
Added LZ4/LZ4HC kernel compression(disabled for now, the zImage cannot be flashed)
Now LZO kernel compression(Hope it will help the reboot a bit)
No debug msges for the camera
04/04
sync with Andromadus
3.0.71
Added a tweak that should help to save some RAM
17/03
sync with Andromadus
3.0.69
08/03
sync with Andromadus
3.0.68
added more freqs
added 1.9Ghz and 2.0Ghz (exp)
Overvolt up to 1600
compiled with linaro 13/02
25/02
sync with Andromadus
3.0.66
tweaked bfq
prevent a possible crash on suspend/resume event
17/02
sync with Andromadus
3.0.64
power saving when the wifi is off
08/02
stability fix
minor changes(see github)
05/02
Sync with andromadus
3.0.62
USB OTG enabled and working(Only experimental)
NTFS r/w(Only experimental)
CIFS(Only experimental)
New Gov. SmartassH3
a few improvements(see github for a full changelog)
19/01
Sync with andromadus
18/01
sync with andromadus
linux 3.0.59
updated the android logger to linux 3.8
new voltage for 1.2Ghz (test) - 1.2 should not be higher than 1.3
more robust compaction
less modules
minor changes
13/01
forgot to upload this version, sorry (my real life is an hell)
added ck1 and dynamic file sync
OverVolt up to 1550
Click to expand...
Click to collapse
Credits from original thread:
Credits:
Flinny- Help with my first compile
Andromadus TM- the kernel
thewadegeek- Help with some compile errors
Fraux123- His dynamic file sync and more
ziggy- ck1 patchset
H3ros- smartassH3
engelmarkus- USB OTG(http://forum.xda-developers.com/show....php?t=1887073)
and Who i forgot..
Click to expand...
Click to collapse
Credits:
The Andromadus team for all their amazing work
kylon, for letting me release this kernel for you, and also for helping me with compiling and everything else!
Linaro, for their fantastic toolchain
All the above
RESERVED
reserved
Great Job! ill for sure be testing this out!
Thank you so much, this kernel looks very promising, will definitely test it out.
Update: It doesn't feel as fast as the original kernel, however the Mod kernel does give me 1MB(one) of additional user accessible RAM.
This could be flash over the 10.1 Andro or on the 4.2.2 AOSP?
Thanks
Kéno40 said:
This could be flash over the 10.1 Andro or on the 4.2.2 AOSP?
Thanks
Click to expand...
Click to collapse
It's originally for CM10.1, so I doubt it'll work with AOSP, especially due to the nature of the test builds (for this reason it's probably not compatible with build 20 or below either). That said, it's worth a try. I don't know if there are any mods of the AOSP kernel, I haven't got much experience so I probably couldn't mod it myself, but I'll look into it
sharptv said:
Thank you so much, this kernel looks very promising, will definitely test it out.
Update: It doesn't feel as fast as the original kernel, however the Mod kernel does give me 1MB(one) of additional user accessible RAM.
Click to expand...
Click to collapse
Thanks for the feedback, I would try out some of the included governors, there's quite a few! I personally find dyninteractive more responsive and smoother than the default SmartassH3.
HTCDreamOn said:
It's originally for CM10.1, so I doubt it'll work with AOSP, especially due to the nature of the test builds (for this reason it's probably not compatible with build 20 or below either). That said, it's worth a try. I don't know if there are any mods of the AOSP kernel, I haven't got much experience so I probably couldn't mod it myself, but I'll look into it
Thanks for the feedback, I would try out some of the included governors, there's quite a few! I personally find dyninteractive more responsive and smoother than the default SmartassH3.
Click to expand...
Click to collapse
I tried both kernels on perf governor like i always do, and the Mod kernel i significantly slower, for me at least. I suspect that it's due to the LZO compression.
Anyway, it's good to see another kernel Dev, i really appreciate your work and i look for ward to your next release.
good work:good:
if you need help just pm me and i ll try to help you as best as i can (even if i m a still a noob xD )
sharptv said:
I tried both kernels on perf governor like i always do, and the Mod kernel i significantly slower, for me at least. I suspect that it's due to the LZO compression.
Anyway, it's good to see another kernel Dev, i really appreciate your work and i look for ward to your next release.
Click to expand...
Click to collapse
He said this kernel is not using lzo and i don t think the kernel compression can affect the performances
it can only affect the boot/reboot/shutdown time
"more ram for us" is working because it is a generic tweak, every kernel/phone can have it
kylon said:
good work:good:
if you need help just pm me and i ll try to help you as best as i can (even if i m a still a noob xD )
He said this kernel is not using lzo and i don t think the kernel compression can affect the performances
it can only affect the boot/reboot/shutdown time
"more ram for us" is working because it is a generic tweak, every kernel/phone can have it
Click to expand...
Click to collapse
Thanks for pointing that out. I have reverted to the original kernel as the Mod kernel is really slow in comparison. The original kernel with the added CPU idle PM support has significantly increased my battery life.
sharptv said:
Thanks for pointing that out. I have reverted to the original kernel as the Mod kernel is really slow in comparison. The original kernel with the added CPU idle PM support has significantly increased my battery life.
Click to expand...
Click to collapse
That's an interesting point.
@HTCDreamOn, could you please share how did you enable that CPU idle PM feature?
sharptv said:
Thanks for pointing that out. I have reverted to the original kernel as the Mod kernel is really slow in comparison. The original kernel with the added CPU idle PM support has significantly increased my battery life.
Click to expand...
Click to collapse
NeverGone\RU said:
That's an interesting point.
@HTCDreamOn, could you please share how did you enable that CPU idle PM feature?
Click to expand...
Click to collapse
That's interesting :silly: not gonna lie, I didn't realise it would actually make a difference. In menuconfig, under CPU Power Management there's an option for CPU idle PM, right next to the Governor bit.
I'm personally finding the kernel alright in terms of speed, I guess I could try the latest Linaro tool chain and/ or look into some other kernel stuff, although I'm hardly an expert
HTCDreamOn said:
That's interesting :silly: not gonna lie, I didn't realise it would actually make a difference. In menuconfig, under CPU Power Management there's an option for CPU idle PM, right next to the Governor bit.
I'm personally finding the kernel alright in terms of speed, I guess I could try the latest Linaro tool chain and/ or look into some other kernel stuff, although I'm hardly an expert
Click to expand...
Click to collapse
Also, just to point it out. I think you have accidentally packed the Original kernel inside the Mod package.
Anyway, i'm looking forward to your next release, this kernel looks very promising, i think it just needs to be polished.
sharptv said:
Also, just to point it out. I think you have accidentally packed the Original kernel inside the Mod package.
Anyway, i'm looking forward to your next release, this kernel looks very promising, i think it just needs to be polished.
Click to expand...
Click to collapse
can't of done, the AndromadusMod is double the size of the original so I've definitely got them the right way round. thanks for the feedback though
Great Job!
sharptv said:
Also, just to point it out. I think you have accidentally packed the Original kernel inside the Mod package.
Anyway, i'm looking forward to your next release, this kernel looks very promising, i think it just needs to be polished.
Click to expand...
Click to collapse
You are right, inside the modded kernel update.zip you will also find another update.zip, wont do anything but just is why the package is so much bigger!
HTCDreamOn said:
can't of done, the AndromadusMod is double the size of the original so I've definitely got them the right way round. thanks for the feedback though
Click to expand...
Click to collapse
I was about to give the same answer but i see what he means, at first i was like how could it be double *scratches head* then i see you have two kernels packed into one! no bigge!
oh and so far nice performance running smartassH3, this is great stuff!!!
i just got done adding into the aroma installer if anyone would prefer, found here
http://forum.xda-developers.com/showthread.php?t=2194964
will be there from build 1.5.2 and beyond so happy flashing fellas!!
demkantor said:
You are right, inside the modded kernel update.zip you will also find another update.zip, wont do anything but just is why the package is so much bigger!
I was about to give the same answer but i see what he means, at first i was like how could it be double *scratches head* then i see you have two kernels packed into one! no bigge!
oh and so far nice performance running smartassH3, this is great stuff!!!
i just got done adding into the aroma installer if anyone would prefer, found here
http://forum.xda-developers.com/showthread.php?t=2194964
will be there from build 1.5.2 and beyond so happy flashing fellas!!
Click to expand...
Click to collapse
Oops my bad, must've been 'cause I packed it using terminal, and must have left the normal kernel.zip in the same directory. I'll try the new Aroma ASAP!
HTCDreamOn said:
Oops my bad, must've been 'cause I packed it using terminal, and must have left the normal kernel.zip in the same directory. I'll try the new Aroma ASAP!
Click to expand...
Click to collapse
Just to point out one more thing: I'm definitely getting stronger WiFi signal with the Mod kernel, I'm also getting less disconnects when using 802.1x networks.
I am gonna do a full wipe and try this kernel again, and hopefully i will get the speed advantage this kernel technically should offer me.
P.S would you be kind enough to compile the original kernel with CPU PM idle support and also force ac charge? Thanks SOOOO much in advance.
sharptv said:
Just to point out one more thing: I'm definitely getting stronger WiFi signal with the Mod kernel, I'm also getting less disconnects when using 802.1x networks.
I am gonna do a full wipe and try this kernel again, and hopefully i will get the speed advantage this kernel technically should offer me.
P.S would you be kind enough to compile the original kernel with CPU PM idle support and also force ac charge? Thanks SOOOO much in advance.
Click to expand...
Click to collapse
It already has CPU Idle PM support and I'll look into Force AC charge.
HTCDreamOn said:
That's interesting :silly: not gonna lie, I didn't realise it would actually make a difference. In menuconfig, under CPU Power Management there's an option for CPU idle PM, right next to the Governor bit.
I'm personally finding the kernel alright in terms of speed, I guess I could try the latest Linaro tool chain and/ or look into some other kernel stuff, although I'm hardly an expert
Click to expand...
Click to collapse
i can't understand how to enable cpu idle PM
zofox said:
i can't understand how to enable cpu idle PM
Click to expand...
Click to collapse
Haha no you don't need to, it's something I enabled in the kernel before compiling. You will only notice a difference when the device is sleeping, so try leaving your phone on (aeroplane mode if possible) overnight, and you should notice very small battery drain. Basically you don't need to do anything
Probably none of you knows me, but I have been developing Xposed modules which have 50 thousand+ downloads for quite long time. At the same time, I have been using OOS3 for its stability since last year. Although Boeffla kernel is a very good kernel, because of Oneplus's lack of careness, it has been missing a lot of security patches and improvements. At the same time, I want to improve and tweak Boeffla kernel a bit to fit my needs. So two weeks ago I started making this kernel based on Lord Boeffla's work and I think it is the time to share with you now.
It mainly majors in improving security and fixing issues, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.
I am sick of those kernels which say it is the smoother than butter or is more powersaving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.
The feature changes from original Boeffla kernel (Most changes are security patches):
Features:
- No feature is removed, 100% suitable for Boeffla config app;
- Add blu-active governor (thanks to engstk)
- Many charging tweaks
- Enable Arch power and gentle fair sleepers toggle (though I do not recommend toggling them)
- Add wakelocks toggle (thanks to Franco)
- Set I/O scheduler to noop after turning off screen in 60s to save idle power (thanks to Sultanxda)
- Various fingerprint speedups and haptic cleanups (thanks to Sultanxda and cyanogen)
- Lots of security improvements (thanks to CAF and Linux Upstream)
- Many many more...
Usages:
Flash the zip provided, then you can configure the parameters with Boeffla config app (may lack bunch of features) or my self-built kernel adiutor (the play store one will be lack of features). For keeping consistent with Boeffla config app, I implement some features to kernel adiutor, only screen gestures and sound configurations are left now) You can use them both too, but you need to enable "override" settings in Boeffla config app.
Source:
https://github.com/aviraxp/Oneplus2_OOS3_Boeffla_Kernel_Unofficial_Enhanced
Credits:
Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
Of course, thanks to Lord Boeffla for providing a good kernel!
Then I want to thank to Sultanxda for the 30+ commits I picked and the guidance he provided. You are the real MVP!
I also want to say thanks to dorimanx, Joe Maple, myfluxi, Franco and engstk for the good features they provided.
Downloads:
See attachments.
Update log:
r4:
- Merge many security patches
- General small "optimizations"
r3:
- Speed up fingerprint by boosting cores (save about 100ms, thanks to Sultanxda and Joe Maple)
- Relax charging temperature threshold and hack OEM logic to improve charging speed (thanks to myself)
- Remove temperature polling and tweak DSI check interrupts to reduce CPU overload (thanks to Sultanxda)
- 10+ security patches
r2:
- Boost DDR bus after turning on screen (thanks to Sultanxda)
- 20+ security patches
- Add relaxed governor and maple I/O scheduler (thanks to Joe Maple)
reserved 2
wow boeffla with wakelockes, arch and gentle fair sleepers. this is perfection ^_^ but wait, is this for oos?
chxei said:
wow boeffla with wakelockes, arch and gentle fair sleepers. this is perfection ^_^ but wait, is this for oos?
Click to expand...
Click to collapse
I think the attached filename shows it is for OOS
Is wakelock toggles available in Boeffla Config?
yousuf.shareef said:
Is wakelock toggles available in Boeffla Config?
Click to expand...
Click to collapse
Of course not. BOEFFLA config app is not open source, I cannot modify it.
which wakelock i have to disable to save power?
dom_tucc said:
which wakelock i have to disable to save power?
Click to expand...
Click to collapse
I do not recommend block them. I think blocking them is a no-op.
Seriously please be original.
How many boeffla kernel clones do we need :silly:
anupritaisno1 said:
Seriously please be original.
How many boeffla kernel clones do we need :silly:
Click to expand...
Click to collapse
I did this just for myself, it is based on Boeffla because I used to use it. I just put it here in case others need it. Also, my kernel has some original thing that none of other OP2 kernels have.
Can I use this with resurrection remix?
Rebel7022 said:
Can I use this with resurrection remix?
Click to expand...
Click to collapse
The file name tells it is a OOS kernel.
aviraxp said:
The file name tells it is a OOS kernel.
Click to expand...
Click to collapse
do you plan to make kernel for los/aosp
In case somebody wants to see the wake lock and idle time.
aviraxp said:
In case somebody wants to see the wake lock and idle time.
Click to expand...
Click to collapse
Please share your profile settings in the kernel.
Update is there. I picked many things from Sultan, who is one of a few kernel developers I really admire. I believe my kernel is the best now.
kostin said:
Please share your profile settings in the kernel.
Click to expand...
Click to collapse
Stock.
New Build is up.
Hi,
When I first flashed the kernel, it was fantastic like the fingerprint speed is crazy fast, but then randomly my phone will reboot and then keep rebooting straight after it reboots. It's not a boot loop because it does boot up, it's just that around 20 seconds of being on the os, it reboots again. What can I do to avoid this?
Some of you know me from the OOS3 kernel I built, and now I am moving to Nougat and starting working on it.
It mainly majors in keeping a balance between features and stabilities, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.
I am sick of those kernels which say it is the smoother than butter or is more powersaving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.
The features list:
Features:
- Catch up with latest Linux upstream 3.10.107
- Catch up with latest CAF source
- Catch up with latest sdcardfs, f2fs, exfat, xpad source
- Add flash and electron governor (both based on interactive, credits to The Flash and frap129)
- Tweaked interactive governor based on CAF MSM8996 branch
- CPU voltage control (The first for MSM8994?)
- Replace H-cube with core_ctl from CAF MSM8996 branch
- Remove powersave, conservative governor
- Add maple, sio, fiops, zen I/O scheduler
- Partly Faux sound control
- Partly thermal control
- KCAL
- Dynamic Sync control
- Wakeblock toggle
- Fingerprint boost tweaks
- Sultanxda's I/O switcher
- TheCrazyLex's memory automatic compaction mechanism
- Various improvements from AOSPA (thanks to TheCrazyLex)
- Various improvements from Sultanxda and myfluxi (The people I really admire)
- Various improvements from CAF
- Fix some ROM's ramdisk bug (why should I fix these?)
- ...
Usages:
Note that LineageOS based roms and other roms use different sysfs nodes for gestures. So I provide 3 versions, just use the one that your rom is based on, otherwise gestures may be broken. For non los based Roms, use other version, if it does not work (such as Pure Nexus), use pn version.
Use kernel adiutor to tweak it.
Source:
https://github.com/aviraxp/ONEPLUS_MSM8994_KAWORI
Credits:
Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
Of course, thanks to Lord Boeffla for a good picking source.
Then I want to thank to Sultanxda and myfluxi for the 30+ commits I picked and the guidance he provided. You are the real MVP!
I also want to say thanks to dorimanx, Joe Maples and Franco for the good features they provided.
Support:
Just like many other so-called "developers" for OP2, I do not major in computer science and know little about C. All my codes are written by guessing. Feel free to provide feedbacks, though I may not know how to fix it.
reserved
Nice to see new kernels popping up for the device. Good work @aviraxp
MZO said:
Nice to see new kernels popping up for the device. Good work @aviraxp
Click to expand...
Click to collapse
I am using your Purenexus
aviraxp said:
I am using your Purenexus
Click to expand...
Click to collapse
That's awesome ?
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
chxei said:
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
Click to expand...
Click to collapse
Phone should technically reboot and discard changes before any damage occurs
Sorry if I missed it.. Is this kernel compatible with official lineage weekly?
Sent from my ONEPLUS A3003 using Tapatalk
chxei said:
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
Click to expand...
Click to collapse
I have tested, and think undercoating about 80mV is fine. Lower voltage will make it reboot.
infatality said:
Sorry if I missed it.. Is this kernel compatible with official lineage weekly?
Click to expand...
Click to collapse
Of course
r2 will be soon uploaded , thanks to @MZO for pointing out a different implementation of gestures that I missed.
First of all: nice to see a new kernel of OP2, and I love new features! Good work!
Second: Unfortunatly, flashing this kernel for me kills WiFi on latest Unofficial RR. Had to flash stock boot.img to make it work again. Other than that it seems to work fine.
Defineatly gonna give it a try as my daily driver after WiFi issue is gone.
chxei said:
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
Click to expand...
Click to collapse
No problems for the hardware with undervolting but the system may become a bit unstable
almlex said:
First of all: nice to see a new kernel of OP2, and I love new features! Good work!
Second: Unfortunatly, flashing this kernel for me kills WiFi on latest Unofficial RR. Had to flash stock boot.img to make it work again. Other than that it seems to work fine.
Defineatly gonna give it a try as my daily driver after WiFi issue is gone.
Click to expand...
Click to collapse
I have tested my kernel on omni, du, aex and pn, no issues so far. Some lineage guys also flashed and encounter no issues. But I will try to look at it.
Using this kernel for Almost 12hrs, so far everthing working here with decent battery life.
Cpu cores implementation is the same as in Franco kernel (all cores always online) or different from it?
almlex said:
First of all: nice to see a new kernel of OP2, and I love new features! Good work!
Second: Unfortunatly, flashing this kernel for me kills WiFi on latest Unofficial RR. Had to flash stock boot.img to make it work again. Other than that it seems to work fine.
Defineatly gonna give it a try as my daily driver after WiFi issue is gone.
Click to expand...
Click to collapse
Could you please flash boeffla kernel and report if it works? I suspect it is a toolchain issue.
parasthakur37 said:
Cpu cores implementation is the same as in Franco kernel (all cores always online) or different from it?
Click to expand...
Click to collapse
Different. It is actually same as stock, just built in kernel to keep stability.
aviraxp said:
Different. It is actually same as stock, just built in kernel to keep stability.
Click to expand...
Click to collapse
And I suppose there's no way we can use franco's implementation if we wanted to?
parasthakur37 said:
And I suppose there's no way we can use franco's implementation if we wanted to?
Click to expand...
Click to collapse
I don't know what Franco's implementation is. I don't care either. If you want to keep all cores on, use kernel adiutor and change the min cpus to 4.
Hello guys i hate long OPs. So lets keep it small.
This kernel is designed for sultanxdas 7.1 rom!
Current features:
* francos thermal driver tuned to work with the VADC sensor (more accurate throttling results)
* powerd my cpuquiet
* removed sultans underclock
* reduced voltages
* many io schedulers
* power effcient workqueue (better idle drain)
* some small tweaks for better battery and better standby
* more incoming
If you like my work press the thx button or consider a small donation
Download Here:
https://www.androidfilehost.com/?w=files&flid=206433
XDA:DevDB Information
Private Kernel, Kernel for the OnePlus One
Contributors
DerRomtester, DerRomtester
Source Code: [url]https://github.com/DerRomtester/android_kernel_oneplus_msm8974[/URL]
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r2
Stable Release Date: 2017-08-13
Created 2017-07-16
Last Updated 2017-08-13
Reserved
Fast charge?
This space for sale
Sent from my A0001 using XDA-Developers Legacy app
Forgot to disable mpdecision. Please disable it in Kernel Adiutor. Fixed next version.
No voltage control!
pankspoo said:
No voltage control!
Click to expand...
Click to collapse
Not yet A copy and paste mistake from my other thread.
Edit.
Reuploded and fixed my hotplug mistake.
Great to see your CAF kernel again
Why Franco thermal driver is better than sultanxda one?
ab123321 said:
Why Franco thermal driver is better than sultanxda one?
Click to expand...
Click to collapse
I just spent alot of time on that so i prefer this thermal driver.
If you like Franco's work perhaps you might also like his hotplugging mechanism as an option ? Four cores when screen is on give me great performance and when underclocked or undervolted phone stays cool and battery is great! I miss this option sooo much on Sultan's ROM.
Will this work on RR sultanxda version
Sent from my A0001 using XDA-Developers Legacy app
One request has it kexec hardboot patch
[email protected] said:
One request has it kexec hardboot patch
Click to expand...
Click to collapse
No, because last time i tried it, it broke encryption.
FunkyRasta said:
If you like Franco's work perhaps you might also like his hotplugging mechanism as an option ? Four cores when screen is on give me great performance and when underclocked or undervolted phone stays cool and battery is great! I miss this option sooo much on Sultan's ROM.
Click to expand...
Click to collapse
Yeah why not. In guess this produces a lot of heat. Lets see i am gonna check that out.
DerRomtester said:
Yeah why not. In guess this produces a lot of heat. Lets see i am gonna check that out.
Click to expand...
Click to collapse
I thought so too. Maybe it is true when running CPU not underclocked because then it still jumps to max freqs despite there is no need for it. But when you cap your CPU to 1.9 GHz in Kernel Adiutor or sth it is whole other world. Performance is more consistent due to no hotplugging penalties and phone gets no hotter than usual because voltages below 2 GHz are much lower and load spreads nicely on all four cores which futher prevents frequency ramping.
Believe me, I was sceptic of it before too
Glad to hear you want to try it man! Thanks
Nice to see u're back with a kernel for Sultan's or Sultan based ROMs!
---------- Post added at 03:57 PM ---------- Previous post was at 03:47 PM ----------
DerRomtester said:
Edit.
Reuploded and fixed my hotplug mistake.
Click to expand...
Click to collapse
Uhm.. that hotplug we should disable, it's still active...
Please add:
1. Bricked hotplug
2. Battery charge control
3. Lionheart governer
ashutoshmn said:
Please add:
1. Bricked hotplug
2. Battery charge control
3. Lionheart governer
Click to expand...
Click to collapse
Kk
ab123321 said:
Why Franco thermal driver is better than sultanxda one?
Click to expand...
Click to collapse
Less aggressive with ramping down cpu, frequencies, it isn't "better" it depends on your usage, it's more like to prefer it to sultan's
Some of you know me from the OOS3/Nougat kernel I built, and now I am moving to Oreo and starting working on it.
It mainly majors in keeping a balance between features and stabilities, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.
I am sick of those kernels which say it is the smoother than butter or is more power-saving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.
The features list:
Features:
- Backport patches from Linux stable 3.18/3.16/3.2 branches
- Catch up with latest Linux upstream 3.10.108
- Catch up with latest CAF LA.BF64 branch source
- Catch up with latest sdcardfs, f2fs, exfat, xpad source
- Tweaked interactive governor based on CAF MSM8996/8998 branch, together with fastlane tunsables from Bluspark
- CPU voltage control
- Remove powersave, conservative, userspace governor
- Add maple, sio, fiops, zen I/O scheduler
- Franco sound control
- Thermal parameters control
- KCAL control
- Dynamic Sync control
- Boeffla wakeblock blocker
- Fingerprint boost tweaks
- Sultanxda's I/O sched switcher
- TheCrazyLex's memory automatic compaction mechanism
- Various improvements from AOSPA (thanks to TheCrazyLex)
- Various improvements from Sultanxda and myfluxi (The people I really admire)
- Various improvements from CAF
- ...
Usages:
Note that LineageOS based roms and other roms use different sysfs nodes for gestures. So I provide 2 versions, just use the one that your rom is based on, otherwise gestures may be broken. For non los based Roms, use nonlos version. If gesture does not work, switch to another version and it will work.
Use EX kernel manager to tweak it. You can use kernel adiutor, but you will miss some tunables as it is not updated for a long time.
Download:
I use Github to host the zips. You can view all the zips at https://github.com/aviraxp/kawori_build.
[Release 20180404]
LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180404-los.recovery.zip
Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180404-nonlos.recovery.zip
[Release 20180330]
LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180330-los.recovery.zip
Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180330-nonlos.recovery.zip
[Release 20180327]
LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180327-los.recovery.zip
Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180327-nonlos.recovery.zip
Source:
https://github.com/aviraxp/ONEPLUS_MSM8994_KAWORI
Credits:
Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
Of course, thanks to Lord Boeffla for a good picking source.
Then I want to thank to Sultanxda and myfluxi for the 30+ commits I picked and the guidance he provided. You are the real MVP!
I also want to say thanks to dorimanx, Joe Maples and Franco for the good features they provided.
Support:
Feel free to provide feedbacks, though I may not know how to fix it as I actually don't have enough knowledge for C.
2018-04-18: You can use nonlos build as usual, and the los version is compilatable with both stock or Shreesha's build.
Change log:
20180404:
Add adreno boost
Update fsync control to 2.1
Add security fixes from Lineage and angler
Remove iosched switcher (fixes kernel panic)
The los kernel is only for the newest official build, if you are on older build, don't use this one!
20180330:
Fix issues that big cores refuses to turn on
Attempt to fix charging for all (really weird because someone reports charging is fast but others report the opposite)
Improvements to BCL driver
Align with latest los code drop
Awesome!
So it doesn't support fast charge?
akashvshetty said:
So it doesn't support fast charge?
Click to expand...
Click to collapse
I don't know what you mean actually. Can you give me a reference? The AC charging current limit is 2000mA, and the USB charging current limit is 900mA. I don't think it can be quicker.
aviraxp said:
I don't know what you mean actually. Can you give me a reference? The AC charging current limit is 2000mA, and the USB charging current limit is 900mA. I don't think it can be quicker.
Click to expand...
Click to collapse
Sorry my fault . downloading it right away
aviraxp said:
I don't know what you mean actually. Can you give me a reference? The AC charging current limit is 2000mA, and the USB charging current limit is 900mA. I don't think it can be quicker.
Click to expand...
Click to collapse
But there must a different.
With stock AOSiP Kernel i got 1600mA
and with this Kernel only max 900mA AC charging rate
Edit:
I have been able to observe up to 1400 mA (for short time) also in kawori kernel.
(Most time its lower rate)
But it was generaly higher all time in the stock kernel, according to my observation.
fonfox said:
But there must a different.
With stock AOSiP Kernel i got 1600mA
and with this Kernel only max 900mA AC charging rate
Edit:
I have been able to observe up to 1400 mA (for short time) also in kawori kernel.
(Most time its lower rate)
But it was generaly higher all time in the stock kernel, according to my observation.
Click to expand...
Click to collapse
I can only say there is no difference in charging driver between aosip and this kernel. So sorry.
aviraxp said:
I can only say there is no difference in charging driver between aosip and this kernel. So sorry.
Click to expand...
Click to collapse
CPU frequency seems to stuck at 857mhz on small core and big core don't seems to be online. Clean Flash twice but still have the same issue.
Sent from my OnePlus 2 using XDA Labs
aviraxp said:
I can only say there is no difference in charging driver between aosip and this kernel. So sorry.
Click to expand...
Click to collapse
Yeah even I face those issues.
aviraxp said:
Use EX kernel manager to tweak it..
Click to expand...
Click to collapse
voltage control dont work
PAIIITET said:
voltage control dont work
Click to expand...
Click to collapse
This is really helpful and OP will be delighted by this statement without any kind of log.
jukyO said:
This is really helpful and OP will be delighted by this statement without any kind of log.
Click to expand...
Click to collapse
I know right! ?
jukyO said:
This is really helpful and OP will be delighted by this statement without any kind of log.
Click to expand...
Click to collapse
check yourself. load the log file. profit
kernel auditor too. last pixel
---------- Post added at 21:13 ---------- Previous post was at 21:12 ----------
super lag when closing the avatar in the WhatsApp
PAIIITET said:
check yourself. load the log file. profit
kernel auditor too. last pixel
---------- Post added at 21:13 ---------- Previous post was at 21:12 ----------
super lag when closing the avatar in the WhatsApp
Click to expand...
Click to collapse
I'm quite happy with stock setup of the kernel. Battery drains much slower then on original LOS by Shreesha.
Also, I'm pretty much confident that OP will resolve it at one point.
But, if I would report such problem, what is minimum effort to do, is to provide logs. Which is lacking in your case.
New build is out.
@aviraxp can we get srgb by any means? Or DCPI2 .
cpt.macp said:
@aviraxp can we get srgb by any means? Or DCPI2 .
Click to expand...
Click to collapse
Our JDI panel does not support it.
Very stable Kernel. Did you tweak the core voltages or Just Made them customizable?
Unfortunately the kernel keeps causing reboots on my OP2 running the LOS15.1 nightly.. I've set the max. freq of little at 1248MHz and big at 1440MHz.
Since logcat gets erased every reboot, which log should I dump to send to you?