[KERNEL][4.4.83+][LOS] Vision1 - fast/smooth/battery-friendly - OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel

Vision1 Kernel
Working with LineageOS (Sync with LineageOS Kernel Source)
Kernel Version : 4.4.83+
CPU up to little/big 2.0/2.6 GHz
CPU down to little/big 69/69 MHz (300/300 MHz _nuc version)
GPU up to 710 MHz
GPU down to 180 MHz
blu_active, alucard, ondemand, interactive, performance, conservative, powersave, ... CPU Governors - interactive default
ZEN, VR, FIFO, MAPLE, SIO, SIOPLUS and FIOPS IO Scheduler - MAPLE default
IOsched switcher
Adaptive LMK
more TCP Cong - Westwood default
Adreno Idler - default on
Adreno Boost - default off
Backlight dimmer option - default off
Workque Power Saving - default on
Tunable Wakelock
Input Boost - default on
Touch Boost - default off
Soundcontrol
KCAL
DT2W
Wifi driver from CAF
Stock Camera Driver <- use all camera and better picture quality
NTFS FileSystem R/W
SafetyNet patched
Working with Kernel Adiutor (I prefer EX Kernel Manager)
Anykernel Installer
Fingerprint is useable as Homebutton
optimized UBERTC 4.9.4 with mixed -O2/-O3 + pipe + graphite flag
more...
Be careful!!! Make backup before flash. Please report if you find an issue. Thanks
Download @ XDA
Download @ AFH
Thanks to:
LineageOS for base
@RenderBroken for EAS port
codeworkx for working on base
flar2 for patches
sultanxda for patches
UBERTC for toolchain
more
XDA:DevDB Information
[KERNEL][4.4.83+][LOS] Vision1 - fast/smooth/battery-friendly, Kernel for the OnePlus 5
Contributors
AuxXxilium
Source Code: https://github.com/AuxXxilium/kernel-msm8998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Vision1_2017_08_23
Stable Release Date: 2017-08-23
Created 2017-08-11
Last Updated 2017-08-23

Changelog and more...
Upcoming
Vision1_2017_08_XX
--- anything to do?
Changelog
Vision1_2017_08_23
first build after a complete rebase of the kernel. all upstream patches and the most CAF patches are done. clean merge with all commits.
old and stable WiFi driver
no CPU UC/OC
Vision1_2017_08_21 <- wipe cache
new EAS version with patches from RenderBroken
bring back interactive as default and iosched switch to go to noop if screen is off
WiFi driver update
only little changes
Vision1_2017_08_20
2 versions: a normal one and one without underclock.
CAF - reduced some voltages or make them dynamic
CAF - performance and camera related patches
Build System optimizations
Vision1_2017_08_19
Biggest Bugfix-Build ever
pocket judge working
removed cpu input boost from big cluster
removed temp throttle from big cluster
and much more...
Vision1_2017_08_18
Linux Kernel 4.4.83
go back to UBERTC 4.9.4 <- is smoother than 5.3
some little changes
Vision1_2017_08_17
use UBERTC 5.3
go back -Ofast -> -O2 for stability
battery optimization
more compiler optimization
fix a charging related bug
fix an input delay
tristate-key sync with LOS
remove old camera driver
VisionOne_2017_08_16
new Camera Driver - now we can use all camera
new WiFi Driver
more LOS changes
Careful please: there is a version with new and old memory setup. LOS uses from today the new memory setup. i build both versions because not all custom rom have ported this.
VisionOne_2017_08_15_new_wifi
updated wifi driver from https://review.lineageos.org/#/c/185015/
more...
VisionOne_2017_08_15 <- wipe cache please
Dash fixed
Deepsleep fixed
Fingerprint Homebutton is working with 20170815 build from codeworkx
synced with LineageOS upstream
new CPU Steps 69MHz, 160MHz, 230MHz
set Touchboost --> default off / CPU Input Boost -> default on
Linux Upstream 4.4.79 -> 4.4.82
optimized UBERTC 4.9.4 compiler
mixed -O2/-O3/-Ofast compiler flag for stabilty and speed
more compiler changes
more...
VisionOne_2017_08_13_CAF <- wipe cache after flashing
Sync with CAF Upstream
something more
VisionOne_2017_08_13
Linux 4.4.21 -> 4.4.79
some little fixes for more smoothness
VisionOne_2017_08_12_fix - 177xxx in Antutu - see Screenshots
fix build
faster boot
some little fixes
VisionOne_2017_08_11
initial build

Reserved

Wow!! You are the man who made the best lollipop rom for OP2

I'm going to flash this one, If something goes wrong you'll gift me a new 1+5=?...
Just kidding, Thanks @AuxXxilium..

Amazing
Enviado desde mi ONEPLUS A5000 mediante Tapatalk

I'm going to try this one out right now..Thanks for ur efforts.

angelmakumbe said:
Wow!! You are the man who made the best lollipop rom for OP2
Click to expand...
Click to collapse
thanks. nice to see someone knows me after a long time away.

tested the kernel briefly on Unofficial RR, the UFS speeds seem to be much better than LK or Carbonite... missing the home button though flashing like crazy today, can't catch a break

@AuxXxilium as you've stated in OP home button is not usable, But mine is working fine..

OMG, you are alive still? Used to use your kernel before I learned how to make kernels

AuxXxilium said:
thanks. nice to see someone knows me after a long time away.
Click to expand...
Click to collapse
I remember you from the G2 times too, I used to follow your work back then, I'm happy to see you again. I'll definitely try your kernel and keep my eye on this thread!

Glad to see more kernel devs are supporting us folks on LOS. Flashing this kernel presently.

DespairFactor said:
OMG, you are alive still? Used to use your kernel before I learned how to make kernels
Click to expand...
Click to collapse
i know it's a joke.

thanks.!!
best kernel!!!

AuxXxilium said:
i know it's a joke.
Click to expand...
Click to collapse
Not a joke at all, I used to use your kernel on Nexus 5, I think?

DespairFactor said:
Not a joke at all, I used to use your kernel on Nexus 5, I think?
Click to expand...
Click to collapse
Oh that is nice. Now you are a great dev.

AuxXxilium said:
Oh that is nice. Now you are a great dev.
Click to expand...
Click to collapse
Thanks I am just a noob haha, you didn't want to believe me

I'm running latest Codeworkx build. Home button doesn't work with stock or vision kernel, but works with lightning kernel. Don't know why

Please be careful. i removed the latest version - because it crashes the dash charge. search for the problem and will fix it soon.

Related

[KERNEL][3.4.107][AOSP/CM][GCC5.0]Spirit.Kernel r13[21/4/2015]

Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On​
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app

[DISCONTINUED][KERNEL][5.1][CM] Phoenix Kernel v1.6 [18-February-2016][OC CPU + GPU]

DISCONTINUED
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hello guys, here I'm introducing a custom kernel for our Moto X Play, based on Squid Kernel . Full credits goes to him:fingers-crossed:. I only added some tweaks and more is coming soon. No more blah blah...
Features:
Reduced VFS cache pressure
Disabled noatime and nodiratime
Dirty ratio tweaks
Enabled Arch power and Disabled GFS
Asynchronous I/O latency to a solid-state disk greatly increased
Optimized SLUB
VM_MAX_READAHEAD set to 1024 kbytes
Optimize apply_slack for size and speed - thanks to varunchitre15
Forward port Dynamic Fsync to Linux 3.10 by varunchitre15
Disabled MMC CRC check
Enabled some extra TCP Congestion Controls
Use all cores on-boot for faster bootup
HMP-aware task placement
Code:
[B]CPU Hotplugs:[/B]
[SIZE=2][STRIKE]Bricked Hotplug[/STRIKE]
MSM Hotplug
[STRIKE]MAKO Hotplug
ZEN_DECISION Hotplug
AUTOSMP Hotplug
MSM SLEEPER[/STRIKE][/SIZE]
Code:
[B]CPU Governors:[/B]
[SIZE=2]LIONFISH
SMARTMAX
BLUACTIVE
SMARTASS2
INTELLIACTIVE
INTERACTIVE_PRO
ZZMOOVE
ALUCARD
BARRY_ALLEN
BIOSHOCK[/SIZE]
How to install:
Download Phoenix kernel flashable zip
Copy it into SD Card
Reboot into custom recovery
Install zip from SD Card
Credits:
squid2 (for the GPL source)
varun.chitre15 (for the GPL source)
Kunal.Kene.1797 (for the GPL source)
HridayHS (for the GPL source)
Shoaib05 (for the GPL source)
Motorola
XDA
Google
Missed you ? sorry pm me I'll add you
Downloads:
See the attachment or Download
*** v1.5 and above are not compatible with Stock 5.1 roms ***​
Click to expand...
Click to collapse
XDA:DevDB Information
Phoenix Kernel, Kernel for the Moto X Play
Contributors
AnoopKumar, squid
Source Code: https://github.com/HelllGuest/phoenix_kernel_lux
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-10-24
Created 2015-10-24
Last Updated 2016-02-18
Change log
v1.0 2015 October 24
Initial release
v1.1 2015 November 03
Up to date with Squid Kernel
Added frandom
Network speedup tweak
kernel/sched/fair: reduce latency
power: process: drecrease time to enter sleep
defconfig Enable NTFS,CIFS
Added intelliactive - Paul Reioux
Added smartass2 - Erasmux
Added bluactive - Mike Chan,engstk
Added interactive_pro - Mike Chan
Added smartmax-maxwen
v1.2 2015 November 14
Up to date with Squid Kernel
Added Bricked Hotplug - showp1984
Added MSM Hotplug - myfluxi
Disabled IOSCHED_TEST
v1.3 2015 November 26
Updated Lionfish
Wake mod s2s added
Disabled Bricked Hotplug and added MSM Hotplug as default
v1.4 2015 December 26
Up to date with Squid Kernel
Reduced swappiness to 30
Reduced lag
Some minor fixes too
v1.5 2016 February 08
Up to date with Squid Kernel
Linux 3.10.96
Reduced lag
Improved smoothness
Updated Powersuspend
Adreno idler by arter97
320K AAC Encoding
SELinux: permissive
Compiled with Phoenix GCC 5.2
v1.6 2016 February 18
Up to date with Squid Kernel
Overclocked CPU + GPU
Added zzmoove - Zane Zaminsky
alucard - [email protected]
barry_allen - Javier Sayago
bioshock - James Jamison
Added support for CRC Toggle
Optimized Console FrameBuffer for upto 70% increase in Performance
Optimized Integer SQRT. for upto 3x faster operation
Optimized Task-Search for upto 6% increase in Performance
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Enabled High-Priority WorkQueue for DevFreq
Fixed High-Load Average due to Drivers
Fixed Reporting of GPU Frequency
MSM_HOTPLUG: min 2 cpu while screen off
msm8939: overclock lux big cluster to 1709 MHz
msm8939: overclock lux little cluster to 1209 MHz
msm8939: overclock GPU to 700MHz
Aren't hotplugs like MSM hotplug, bricked hotplug etc. meant for qcom quad core/krait CPUs? I'm not sure how they'd behave on big.LITTLE. Even the governors, I'm not sure they are adapted to big.LITTLE.... could you shed some light on it? Also, your commit history looks like a kang job.... you should clear that out.
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
AnoopKumar said:
It looks like kanged only because I manually committed changes from Yu Yreka's custom kernel source... Because I'm having slow Internet connection. Credits are given in the thread.. I think hotplug is working...
Click to expand...
Click to collapse
Tbh cherry-picking commits doesn't need a fast internet connection. (I myself have picked commits on a 512 kbps internet) and credits need to be given in the commit, otherwise it counts as a "kang".
Also, credits for bricked hotplug and alucard hotplug etc. haven't been given even in the thread.
Pardon me.. I will fix it give me some time
AnoopKumar said:
Pardon me.. I will fix it give me some time
Click to expand...
Click to collapse
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Nice work AnoopKumar. Added to index
eskamhl said:
Just tried it and now my phone is rebooting every 30 seconds, clearly there are some problems.
Even flashing other kernels or the stock one from cm 12.1 isn't working ( I also restored the libs ), I had to flash the rom again with a full wipe, sorry but had no time to make a logcat.
Click to expand...
Click to collapse
Thank you for the feedback.. Some issues are removed and added new zip
Quasar said:
No problem. Just wanted to alert you, because there are a lot of wolves out there who'll trouble you a lot for unretained commit authorship.
Click to expand...
Click to collapse
Bro removed all kanged commits.
Perfect, working 100%!!
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
No more additional cpu governor on the last version?
Nico3d3 said:
No more additional cpu governor on the last version?
Click to expand...
Click to collapse
Actually I removed them because of some authorization issues...
Abravanelsenor said:
Amazing Kernel! Kernel running smoothly, show the ball ! All that remains is to add Faux'123 Sound Control functionality.
Click to expand...
Click to collapse
Stay tuned its coming in the next version.
AnoopKumar said:
Stay tuned its coming in the next version.
Click to expand...
Click to collapse
Possible to incorporate D2W?
Thanks :good:
possible installation in the RR 5.5.8 ? No Bootloop ?
FilipeRgz said:
possible installation in the RR 5.5.8 ? No Bootloop ?
Click to expand...
Click to collapse
Currently i'm on pac rom, not faced any bootloop.
brom25 said:
Possible to incorporate D2W?
Thanks :good:
Click to expand...
Click to collapse
Im working on that too. Only sweep2sleep working now
AnoopKumar said:
Currently i'm on pac rom, not faced any bootloop.
Click to expand...
Click to collapse
I'll back up and install for testing, thanks

[KERNEL][JB/KK][UNOFFICIAL][LINARO]Neatkernel 2.0

Neatkernel2.0 by gsstudios​
This project is now no longer updated. I won't be using my sgs for a while.​
It is compatible with all JB (4.1.2,4.2.2,4.3, 4.3.1) and KK (4.4.2, 4.4.4) ROMs based on AOKP and CM layout!
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve Neatkernel kernel as much as I can, without sacrificing stability.
DISCLAIMER:
ONLY FOR AOSP BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility​
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
- Linux kernel 3.0.101
- Double Recovery
- Swap SD card
- OC up to 1500mhz
- BLN & CM LED
- Compiled with Linaro 4.9.4
- Fast charge
- Vibration intensity
- Deep Idle
- Governor ondemand
- Governor intelliactive
- Governor OndemandX
- Governor lagfree
- Governor wheatley
- Governor smartassV2
- Governor lulzactive
- Governor conservative
- Governor interactive
- Governor interactiveX
- Governor SavagedZen
- Governor minmax
- Governor brazilianwax
- Governor adaptive
- Governor ondemand
- Governor userspace
- Governor powersave
- Governor lionheart
- Governor perfomance
- bfq I/O scheduler
- cfq I/O scheduler
- deadline I/O scheduler
- fifo I/O scheduler
- noop I/O scheduler
- row I/O scheduler
- sioplus I/O scheduler
- vr I/O scheduler
- zen I/O scheduler
- Fast Charge support
- SWAP support
SWAP SD
the hard way is to modify /system/.neatkernel/swapsd from "swapsd=0" to "swapsd=1" and you External Card Will Be use like internal.
delete /system/.neatkernel/swapsd will go back to stock storage status.
CWM Recovery is by default.
To boot in TWRP just hit any volume keys after vibrate to boot into TWRP recovery.
THINGS TO DO:
- Why don't you tell me what to do
THINGS I WILL NOT ADD:
Code:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors such as Userspace
- Colour tuning support (Unless someone helps me with this)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
mohammad.afaneh (For original Neatkernel source)
Domnesu (For providing builds for the galaxy s)
Christopher83 (For Linaro toolchain)
Chet Kener (For UBER toolchain)
Pawitp
Stratosk
DerTeufel
Kasper_h
neobuddy89
alberto96
DOWNLOAD:
Kernel downloads
See post 3
Video libs
DOWNLOAD links to Standard CyanogenMod video libs. WARNING! Download libs for your version of android!
JB_41_CM_libs.zip
JB_42_43 CM_libs.zip
KK_44_CM_libs.zip
CHANGELOG:
See post 2
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/NeatKernel_captivate
And for the original Neatkernel source:
https://github.com/mohammad92/NeatKernel_captivate
ISSUES:
Sometimes Camera video recording and Gallery video playing do not starts from first attempt. Do not panic! It is not bug it is feature of CMA memory allocation! Close Camera or Gallery. Try again. - Fixed in build b002
If video playback is crashes with error then you need to flash standard CyanogenMod video libs. This error is due to you use bigmem libs from previous ROM or KERNEL.
USEFUL LINKS
- CPU Governor and I/O Scheduler Guide
TCP Algorithm guide
HAVING PROBLEMS?
Check the troubleshooting guide before asking questions
HOW TO FLASH?
Check the troubleshooting guide
WHICH APP TO TUNE KERNEL?
Use devil tools
​
XDA:DevDB Information
Neatkernel 2.0, Kernel for the Samsung Galaxy S I9000
Contributors
gsstudios
Source Code: https://github.com/gsstudios/NeatKernel_captivate
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: b002
Stable Release Date: 2015-11-02
Current Beta Version: b001
Beta Release Date: 2015-11-02
Created 2015-11-01
Last Updated 2015-11-07
Changelogs:
--UNRELEASED VERSIONS--
Code:
- Nothing to see here :)
--RELEASED VERSIONS--
Code:
[B]Neatkernel 2.0 b002 (STABLE)[/B]
- CMA removed (Too many problems when enabled. A lot of related commits were reverted)
- Fixed BFQ, you can now set in kernel tuning apps
- Fixed Westwood not being default TCP algorithm
- SIOPLUS is now the default IO scheduler
[B]Neatkernel 2.0 b001 (BETA)[/B]
- Built with latest linaro 4.9.4 from Christopher83
[STRIKE]- Introduced BFQ io scheduler v7r8 [/STRIKE] - Broken. Fixed in next release
- Initial support for TCP algorithm changing
[STRIKE]- Westwood is now the default TCP algorithm[/STRIKE] - Fixed in next release
- Selinux changed to permissive, please confirm
Downloads
I test most of these builds to make sure they are stable. There may be some cases where I might not test out a build before releasing it. Kernels marked with '(STABLE)' are safe for everyday use, but only take this as a indication.
Which version to get?
galaxysmtd = international i9000 variant - This is the main version I will be building for
captivatemtd = SGH-i897
galaxysbmtd = Samsung Galaxy S B
vibrantmtd = SGH-T959
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
Main download link:
https://www.androidfilehost.com/?w=files&flid=42683
Mirror download link:
https://github.com/gsstudios/NeatKernel_captivate/releases
​
Beta builds and stable builds will only be uploaded on AFH and github.
Troubleshooting
(Probably one of the most detailed troubleshooting guides for kernels on XDA)
For general help, please use the Q&A thread
Q:How do I flash your kernel?
A: You flash kernels like flashing roms, except you don't have to factory reset your phone. If you can't flash the kernel for some reason, you can either flash philz recovery then flash the kernel OR you can just make your own kernel .tar file and flash via ODIN by following this guide: http://forum.xda-developers.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Builds that have not been marked with 'Stable' are mostly stable, or haven't been tested enough to earn a stable tag. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: Why not use XYZ toolchain?
A: See this post
Q: What is UBER?
A: After years of using different custom toolchains like Linaro and SaberMod, I found there were things I liked about both of them but also things that didn't sit quite as well with me. SaberMod always seemed to have UI lag (especially in scrolling) but opened apps well and Linaro always seemed to be buttery smooth but had terrible app opening speed. Linaro battery was also worse for me than SaberMod. After going back and forth between toolchains I finally had this epiphany! Why not just take all of the best parts of all toolchains and merge them into one? So I began bringing up my own toolchain from gnu.org. At first I patched in all of the AOSP toolchain pactches (much like how SaberMod did it originally however it is important that you realize that No! I did not copy and paste SaberMod into my source I'm simply stating that I used their idea of merging aosp into gnu.org) to my source. Then I went through and added all of the linaro patches that I could to the source. I also made sure that I had the very latest of every toolchain component. I then made very minimal changes to the aosp toolchain build folder to allow for building with these newer toolchain components and UBERTC was born!!! (Note: both Linaro and SaberMod both made lots of modifications to the toolchain build folder, UBERTC is the closest to the aosp build process)
Click to expand...
Click to collapse
Do you guys want UBER toolchain or Linaro toolchain for this kernel? If you want to know what I think, I think linaro will be better suited as for older devices, linaro usually performs better.
Kernel will be released sometime this week, hopefully by today, I will be able to upload.
There seems to be a problem with the Neatkernel script as the zip files are not being created properly. Will fix this issue soon.
Test builds are up, must be flashed using ODIN or heimdall. Won't be a 'official' release until I fix the zip issues.
regards, gsstudios
Update: All good now. Just renamed the zimage from the .tar file to boot.img, then it should be flashable in a zip file. This kernel is officially released now.
great work
many thanks
Next build will have CMA reverted. Bigmem is much more stable and reliable compared to CMA, but that means of course we get less ram. BFQ will now be able to be selected and Westwood is now the default TCP algorithm. I will decide whether to build with UBER toolchain later on the kernel development, right now the focus is on improving the stability of the kernel and porting new features.
regards, gsstudios.
Just flashed NeatKernel_galaxys_v2.0b002-[11-02]-[17-33].zip. Live OC is not supporting, Custom Voltages is not supporting... A lot of features from description of kernel are not supporting. Why it happened?
jupiter5700 said:
Just flashed NeatKernel_galaxys_v2.0b002-[11-02]-[17-33].zip. Live OC is not supporting, Custom Voltages is not supporting... A lot of features from description of kernel are not supporting. Why it happened?
Click to expand...
Click to collapse
Will be available hopefully in next build. Was supposed to edit the OP and add those features later.
Regards, gsstudios.
gsstudios said:
Will be available hopefully in next build. Was supposed to edit the OP and add those features later. Regards, gsstudios.
Click to expand...
Click to collapse
It will be great if you port this kernel to ICS.
may I know the ram for this kernel ? thanks
yah7733 said:
may I know the ram for this kernel ? thanks
Click to expand...
Click to collapse
v2b002 ram amount is about 382Mb
Due to the lack of activity on my i9000, I have decided to abandon this project and will no longer give updates to this kernel. The thread will remain open until it becomes unused.
regards, gsstudios.
:crying::crying::crying:
gsstudios said:
Due to the lack of activity on my i9000, I have decided to abandon this project and will no longer give updates to this kernel. The thread will remain open until it becomes unused.
regards, gsstudios.
Click to expand...
Click to collapse
OK. But you must to delete your feature list, cause it is fake most of all, unfortunately.
jupiter5700 said:
OK. But you must to delete your feature list, cause it is fake most of all, unfortunately.
Click to expand...
Click to collapse
Just think of it as incomplete. I just don't have the time to work on the sgs anymore (need more time on my sgs 2 as this is my main device, main development device). Sorry I couldn't bring all promised features.
Regards, gsstudios
Update: OP updated. This will be the last post on this thread. Seems like a good time to close it.

[KERNEL] [LOS 14.1-MiUi 9][HMP-EAS] Nagatobimaru [28 September]

DISCLAIMER
I will not be held responsible for anything that happens to your device after flashing this kernel. If you don't know how to bring your dead device back to life please don't make any modifications and stay with stock MIUI. This is only meant for advanced users.
Features :
-Compiled with UBER 6.4.1 TC-
-CPU/GPU O.C[for all variants]-
-Savoca KCAL-
-Blu_active Cpu Gov-
-FIOPS I/O-
-Chacha20 CRNG-
-Adreno Idler-
-Sound Contol-
-Slimbus O.C for better sound quality-
-Vibration Control Intensity-
-ExFat/NTFS Support-
-Toggleable Software CRC-
-TCP congestion Algorithms-
-Misc Changes-
-Spectrum support-
Installation:
-Boot Into Recovery-
-Flash Kernel-
-Wipe Cache and Dalvik (Optional)-
-Reboot!-
Download :
https://www.mediafire.com/folder/5yu4ri9bumpts/Gemini
MiUi-Gemini is for MiUi 9 ( or MiUi 9 based roms )
HMP-Gemini is for LOS or other Los based roms.( w/o EAS support )
EAS-Gemini is for EAS supported roms.
EAS-voxpopuli-Gemini is for EAS supported roms which using Vox Populi Power HAL.
* users should use spectrum to load the kernel settings ( balance profile ) on every boot. *
--------------------------------------------------------------------------------------------------------------------------------------
Credits:
bgcngm-franciscofranco-Sultanxda-flar2-eng.stk-The Flash-frap129-osm0sis
--------------------------------------------------------------------------------------------------------------------------------------
Contributors:
MEGAX91
Source :
https://github.com/GUYVER91/Capricorn
don't dirty Flash my kernel on any other custom kernel , if you are coming from another custom kernel , first flash your Rom's stock kernel through Fastboot , then Flash my kernel.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
these are my kernel settings , you can use them in case you can't use spectrum.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
never post problems without full details of what setup you are using, it's not possible to help that way.
Provide me some logs:
- ADB logcat dump
- /sys/fs/pstore contents
- dmesg dump
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Only use EAS builds alongside EAS supported roms..
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if you think your battery life is not good enough , use betterbatterystats and find the battery drain causes..
Changelog :
v3.0 :
[HMP Builds] :
-removed OC frequencies ( standard SD820 frequencies are still available for 32GB variant )
-updated Wlan Driver
-updated blu_active CPU Gov
-updated sound control
-updated thermal driver
-updated cpuidle driver
-updated F2FS driver
-memory management improvements
-upstream updates
-bug fixes
[EAS Builds] :
-removed OC frequencies ( standard SD820 frequencies are still available for 32GB variant )
-updated Wlan Driver
-updated sound control
-updated thermal driver
-updated cpuidle driver
-updated F2FS driver
-memory management improvements
-upstream updates
-bug fixes
v2.0 :
[HMP Builds] :
-Merge Last CAF branch LA.UM.5.5.r1-05800-8x96.0
-Updated Wlan Driver
-added hyperx CPU Gov
-added Tripndroid I/O Scheduler
-updated blu_active CPU Gov
-removed qpnp-fg family wakeup sources
-Blocked lot of kernel wakelocks
-updated EXT4 driver
-lot of upstream changes
-Bug Fixes
[EAS Builds] :
-Merge Last CAF branch LA.UM.5.5.r1-05800-8x96.0
-Updated Wlan Driver
-added Tripndroid I/O Scheduler
-added cpu-boost (optimized for EAS)
-removed qpnp-fg family wakeup sources
-Blocked lot of kernel wakelocks
-updated EXT4 driver
-lot of upstream changes
-Bug Fixes
v1.0 :
initial release
a bout EAS :
EAS stands for Energy Aware Scheduling , where the whole governor settings + HMP Settings are replaced by one system relying on "scheduler hints" from specifically modded low-level files including specially modded libs and framework patches.EAS aims to achieve better battery through lowering the product of V * I by altering the voltage along with the frequency dynamically based on loads calculation and the frequency used and many other variables.
EAS will set the core > Frequency > voltage per task. If the scheduler decided that a task needs a higher freq then it supplies that before the task is placed on a core.
Also the great thing about EAS (When tuned and setup properly) is that it is setup to not overshoot and overpower task workload.
Unlike our standard governor like interactive that does sampling and cpu-boost. These both can overshoot the performance needs pf the current workload thus leading to energy loss.
in short : EAS is all about setting the stune groups and the cpusets and using a sched -or schedutil- governor. There has to be an energy model for the SoC so that there is proper energy costs calculation made
*Energy models are the voltage/frequency*
Nice to see this kernel for mi5.
It Should work with Aosp (extended)? It uses schedutil governor by default.
And.does.it have oc.for 32gb version?
RootNightmareX said:
Nice to see this kernel for mi5.
It Should work with Aosp (extended)? It uses schedutil governor by default.
And.does.it have oc.for 32gb version?
Click to expand...
Click to collapse
Reeead the OP! ^^
Second item under features: "CPU/GPU OC [for all variants]"
RootNightmareX said:
Nice to see this kernel for mi5.
It Should work with Aosp (extended)? It uses schedutil governor by default.
And.does.it have oc.for 32gb version?
Click to expand...
Click to collapse
yes , it works on AEX. ( on EAS build , schedutil is the default Gov )
OC is available for all variants.
Phil_Smith said:
Reeead the OP! ^^
Second item under features: "CPU/GPU OC [for all variants]"
Click to expand...
Click to collapse
Preeety sure it wanst there when i red it 1st time
RootNightmareX said:
Preeety sure it wanst there when i red it 1st time
Click to expand...
Click to collapse
Okay, I see. Sorry then.
Waow new kernel again. Great work, thank you..
Min 1,2ghz
Max 1,1ghz freq.
Its normal? Any recommaned freq?
Nice to see your kernel on Gemini! I used to follow it on Kenzo, will try it soon
RootNightmareX said:
Min 1,2ghz
Max 1,1ghz freq.
Its normal? Any recommaned freq?
Click to expand...
Click to collapse
No! min freq is 307200MHz! use spectrum and choose balance profile.
MEGAX91 said:
No! min freq is 307200MHz! use spectrum and choose balance profile.
Click to expand...
Click to collapse
The hmp version also got EAS? Sorry if it's a low question.
Eas works good with Pure Fusion, spectrum balanced mode so far so good.
masterlo3 said:
The hmp version also got EAS? Sorry if it's a low question.
Click to expand...
Click to collapse
No.
MEGAX91 said:
No.
Click to expand...
Click to collapse
Lol thanks. I figured. Downloaded and testing on JDCT AOSP
Thanks for miui kernel. I've used your kernel before on kenzo and it works fine. I hope it works fine too on gemini. Can you add flar2 wake gesture support on miui and los? Please keep update miui kernel. Thank you
can it work on rr roms?
Sheldon Lv said:
can it work on rr roms?
Click to expand...
Click to collapse
Sure it will

[KERNEL] Wind Kernel - r2 [4.4.128][UV][UC]

Hi everyone, I would like to share my personal u11+ kernel here. I am an amateur and love to cook kernel (previously >LG Nitro HD Wind kernel) for my own daily device.
OFC, Performance, Battery life and Stability aimed.
Hopefully you enjoy!
Changelog
r2
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
r1
base: u11+ tw 1.05.709.12
merged: u11 tw 2.42.709.1_R2
upstream: Linux v4.4.78 -> v4.4.126
lowmemorykiller commits for managing free ram properly
i/o scheduler: maple
tcp: westwood
power-efficient workqueues
boeffla's generic wakelock blocker
misc patches/hacks for responsiveness and battery, view commits for detail
>download here<
Installation
save in external sd
flash via TWRP
optional: backup boot partition
>source<
Credit
nathanchance - linux upstream conflict fixes
tbalden - verity patch
boeffla - generic wakelock blocker
osm0sis - anykernel2
and developers sharing their source
XDA:DevDB Information
Wind Kernel, Kernel for the HTC U11+
Contributors
lyfkevin
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: r2
Beta Release Date: 2018-04-06
Created 2018-04-06
Last Updated 2018-04-06
Which security update is this on?
bosmon said:
Which security update is this on?
Click to expand...
Click to collapse
Stock one. I didnt touch it yet.
I hope doing these progressively. I found difficult to debug if adding massive features or patches at once.
This is stable .
Thank you.
newyesor said:
This is stable .
Thank you.
Click to expand...
Click to collapse
Glad to hear. Feedback are welcome.
r2 is released!
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
lyfkevin said:
r2 is released!
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
Click to expand...
Click to collapse
HI mate, thank's for you work...please would tell me how make it work kcal ?....everytime i tried open the app just close. Thnak's
neofrost37 said:
HI mate, thank's for you work...please would tell me how make it work kcal ?....everytime i tried open the app just close. Thnak's
Click to expand...
Click to collapse
Which app are u using?
You may use Kernel Adiutor, EX Kernel Manager
Personally I am using Ex Kernel Manager.
@lyfkevin
This kernel camera can't be opened. Did you find this a problem?
poppy22 said:
@lyfkevin
This kernel camera can't be opened. Did you find this a problem?
Click to expand...
Click to collapse
Camera should work fine in my released version.
You compiled from my github?
They are buggy in CAF-merged branches.
The stock rom is not fully capable with updated CAF patches.
lyfkevin said:
Camera should work fine in my released version.
You compiled from my github?
They are buggy in CAF-merged branches.
The stock rom is not fully capable with updated CAF patches.
Click to expand...
Click to collapse
Yes, I am the CAF version compiled from your GITHUB, but I can't work with your compiled brush into my mobile phone camera.
poppy22 said:
Yes, I am the CAF version compiled from your GITHUB, but I can't work with your compiled brush into my mobile phone camera.
Click to expand...
Click to collapse
You mean version r2? Any logcat.
Because camera works for me in either r1 and r2.
If you mean caf-branches in github, it's normal because they are still under testing.
lyfkevin said:
Which app are u using?
You may use Kernel Adiutor, EX Kernel Manager
Personally I am using Ex Kernel Manager.
Click to expand...
Click to collapse
Thank's for answer !!, i'm using kernel adiutor and let me play with some parameters of the screen, but i'm looking for more bright, so is possible to "overwrite" the settings to let the brightness go higher?

Categories

Resources