[ROM] [EOL] [7.1.2] [EAS] [UNOFFICIAL] AEX 4.6 [17th October] - Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, &

So we had a Kernel with EAS support, and now we have a AEX 4.5 AEX 4.6 build with it
What is EAS? Well, better read this article.
Code:
/* *** Disclaimer
* I am not responsible for bricked devices, dead SD cards, riots, Star Wars,
* Return of Jedi, Empire striking back. YOU are choosing to make these modifications,
* and if you point the finger at me for messing up your device,
* [B]I will laugh at you.[/B]
* BOOM goes the Dynamite
*/
KERNEL FEATURES:
EAS support.
Additional I/O scheduler(Fiops(by default), noop, Maple, Tripndroid.
Schedutil CPU governor. DON'T CHANGE IT
Based on AEX for Z2 by @davidevinavil and commits from EAS-project.
ROM FEATURES:
Full EAS support.
Thousands of tweaks for smooth and fast UX.
Contributors: @Renderbroken, @DD3boh, @davidevinavil, @varotone, EAS-project team and entire Z2 Plus development team.
Installing procedure.
Code:
-Download the ROM and GApps of your choice
-Backup each and every partition from TWRP Recovery
-Make a full wipe (system, data, cache, dalvik)
-Flash AEX Package
-Install GAPPS package
-Wipe cache!
-And at last Reboot!
[First boot will take few minutes! Have patience]
Clean Flash is always recommended!
XDA:DevDB Information
AEX 4.6 with EAS support., ROM for the Lenovo ZUK Z2 (Plus)
Contributors
Star_king12
Source Code: https://github.com/YaroST12/
ROM OS Version: 7.x Nougat
ROM Firmware Required: unlocked bootloader, twrp,
Based On: AOSP Extended
Version Information
Status: Beta
Created 2017-08-07
Last Updated 2017-10-23

Time for FAQ
1. Can it be installed over official AEX?
It should be possible. Clean flash is always top 1 choise for you, but you may give it a try. Remember to wipe caches.
2. Can I install custom kernels?
No one prevents you from flashing it, and it will work(most likely), but you will lose EAS support and why not use official ones with custom kernel,
huh?
3. Whats the difference between Official and this one AEXs?
F1xy kernel(not "Legendary battery life")(useless placebo patches and "magical" optimizations)(obviously more, check my GitHub).
Full EAS support(latest powerhal from Pixel, powered by Google and kernel support included)
Various smoothness tweaks + attempt to make LTE and 3G connection more stable.
4. Why is CPU underclocked to 1.4/1.7 GHz?
Just read this.

Download link and changelog will live here.
Download 4.6​
Changelog (4.6)
17th October - kernel update.
https://www.androidfilehost.com/?fid=817906626617939564
1. Some improvements to fingerprint (should work more consistently).
2. Removed microphone and headphones gains. Caused issues with VOLTE.
3. Nuke dropped on perfd, stop murdering battery life and overheat device.
4. Added CPU-boost to compensate for it.
5. Other set of GCC optimizations.
15th October - kernel update.
https://www.androidfilehost.com/?fid=962021903579485326
1. Fixed random apps crashes.
2. Fingerprint bugs resolved, speed improved.
3. Some wakelocks blocked.
4. Improved fs performance.
5. Older ZUK camera source. Video recording should work fine now.
6. Improved task balancing across clusters.
7. Added microphone and headphones gain in KA.
13th October - kernel update/hotfix.
https://www.androidfilehost.com/?fid=745849072291680668
1. Fixed WIFI causing bootloop.
2. Fixed fingerprint stopping responding.
3. Some more fixes.
4. Upstream to 3.18.75.
5. Device will reboot if kernel panic (pale LED) occurs.
5. Touchboost increased just a bit.
12th October - kernel update.
https://www.androidfilehost.com/?fid=817906626617938066
1. Latest security patches + upstream.
2. Lags and stutters mostly fixed.
3. Newer toolchain.
4. EAS update.
5. Display ULPS enabled (Ultra low power state).
5. Headphone and microphone volume control in KA.
6. Boeffla wakelock control.
7. Video recording fixed - testing required.
8. Bugfixes.
9. Battery drain reduced (I hope so).
10. Adrenoboost + adreno idler.
11. EAS frequency tables updated from Pixel, makes frequency control more accurate.
12. GPU OC to 652 MHz.
6th October
1. Upstream+security patches.
2. EAS updates.
3. Fingerprint improvements (stopping responding isn't solved yet )
4. OTG fix (testing needed).
5. Improved responsiveness and smoothness.
Most likely you will see that battery drains faster, I know about it. I need someone to check OTG.
23rd September.
Kernel update.
https://www.androidfilehost.com/?fid=673368273298988342
1. Kernel part of camera updated.
2. Massively increased fingerprint scanner speed.
3. Added input boost to kernel.
4. Other optimization flags, a bit better UX.
5. Restored stock CPU frequencies. (2150/1593)
6. Default iosched set to maple.
21st September.
1. Fixed audio playback.
2. Tuned brightness levels a little bit.
3. Fingerprint recognition when pulling out from pocket improved.
4. Memory latencies reduced.
5. Maximum frequencies reduced to 1.47/2 GHz.
6. SafetyNet verification fixed.
19th september.
1. ROM "versioning" removed. Use build date from now.
2. V10 Kernel release.
3. Updated fingerprint scanner.
4. Removed a bunch of unrequired wakelocks.
5. Backlight dimmer (finally fixed it).
6. Latest CAF patches.
7. Probably fixed fingerprint suspend (I bet they are).
8. Removed underclock for now.
N. Something more, I'll add it probably...
DOWNLOAD 4.5
Changelog (4.5):
V2.5.1 Kernel update.
1. Updated CPU clock control.
2. Improved memory latencies.
3. Reworked fingerprint sensor logic. Now it relies on wakups rather than wakelocks.
4. Removed a lot of code causing unneeded wakelocks.
V2.5.1
ROM:l
1. Fixed wlan issues.
Kernel:
1. Improved fingerprint recognition.
V2.5
KNOWN ISSUES:
WiFi hotspot ruins wifi.
Fingerprint refuses top unlock device from deep sleep sometimes.
Otg is not working.
ROM:
1. 3(4)G connection power consumption reduced.
2. Some smoothness tweaks.
3. Wi-fi config imported from ZUI 3.1(should be working fine)
Kernel:
1. Added longtap toggler(sys/module/fpc1020_ree/long_tap_z2, Y - enables longtap, N - disables)
2. Upstream to 3.18.70.
3. Removed some unneded wakeups.
4. Fixed 2% battery drop.
5. Fingerprint wakeup <<should be>> faster, i'm not sure.
V2.4 ROM and V9 kernel.
ROM:
1. Removed some radio tweaks to prevent huge battery drain.
2. A little more UI smoothness.
Kernel:
1. Proper upstream to 3.18.69.
2. Removed voltage control (literally unusable).
3. Fixed some internal errors.
4. Kernel prepared for Oreo update. AEX, it's you turn.
5. Clock speed of little cores reduced to 1.32 and big to 2.15.
V2.3 ROM and V8 kernel(removed from AFH).
ROM:
1. Imported some tweaks(UI, Wi-Fi and LTE/3G) from Pixel.
2. Enabled SDClang.
Kernel:
FIX FOR BLACK DISPLAY
1. Downstream from 3.18.67 to 3.18.49.
2. Added backlight dimmer(reduces screem brigtness a little bit)
3. O3 optimizations enabled.
4. Wakelock duration reduced.
5. Overclock enabled(big-2.3, little-1.74)
V2.2 ROM and V7 kernel.
ROM:
1. Rebalanced sheduler boost(not final variant).
2. Reduced Wi-Fi power consumption, perhaps deep sleep fixed.
Kernel:
1. Upstream 3.18.49 - 3.18.67.
2. Removed some CPU governors.
3. Overall update from 1+3, merged latest CAF tag.
V2.1 ROM and V6 kernel.
ROM:
1. Added schedboosts.
Kernel:
1. Upstream (3.18.31 to 3.18.49).
2. Fixed lagging and stutters.
3. Added new EAS compatible governors.
V2 ROM and V5 kernel.
Kernel:
1. Rebase to latest @davidevinavil kernel sources.
2. Updated EAS.
3. Borrowed fingerprint speed boost from 1+3.
4. Added wakelock bloker.
5. Added adrenoboost.
6. Decreased log spam from different drivers.
7. Removed nearly all I/o schedulers, only Maple, noop and bfq left.
Rom:
1. Qualcomm boost framework.
2. Improved GPS performance (A LOT).
3. Some tweaks from 1+3 to increase smoothness.
Initial ROM:
1. Chacha20 entropy engine.
2. Voxpopuli powerhal.
3. Replaced gps.conf(increased accuracy and connect speed)
0.3.99
1. EAS reapplied completely.
2. Added fingerprint and input boosts.
3. Updated Maple ioscheduler, idle battery life should be increased.
4. Some tweaks to boost internet connection speed.
5. Removed dynamic Fsync (sadface, loved it so much).
6. Removed adreno idler, GPU idle clock set to 133 MHz.
7. Added voltage control.
0.3
1. Camera on latest AEX is working now.
2. Other toolchain, some more responsiveness.
3. Idle GPU freq set to 133 MHz.
0.2
1. Some mics fixes.
0.1
1. I/O schedulers(Maple(default), FIFO, FIOPS, Tripndroid, Sio(-plus).
2. Upstreamed EAS.
3. Fixed none-CAF roms laggs.
4. Fixed "power to attached device" message.
5. Aio optimizations.
6. Power efficient workqueues.

Deleted.

educavalcante said:
access denied.
Click to expand...
Click to collapse
Ill fix it, Danks

Download link doesnt work.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Wysłane z mojego Z2 Plus przy użyciu Tapatalka

Download link should work now.

Works now. Thanks , is it the same as you posted in jaguar thread?
Nvm read the post clearly. Thanks gonna try it.
Wysłane z mojego Z2 Plus przy użyciu Tapatalka

Wooby said:
Works now. Thanks , is it the same as you posted in jaguar thread?
Wysłane z mojego Z2 Plus przy użyciu Tapatalka
Click to expand...
Click to collapse
There was a 0.0 version. Changelog in s cond post.

Can you please let me know the procedure to backup the current stock kernel, In case I want to return to the stock kernel ?
Thanks.

Maybe you can add the new camera blobs. Camera is crashing.

greatcoder said:
Can you please let me know the procedure to backup the current stock kernel, In case I want to return to the stock kernel ?
Thanks.
Click to expand...
Click to collapse
Great question. I'll add it to main post.

greatcoder said:
Can you please let me know the procedure to backup the current stock kernel, In case I want to return to the stock kernel ?
Thanks.
Click to expand...
Click to collapse
Added to main post.

akapolips said:
Maybe you can add the new camera blobs. Camera is crashing.
Click to expand...
Click to collapse
Ill research what can be done.

EAS..
What else is gonna come out for this phone?
I'm so happy i bought it!

sotosgolf said:
EAS..
What else is gonna come out for this phone?
I'm so happy i bought it!
Click to expand...
Click to collapse
Incredible battery life.

You should mention in OP that this kernel does not have the last blobs so on ROMs like Aex or rr which have it by default, camera should not work. I've not tried but as others says on aex thread it is happening with jaguar kernel

benplay64 said:
You should mention in OP that this kernel does not have the last blobs so on ROMs like Aex or rr which have it by default, camera should not work. I've not tried but as others says on aex thread it is happening with jaguar kernel
Click to expand...
Click to collapse
It won't be using them forever, I'll try to add them to 0.2

Star_king12 said:
Incredible battery life.
Click to expand...
Click to collapse
You touched a sensitive nerve there.. testing since 4 seconds after reading..
General feeling from first minutes with AEX 4.4 24/7 release:
Better colours
Multi-tasking speed increased
Responsiveness increased
Performance in 3d gaming mixed feelings (slightly higher initial loading times, better in-game loading times, no particular difference while playing)
Smoothness decreased
Camera quality decreased (very slightly) but i definitely confirm camera is working on AEX
Heating very slightly increased
Of course I can't talk about battery for now but definitely no overdraining
Thank you for your work

sotosgolf said:
You touched a sensitive nerve there.. testing since 4 seconds after reading..
General feeling from first minutes with AEX 4.4 24/7 release:
Better colours
Multi-tasking speed increased
Responsiveness increased
Performance in 3d gaming mixed feelings (slightly higher initial loading times, better in-game loading times, no particular difference while playing)
Smoothness decreased
Camera quality decreased (very slightly) but i definitely confirm camera is working on AEX
Heating very slightly increased
Of course I can't talk about battery for now but definitely no overdraining
Thank you for your work
Click to expand...
Click to collapse
Colors are adjustable via Kernel Adiutor, I'll research what can be done about camera, give me some rest)

Related

[Kernel][All Quark]BHB27-Kernel android [5.1.1] to [10.x]. For Custom and Stock ROM's

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have start this project to bring a more features and updates to Quark Kernel, and put the user on the control of the Kernel configuration
ROM Support:
This will work on any CM/LOS Custom ROM that is up to date to CM/LOS Repo or my custom ROM repo (in doubt check with the ROM developer) And latest Motorola Stock Marshmallow ROM for all devices (for the stock ROM use Kernel V3.5 and up only)
TWRP will display what is flashing during installation if the TWRP screen show something odd print the screen and post on the thread
SuperSu support on Stock ROM:
Link for BETA-SuperSU-v2.62-3-20151211162651_3
If you never flash SU on Stock ROM first Flash that version reboot then go back to recovery and Update using the latest from SU thread
This Kernel has safetynet verification Support on unlocked bootloader of course without ROOT, if you wanna ROOT checks latest hide root support threads use XDA search for that
Main features:
I will bring any featuring and improves that is possible to Quark, but the main point is provide the better experience balance battery vs performance, keep a update kernel and full user control.
Kernel is a slow process to improve I will take my time and will make updates when I can, every update will be tested before release, any bug found please let me know.
Some of the below features can only be see on the app when using this thread Kernel, the below are just some of many featuring of this app/kernel...
CPU and GPU - Over and under clock;
Linux Kernel always update to the latest version;
Many custom CPU GOV optimized for Krait 450;
CPU optimizations;
CPU Per core control;
CPU Per core Frequency control;
CPU Per core Governor control;
CPU Schedule workqueues;
CPU Boost ;
CPU Wakeup Boost and Hotplug Boost;
CPU voltage control;
Custom CPU Hotplug;
Custom Thermal control;
Ram control;
GPU optimizations;
GPU idling algorithm;
Wake gestures Doubletap2wake and Sweep2wake ;
KCAL - Advanced color control;
Sound control module;
Power and suspend Improves;
I/O Scheduler optimizations;
Many custom I/O;
Wake Locks controler;
KSM kernel same-page merging;
Virtual Memory;
Zram;
Network optimizations;
Many custom TCP Cong algorithm;
Custom Kernel Adiutor app with special features just for Quark (to better support my kernel I make my on Kernel adiutor check Downloads)
Check Changelog L, Changelog M, Changelog M and N, Changelog O, Changelog P and Mod Kernel adiutor changelog for full list of features.
Installation instruction Kernel:
Download the latest version
Take a TWRP backup (system, boot and data)
Flash the zip using latest TWRP recovery (wipes are't necessary)
Reboot
Enjoy!
On Oreo, will take two tries to finished the boot process after the update, first is slow and reboot at the end second is fast and after all must work OK
Installation instruction app:
Just Install the apk like anormal app on any ROM it need's ROOT access to work.
Installation Files
Download Kernel Oreo, Nougat and Marshmallow (Marshmallow only version 3.5 and up, Oreo 9.5 and up):
Main:
Gdriver Mirror Click Here (This contains current and previously version)
Secondary:
AFH Mirror Click Here (This contains all old versions)
Download Kernel Lollipop click here
Download App Mod Kernel adiutor for Quark:
XDA Labs Click Here or use XDA Labs app to install update and received updates warning (search for KA27)
AFH Mirror Click Here (This contains all old versions)
TWRP For Quark click here
To go back to Stock ROM kernel:
Oreo:
Is possible in Oreo to just restore or reflash the Stock ROM boot.img, if you did not made a backup of the boot partition, you can extract the boot.img from the ROM zip and install it over TWRP the process is the same as any .zip flash but you must chose "images (is in the bottom right of the install screen) after select the image and image type "boot"
Older than Oreo OS::
As quark kernel is not just a boot.img before Oreo, it has some modules that are on the system partition, to restore is need to re-flash yours ROM zip (a dirty flash) it will re-flash the stock kernel + all the modules of that ROM, but will erase any modification that you made to system like xposed or gapp so is need to re-flash any zip that changes the system partition. Make a TWRP backup first just in case, the dirt flash may bootloop, in that case clean install.
Thanks:
@Skrilax_CZ for his hard work on CyanogenMod for this device.
Big thanks:
A big thank for those that donating to thanks for my work on this kernel
Developer donation link:
To donate via paypal click here
No other donation option is available.
XDA:DevDB Information
BHB27-Kernel, Kernel for the Motorola XT1225, XT1250 and XT1254 -- Moto Maxx, Moto Turbo and DROID TURBO.
Contributors
baybutcher27
Source Code:
Kernel: fgl27/BHB27Kernel/tree/N_c
Toolchain: UBER from matthewdalex/arm-eabi-4.9
How to Build: how_to_build_this.sh
Mod Kernel Adiutor app: fgl27/KA27
Kernel Special Features: Check Changelog L, Changelog M,Changelog M/N Unified, Changelog O, Changelog P/Q
Version Information
Linux: 3.10.x
Status: Stable
Created: 2015-09-21
Last Updated: Check Changelog L, Changelog M,Changelog M/N Unified, Changelog O, Changelog P/Q
Below is some help for the most know problems.
Random Power off or reboots?
To identify if the device random reboot or simply power it self off there is two ways.
1) If after the device goes black you can't power it up again without plunging the charger, then is because the battery is dead, even if yours battery had good % left before it shutdown yours battery is probably damage doesn't matter if the device/battery is new a battery can go bad simply by charging the device wrong, a wrong way to do it is let the device constantly go bellow 20% as low you let it get worse yours battery will be with time.
2)Check the boot reason prop "ro.boot.bootreason" if it is like the example bellow set to power_key_press the device didn't reboot it sled power off.
Code:
[ro.boot.bootreason]: [power_key_press]
Check the prop using :
Kernel Audiutor app > logs section > search in a log > mark getprop > search key word "reason".
If the Random power off are related to battery, BCL can help mitigate the problem.
BCL can be controlled via BHB27 kernel adiutor Power and battery section.
Lowering the BCL Max frequency or Making the number of hot unplugged core higher will help to mitigate the CPU power.
But if the problem persist is necessary to change the BCL low and high voltage threshold to higher values to make BCL to start sooner, the recommendation is to set they to 3700mV (Low) and 4000mV(High) and if the problem is resolved after that, the device stops randomly power it self off, lower the values 100mv it until you find a perfect value, or if the problem persist make the values 100mV higher.
Is also recommended to set the battery "Automatic power saver" from default 15% to a higher value, with is today max at 25%
If the device did just reboot just share a log as recommended on next post.
There is a help like this on the ROM's I share it may help as some problem are ROM related and not kernel so they are not here, so try to check there for more .
This kernel is tested and is fully working.
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that I can't understand and can't be reproduced, I can't fix.
Always start a post with a bug report with @fgl27 and always attached a log .zip
fgl27 Kernel Adiutor > Logs > One click all Logs to a ZIP
If is a Reboot/Power off related bug make the log as soon the device finishes boot up
Bugs without logs, without @fgl27 will probably not be read, there is too much posts on the thread sometimes and I don't have time to read it all, anyone can post as much as is need of course as long is a things related to this thread
Feature request are welcome too, but understand not all feature that exist is possible to bring to quark.
What's difference between this and kernel of NX?
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Flashed, looking forward to seeing if it makes a difference during class and such tomorrow, thanks!
RSDamasceno said:
What's difference between this and kernel of NX?
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Click to expand...
Click to collapse
Never used, can find source dev does not seem to publish, can look.
Will ask him for the source.
baybutcher27 said:
This kernel is tested and is fully working.
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
Feature request are welcome too, but understand not all feature that exist is possible to bring to quark.
Click to expand...
Click to collapse
One request, if possible? "Westwood Plus" TCP congestion control. I know "Cubic" is the Android default, but many tests show Westwood Plus (also written Westwood+) is better under lossy conditions. (Not to be confused with the original "Westwood", Westwood + is a newer version. ) Many custom ROMs include it in their kernels, and some custom kernel devs make it the default over Cubic.
Yes, there is debate over which one is better -- Cubic or Westwood Plus. But isn't choice a good thing?
http://androidmodguide.blogspot.com/p/tcp-algorithms.html
Westwood/Westwood+:
A newer version of Reno, and another commonly used one. It controls parameters better, helping out streaming and overall quality of browsing the internet. One of the most 'fair' algorithms out there, and is one of the most efficient algorithms to date.
Click to expand...
Click to collapse
If it's not possible to include it, I can live with Cubic. Just a request. :good:
ChazzMatt said:
One request, if possible? "Westwood Plus" TCP congestion control. I know "Cubic" is the Android default, but many tests show Westwood Plus (also written Westwood+) is better under lossy conditions. (Not to be confused with the original "Westwood", Westwood + is a newer version. ) Many custom ROMs include it in their kernels, and some custom kernel devs make it the default over Cubic.
Yes, there is debate over which one is better -- Cubic or Westwood Plus. But isn't choice a good thing?
http://androidmodguide.blogspot.com/p/tcp-algorithms.html
If it's not possible to include it, I can live with Cubic. Just a request. :good:
Click to expand...
Click to collapse
Yes The + i did not find because did not know about, i will search, I have included some already in the test version that i'm using, check the pic.
I know how to make things work for quark Kernel, but i don't now all the things that exist, so keep me inform, i will search and if is possible to port to quark i will.
will try to release a new version later today 6 to 8 hours from now, test is very good.
@ChazzMatt the Westwood in the next build is already the Westwood+
check the C file in here
The file is name just westwood but you can read in the file description that is the +... Test kernel is really stable, will released today, let all test and see what is the best for it use...
baybutcher27 said:
Never used, can find source dev does not seem to publish, can look.
Will ask him for the source.
Click to expand...
Click to collapse
You want some screenshots of Kernel Adiutor?
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Kernel update! BHB27-Kernel-V1.0.2
Download-Kernel
Changelog-Kernel
Change:
====================
09-22-2015
====================
* V.1.0.2
* Implemented KSM
* Add TCP-CONG Westwood, bic, Highspeed, Hybla, Htcp
* Implemented CPU otimizations Flags to the Kernel (more otimizations to come in next build)
Test and let me know...
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
BTW try to implemented DT2W and S2W but quark doesn't accepted it (the config is ok but noting happen ), maybe i future update. Can be a conflict with moto screen wave and pick i disable it but not work...
Will try if success will release a separated version with DT2W because it can be a wakealock.
Removed the last update something is wrong on my device will check.
baybutcher27 said:
Removed the last update something is wrong on my device will check.
Click to expand...
Click to collapse
Working fine here
goalando said:
Working fine here
Click to expand...
Click to collapse
I tested it over 24h, It may work well but from noting it start to produce bugs. maybe a none kernel related i looking
Making a new build remove a wrong entry to see if help.
Kernel update! BHB27-Kernel-V1.0.3
Before install it, uninstall or clean data of any kernel control app you're using.
Download-Kernel
Changelog-Kernel
Change:
====================
09-22-2015
====================
* V.1.0.3
* Remove incompatibility (CPU optimizations flags and Remove per-cpu workqueue) To find a bug will add improves latter.
Test and let me know... I test this, i remove some improves that may cause bugs, is more to stock as possible, but still have, CPU gov, KSM and TCP govs.
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
Gpu governor > simple ondemand = freeze and reboot. In v.1.0.3
Edit for requests:
1) add mako hotplug
2) GPU frequency minimum to 27MHz
3) volume and microfone gain
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Thanks for all your hard work man
RSDamasceno said:
Gpu governor > simple ondemand = freeze and reboot. In v.1.0.3
Edit for requests:
1) add mako hotplug
2) GPU frequency minimum to 27Hz
3) volume and microfone gain
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Click to expand...
Click to collapse
Yes it does, did not have time to go over gpu_gov, I recommend to leave as default msn-adreno-tz. Will remove or fix simple ondemand. :good:
Implemented, now I'm testing new features that user's ask... No new hotplug, mako is not ported right now to MAXX, will try to port other improved hot plug or improve msm
Voltage, sound, FS and screen control. FS can only be change with some kernel app (like trickster mod ).
All is good bu twill test longer to make shore.

[ROM/Kernel][6.0.1][Port][Uber 5.3] [AOSP/CM] Viper R6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a port of Optimus Kernel by Flashhhh for Titan​
Make sure to thank him - Here
I present to you my own kernel which has been built with many optimizations and tweaks. This kernel will work ONLY on Marshmallow roms(Not for stock roms) only.The main aim is to provide a stable kernel with optimizations.
I hope you all will like it
Custom Kernel Features:
- Updated to latest cm-13.0 Sources
- Compiled With Custom UBER 5.2.1 Toolchain
- Compiled With -O3 & Graphite Flags
- Additional many optimization flags
- Compiled With Cortex A7 Tweaks
- ARM v7 Optimizations
- Intelliplug
- Mpdecision hotplug driver(Using custom powerhal by CM)
- GPU underclock/overclock(Min:100 MHz & Max:533 MHz)
- Add dev/frandom
- Added Support for Kernel Neon Mode
- Enabled Pipe Flag
- Adreno Idler Algorithm
- PowerSuspend Driver v1.5
- Add BioShock/DanceDance Govs
- Added SmartMax/LionHeart Govs
- LCD Kcal Control by Savoca
- Faux's Sound Control
- Optimized ARM RWSEM Algorithm
- Optimized Square Root Algorithm
- LMK tweaks
- block: disable add_random
- Enable unaligned capability for ARM
- CpuFreq and CpuBoost Optimizations
- Disabled Gentle Fair Sleepers
- Enabled Many TCP Congestions
- Added SIO,VR & ZEN IO Scheduler
- Sched & Mutex Tweaks
- Pushed Read Ahead value to 512
- Use your android device as USB Keyboard/Mouse
- Enabled FSync by default
- Optimized Slub
- VFP HardFloat
- Power Efficient WorkQueues
- Reclaimed RAM from loggers
- Power Efficient WorkQueues
- Kexec patched
- Many more things (Check Github)
Disclaimer:
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.​
Pls Read This before flashing:
You need ROM's default kernel before flashing this, as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX. Some useful battery saving tipshttp://forum.xda-developers.com/showpost.php?p=64850959&postcount=198
DOWNLOADS:
Grab it here
#ROM infos on the 4th post, be sure to check it
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik Cache and Cache partitions
5. Reboot and enjoy!​
PLS DON'T MIRROR THE LINKS
Recommended app:
Synapse or Kernel Adiutor
Flash UKM.zip from the below link: (credits to @apb_axel)
http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
And then install synapse from play store.
I would like to say thanks to @flashhhh for allowing me to port the kernel. Also a big thanks to @faux123 @YoshiShaPow @fermasia @Alberto97 @TeamMex @Quasar @Mazda @FabioSan @Blechdose @neobuddy89 @RenderBroken @savoca @deadman96385 @pinkflozd @alin.p @Cl3Kener @Shivam Kuchhal @cust0mworx for the awesome graphics and CYANOGENMOD TEAM
and MANY MORE...
XDA:DevDB Information
Optimised CM and Viper Kernel for Titan, Kernel for the Moto G 2014
Contributors
Vatsal
Source Code: https://github.com/koradiavatsal/Viper-kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v6
Stable Release Date: 2016-01-15
Created 2015-12-02
Last Updated 2016-01-17
FAQ
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on hastebin.com 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: Works on all CM13 based roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
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: Read 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.[/QUOTE]
Info
Many thanks to showp1984 for this info
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This is a special version modded by neobuddy Plus the idle frequency and some load thresholds have been adjusted by me.
Some Configuration:
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (130)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (600 MHz)
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
So here's the surprise
Hello folks,
I am using my own optimised builds since initial phase of CM13. Rom and kernel are both build with Uber 5.2.1 and few more optimisations on the kernel (It's same like in the first post). The Uber Toolchain developer said due to new neon optimisations in Uber toolchains, the battery life has increased by 25%. Well using since a long time, I almost get 6hrs+ SOT(Ofcourse will vary with you) and a mindblowing performance. So I am going to provide weekly Uber CM13 builds with optimisations(It is somewhat close to pf-cm by Diamond Bond). The people interested, could use it , It will stay really close to CM and few picks here and there. I would really appreciate feedbacks I am using the build posted and it's really rock stable.
Download :-
All optimised buildshttps://www.androidfilehost.com/?w=files&flid=44644
Installation :-
A clean wipe is mandatory.
Wipe cache,dalvik cache, system, data
Flash the zip
Flash gapps ( I use slim zero gapps)
Reboot, Enjoy!
FAQ:-
Differences between UBERTC and other Toolchains
Changelog for the 1st December Toolchain updates
Regards
Awesome work brother
Vat Bro
This is cool.
Good going
Keep it UP
Check #4th post for the Optimised cm13 builds, Really didn't feel like making a new thread..
Is it fully functional, Like Working mobile data , camera Themes Etc... Is there any way you can provide delta updates to ur rom instead of downloading the whole file.. I'm currently using cm 13 which has no Major issues as of now , so is this rom(dec 2 build) Recommend or should I wait for future builds ?
Thanks IA ��
james11705 said:
Is it fully functional, Like Working mobile data , camera Themes Etc... Is there any way you can provide delta updates to ur rom instead of downloading the whole file.. I'm currently using cm 13 which has no Major issues as of now , so is this rom(dec 2 build) Recommend or should I wait for future builds ?
Thanks IA ��
Click to expand...
Click to collapse
Everything working same as CM, No OTA/delta updates sorry..
Vatsal said:
Everything working same as CM, No OTA/delta updates sorry..
Click to expand...
Click to collapse
Thanks for the quick response , I'll try it out and let you know .., . And thanks for the rom ��
I can't install your kernel over CM's stock kernel. there's an error with the updater-script. I am using the 02/12 CM13 build, how can I help?
(zip placed on the root of internal storage)
Vatsal said:
Everything working same as CM, No OTA/delta updates sorry..
Click to expand...
Click to collapse
Does that mean XT1068 users with one sim cannot use this?
Sent from my Moto G 2014 using Tapatalk
Vidhanth said:
Does that mean XT1068 users with one sim cannot use this?
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
I guess thats fixed in cm as well
Vatsal said:
I guess thats fixed in cm as well
Click to expand...
Click to collapse
Sweet. Have you tried it though? Cuz I can't risk 310 MB lol
Sent from my Moto G 2014 using Tapatalk
Vidhanth said:
Sweet. Have you tried it though? Cuz I can't risk 310 MB lol
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
I have msim
mpeL said:
I can't install your kernel over CM's stock kernel. there's an error with the updater-script. I am using the 02/12 CM13 build, how can I help?
(zip placed on the root of internal storage)
Click to expand...
Click to collapse
Installs really fine here, can someone else confirm the issue?
Vatsal said:
I have msim
Click to expand...
Click to collapse
Thanks man. I'll try it asap. I always wanted to be on 6.0 but the battery life held me back. But now that u have said its increased by 25%, I'll have to try it
Sent from my Moto G 2014 using Tapatalk
Vatsal said:
Installs really fine here, can someone else confirm the issue?
Click to expand...
Click to collapse
Same here , I tried flashing this Kernel over ur rom(didnt know it already had this kernel) , I tried mounting n unmounting system, still got error updating binary...
james11705 said:
Same here , I tried flashing this Kernel over ur rom(didnt know it already had this kernel) , I tried mounting n unmounting system, still got error updating binary...
Click to expand...
Click to collapse
Yes rom has the same kernel inbuilt. I'll reupload kernel.
EDIT : Uploaded Download
Please test this and tell me
Vatsal said:
Yes rom has the same kernel inbuilt. I'll reupload kernel.
EDIT : Uploaded Download
Please test this and tell me
Click to expand...
Click to collapse
Still the same error, tried it on crdroid 6.0 also .. Other than the kernel, the rom is awesome, better than cm 13 official in performance n also is bAttery Friendly ?
Some amazing stats with quiet heavy use
Sent from my Moto G 2014 using Tapatalk

[Kernel][Stock & CM][Stable] guestekrnl (based on visi0nary) | v2.4.1 | [06/2016]

gueste kernel v2.4.1
handcrafted in Austria, compatible with stock-based ROMs like Eragon and BlueFlame4's CyanogenMod
*CyanogenMod ROM compatibility requires guestekrnl v2.2.0 or newer
- If you like my work, you could press thx or vote positively for this thread.​
Howdy
In an attempt to continue improving the kernel of BlueFlame4 (as he is was switching to a different phone) I hereby offer guestekrnl.
The usual disclaimer applies:
Code:
#include
/*
* 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.
*/
guestekrnl continues seamlessly where visi0nary's kernel left off (v1.6.1), which is why the initial version of guestekrnl is v1.6.2 (or v1.6.1, if you count my re-build)
The main goals for this kernel are improvements:
maximizing (ui) smoothness / snappiness
keeping power consumption as low as possible, while still feeling smooth
keeping linux-base up-to-date
Apart from these improvements, I would consider the kernel quite feature-complete, so you should not expect countless new features.
Please remember: After you have flashed the kernel in Recovery, perform the following steps:
go to menu "Wipe and Format Options"
perform "Wipe Dalvik/ART Cache"
perform "Wipe Cache"
Please do not report any problems or bugs, if you did not perform these steps along with the installation of the new kernel.​
Version Log:
v2.4.1
merged fix for new camera driver from visi0nary upstream ( thanks to @BlueFlame4 and @walter79 ) to support new P8000 model's camera
if your camera still does not work with your new P8000 model and this kernel, your ROM might be lacking some drivers - try those by @skeleton1911 for Android 5.1.x ROMs https://www.androidfilehost.com/?fid=24591000424939670
v2.4
upgraded linux base from 3.10.101 to 3.10.102 ("Linux kernel 3.10.102 LTS is a pretty big maintenance update that changes a total of 153 files, with 1,194 insertions and 608 deletions.")
cherry-picked new camera driver from visi0nary upstream ( thanks to @BlueFlame4 and @walter79 ) to support new P8000 models
cherry-picked a read/write persmissions change for doubleTap2Wake from visi0nary upstream ( thanks to @BlueFlame4 )
v2.3.3
switched toolchain in hope of improved power consumption
deactivated to old battery drop shift fix (the one that didn't fix the drop, but shifted it upwards) - also in hope of improved power consumption
one cherry-pick from visi0nary upstream
this is supposed to be the last release for a longer period of time, because there's not much to improve currently - I sincerely hope this release will work well for everyone :good: :highfive:
v2.3.2
finally working battery drop fix by @BlueFlame4 (confirmed working by community). the battery drop might still occur, if you rebooted between charging cycles, but if you use the phone starting with a full battery until it's empty, you should no longer experience a noticeable drop.
re-enabled the old battery drop fix as well (which shifted the drop from 15->0% to 35->20%. So if a drop occurs after a reboot (as mentioned above), it should happen somewhere above 20% battery and not drop directly to 0%.
double-tap 2 wake is still enabled, so if you are on Cyanogenmod and use a build without dt2w, you can just flash this kernel and it will work again
v2.2.1
this is not the experimental 2.2.1-SNAPSHOT-kernel some of you tested. This is the final 2.2.1 kernel.
upgraded linux base from 3.10.100 to 3.10.101 - Changelog
use updated sabermod toolchain (aarch64-linux-gnu-5.3-03-06-16)
provide 2 flavors: with or without experimental battery fix (if the battery fix of v2.2.0 does not work for you, or you still get a drop and would prefer the drop to happen at the end of a charging cycle (like on stock kernel), you can just flash the version without the experimental fix)
v2.2.0
compatible with the latest CyanogenMod ROM - CM Thread
upgraded linux base from 3.10.99 to 3.10.100 - Changelog
fix for 20 percent battery drop (sorry, reportedly not working) (by @DerTeufel1980 , @BlueFlame4 and @walter97 - thanks a lot for sharing!!) - Commit
increased charging speed ( by @BlueFlame4 and @walter97 - thanks a lot for sharing!!) - Commit
v2.1.0
upgraded linux base from 3.10.98 to 3.10.99 - Changelog
upgraded linux base from 3.10.97 to 3.10.98 - Changelog
switched to a different toolchain (latest sabermod gcc 5.3)
v2.0.5
upgraded linux base from 3.10.96 to 3.10.97 (2016-02-19) - this includes the following commits:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
furthermore, the IPv6 config has been changed, which might or might not improve IPv6 router connectivity for some users.
v2.0.4
upgraded linux base from 3.10.95 to 3.10.96 (2016-01-29) - this includes the following commits:
v2.0.3
upgraded linux base from 3.10.94 to 3.10.95 (2016-01-23) - this includes the following commits:
yes, this includes the fix for keychain vulnerability CVE-2016-0728
v2.0.2
upgraded linux base from 3.10.90 to 3.10.94 (12/2015) - this includes dozens of improvements over the old linux base
switched to toolchain "ubertc" gcc 4.9 (01/2016)
v2.0.1
fix stability issues (this release is a replacement for v2.0.0): Mediatek seems to have compatibility/stability issues with additionally introduced CPU governors and I/O schedulers, which is why in 2.0.1 I use the same built-in governor and scheduler I used for stable v1.6.1 (rebuild)
wake-up delay gone (also thanks to using the same governor as in v1.6.1)
I'm sorry if you experienced any stability issues with v1.6.2 and v2.0.0 - they seem to be caused by the governors/schedulers and should be gone now
I'll remove the download for v2.0.0 in favor of v2.0.1 which should now be stable.
v2.0.0
first major release of guestekrnl with over 900 commits ahead of the source of visi0nary's kernel
upgraded linux base from 3.10.65 to 3.10.90 (LTS) - this includes hundreds of improvements over the old linux base
switch from sio I/O scheduler to deadline
update/modify intelliactive CPU governor & switch from wheatley governor to intelliactive
introduce and enable power efficient work queues
reduced log spamming
various performance improvements and hopefully power-saving mechanisms
pocketmod is now disabled, as it breaks doubletap2wake (same as in visi0nary's kernel). Enabling pocketmod through vTool won't do anything
introduce and enable UKSM (Ultra-KSM) along with KSM (Kernel same-page merging)
various arm64 improvements
various defconfig changes
updated build flags
introduce BFQ-v7r8 I/O scheduler (though currently not set as default in favor of deadline)
all the other changes are listed here https://github.com/gueste/android_kernel_elephone_p8000/commits/master
everyone is adviced to upgrade to guestekrnl v2.0.0 and to report on the usage experience - thank you!
v1.6.2
introduce SIO IO scheduler & use as default IO scheduler
introduce wheatley CPU governor & use as default CPU governor
also introduce intelliactive governor, but not used as a default, because it didn't convince me during my everyday-use tests
use custom/enhanced kernel compilation flags
minor changes in kernel defconfig
built with a freshly built sabermod toolchain, using custom compilation flags
v1.6.1
the kernel from my separate thread "visi0nary's kernel alternative build"
Kernel Tool:
For tweaking a couple of kernel parameters, you can use the same "vTool", you have been using for visi0nary's kernel. In case you haven't got this tool yet, you can find it here.
exFAT Support:
If you want to use an exFAT formatted external SD card, then you can enable exFAT support as posted by @dr_root : http://forum.xda-developers.com/showpost.php?p=65063912&postcount=77
Installation:
Just flash in recovery - wipe cache & dalvik cache afterwards (before initially booting the system with the new kernel)
Tip:
Double-tap 2 wake is set to only work in the middle of the screen, so remember to tap in the middle
If your phone after longer periods of sleep doesn't react to "double-tap to wake", try "triple-tap to wake"
Further tips & kernel source: see second and third posting!
I'd be delighted to get your usage feedbacks! This kernel should always be stable and is intended for daily usage.​
Credits:
The credits of the original visi0nary's kernel remain intact.
For those that have double-tap2wake enabled
... and have issues with the screen during phone calls (for example: screen is black, but buttons can still be pressed):
You can either turn off dt2w completely using vTool, or use the attached re-build of the blackscreen-fixer that most of you will know from Eragon ROM.
The attached re-build has been made 1 day ago, as the original app did not support guestekrnl v2.0.1
If you have this app already (the older version), replace it with this version. - On latest Eragon you will have this version automatically.
So, beginning with 2.0.1 and upwards, use the attached version of the app, or the latest Eragon ROM.
You have to start the app at least once and grant it superuser-rights. Then it should work on phone calls automatically.
Note: the re-build of this app has the same filename as the original one, but it is a modified version that supports my latest kernel builds.
Kernel source: https://github.com/gueste/android_kernel_elephone_p8000
2nd reserved for future things
with kernel adiutor in governor cpu it shows intelliactive, it is better than wheatley governor?
djtechno98 said:
with kernel adiutor in governor cpu it shows intelliactive, it is better than wheatley governor?
Click to expand...
Click to collapse
In my opinion there is no "best" governor. The results may vary from device to device (and also usage). For the P8000 I tested both and wheatley felt smoother to me. Smartmax also felt very smooth, but it currently does not work properly (causes reboots), which is a hint that it isn't ported correctly and is why I disabled it for the moment and didn't mention it in OP.
Edit: In v2.0.0 intelliactive feels best to me (it is now preset)
Stefan Gündhör said:
In my opinion there is no "best" governor. The results may vary from device to device (and also usage). For the P8000 I tested both and wheatley felt smoother to me. Smartmax also felt very smooth, but it currently does not work properly (causes reboots), which is a hint that it isn't ported correctly and is why I disabled it for the moment and didn't mention it in OP.
Click to expand...
Click to collapse
thanks, for now your kernel working well.
djtechno98 said:
thanks, for now your kernel working well.
Click to expand...
Click to collapse
Thanks, more changes are coming soon.
Stefan Gündhör said:
Thanks, more changes are coming soon.
Click to expand...
Click to collapse
Can you tell us what kind of changes? And what about when the phone battery goes to 15% it suddenly drops? Im using your kernel(6.1) and it rocks!!
boka18 said:
Can you tell us what kind of changes? And what about when the phone battery goes to 15% it suddenly drops? Im using your kernel(6.1) and it rocks!!
Click to expand...
Click to collapse
Well, the next version I'm working on, is already 944 commits ahead of the latest visi0nary's kernel.
Each commit contains one or multiple changes in one or multiple files.
Most of those commits are updates of the linux base (which of course I just had to merge into the kernel and not to code myself) - there are also a couple of useful new features that will hopefully help saving power and improve performance.
I've still a couple things to merge/cherry-pick, then we will see.
Edit: concerning battery you will have to test, if you have this problem with the upcoming version(s) too.
Got stuck in bootloop, was on eragon 7.3 with visionary 1.6.1, I installed 1.6.2 kernel, cleared cache and davik, android apps updated and then phone rebooted and stuck on dragon logo. Now trying nexus lite rom
New kernel v2.0.0 is out
v2.0.0
first major release of guestekrnl with over 900 commits ahead of the source of visi0nary's kernel
upgraded linux base from 3.10.65 to 3.10.90 (LTS) - this includes hundreds of improvements over the old linux base
switch from sio I/O scheduler to deadline
update/modify intelliactive CPU governor & switch from wheatley governor to intelliactive
introduce and enable power efficient work queues
reduced log spamming
various performance improvements and hopefully power-saving mechanisms
pocketmod is now disabled, as it breaks doubletap2wake (same as in visi0nary's kernel). Enabling pocketmod through vTool won't do anything
introduce and enable UKSM (Ultra-KSM) along with KSM (Kernel same-page merging)
various arm64 improvements
various defconfig changes
updated build flags
introduce BFQ-v7r8 I/O scheduler (though currently not set as default in favor of deadline)
all the other changes are listed here https://github.com/gueste/android_kernel_elephone_p8000/commits/master
everyone is adviced to upgrade to guestekrnl v2.0.0 and to report on the usage experience - thank you!
Download of v2.0.0 can be found in first posting.
Download of v1.6.2 has been removed in favor of the supposedly more stable v1.6.1.
Hello! I just flashed the kernel (I hope im first ) and so far, the dt2w works great. The smoothness is like in v1.6.1 which means its great. Will inform you about the battery usage in a day or two! :highfive:
After 3-4 hours of usage, there are some major problems.
DT2W not working
Phone Powers off randomly
I think the sensor is not as good as the last version
the phone wakes up randomly (screen powers on without any reason)
Im going back to v.1.6.1
boka18 said:
After 3-4 hours of usage, there are some major problems.
DT2W not working
Phone Powers off randomly
I think the sensor is not as good as the last version
the phone wakes up randomly (screen powers on without any reason)
Im going back to v.1.6.1
Click to expand...
Click to collapse
hmm... I can't confirm the on /off problem (yet)
I've flashed the Kernel for round about 4 hours and it doesn't power off or wakes up.
BUT the phone is only lying on my table...
AND I don't use the DT2W function. I've turnd that feature off in the vTool.
Feuerpfeil said:
hmm... I can't confirm the on /off problem (yet)
I've flashed the Kernel for round about 4 hours and it doesn't power off or wakes up.
BUT the phone is only lying on my table...
AND I don't use the DT2W function. I've turnd that feature off in the vTool.
Click to expand...
Click to collapse
Run some games, make some calls and see what happens.
p.s Maybe its because of the Seeder app?
Settings in my seeder app:
Suspend Rng .. checked
Extend I/o Queue checked
Start automatically on boot checked
RNG SERVICES PROFILE: Moderate
Like Feuerpfeil, I do not use DT2W and I have not yet experienced any problems with the new Kernel. My Seeder app settings are identical to yours.
-Tiz- said:
Like Feuerpfeil, I do not use DT2W and I have not yet experienced any problems with the new Kernel. My Seeder app settings are identical to yours.
Click to expand...
Click to collapse
Well, that is strange.. I will than to a full wipe of my current rom (eragon), and isntall it again, fresh.
boka18 said:
Well, that is strange.. I will than to a full wipe of my current rom (eragon), and isntall it again, fresh.
Click to expand...
Click to collapse
I've seeder app active with light profile and everything enabled. After each kernel flash I wipe dalvik and cache in recovery, before initially booting the system with the new kernel.
Edit: Concerning doubletap2wake: after longer sleep I often have to tap multiple times (more than 2) to wake up the phone. This is something I experienced with visi0nary's kernel as well. I guess it might be related to some deep sleep feature or something. But for me it DOES still work, I just have to tap more often in this situation.
Stefan Gündhör said:
I've seeder app active with light profile and everything enabled. After each kernel flash I wipe dalvik and cache in recovery, before initially booting the system with the new kernel.
Edit: Concerning doubletap2wake: after longer sleep I often have to tap multiple times (more than 2) to wake up the phone. This is something I experienced with visi0nary's kernel as well. I guess it might be related to some deep sleep feature or something. But for me it DOES still work, I just have to tap more often in this situation.
Click to expand...
Click to collapse
Flashed it again, and I have frozen 2 apps: BlackScreen and ThePieApplication (idk the name for sure). This apps are in the ERAGON ROM. Maybe the first one was causing some errors? I really don't know. The second i just dont like lol .. anyways now i flashed your rom again (deleted cache and dalvik after flashig) and it seems to works good. I have just one thing that I personally dont like: The phone seems more "laggy" now. And by laggy - I dont mean that the games or the apps lag, it is just that when i push the POWER btn sometimes (when in deep sleep i think?) it takes 0.5 seconds to wake up. With the v.1.6.1 that was certainly not the case.

[KERNEL][TW][SM-G930F/FD/W8/S/L/K] Primal Kernel v2.3.4 [DQH8][S7 + Ports]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the official thread for Primal Kernel project for the Exynos Galaxy S7 (SM-G930F/FD/W8/S/L/K) running TouchWiz based ROMs (Nougat only currently).
The aim of this project is to provide a rock solid, ready to use tweaked kernel, without useless features.​
Introduction:
Primal Kernel, formerly known as The Outsider Kernel, is the first S7 kernel for TouchWiz based ROMs sporting the AnyKernel2 installation approach.
The most widespread method consists of flashing a complete prebuilt boot image (this means that it will be flashed straight away without any modification).
This is the most practical method for providing a working kernel, but it has disadvantages too:
1) the installation package will be bigger.
2) the developer must keep the ramdisk updated with the newest from stock kernels. This requires rebasing the patches and keeping up with the newest firmwares sometimes with frequent releases.
3) it makes the compatibility with older ROMs a little more complicated as a newer ramdisk could add modifications not supported by the older ROM.
4) for the ported ROMs the developer has to manually patch the ramdisk with the required changes from the ported device's one. So you have to create a different boot.img for every ported device for every S7 variant.
But we have an alternative...
AnyKernel2 is a different approach to the installation of the kernel: the package only contains the prebuilt zImage (the actual kernel), the dtb (basic hardware instructions like reserved memory and so on) and the patches for the stock ramdisk. AnyKernel while installing unpacks the previous kernel and replaces zImage, dtb and, after patching it, the new ramdisk.
This implies various benefits:
1) smaller installation package.
2) you can always have the most updated ramdisk without the need of waiting an update from the developer.
3) better compatibility as you can flash it on top of any stock (or close to) boot image.
4) it makes life a lot easier for the developer with many ready to use patching functions.
5) with some efforts from me, the package can adapt the stock S7 ramdisk to work on any S8 or Note FE ported ROM, making it even more adaptable.
All this sounds great (and it is great) but introduces a problem: you can't flash it on top of another custom kernel. This because custom kernels almost always have scripts and other modifications to the ramdisk, which might not be compatible with my kernel.
Installation instructions:
If you correctly follow these instructions you'll be able to run Primal on any ROM (as above).
If it doesn't work, read twice and try installing again before asking for help.
● Instructions for BatMan ROM (S8 port) users:
1) install the ROM (you can dirty flash if you already have it installed) make sure to choose stock kernel (so it doesn't install the new GPU libs, which aren't supported by Primal).
3) after the ROM flashing process has been completed flash the Primal kernel zip for your device.
4) flash your preferred root method.
5) reboot and be patient as first boot might take a little more time.
● Instructions for any other ROM (any other S8 and Note FE ported ROM and, obviously, any S7 ROM) running a custom kernel:
1) make sure you have the stock S7 kernel zip (or any stock boot.img from any S7 Odin package or ROM zip containing the stock kernel) and Primal Kernel zip.
2) if you have a boot.img flash it to the boot partition using Flashify or TWRP itself.
3) if you have the flashable stock kernel zip and Primal Kernel zip reboot to recovery and flash in this order: stock kernel zip, Primal Kernel zip and then your preferred root method.
● Instructions for any S7 ROM running stock kernel:
1) reboot to recovery and flash in this order Primal Kernel and your root method of choice.
If you get into a bootloop...
● if you're running a port make sure it says dream2lte (if an S8 port) or gracerlte (if a Note FE port) in the build.prop; if there isn't any add a line at the bottom, "primal=dream2lte" for S8 or "primal=gracerlte" for Note FE.
● make sure your ROM doesn't come with the new GPU libs installed, if it does restore the old libs somehow (flashable zip coming soon!).
Thanks and Credits:
● Samsung OSRC for the kernel source code
● @Tkkg1994 and @jesec for their clear and vast source code and scripts
● @flar2, @UpInTheAir, @franciscofranco, @eng.stk, @osm0sis, @andip71 and others for their great contributions to the community and Android
Features:
● based on the latest Samsung kernel source code G935FXXU1DQH8 merged with G935SKSU1DQG1
● always have the latest ramdisk for your specific model and variant, thanks to AnyKernel2
● ported ROMs are supported (like S8 and Note FE based ROMs)
● compiled with custom built Uber Toolchain 6.4.1 (20170826) and optimization flags
● custom scripts with tweaks applied at boot, optimizations and wakelock fixes
● init.d support
● added a few tested and updated CPU governors (blu_active, conservative, ondemand, powersave, interactive, performance).
default: interactive
● added a few tested and updated I/O schedulers (noop, deadline, row, cfq, bfq, zen)
default: cfq with custom parameters
● added a few TCP congestion algorithms (westwood, reno, bic, cubic, htcp, lia, olia, wvegas)
default: westwood
● full f2fs support from jaegeuk's f2fs-stable plus OnePlus improvements
● fstab mount tweaks for both ext4 and f2fs
● fixed various bugs in the Linux code like improved cyptography algorithms, filesystems, network...
● architecture specific fixes
● cpuidle improvements
● random (entropy) generation improvements
● power managemnet, schedulers, governor and memory management improvements
● unlocked lower CPU frequencies with correct voltages and set recommended defaults (312MHz big - 338MHz LITTLE)
● schedule workqueues on awake CPUs enabled
● improved hotplug and idle with interactive governor
● added 112MHz minimum GPU frequency and clock control
● voltage control for GPU
● LED control with fading option
● voltage control for big and LITTLE clusters
● preset I/O scheduler tunables
● disabled SWAP and ZSWAP for best performance
● preset VM tunables
● SELinux permissive
● Knox 0x0, Samsung security checks and SafetyNet spoofed to pass
● Fsync switch added
● Software CRC control switch added
● and many other changes (too many to be listed here)...
Notes:
● If you want root, you need to flash the root zip after flashing this kernel (Magisk is recommended to pass SafetyNet).
● If you want to access the advanced kernel controls MTweaks by @morogoku is the only app which supports all the features (download it here).
Everything has always been stable, and almost bug free, so no notes on that side at the moment :laugh:
Latest stable version is 2.3.4.
If you want to flash an older version see Archive in the download links below.
Source > GitHub
Commits (kind of a changelog) > GitHub
Download:
herolte (S7 SM-G930) > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
TouchWiz Projects by kylothow | Official Group
You're welcome
XDA:DevDB Information
Primal Kernel, Kernel for the Samsung Galaxy S7
Contributors
kylothow
Source Code: https://github.com/kylothow/universal8890-NN-G935
Kernel Special Features: Stable f2fs porting, tweaked with recommended settings, a few but working governors, schedulers and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.3.4
Stable Release Date: 2017-09-13
Created 2017-04-26
Last Updated 2017-09-14
Changelogs:
From version 2.3.3 to 2.3.4:
Code:
● added fstrim on boot
● added Knox and other security check props spoofing inside the kernel
● added Google Play services drains fix
● added custom init.rc with tweaks (cfq with tunables preset, read ahead 128 and 256 for external, rised base CPU frequency a little (you can lower it if you want)
● recent patch to cpufreq added
● updated AnyKernel2 with the latest goodies from osm0sis
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Old changelogs (for The Outsider):
Version 2.2.1
Code:
- added cleaning scripts at boot (automatic trim, sqlite optimization, cache and leftovers cleaning
- updated ramdisk and mcregistry to DQE7
- updated with latest Samsung changes (DQE7/DQEF)
- disabled swap and zsmalloc
- added row I/O scheduler
- increased default maximum frequency to 2.6GHz
- updated to Linux 3.18.55
- switched to custom built Uber Toolchain 6.3.1 (20170528)
- switched to a whole new overclock/voltage management method based on ASV
- changed frequency policy especially regarding touch boost (for better battery)
- allow to enable Exynos swap
- add unstable power detection and charging/battery controls
- added notifiers for the future addition of CPU governors and removed old/broken implementations
- a few f2fs and other minor fixes to defconfig, schedulers, cpufreq
Version 2.1.6
Code:
- switched to GCC 6.3.1
- various build flags to optimize building
- enabled a few compression algorithms (GZIP, LZ4, LZMA...)
- enabled cryptographic drivers optimized for 64 bits
- defconfig tunings to reduce debug logging
- updated mcRegistry and ramdisk to DQD9 (for S8Port only the init file)
- drastically changed kernel default tweks/settings
Version 2.1.5
Code:
- fixes regarding stability and speed
- ext4 and fuse fixes
- crypto and drivers built uncompressed
- random numbers generation changes
Version 2.1.4
Code:
- the kernel has been redone from scratch; the features are in pair/more than the previous 1.x.x versions, and gives you an overall way better experience.
Version 1.4.1
Code:
- various bug fixes
- performance/reliability improvements for network, ext4, f2fs and cryptography
- enabled a few kernel modules for ipv6 and a few other optimizations
- trying out higher kernel timings
- set default governor to blu_active
Version 1.4.0
Code:
- first release for xda
How to set up your phone with f2fs:
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.1.1.0 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (All the TouchWiz based ROMs force ext4 and format despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
Dishonored reference?
Sent from my Galaxy S7 using XDA Labs
XDevOS said:
Dishonored reference?
Sent from my Galaxy S7 using XDA Labs
Click to expand...
Click to collapse
Definitely [emoji6]
Sent from my SM-G935F using Tapatalk
kylothow said:
Definitely [emoji6]
Click to expand...
Click to collapse
Love that game :good: Will stay with this kernel as long as I can xD <3
Sent from my Galaxy S7 using XDA Labs
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Calvin.manneson said:
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Click to expand...
Click to collapse
At the moment only the stock hotplug. Further developments will need a specific app like Synapse or maybe a custom Kernel Adiutor -- which is the next step in the development.
I'm running latest Helios, the only thing that is preventing me to do my own custom ROM (basically it perfectly fits my needs).
Default settings are the best even for you?
I wanna try your work but don't have enough time for playing games with custom settings.
Thx a lot for you anyway
ig_df said:
Default settings are the best even for you?
I wanna try your work but don't have enough time for playing games with custom settings.
Thx a lot for you anyway
Click to expand...
Click to collapse
The point of this is to provide a great experience out of the box -- there is a few others helping me to decide which are the best settings, and I update them quite often because it's a continue pursuit of the best everyday settings profile.
The script applies at boot before anything else so you can change them in case you don't like.
The inexperienced user can update the kernel and enjoy always updated settings without even installing a kernel control app or rooting.
Sent from my SM-G935F using Tapatalk
+good kernal antutu 15xxxx
https://www.mx7.com/i/140/F2Pnl9.png
-battery unstable
rom s.....
Calvin.manneson said:
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Click to expand...
Click to collapse
Those scores are with OC ? GPU and CPU?
Seems smooth even with PowerSaving mode(1.4.1)
Update: Battery is unstable <=60-50%
nalas said:
Those scores are with OC ? GPU and CPU?
Click to expand...
Click to collapse
yup,speed up everything for high score
New base D2/3 all score high.
with stock kernel and default settings score 140k.
May give it a try out at some point ATM I'm on superman ROM but curious as if it will break superman control app as I know a version of super kernel broken that app
Sent from my SM-G930F using Tapatalk
king118 said:
Seems smooth even with PowerSaving mode(1.4.1)
Update: Battery is unstable <=60-50%
Click to expand...
Click to collapse
hi
what is battery unstable you mean? it's less time than other kernel? please guide
tranphungan said:
hi
what is battery unstable you mean? it's less time than other kernel? please guide
Click to expand...
Click to collapse
The old 1.x.x version can have every problem imaginable (the only confirmed one is stutters for some users) but no one ever complained about battery.
Users just say things without proof, stats or logs, they don't even mention the settings they're using or which ROM are they on... Definitely not useful.
Sent from my SM-G935F using Tapatalk
kylothow said:
The old 1.x.x version can have every problem imaginable (the only confirmed one is stutters for some users) but no one ever complained about battery.
Users just say things without proof, stats or logs, they don't even mention the settings they're using or which ROM are they on... Definitely not useful.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Thank you.
In my opinion. I can see this kernel make my rom Super Man is smoother than superstock or tgpkernel or superkernel. Absolutely smoothly and not effect to battery much (still not recognize..). I push up all cpu frequency to max. Hehe
New update is available for download. It has been tested and reported to be stable and worth the upgrade from the great 2.1.6.
Here's the changelog:
Version 2.2.1
Code:
- added cleaning scripts at boot (automatic trim, sqlite optimization, cache and leftovers cleaning
- updated ramdisk and mcregistry to DQE7
- updated with latest Samsung changes (DQE7/DQEF)
- disabled swap and zsmalloc
- added row I/O scheduler
- increased default maximum frequency to 2.6GHz
- updated to Linux 3.18.55
- switched to custom built Uber Toolchain 6.3.1 (20170528)
- switched to a whole new overclock/voltage management method based on ASV
- changed frequency policy especially regarding touch boost (for better battery)
- allow to enable Exynos swap
- add unstable power detection and charging/battery controls
- added notifiers for the future addition of CPU governors and removed old/broken implementations
- a few f2fs and other minor fixes to defconfig, schedulers, cpufreq
> https://www.androidfilehost.com/?w=files&flid=171297
thanx for updating dev.
definitely the fastest custom kernel for me...
anyone know why ux score is 'red' in antutu?

[KERNEL] [N] [OxygenOS] SimpleGX v1.18 (2nd Nov)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
This kernel is for OnePlus 5 (cheeseburger)
Code:
You will NOT void your warranty after flashing this kernel.
Be sure to make all necessary backups first before processing to installation.
I'am not responsible of any damage caused to your device or data lost after flashing this kernel.
Of course, these are only basic warnings ! but generally you'll not get any problem :)[/COLOR][/FONT]
Some reading..
Welcome to SimpleGX kernel ! a kernel that aims for simplicity, stability, better performance, smoothness and battery life over a pure stock kernel.
This kernel is designed for people who are (like me) bored to flash kernels which integrate tons of unneeded things.
Main goals of it is to stay MUCH closer to stock than every kernels shared here and almost not to be a “custom kernel” on its own. So beware, no exotic stuffs here !
No need for any third app or whatever to control this kernel. Just "flash-n-joy" ! this is how I always liked thing.
Keep in mind that this kernel has been designed for my daily use first.
I would like to personally thanks @Lord Boeffla for his precious help to build my first OP5 kernel ! without him, this kernel won’t be there ! so please consider it.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing. So, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official OnePlus 5 OxygenOS (OOS) ROM !
Feel free to include my kernel to your ROMs / threads but please don't forget to inform/ask first via PM and credit me properly in your original thread. It's always appreciated.
​
★ WHAT TO EXPECT ★ :​
(over a pure stock kernel) :
Better battery life
Overall better performance
Trying to include only efficient (but definitely no experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :​
Base :
Always directly based from latest available "android_kernel_oneplus_msm8998" Android 7.1.1 source from OxygenOS / OnePlus 5 (for clean work)
Compiled with stock Google (4.9.x / aarch64-linux-android) toolchain (for best stability)
Featuring Anykenel2 (for all ramdisk compatibility)
Stock Linux 4.4.21
Main :
USB fast charge support (disabled by default)
Kernel logger disabled
Disabled adaptive LowMemoryKiller
Minimum backlight level control support (stock value by default)
Wakelocks control support (all wakelocks disabled by default)
Several fixes/optimizations patches for stock cpufreq_interactive governor
MAPLE I/O scheduler added (and set as default)
Completely optimized stock 'cfq' I/O scheduler
Xbox controller (and other USB pads) support
All TCP congestion control modules activated with Westwood currently as default
Removed verify and forced encryption + patched SafetyNet flags to pass CTS
Wlan module from official OOS source
Some miscellaneous tweaks, fix, patches and security patches to improve overall smoothness and battery life experience
Various tweaks :
Full changes to be discovered directly in my Github source below
Features that will NEVER be included in this kernel :
adding any other governor (than those stock)
root/busybox auto-installation
CPU/GPU overclocking/undervolting
KCAL
adreno idler
state_notifier
any upgrade of Linux kernel
dual-boot
etc
★ PREREQUISITE ★ :​
An unlocked Bootloader
An Android Nougat firmware (based on OxygenOS)
A custom recovery (TWRP recommanded), to flash the kernel
Optional : to control some kernel tweaks, you can install Kernel Adiutor)
★ SOURCE (up-to-date) ★ :​
Github >> SimpleGX.
★ INSTALLATION PROCEDURE ★ :​
Backup everything you need (internal & external)
Unlock your bootloader
Flash your favorite TWRP recovery (official or unofficial)
Reboot to TWRP
Wipe system/cache/dalvik partitions
Flash your full usual ROM/firmware
Flash SimpleGX kernel
Flash root (Magisk or SuperSU)
Reboot and enjoy !
★ FAQ ★ :​
How can I update my SimpleGX kernel version ?
Follow THESE steps.
How can I go back to stock kernel ?
Just flash back your full usual rom back.
Is there a LineageOS (LOS) version of you kernel ?
There was, but it has been discontinued. HERE is the old thread.
How to recover excellent battery life ?
Check my personal tips HERE.
★ LATEST VERSION ★
★ ARCHIVES ★
/!\ CHECK MD5 BEFORE FLASHING IS ALWAYS HIGHLY RECOMMENDED /!\
/!\ PLEASE DO NOT MIRROR MY DOWNLOADS /!\​
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below). It's always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:​​
Changelog
★ CHANGELOG ★ :​
02.11.2017 : v1.18 released.
Synchronize codes for OxygenOS 4.5.14
23.10.2017 : v1.17 released.
Removes Spectrum support
Anykernel2: updated to latest version
19.10.2017 : v1.16 released.
Add Spectrum support (please read post #5 for all informations you need to know).
17.10.2017 : v1.15 released.
Re-included all queue work on power efficient wq patches (for overall better deep sleep).
Brings back minimum backlight to stock value (user may still set its favorite value).
09.10.2017 : v1.14 released.
Re-include (CVE-2017-1000251) security patch for Bluetooth BlueBorne attack (thx @nathanchance for the advice)
09.10.2017 : v1.13 released.
Synchronize codes for OxygenOS 4.5.12
Revert (CVE-2017-1000251) now useless security patch for Bluetooth (already included from OxygenOS 4.5.12 security patch)
03.10.2017 : v1.12 released.
Synchronize codes for OxygenOS 4.5.11
21.09.2017 : v1.11 released.
init.simplegx.rc: add (and disable) missing "wcnss_filter_lock" wakelock
21.09.2017 : v1.10 released.
Add (CVE-2017-1000251) security patch for Bluetooth BlueBorne attack
20.09.2017 : v1.09 released.
Added two cpufreq_conservative (fixes/optimizations) patches
Added wakelocks control back and disable them by default (for better battery life)
18.09.2017 : v1.08 released.
Anykernel2: updated to latest version
07.09.2017 : v1.07 released.
Removed all queue work on power efficient wq patches from franciscofranco. (Less experimental, more close to stock now).
Added OnePlus5 minimum backlight fix (current value has been set to 8 for now).
03.09.2017 : v1.06 released.
Added two minor (and safe) patches about performance and battery.
29.08.2017 : v1.05 released.
Synchronize codes for OxygenOS 4.5.10
23.08.2017 : v1.04 released.
USB fast charge support (disabled by default, use Kernel Adiutor to enable it if you need)
block: add MAPLE I/O scheduler and set it as default
cpufreq: interactive: Remove the jump_to_max hack
cpufreq_interactive: remove boost functionality
Anykernel2: finally fixed all available ramdisk simplegx tweaks
Anykernel2: updated to latest version
Anykernel2: new styling retouch during kernel flashing
18.08.2017 : v1.03 released.
Removed wakelocks control stuff.
I wasn't happy with it (not to say useless) and anyway it needed an app to control this, so...
16.08.2017 : v1.02 released.
Much better deep sleep.
15.08.2017 : v1.01 released.
Completely rebuilded from OP5 source from zero. I decided to now include only few recognized commits (many previous commits has been removed).
Wakelocks control available (ON by default, but may be turned OFF via Kernel Adiutor for exemple).
12.08.2017 : v1.00 released.
Initial release (check actual features).
Thanks & greetings
★ THANKS & GREETINGS ★ :​
(by alphabetic order)
Lord Boeffla
osm0sis
ZaneZam
. . . and of course to all talented devs credited in my commits!
Donations
★ DONATIONS ★ :​
Many thanks @dr.zook :good:
Many thanks @gillboyzz :good:
Thank you to support my work ! :highfive:
Spectrum explanation
This kernel is now NO MORE compatible with Spectrum app (author: @frap129)
Obsolete details (for reference) :
Since all spectrum profiles are all different between switching from kernels, here is my vision of things : instead of spending time to fine tune interactive gov (etc) in the purposed 4 scenarios offering typically what other kernels may do, I still wanted want to keep simple but efficiency (and not dangerous) settings/tweaks that me be useful for everybody.
Here is all you need to know, what SimpleGX kernel may offer, and the main differences between each profiles.
Full view of the currently integrated Spectrum file (for advanced users) :
Code:
# Balance (default profile)
on property:persist.spectrum.profile=0
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
write /sys/module/cpu_boost/parameters/input_boost_ms 100
write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz
write /sys/class/leds/lcd-backlight/max_brightness 255
# Performance
on property:persist.spectrum.profile=1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
write /sys/module/cpu_boost/parameters/input_boost_ms 1500
write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz
write /sys/class/leds/lcd-backlight/max_brightness 255
# Battery
on property:persist.spectrum.profile=2
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative
write /sys/module/cpu_boost/parameters/input_boost_ms 100
write /sys/class/kgsl/kgsl-3d0/devfreq/governor powersave
write /sys/class/leds/lcd-backlight/max_brightness 100
# Gaming
on property:persist.spectrum.profile=3
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
write /sys/module/cpu_boost/parameters/input_boost_ms 1500
write /sys/class/kgsl/kgsl-3d0/devfreq/governor performance
write /sys/class/leds/lcd-backlight/max_brightness 255
BALANCE profile :
This is the stock default profile after flashing kernel. It will be applied as default if you don’t want to switch to another profile. Balance profile will benefit from all you guys know already about this kernel for it’s great stock experience and stock values, looking for best of performance and battery life for everyday use.​
PERFORMANCE profile :
Performance profile is looking those who only cares about performance at the cost of battery life. Excellent for UI and overall top tier performance during apps use. I definitely not recommended to let this profile 24/7. Please do not report any bad battery experience while using this profile.​
BATTERY profile :
Battery profile is probably the most only interesting profile (at my eyes). Extremely useful in some situations, it will provide you best battery life without scarifying too much performance and keep your device usable everyday. Very useful for days at work or when you reach really low percentages, this profile will probably save your day. Note that also, the min screen brightness has been intentionally lowered to 100 (instead of 255), to reduce consummation.​
GAMING profile :
This profile is completely based on performance profile, at the exception of GPU governor changed to performance. Only useful for gaining some extra FPS’s during your gaming sessions. I definitely not recommended to let this profile 24/7. Please do not report any bad battery experience while using this profile.​
Welcome in the Kernel OP5 family mate, i'm also a french user (Nice)
Thanks
Can't wait to try this one out..Thanks mate.
Already flash this kernel~
Here we go
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
thanks for the new kernel which is a good alternative for all users who just used the stock kernel so far Fortunately, I didn't post an update yet for the rom so I can still implement you kernel to the aroma installer menu.
Good luck!
Pho3nX said:
i'm also a french user (Nice)
Click to expand...
Click to collapse
Welcome to the club ! :highfive::good:
xXx said:
thanks for the new kernel which is a good alternative for all users who just used the stock kernel so far Fortunately, I didn't post an update yet for the rom so I can still implement you kernel to the aroma installer menu.
Good luck!
Click to expand...
Click to collapse
Thank you very much for that, appreciated :good::highfive:
You are my rom base since the beginning of my OP5, so thank you for your hard work! :good:
Cheers'
Just flashed your kernel mate
Thanks for your work so far kernel seems smooth like butter
UPDATE
★ CHANGELOG ★ :​
15.08.2017 : v1.01 released.
Completely rebuilded from OP5 source from zero. I decided to now include only few recognized commits (many previous commits has been removed).
Wakelocks control available (ON by default, but may be turned OFF via Kernel Adiutor for exemple).
N-JoYz :good:
Testing... Works fine for now
Few deep sleep: remains awake often
Other things work perfectly, and im testing on Los based
mystique47 said:
Testing... Works fine for now
Few deep sleep: remains awake often
Other things work perfectly, and im testing on Los based
Click to expand...
Click to collapse
Thanks for LOS working confirmation, I didn't know it was compatible :highfive:
I will add it into first post :good:
Concerning deep sleep, it works fine for me, but yeah, there is something to ameliorate a bit (I alrerady have some ideas) but this time I will take time (before releasing next version) to decide which precise things to add :good:
AndroidGX said:
★ CHANGELOG ★ :​
15.08.2017 : v1.01 released.
Completely rebuilded from OP5 source from zero. I decided to now include only few recognized commits (many previous commits has been removed).
Wakelocks control available (ON by default, but may be turned OFF via Kernel Adiutor for exemple).
N-JoYz :good:
Click to expand...
Click to collapse
Was having issues with elementalX and battery drain. Switched to this rom and problem solved. Thanks for the awesome kernel!
AndroidGX said:
Thanks for LOS working confirmation, I didn't know it was compatible :highfive:
I will add it into first post :good:
Concerning deep sleep, it works fine for me, but yeah, there is something to ameliorate a bit (I alrerady have some ideas) but this time I will take time (before releasing next version) to decide which precise things to add :good:
Click to expand...
Click to collapse
like all oos kernels on los roms notification slider don't work and hardware buttons are inverted (can change from options obviously). I haven't find other issues for oos kernels on los
We cannot disable touch boost? Why..
Sorry for bad english :good:
ponkz said:
We cannot disable touch boost? Why..
Sorry for bad english :good:
Click to expand...
Click to collapse
Where do you see it cannot be disabled ? I tried to disable via Kernel Adiutor app and it seems to work without any problem :good:
Anyway, I don't advice to disable touch boost since you will face some slight stutters during some activites (gaming, browsing, etc), stock value is better.
UPDATE
★ CHANGELOG ★ :​
16.08.2017 : v1.02 released.
Much better deep sleep.
Enjoy ! :good:
(@mystique47, this release is for you :highfive

Categories

Resources